Monday 15 May 2017

Interim RTL8723BS wifi packages for mainline kernel v4.11 and v4.12-rc1

UpdateThis work is superseded by my 'isorespin.sh' script which can respin an official ISO suitable for use on Intel Atom devices.



While the RTL8723BS wifi module is now in the first v4.12 release candidate to get wifi working it is necessary to build it as an external module and load the firmware. As an interim I've build two packages 'rtl8723bs_4.11.0-041100_amd64.deb' and 'rtl8723bs_4.12.0-041200rc1_amd64.deb' from the v4.12 source (applying the necessary patches) which may be useful to anyone as an alternative to building for themselves until the v4.12 kernel matures. They can be downloaded and applied to the appropriate kernel using the 'dpkg -i' command.

50 comments:

Unknown said...

Thanks man and great work you have done !!!!

Unknown said...

I have Ubuntu Mate on my Chuwi Hi12 and have downloaded and installed the latest 4.12 kernel from your archive. I installed this wifi driver as well but Ubuntu still fails to recognize my wifi adapter in the Chuwi Hi 12. Any tips?

Unknown said...

Would also like to know whether the Chuwi Hi12 goes?

Unknown said...

Hello Ian, i have 4.10.0.20 generic, Which package do I use?

Unknown said...

I solved my issue, installed from a ubuntu minimal version 17.04, downloaded the kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12-rc1/

Linux-headers-4.12.0-041200rc1_4.12.0-041200rc1.201705131731_all.deb

Linux-headers-4.12.0-041200rc1-generic_4.12.0-041200rc1.201705131731_amd64.deb

Linux-image-4.12.0-041200rc1-generic_4.12.0-041200rc1.201705131731_amd64.deb

I installed it with the command: sudo dpkg -i linux - *. Deb
Update the grub: sudo update-grub

Then I installed the driver: sudo dpkg -i rtl8723bs_4.12.0-041200rc1_amd64.deb

And restart

Everything is working ok

Many thanks Ian .. !!!!

Unknown said...

Good evening and thanks for your huge support. I own an Acer s1002 124h and I followed, in the recent past, a github's thread about Linux for the Acer switch 10 (my device is a variant). I wrote there as Lucacer. I have been silently following and appreciating your work for 3 months or so and I wonder if the behaviour of my device with suspend (even with pm-suspend) is common to everybody or related to the video card of my device. I mean,I just can get a dark screen, but the light is still on (I.e. the screen is still being powered) and the cpu still runs very fast. I don't get if it's my device only or if it's the same for everybody.

I have tested all of your solutions till 4.11 kernel (not yet 4.12rc1).

Thanks a lot.

Luca

Unknown said...

BTW, the video card is by Intel and it's the 'usual' 64 bit system with 32 bit uefi with a z3735 Atom CPU with 2 Gigabytes

Unknown said...

Kernel V4.12 RC1 brings following things on my TreckStor Wintron 8.0 Tablet with Lubuntu 16.04
- No more dual batery display (Intel SR1 removed), so a good improvement
- Screen almost all time boot in sync (horisontal sync), but as I further mention if it will not crash on boot.
- other issues like touchpad un-clik, right audio sent also on left speaker(Ok on audio jack), no bluetooth with last patch scripts, and sometime wi-fi connected but no Internet access... remain same.
But unfortunately most of time the screen crash on boot in the middle of Plymouth display (probably when brightness change), so I can't access the system, only over network access. Created scripts for display brightness and screen rotation will output error "Can't Open Display" (As I try to use them maybe will reinitialize the display or brightness of it).
Not knowing other solution for display fix, and probably further using release candidates and final kernel V4.12 screen will continue to crash on boot, maybe display driver will be fixed in V4.13 even I hope early.

that shady bitch said...

Hi!
I tried both of these packages with related kernels, but all they give me errors. I used 'dpkg -i *.dev'
Dpkg tell me some of postproccesing errors and something about errors in lines.
Also lspci, lshw, lsusb do not show me network adapters or something, but my module is definetely 8752bs. And as I considered it works via sdi0 in pci mode. Can yyou help me what can I do? I am a little amateur and I have no choice but linux to make my device work at this moment. Thank you.

Unknown said...

I haven't tried the new stuff yet but, when you face issues with dpkg -i, you may try to use gdebi, which can fix most of dependencies related issues.

Luca

Unknown said...

Hello.

The module not load, install no problem. I use debian multiarch because my Denver have Uefi 32 with Atom Intel inside. I use Pci, acpi freeze. I use cinnamon and lightdm. I have install with in usb in intenso. I have only problem with realtek drivers. I use Apt local with all deb in dvd amd64.

Else you have a solution for me ...

Linuxium said...

Do you need to change SDIO from ACPI to PCI in the BIOS on a Chuwi Hi12 to get wifi working?

Linuxium said...

Neither of the packages will work unless you upgrade your kernel to v4.11 or v4.12-rc1.

Linuxium said...

Try changing SDIO from ACPI to PCI in the BIOS.

Linuxium said...

Good to hear.

Linuxium said...

No worries!

Linuxium said...

Suspend has been problematic on a lot of devices and new patches are coming through that might fix it in later kernels.

Linuxium said...

Please post the actual error messages you get so a diagnosis can be attempted.

Linuxium said...

In this instance 'dpkg -i' is sufficient as the only dependency is the kernel version.

Linuxium said...

If you are using Debian then almost certainly you will not have the correct kernel (either v4.11 or v4.12-rc1) as required by the packages.

Unknown said...

I have use this kernel in this post for replace, the wlan is not detect ... i go test with a ubuntu minimal. I hate Uefi32 ... i have not problem with Uefi 64 or bios (legacy) ... buy a netbook is not good idea ... Intel no probleme, drivers Realteak are not detected.

Unknown said...

Debian problem with my netbook, i test with Ubuntu.

Unknown said...

I have not understand why "32 uefi" exist, bios for 32 and uefi for 64, this is complicate for intel ?

:D

Linuxium said...

Manufacturers used the 32-bit bootloader as they installed 32-bit Windows to ensure Microsoft compliance and pricing. The complication for Linux users is that most distros have or are in the process of dropping 32-bit support resulting in the need to install 64-bit Linux.

Unknown said...

Hello,

I am using a Beelink Z83 and Ubuntu all flavours are freezing. I have done the cstate alterations 1 and 2 and it's still freezing. Any ideas?

Unknown said...

Have done that. Still no luck :(

Unknown said...

I have done that but still no luck

that shady bitch said...

Sure.
// setting up rtl8723bs (4.12.0-041200rc1) ...
// /var/lib/dpkg/info/rtl8723bs.postinst: line9: /bin/systemctl: No such file or directory
# dpkg: error processing package rtl8723bs (--install):
# subprocess installed post-installation script returned error exit status 127
# Errors were encountered while prossing: rtl8723bs

Same with 4.11 version.
"apt-get -f install" tell that it is not fully installed, same line 9, same status 127. And also
# E: Sub-process /usr/bin/dpkg returned an error code (1)

And thats it. I don't know what to do, win10 does not even start an installation page.
In bios sdio in pci-mode.
Thank you.

Linuxium said...

What OS or distro are you running the packages on? I included bluetooth as a systemd service so if you don't have systemd (as seems evident from the error message) then it will fail. Ooops. I guess if you are on Ubuntu 14.04 then you can write your own upstart job if bluetooth is required from boot (or look at /etc/rc.local) however wifi should work despite the error message (note: assumed as untested).

Linuxium said...

Does 'dmesg' show anything and what happens if you manually load the module?

Linuxium said...

Thermal throttling? Are your CPU temperatures okay?

that shady bitch said...

Yes, I am running 14.04.5 with 4.12 kernel. So should I run late distro?

Linuxium said...

You could try (as in test) this version 'https://goo.gl/GnlQR4' by downloading and then first 'sudo dpkg -i rtl8723bs_4.12.0-041200rc1_amd64.deb' followed by 'sudo modprobe r8723bs' which should now install and start wifi on non-systemd systems running the v4.12-rc1 kernel.

Unknown said...

Last fix in place !!!

The daily build have getting the last fix (ioctl_cfg80211.c from Ian MORRISON) for our rtl8723bs.
You can istall the "cod/tip/daily/2017-05-21 mainline build" and its booting and the wifi its working out of the box if having the firmware installed. The kernel its little buggy with lockings and new intresting errors in the bootlog and nasty locks, but its the wifi, bluetooth and SD-card is working.
Now its only time befor a good RC its comming thats working well and then the 4.12 and all its in place for our minis !!!

Unknown said...

So, I have noticed this before as well. I get a modprobe error: FATAL: Module r8723bs not found in directory /lib/modules/4.12.0-041200rc1-lowlatency

I am new to linux and i have no idea how to fix this.

Unknown said...

Also, 'dmesg' shows a long list of things, not sure what i am looking for. I have no idea what you mean by manually loading the module. Sorry for being such an amateur, and thank you for your help, I jus wish i could get the wifi working..haha

Linuxium said...

Ubuntu's build of v4.12-rc2 is now out and I've created a package for the required firmware at http://linuxiumcomau.blogspot.com.au/2017/05/mainline-kernel-v412-rc2-now-with.html

Linuxium said...

Ah, don't use the 'lowlatency' kernel but use the 'generic' one otherwise the package dependency is not met.

Unknown said...

Thanks so much! Installed the generic and booted to the grub menu to select it. Wifi and bluetooth started working. Using the wifi on my chuwi hi 12 to post this comment while jamming out to some tunes using my bluetooth earbuds! Thanks for you help, keep up the great work!

Linuxium said...

Good to hear and thanks.

Anonymous said...

Works perfectly fine on a Voyo V3 !! Wifi + Bt + Audio HDMI. Thanks Roger & Linuxium

Sok Sareth said...
This comment has been removed by the author.
Mr Trueno said...

thanks, i use this on my chuwi vi 10 plus and all works very well except screen brightness, it doesn not works and it's on max, but thanks
atom intel z8300

Unknown said...

good..!!!

Unknown said...

Hello,
thanks for the guide but I cannot find the file rtl8723bs_4.12.0-041200rc1_amd64.deb

where can I download it?

Thanks

Linuxium said...

That package has been superseeded by 'rtl8723bs_4.12.0_amd64.deb' and 'rtl8723bt_4.12.0_amd64.deb' which are documented and available from my documentation post "Customizing Ubuntu ISOs: Documentation and examples of how to use 'isorespin.sh'" top right.

Anonymous said...

Hi here,

I have Debian linux with Ubuntu kernel 4.11.12-041112-generic #201707210350.
But i have also Wifi rtl8723bs and i haven't solve to resolve to use this wifi card....do you have any help for resolve issues ?

Regards,

Linuxium said...

Have you installed the required firmware as well?

Anonymous said...

which one ?

Linuxium said...

The firmware for the RTL8723BS wifi chip.

Post a Comment

All comments now moderated so that spam can be deleted.