024C:B723 Need support for Realtek Wifi card rtl8723bs

Bug #1581711 reported by carlix
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
HWE Next
Won't Fix
Medium
Kai-Heng Feng
Xenial
Won't Fix
Medium
Kai-Heng Feng
linux (Ubuntu)
Fix Released
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)
affects: wine-development (Ubuntu) → linux-meta (Ubuntu)
Brad Figg (brad-figg)
affects: linux-meta (Ubuntu) → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

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
Revision history for this message
carlix (carlixlinux) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected xenial
description: updated
Revision history for this message
carlix (carlixlinux) wrote : CRDA.txt

apport information

Revision history for this message
carlix (carlixlinux) wrote : CurrentDmesg.txt

apport information

Revision history for this message
carlix (carlixlinux) wrote : IwConfig.txt

apport information

Revision history for this message
carlix (carlixlinux) wrote : JournalErrors.txt

apport information

Revision history for this message
carlix (carlixlinux) wrote : Lspci.txt

apport information

Revision history for this message
carlix (carlixlinux) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
carlix (carlixlinux) wrote : ProcEnviron.txt

apport information

Revision history for this message
carlix (carlixlinux) wrote : ProcInterrupts.txt

apport information

Revision history for this message
carlix (carlixlinux) wrote : ProcModules.txt

apport information

Revision history for this message
carlix (carlixlinux) wrote : PulseList.txt

apport information

Revision history for this message
carlix (carlixlinux) wrote : UdevDb.txt

apport information

Revision history for this message
carlix (carlixlinux) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: Need support for Realtek Wifi card rtl8723bs

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)
Changed in linux (Ubuntu):
status: Triaged → Confirmed
status: Confirmed → New
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
carlix (carlixlinux) wrote : Re: Need support for Realtek Wifi card rtl8723bs

Kernel-bug-exists-upstream

Revision history for this message
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

Revision history for this message
carlix (carlixlinux) wrote :

Android x86 support it by default

penalvch (penalvch)
tags: added: latest-bios-1.10
penalvch (penalvch)
description: updated
tags: added: kernel-bug-exists-upstream kernel-bug-exists-upstream-4.6
Revision history for this message
penalvch (penalvch) wrote :

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
Revision history for this message
carlix (carlixlinux) wrote :

Without the workaround:

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

Revision history for this message
carlix (carlixlinux) wrote :

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

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

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
Revision history for this message
carlix (carlixlinux) wrote :

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

penalvch (penalvch)
tags: added: kernel-bug-exists-upstream-4.7-rc4
removed: kernel-bug-exists-upstream-4.6
Revision history for this message
penalvch (penalvch) wrote :

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.

Revision history for this message
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)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

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
Revision history for this message
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
Revision history for this message
carlix (carlixlinux) wrote :

This is without the workaround

penalvch (penalvch)
description: updated
summary: - Need support for Realtek Wifi card rtl8723bs
+ 024C:B723 Need support for Realtek Wifi card rtl8723bs
Revision history for this message
penalvch (penalvch) wrote :

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
Revision history for this message
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

Revision history for this message
penalvch (penalvch) wrote :

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
Revision history for this message
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)
Revision history for this message
Anthony Wong (anthonywong) wrote :
Changed in linux (Ubuntu):
importance: High → Medium
description: updated
Revision history for this message
Anthony Wong (anthonywong) wrote :
Revision history for this message
Anthony Wong (anthonywong) wrote :
Changed in linux (Ubuntu):
assignee: Phidias (phidias-chiang) → nobody
Revision history for this message
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
Revision history for this message
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.

Revision history for this message
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.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

BTW it's already enabled in Ubuntu's unstable kernel branch.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

It's enabled since v4.12, so it will work out of the box on v4.13.

Backport to v4.4 is no easy task and I doubt anyone really need this on Xenial.

Changed in linux (Ubuntu):
status: Triaged → Fix Released
Changed in hwe-next:
status: New → Won't Fix
Revision history for this message
Ubfan (ubfan1) wrote :

With 19 more months of support for 16.04 (and the 4.4 kernel), consider the 8723bs drivers in the
trusty-chestersmill repository ( http://oem.archive.canonical.com/updates/ trusty-chestersmill public)
These drivers worked fine through the Ubuntu 4.4.0-142 release (when the API change broke many drivers). The fix for that problem may be much simpler than changing the lwfinger or hadess drivers. Note, bug 1755309 for the header fix necessary for the audio packages from that repo.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Mainline kernel has rtl8723bs support for a while.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.