024C:B723 Need support for Realtek Wifi card rtl8723bs

Bug #1581711 reported by carlix on 2016-05-14
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
HWE Next
Status tracked in Xenial
Xenial
Medium
Kai-Heng Feng
linux (Ubuntu)
Medium
Unassigned

Bug Description

This device is appearing in some OEM machines.

WORKAROUND: sudo apt-get install build-essential linux-headers-generic git
git clone https://github.com/hadess/rtl8723as.git
cd rtl8723as
make
sudo make install
sudo depmod -a
sudo modprobe r8723bs

cat /sys/bus/sdio/devices/mmc1:0001:1/*
0x07
0xb723
cat: '/sys/bus/sdio/devices/mmc1:0001:1/firmware_node': Is a directory
sdio:c07v024CdB723
cat: '/sys/bus/sdio/devices/mmc1:0001:1/power': Is a directory
cat: '/sys/bus/sdio/devices/mmc1:0001:1/subsystem': Is a directory
SDIO_CLASS=07
SDIO_ID=024C:B723
MODALIAS=sdio:c07v024CdB723
0x024c

WORKAROUND 2: Install this DKMS driver package: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1581711/+attachment/4732838/+files/rtl8723bs-dkms_4.4.1+17245.20160325.2_all.deb

---
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CurrentDesktop: GNOME
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=UUID=e59c3a84-25cb-4931-887e-13ab29829963
InstallationDate: Installed on 2016-05-14 (0 days ago)
InstallationMedia: Ubuntu-GNOME 16.04 LTS "Xenial Xerus" - Release amd64 (20160421)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 06cb:73f4 Synaptics, Inc.
 Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Acer One S1002
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-22-generic.efi.signed root=/dev/mmcblk0p2 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-22-generic N/A
 linux-backports-modules-4.4.0-22-generic N/A
 linux-firmware 1.157
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Tags: xenial
Uname: Linux 4.4.0-22-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 10/20/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1.10
dmi.board.name: Popcorn
dmi.board.vendor: Acer
dmi.board.version: To be filled by O.E.M.
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1.10:bd10/20/2015:svnAcer:pnOneS1002:pvr1.10:rvnAcer:rnPopcorn:rvrTobefilledbyO.E.M.:cvnAcer:ct10:cvrToBeFilledByO.E.M.:
dmi.product.name: One S1002
dmi.product.version: 1.10
dmi.sys.vendor: Acer

carlix (carlixlinux) on 2016-05-14
affects: wine-development (Ubuntu) → linux-meta (Ubuntu)
Brad Figg (brad-figg) on 2016-05-14
affects: linux-meta (Ubuntu) → linux (Ubuntu)

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1581711

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete

apport information

tags: added: apport-collected xenial
description: updated
carlix (carlixlinux) wrote : CRDA.txt

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.6 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
carlix (carlixlinux) on 2016-05-17
Changed in linux (Ubuntu):
status: Triaged → Confirmed
status: Confirmed → New

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
carlix (carlixlinux) wrote :

I made it works with this:
sudo apt-get install build-essential linux-headers-generic git
git clone https://github.com/hadess/rtl8723as.git
cd rtl8723as
make
sudo make install
sudo depmod -a
sudo modprobe r8723bs

carlix (carlixlinux) wrote :

Android x86 support it by default

tags: added: latest-bios-1.10
description: updated
tags: added: kernel-bug-exists-upstream kernel-bug-exists-upstream-4.6

carlix, when using the upstream code, could you please provide the output of the following:
ls /sys/bus/sdio/devices

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
carlix (carlixlinux) wrote :

Without the workaround:

ls /sys/bus/sdio/devices
mmc1:0001:1

carlix (carlixlinux) wrote :

And using the driver r8723bs provided by hadess is the same output

Changed in linux (Ubuntu):
status: Incomplete → Confirmed

carlix, in order to keep this relevant to upstream, could you please test the latest mainline kernel (4.7-rc4) and advise to the results?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
carlix (carlixlinux) wrote :

kernel-bug-exists-upstream-4.7 with the mainline kernel, same results

tags: added: kernel-bug-exists-upstream-4.7-rc4
removed: kernel-bug-exists-upstream-4.6

carlix, could you please provide the results of the following:
ls /sys/bus/sdio/devices/mmc1:0001:1

This would help to identify your specific WiFi device.

carlix (carlixlinux) wrote :

ls /sys/bus/sdio/devices/mmc1:0001:1
class driver ieee80211 net subsystem vendor
device firmware_node modalias power uevent

carlix (carlixlinux) on 2016-06-27
Changed in linux (Ubuntu):
status: Incomplete → Confirmed

carlix, could you please the results of the following (this should provide all the interesting hardware details):
cat /sys/bus/sdio/devices/mmc1:0001:1/*

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
carlix (carlixlinux) wrote :

cat /sys/bus/sdio/devices/mmc1:0001:1/*
0x07
0xb723
cat: '/sys/bus/sdio/devices/mmc1:0001:1/firmware_node': Is a directory
sdio:c07v024CdB723
cat: '/sys/bus/sdio/devices/mmc1:0001:1/power': Is a directory
cat: '/sys/bus/sdio/devices/mmc1:0001:1/subsystem': Is a directory
SDIO_CLASS=07
SDIO_ID=024C:B723
MODALIAS=sdio:c07v024CdB723
0x024c

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
carlix (carlixlinux) wrote :

This is without the workaround

description: updated
summary: - Need support for Realtek Wifi card rtl8723bs
+ 024C:B723 Need support for Realtek Wifi card rtl8723bs

carlix, as per https://wireless.wiki.kernel.org/en/users/drivers/rtl819x given this driver is in staging, it's not available in the linux-stable tree which Ubuntu typically pulls from (but testing it with the driver installed simultaneously provides evidence of stability with it).

So, there are two things that would need to happen here. One is for this staging driver to be considered for inclusion into Ubuntu. Second is for this driver to be considered for inclusion into linux-stable, where it would be pulled into Ubuntu as a matter of course.

Changed in linux (Ubuntu):
importance: Medium → High
status: Confirmed → Triaged
tags: added: kernel-bug-exists-upstream-4.7-rc5
removed: kernel-bug-exists-upstream-4.7-rc4
carlix (carlixlinux) wrote :

They are using https://github.com/lwfinger/rtl8723bs which is a forked proyect of https://github.com/hadess/rtl8723as.git and it has no activity on 11 months meanwhile the original from hadess has periodic activity thats perhaps the reason of the delay to make it an oficial driver

carlix, could you please request upstream submit the rtl8723bs driver to linux-stable via the appropriate mailing list (TO: Greg Kroah-Hartman, Larry Finger, and Bastien Nocera CC driverdev-devel)? This will help get the ball rolling towards your hardware.

tags: added: chestersmill originate-from-1460924
Anthony Wong (anthonywong) wrote :

I'm now looking into merging this vendor driver into ubuntu's kernel.
I've also pushed the latest drivers we received from realtek to https://github.com/anthonywong/rtl8723bs

Changed in linux (Ubuntu):
assignee: nobody → Phidias (phidias-chiang)
Anthony Wong (anthonywong) wrote :
Changed in linux (Ubuntu):
importance: High → Medium
description: updated
Anthony Wong (anthonywong) wrote :
Changed in linux (Ubuntu):
assignee: Phidias (phidias-chiang) → nobody
Anthony Wong (anthonywong) wrote :

This driver has now been merged by upstream into the kernel staging tree in 4.12-rc1 kernel.

no longer affects: hwe-next/yakkety
Kai-Heng Feng (kaihengfeng) wrote :

URL: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/rtl8723bs?h=staging-next

It will be quite hard to backport the driver to 4.4 though, huge amount of net & wireless changes happened between 4.4 to 4.12.

Kai-Heng Feng (kaihengfeng) wrote :

This patch solves the kernel panic issue and make rtl8723bs working:
https://www.spinics.net/lists/linux-wireless/msg162060.html

Let's just wait Linux kernel in Artful switch to 4.12.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers