Drivers for Realtek WiFi adapters (including RTL8723BE)

Ответить
euspectre
Сообщения: 1111
Зарегистрирован: 21 дек 2012, 15:24
Operating system: Linux в разных вариантах

Drivers for Realtek WiFi adapters (including RTL8723BE)

Сообщение euspectre » 22 май 2015, 18:24

If anyone still has a laptop with RTL8723BE WiFi adapter or another RTL8*** adapter that does not currently work in ROSA R5, the test builds of rtlwifi_new are now available.

rtlwifi_new (https://github.com/lwfinger/rtlwifi_new) is a collection of drivers for a dozen different WiFi adapters by Realtek. Some of these drivers may not be as stable as we would like them to be, but new features, bug fixes and sometimes new drivers usually get there before the mainline kernel.

The following WiFi adapters are supported:
* RTL8192CE
* RTL8192SE
* RTL8192DE
* RTL8188EE
* RTL8192EE
* RTL8723AE
* RTL8723BE
* RTL8821AE

The problem with that collection of drivers was that it tried to replace some components of the kernel with their custom versions, something that we do not consider safe and maintainable. Same for the firmware the drivers need.

Now we have patched the code to rename the drivers and change the location of the firmware, to avoid conflicts with the existing ones.

We are currently testing the drivers on the hardware we have. You can also give it a try, and your feedback is most valuable.

How to install:
for 32-bit systems:

Код: Выделить всё

urpmi.addmedia rtlwifi-test http://abf-downloads.rosalinux.ru/rosa2014.1/container/2504567/i586/contrib/release/
urpmi dkms-rtlwifi_new
for 64-bit systems:

Код: Выделить всё

urpmi.addmedia rtlwifi-test http://abf-downloads.rosalinux.ru/rosa2014.1/container/2504568/x86_64/contrib/release/
urpmi dkms-rtlwifi_new
After that, you might need to load the appropriate driver. The name is the same as the name of the chip converted to lower case and with "_new" appended. For example, here is the command for RTL8723BE (run it as root):

Код: Выделить всё

modprobe rtl8723be_new
Alternatively, you may try the following ISO images with ROSA Fresh, they have these drivers pre-installed:

x86_64:
ROSA.FRESH.KDE.R5.11333.b.x86_64.iso
http://file-store.rosalinux.ru/api/v1/f ... 8e9b417854
MD5: b1be5183885c6a4664f80a49b76ed52a

i586:
ROSA.FRESH.KDE.R5.11333.b.i586.iso
http://file-store.rosalinux.ru/api/v1/f ... 7b9899b6d3
MD5: 058c96c1f0c05b56ea3f1a35e1cfa08c

As usual, please use hw-probe (https://linux-hardware.org/?show=check) to upload the hardware info and the logs to us.

Thank you in advance!
Последний раз редактировалось euspectre 27 май 2015, 11:33, всего редактировалось 2 раза.

euspectre
Сообщения: 1111
Зарегистрирован: 21 дек 2012, 15:24
Operating system: Linux в разных вариантах

Re: Drivers for Realtek WiFi adapters (including RTL8723BE)

Сообщение euspectre » 22 май 2015, 18:27

Note that for RTL8812AU chip, which can be found, for example, in some D-Link and TP-LINK Archer USB WiFi adapters, a different driver is needed.

We have it as well, the package is dkms-rtl8812au, name of the driver - "rtl8812au".

ShalokShalom
Сообщения: 85
Зарегистрирован: 03 дек 2014, 16:00
Operating system: ROSA

Re: Drivers for Realtek WiFi adapters (including RTL8723BE)

Сообщение ShalokShalom » 24 май 2015, 16:19

The RTL8723BE do not work correct on Ubuntu 15.04 with 3.19, (Wifi is unstable there, Bluetooth dont work with 2 mobile phones.)

I guess these rtlwifi_new collection is already implemented there ?

Will this device work maybe more likely on ROSA with these drivers ?

I fail to install them in live mode:

Код: Выделить всё

[live@localhost My Passport]$ urpmi /home/live/Schreibtisch/dkms-rtlwifi_new-0.1-0.3800a129.1-rosa2014.1.x86_64.rpm 
BDB2053 Freeing read locks for locker 0x25eb: 5293/140061145233152
BDB2053 Freeing read locks for locker 0x25ec: 5293/140061145233152
BDB2053 Freeing read locks for locker 0x25ee: 5293/140061145233152
BDB2053 Freeing read locks for locker 0x25f0: 5293/140061145233152
BDB2053 Freeing read locks for locker 0x25f4: 5293/140061145233152
BDB2053 Freeing read locks for locker 0x25f6: 5293/140061145233152
BDB2053 Freeing read locks for locker 0x25fa: 5293/140061145233152
BDB2053 Freeing read locks for locker 0x25fc: 5293/140061145233152
BDB4503 Aborting txn 0x800053c6: 5293/140061145233152
BDB1502 Freeing log information for process: 5293/0, (ref 1)
BDB1502 Freeing log information for process: 5293/0, (ref 1)
BDB1502 Freeing log information for process: 5293/0, (ref 1)
BDB1502 Freeing log information for process: 5293/0, (ref 1)
BDB1502 Freeing log information for process: 5293/0, (ref 1)
BDB1502 Freeing log information for process: 5293/0, (ref 1)
BDB1502 Freeing log information for process: 5293/0, (ref 1)
BDB1502 Freeing log information for process: 5293/0, (ref 1)
BDB2017 Freeing mutex for process: 5293/0
BDB2017 Freeing mutex for process: 5293/0
BDB2017 Freeing mutex for process: 5293/0
BDB2017 Freeing mutex for process: 5293/0
BDB2017 Freeing mutex for process: 5293/0
BDB2017 Freeing mutex for process: 5293/0
BDB2017 Freeing mutex for process: 5293/0
BDB2017 Freeing mutex for process: 5293/0
BDB2017 Freeing mutex for process: 5293/0
BDB2017 Freeing mutex for process: 5293/0
BDB2017 Freeing mutex for process: 5293/0
BDB2017 Freeing mutex for process: 5293/0
BDB2017 Freeing mutex for process: 5293/0
BDB2017 Freeing mutex for process: 5293/0
BDB2017 Freeing mutex for process: 5293/0


dkms-rtlwifi_new-0.1-0.3800a129.1-rosa2014.1.x86_64.rpm von /home/live/Schreibtisch wird installiert
Vorbereiten …                    ##############################################
      1/1: dkms-rtlwifi_new      ##############################################

Error! DKMS tree already contains: rtlwifi_new-0.1-1
You cannot add the same module/version combo more than once.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=3.14.25-nrj-desktop-1rosa............................................................
cleaning build area....

DKMS: build Completed.

rtlwifi_new.ko:
 - Installation
   - Installing to /lib/modules/3.14.25-nrj-desktop-1rosa/kernel/3rdparty/rtlwifi_new//

rtl_pci_new.ko:
 - Installation
   - Installing to /lib/modules/3.14.25-nrj-desktop-1rosa/kernel/3rdparty/rtlwifi_new//

rtl_usb_new.ko:
 - Installation
   - Installing to /lib/modules/3.14.25-nrj-desktop-1rosa/kernel/3rdparty/rtlwifi_new//

btcoexist_new.ko:
 - Installation
   - Installing to /lib/modules/3.14.25-nrj-desktop-1rosa/kernel/3rdparty/rtlwifi_new//

rtl8192c-common_new.ko:
 - Installation
   - Installing to /lib/modules/3.14.25-nrj-desktop-1rosa/kernel/3rdparty/rtlwifi_new//

rtl8821ae_new.ko:
 - Installation
   - Installing to /lib/modules/3.14.25-nrj-desktop-1rosa/kernel/3rdparty/rtlwifi_new//

rtl8192se_new.ko:
 - Installation
   - Installing to /lib/modules/3.14.25-nrj-desktop-1rosa/kernel/3rdparty/rtlwifi_new//

rtl8192de_new.ko:
 - Installation
   - Installing to /lib/modules/3.14.25-nrj-desktop-1rosa/kernel/3rdparty/rtlwifi_new//

rtl8723be_new.ko:
 - Installation
   - Installing to /lib/modules/3.14.25-nrj-desktop-1rosa/kernel/3rdparty/rtlwifi_new//

rtl8192ee_new.ko:
 - Installation
   - Installing to /lib/modules/3.14.25-nrj-desktop-1rosa/kernel/3rdparty/rtlwifi_new//

rtl8192cu_new.ko:
 - Installation
   - Installing to /lib/modules/3.14.25-nrj-desktop-1rosa/kernel/3rdparty/rtlwifi_new//

rtl8188ee_new.ko:
 - Installation
   - Installing to /lib/modules/3.14.25-nrj-desktop-1rosa/kernel/3rdparty/rtlwifi_new//

rtl8192ce_new.ko:
 - Installation
   - Installing to /lib/modules/3.14.25-nrj-desktop-1rosa/kernel/3rdparty/rtlwifi_new//

rtl8723ae_new.ko:
 - Installation
   - Installing to /lib/modules/3.14.25-nrj-desktop-1rosa/kernel/3rdparty/rtlwifi_new//

depmod........
modprobe: ERROR: could not insert 'rtl8723be_new': Exec format error

DKMS: install Completed.
[live@localhost My Passport]$ su
[root@localhost My Passport]# modprobe rtl8723be_new
modprobe: ERROR: could not insert 'rtl8723be_new': Exec format error
 

euspectre
Сообщения: 1111
Зарегистрирован: 21 дек 2012, 15:24
Operating system: Linux в разных вариантах

Re: Drivers for Realtek WiFi adapters (including RTL8723BE)

Сообщение euspectre » 25 май 2015, 08:48

Thanks for your time!
ShalokShalom писал(а):The RTL8723BE do not work correct on Ubuntu 15.04 with 3.19, (Wifi is unstable there, Bluetooth dont work with 2 mobile phones.)

I guess these rtlwifi_new collection is already implemented there ?
The drivers are available in the mainline kernel since 3.17 or 3.18, so Ubuntu 15.04 might have got them "in a natural way".

These in-kernel drivers are maintained by the same person as rtlwifi_new, Larry Finger. However, as he explained, the drivers from rtlwifi_new are often, well, newer than those in the kernel. They may contain more features and bug fixes. If the in-kernel versions of the drivers work poorly, he suggests using rtlwifi_new.
ShalokShalom писал(а):Will this device work maybe more likely on ROSA with these drivers ?
This is our goal.
ShalokShalom писал(а):I fail to install them in live mode:
RPM database seems to be damaged for some reason. I guess, this might be due to the subtle flaws in the structure of Live images my colleagues were fixing not long ago.

Which ISO image with ROSA R5 are you using? Could you try a recent one from here http://mirror.rosalab.ru/rosa/rosa2014. ... FRESH.KDE/ ?

ShalokShalom
Сообщения: 85
Зарегистрирован: 03 дек 2014, 16:00
Operating system: ROSA

Re: Drivers for Realtek WiFi adapters (including RTL8723BE)

Сообщение ShalokShalom » 25 май 2015, 11:26

Thanks a lot for your quick response. :)

Yes, i try the official KDE release. I think in general, that a sensefull release date for R6 comes closer and closer:
The first update is already very huge, especially for areas with low bandwith, i guess the team will wait until the new Kernel appears ?
Since this will happen in 1- 3 Months, is R6 or R5.5 a nice idea, especially if such things are fixed. :)

The device is away now, it is that one from a friend. I know another girl from facebook with the same chip and will suggest her, to try that solution here.
Since Wifi is the only way for some people to reach the internet, is it maybe nice to ship the test isos with the rpm file ? :)

I guess you solution here install always the current github state ?

Where can i find a Checksum for the current builds, please ?

Thanks a lot again, your support is a huge help and one of the largest reason for me, to use ROSA. :Yahoo!:

euspectre
Сообщения: 1111
Зарегистрирован: 21 дек 2012, 15:24
Operating system: Linux в разных вариантах

Re: Drivers for Realtek WiFi adapters (including RTL8723BE)

Сообщение euspectre » 25 май 2015, 13:06

ShalokShalom писал(а):Since this will happen in 1- 3 Months, is R6 or R5.5 a nice idea, especially if such things are fixed. :)
Well, the dates of the releases are not for me to decide ;-)
My colleagues need to maintain a "big picture" of releases for
* ROSA Fresh R*
* ROSA Enterprise Desktop (based on ROSA Fresh R*)
* our server-oriented systems
* our certified systems for various institutions

This is, obviously, not always easy.
ShalokShalom писал(а):The device is away now, it is that one from a friend. I know another girl from facebook with the same chip and will suggest her, to try that solution here.
That would be nice, thank you.
ShalokShalom писал(а):Since Wifi is the only way for some people to reach the internet, is it maybe nice to ship the test isos with the rpm file ? :)
Good idea. I can build such test ISO images later today or tomorrow.
ShalokShalom писал(а):I guess you solution here install always the current github state ?
We packaged rtlwifi_new at the state as of May 15. The first symbols of the commit ID are in the package version: 3800a129.
The users are, of course, free to build and install the drivers directly from the code from GitHub, although that could be less safe and convenient. If I remember correctly, some our users actually do so.
ShalokShalom писал(а):Where can i find a Checksum for the current builds, please ?
For each build from http://mirror.rosalab.ru/rosa/rosa2014. ... utotested/, MD5 sum is in .iso.md5sum file, stored beside the ISO file.
ShalokShalom писал(а):Thanks a lot again, your support is a huge help and one of the largest reason for me, to use ROSA. :Yahoo!:
Nice to hear. :-)

ShalokShalom
Сообщения: 85
Зарегистрирован: 03 дек 2014, 16:00
Operating system: ROSA

Re: Drivers for Realtek WiFi adapters (including RTL8723BE)

Сообщение ShalokShalom » 25 май 2015, 13:11

euspectre писал(а):
Well, the dates of the releases are not for me to decide ;-)
My colleagues need to maintain a "big picture" of releases for
* ROSA Fresh R*
* ROSA Enterprise Desktop (based on ROSA Fresh R*)
* our server-oriented systems
* our certified systems for various institutions
No Marathon anymore ? :O I wait for it hardly...

ShalokShalom писал(а):The device is away now, it is that one from a friend. I know another girl from facebook with the same chip and will suggest her, to try that solution here.

That would be nice, thank you.
She already download it. :)
ShalokShalom писал(а):Since Wifi is the only way for some people to reach the internet, is it maybe nice to ship the test isos with the rpm file ? :)

Good idea. I can build such test ISO images later today or tomorrow.
Nice to read :D

euspectre
Сообщения: 1111
Зарегистрирован: 21 дек 2012, 15:24
Operating system: Linux в разных вариантах

Re: Drivers for Realtek WiFi adapters (including RTL8723BE)

Сообщение euspectre » 25 май 2015, 15:44

ShalokShalom писал(а):No Marathon anymore ? :O I wait for it hardly...
ROSA Marathon is still supported.

euspectre
Сообщения: 1111
Зарегистрирован: 21 дек 2012, 15:24
Operating system: Linux в разных вариантах

Re: Drivers for Realtek WiFi adapters (including RTL8723BE)

Сообщение euspectre » 25 май 2015, 15:46

euspectre писал(а):
ShalokShalom писал(а):No Marathon anymore ? :O I wait for it hardly...
ROSA Marathon is still supported. ROSA Enterprise Desktop X2 is its successor.

ShalokShalom
Сообщения: 85
Зарегистрирован: 03 дек 2014, 16:00
Operating system: ROSA

Re: Drivers for Realtek WiFi adapters (including RTL8723BE)

Сообщение ShalokShalom » 25 май 2015, 17:54

And the Enterprise Desktop is also based on ROSA ? Just a rename ? When comes the next release, please ?

The woman download the current official release, since a cusual download use to much time in her area
and a torrent is also more save. (To not break the ISO)

She runs also in the installed ROSA R5 into the same issue as i and there is no solution for her, to update with another method as wlan.

What now ? :(

euspectre
Сообщения: 1111
Зарегистрирован: 21 дек 2012, 15:24
Operating system: Linux в разных вариантах

Re: Drivers for Realtek WiFi adapters (including RTL8723BE)

Сообщение euspectre » 25 май 2015, 19:21

ShalokShalom писал(а):And the Enterprise Desktop is also based on ROSA ?
Yes. What I know is that it is based on the package base of ROSA Fresh R5 with updates. What else is there - it is better to ask our officials. Same for the release dates.
ShalokShalom писал(а):What now ? :(
As I promised earlier, I scheduled building of the ISO image of ROSA with all the recent updates and with these drivers installed. The build is now in progress.

If she agrees to try such ISO (in Live mode), that would be helpful, but I would not insist. The users are not required to test anything anyway ;-)

ShalokShalom
Сообщения: 85
Зарегистрирован: 03 дек 2014, 16:00
Operating system: ROSA

Re: Drivers for Realtek WiFi adapters (including RTL8723BE)

Сообщение ShalokShalom » 25 май 2015, 20:55

euspectre писал(а): Yes. What I know is that it is based on the package base of ROSA Fresh R5 with updates. What else is there - it is better to ask our officials. Same for the release dates.
Its sad for me to see, that this release is not free. How fit that the GPL, please ?
euspectre писал(а): As I promised earlier, I scheduled building of the ISO image of ROSA with all the recent updates and with these drivers installed. The build is now in progress.

If she agrees to try such ISO (in Live mode), that would be helpful, but I would not insist. The users are not required to test anything anyway ;-)
She want to test it, if you create a torrent for it: I share that one as well then. :)

Thanks a lot again :)

euspectre
Сообщения: 1111
Зарегистрирован: 21 дек 2012, 15:24
Operating system: Linux в разных вариантах

Re: Drivers for Realtek WiFi adapters (including RTL8723BE)

Сообщение euspectre » 25 май 2015, 22:00

ShalokShalom писал(а):Its sad for me to see, that this release is not free. How fit that the GPL, please ?
See RHEL. GPL does not prohibit selling things.

By the way, as far as I know, our Enterprise distro is free for internal usage and testing at the moment. As they state at our web site, one just needs to write to sales@ntcit-rosa.ru to get these ISO images. That does not mean they will make the users pay for it ;-)

ShalokShalom
Сообщения: 85
Зарегистрирован: 03 дек 2014, 16:00
Operating system: ROSA

Re: Drivers for Realtek WiFi adapters (including RTL8723BE)

Сообщение ShalokShalom » 25 май 2015, 22:21

Fine thanks. I thought, that RHEL sell just the support, thats the reason why other distros like CentOS and ROSA are able to fork it. So long as this is possible, i am happy. :D

euspectre
Сообщения: 1111
Зарегистрирован: 21 дек 2012, 15:24
Operating system: Linux в разных вариантах

Re: Drivers for Realtek WiFi adapters (including RTL8723BE)

Сообщение euspectre » 26 май 2015, 11:41

Unfortunately, the test builds seem to be broken (take too long to boot and sometimes fail to boot at all). We are investigating the problem but this will take time.

When proper builds are ready, I will post their URLs here.

euspectre
Сообщения: 1111
Зарегистрирован: 21 дек 2012, 15:24
Operating system: Linux в разных вариантах

Re: Drivers for Realtek WiFi adapters (including RTL8723BE)

Сообщение euspectre » 27 май 2015, 11:37

The problems I wrote about earlier are now resolved. The ISO images with the drivers pre-installed are ready. I updated the first post in this thread, the download links are now there.

During the testing, we have discovered some problems in rtlwifi_new as well. These have been fixed too. The ISO images have the updated drivers now. The links in the first post now point to the updated drivers in case someone wants to install them on an already installed ROSA R5.

ShalokShalom
Сообщения: 85
Зарегистрирован: 03 дек 2014, 16:00
Operating system: ROSA

Re: Drivers for Realtek WiFi adapters (including RTL8723BE)

Сообщение ShalokShalom » 27 май 2015, 12:20

Fine, fine :D

ShalokShalom
Сообщения: 85
Зарегистрирован: 03 дек 2014, 16:00
Operating system: ROSA

Drivers for Realtek WiFi adapters (including RTL8723BE)

Сообщение ShalokShalom » 29 май 2015, 10:44

Thanks a lot, Wifi work well with this ISO, we try to get Bluetooth working now. :)

hw-probe detect still issues:

https://linux-hardware.org/?probe=68c0f4f705

euspectre
Сообщения: 1111
Зарегистрирован: 21 дек 2012, 15:24
Operating system: Linux в разных вариантах

Re: Drivers for Realtek WiFi adapters (including RTL8723BE)

Сообщение euspectre » 29 май 2015, 11:22

ShalokShalom писал(а):Thanks a lot, Wifi work well with this ISO, we try to get Bluetooth working now. :)
Good to know, thanks!

Ответить

Вернуться в «ROSA Fresh R4-R7 (2014.1)»