Rtl8822ce linux driver bluetooth

Содержание
  1. Rtl8822ce linux driver bluetooth
  2. About
  3. Arch Linux
  4. #1 2020-05-18 16:55:58
  5. Realtek 8822CE wireless driver issues
  6. #2 2020-05-18 17:41:01
  7. Re: Realtek 8822CE wireless driver issues
  8. #3 2020-05-18 17:55:35
  9. Re: Realtek 8822CE wireless driver issues
  10. #4 2020-05-18 18:20:31
  11. Re: Realtek 8822CE wireless driver issues
  12. #5 2020-05-20 16:19:09
  13. Re: Realtek 8822CE wireless driver issues
  14. Адаптер Wi-Fi не найден в ubuntu 18.04; нет драйверов для устройства rtl8822ce
  15. Некоторые выходы:
  16. Что я пробовал до сих пор:
  17. Дополнительные попытки:
  18. 4 ответа
  19. Arch Linux
  20. #1 2020-10-18 20:31:35
  21. [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1
  22. #2 2020-10-19 01:01:35
  23. Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1
  24. #3 2020-10-19 17:13:25
  25. Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1
  26. #4 2020-10-19 21:55:17
  27. Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1
  28. #5 2020-10-20 03:12:20
  29. Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1
  30. #6 2020-10-20 19:01:48
  31. Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1
  32. #7 2020-10-21 06:40:50
  33. Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1
  34. #8 2020-10-21 12:43:38
  35. Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1
  36. #9 2020-10-21 14:30:45
  37. Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1
  38. #10 2020-10-21 16:18:59
  39. Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1
  40. #11 2020-10-21 16:52:48
  41. Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1
  42. #12 2020-10-22 08:59:26
  43. Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1
  44. #13 2020-10-23 21:25:23
  45. Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1
  46. Wifi adapter not found in ubuntu 18.04; no drivers for device rtl8822ce
  47. Some outputs:
  48. What I tried so far:
  49. Additional attempts:
  50. 3 Answers 3

Rtl8822ce linux driver bluetooth

RTL8822x Firmware for GNU/Linux

The files in this repository are taken from Linux Mint 19.3 and will allow a Realtek RTL8822 b or c card to work on other distributions.

If you have trust issues, you can always boot with Mint 19.3 and take the files from there to use.

Log in with your favorite distribution, preferably with a new Kernel, as this has only been tested with 5.4+ Unload non-working modules from the Kernel, with:

You can run lsmod to see if they are named somehow differently in your OS, in case you do not run Debian.

Copy the files from this repo to your system, change the kernel path as needed! Load the modules with modprobe rtw88 and the WiFi should work.

It is unclear to me whether the /usr files are needed or if everything will work with just the files under /lib . Feel free to open an issue about this.

Did you rename the paths to work with with your current Kernel?

Usage on Debian Installer

Either on the graphical, text or live installer, open a terminal and do the above procedure before the installer checks for WiFi cards. The resulting installation will work out of the box and you do not need to copy the files again.

  • Huawei Matebook D14 (2020) with AMD 3500U. (Probaly same as D15)

The following issues are not related to the network card, but to the AMD CPU/GPU. Since these two are commonly found together, I document the fixes here.

If you have issues with the installer not starting use a newer Kernel. The ISO files listed above are fine as are the STABLE ones from Debian.

If you have glitches with your screen (artifacts) disable compositing.

About

Linux Drivers for Realtek RTL8822x WiFicards, taken from Linux Mint 19.3

Источник

Arch Linux

You are not logged in.

#1 2020-05-18 16:55:58

Realtek 8822CE wireless driver issues

Hi. I’m trying to get the wireless card work on a Lenovo Ideapad S145-15IIL. The wireless card shows as a Realtek 8822CE on Windows.

The log at /var/lib/dkms/rtl88x2ce/5.7.3_35403/build/make.log shows

Can I get some help in order to fix this and get the wireless card working?

#2 2020-05-18 17:41:01

Re: Realtek 8822CE wireless driver issues

Please post the make.log for rtlwifi_new-rtw88-dkms failing to build.
Edit:
https://github.com/lwfinger/rtlwifi_new … 2e256206eb removed proc use so although the output may look similar the cause of the failure should be different.

Last edited by loqs (2020-05-18 17:50:26)

#3 2020-05-18 17:55:35

Re: Realtek 8822CE wireless driver issues

Please post the make.log for rtlwifi_new-rtw88-dkms failing to build.
Edit:
https://github.com/lwfinger/rtlwifi_new … 2e256206eb removed proc use so although the output may look similar the cause of the failure should be different.

Installing rtlwifi_new-rtw88 I get

Here is the content of /var/lib/dkms/rtlwifi_new/r305.a9b1de9/build/make.log

#4 2020-05-18 18:20:31

Re: Realtek 8822CE wireless driver issues

The following modules were built:

Читайте также:  Драйвера для принтера hp laserjet m1522n для windows 10

As the module names do not match DKMS failed the build. So the dkms.conf appears to need updating.

According to https://github.com/lwfinger/rtlwifi_new/issues/582 the driver should only be used for RTL8723DE.

#5 2020-05-20 16:19:09

Re: Realtek 8822CE wireless driver issues

I see that the driver for 8822CE should be built at the kernel, but the interface of my wireless card isn’t showing.

Instead of using the AUR package I cloned, built and installed the package, this time with no error, but the interface is still not showing.

I already did «sudo modprobe rtw_8822ce». I see the mod_unload in vermagic but I can get it to load it (even using —force).

Maybe I’m looking in the wrong direction in order to solve this. Any idea?

Источник

Адаптер Wi-Fi не найден в ubuntu 18.04; нет драйверов для устройства rtl8822ce

Обновить

Ниже мой исходный вопрос с дополненной информацией. Первоначально я думал, что мое оборудование — это чип rtl8821ce, но, сравнив вывод lspci с этим постом, кажется, беспроводное устройство у меня есть, на самом деле чип 8822ce. Ранее заголовок этого вопроса не отражал этого факта, поэтому я его отредактировал.

У меня проблема, которую я не могу решить, и я был бы признателен за помощь. У меня новый ноутбук Lenovo IdeaPad, на который я недавно установил Ubuntu 18.04.4. К сожалению, Ubuntu не распознает мой Wi-Fi, говоря: «Адаптер Wi-Fi не найден».

Некоторые выходы:

lspci -nnk | grep 0280 -A3 :

rfkill list all :

sudo lshw -C network

Интересно отметить, что в выводах аналогичных команд в других сообщениях сетевой адаптер показывает: «RTL8821CE», а мой вывод — нет.

Что я пробовал до сих пор:

Сначала я попытался установить rtl8821ce-dkms вот так:

И я дополнительно отключил безопасную загрузку в BIOS. Это не подействовало. Ubuntu по-прежнему выдает то же сообщение.

Затем я попытался установить драйвер прямо с tomaspinho GitHub вот так (после удаления rtl8821ce-dkms):

Опять же, это не подействовало. Ubuntu по-прежнему выдает то же сообщение.

Интересно, что теперь, когда я бегу dmesg | grep -i 8821 , Я получил:

Я подозреваю, что, возможно, мое оборудование не поддерживается этим драйвером. Может ли кто-нибудь помочь мне понять, что мне нужно сделать, чтобы решить эту проблему «Нет адаптера Wi-Fi»?

Дополнительные попытки:

Как было предложено здесь, я попытался обновить версию linux-firmware пакет на моей машине. Я пробовал несколько разных версий, но ни одна не сработала. Что я сделал:

где » «Я пробовал быть:

  • 1.173.16 (похоже, последний раз изменялся на сервере).
  • 1,178
  • 1.186 (последняя на данный момент версия).

Я все еще получаю сообщение «Нет адаптера Wi-Fi».

4 ответа

Наконец-то я нашел решение!(спасибо за ответ на этой странице).

Оказывается, драйвер, который должен поддерживать мое оборудование (rtw88), был доступен и совместим с этим оборудованием уже в ядре> 5.2 (у меня был 5.3.0-46-generic), но он не настроен на распознавание моего оборудования.Чтобы решить эту проблему, мне пришлось скомпилировать ядро ​​Linux с небольшими изменениями в исходном коде (шаг 2 в решении ниже). Вот что я сделал:

1) Получите исходный код Linux по вашему выбору. В моем случае я использовал основное ядро:

2) найдите файл: ./linux/drivers/net/wireless/realtek/rtw88/pci.c , и отредактируйте его. Ищите строку ‘0xC822’ и замените его на ‘0xC82F’

3) Продолжите компиляцию ядра в соответствии с инструкциями. Для полноты ответа вот что я сделал:

cd в папку./linux.

Используйте конфигурации из текущего ядра: cp /boot/config-$(uname -r) .config

Компиляция и установка:

я) make или make -j8 (чтобы использовать 8 потоков параллельно вместо одного). Это займет некоторое время.

II) sudo make modules_install .

iii) sudo make install

Включите ядро ​​для загрузки:

я) sudo update-initramfs -c -k 5.7.0-rc1+ . Конечно, использовать установленную версию ядра (в моем случае 5.7.0-rc1+). Если вы не уверены в версии ядра: «ls /lib/modules/» и посмотрите, какие модули ядра установлены.

II) sudo update-grub

Вот и все. Перезагрузитесь и обязательно загрузитесь с новым ядром. Теперь Wi-Fi должен работать.

Источник

Arch Linux

You are not logged in.

#1 2020-10-18 20:31:35

[SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

Similar to this and this thread but not identical.

Like in those conversations, the problem appeared with kernel 5.9.1.
rtl8822ce is a wifi/BT combo device.
No problem with wifi.

‘blueman-manager’ now fails with this message:

‘bluetoothctl’ then ‘list’ outputs nothing, while ‘show’ outputs:

‘lspci -knn | grep Net -A2’

As per ‘journalctl’ output, seems bluetooth 5.55 daemon is having some ‘Key file does not have key’ issues but I don’t know what to do about it, or if that’s actually my problem.

Last edited by svrmirac (2020-11-21 18:17:23)

#2 2020-10-19 01:01:35

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

The key piece of evidence is:

Читайте также:  Леново драйвера wifi windows 10

[ 3.220657] Bluetooth: hci0: RTL: unknown IC info, lmp subver 3aa1, hci rev 0999, hci ver 000a

I am having the same issue on my HP laptop with the same the chip wifi/BT combo chip.

#3 2020-10-19 17:13:25

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

Same here on HP Probook 450 g7.

#4 2020-10-19 21:55:17

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

I can confirm this issue on a Lenovo Ideapad 5 Flex:

With kernel 8.x no problems at all. Upgrading to any 9.x kernel leads to «no device found» when trying to scan for new pairings.

Last edited by PeerK (2020-10-19 21:55:59)

#5 2020-10-20 03:12:20

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

Having the same issue here in the Lenovo Ideapad 5 Flex 14are05. The WiFi works fine, the problem is with Bluetooth. worked well with 5.8, the problem appeared with the 5.9 upgrade. I tried to fix it in many ways, without success. I think we will have to wait for the next update, I do not want to go back to 5.8 since some small errors that I was having were fixed, the Bluetooth is the only thing that remains.

#6 2020-10-20 19:01:48

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

What I am wondering: Why istnt there an error message in the loggings? The kernel modules are loaded and (without low technical knowledge) the values of the dmesg log seem to be ok.

But when I try to add a device, the system seems to scan endlessly. And when I try to set up the BT config I get the message, that no BT adapter had been found.

Can anybody from the give us a helping hand, to dig a little bit deeper in the Bluetooth environment?

#7 2020-10-21 06:40:50

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

After upgrading to kernel 5.9.1 my bluetooth devices also stopped working on my desktop computer. I’m using B450 I Aorus Pro WIFI motherboard that runs igb driver. I seem to be able to scan, pair and trust devices using bluetoothctl but unable to connect anything. Downgrading to 5.8.14-arch1-1 solves it so it must be a kernel issue.

#8 2020-10-21 12:43:38

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

Yesterday, I found the AUR package rtl8821cu-dkms-git : https://github.com/brektrou/rtl8821CU

The source compiled without an error under 5.9.1, but BT adapter could still not be found 🙁

#9 2020-10-21 14:30:45

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

I tried that too but it is not the driver really, it is the kernel. if you really need bluetooth you can downgrade the kernel to 5.8.14.arch1 I strongly believe that will work for you. or. wait for 5.9.2 (hoping it is fixed there)

#10 2020-10-21 16:18:59

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

I tried that too but it is not the driver really, it is the kernel. if you really need bluetooth you can downgrade the kernel to 5.8.14.arch1 I strongly believe that will work for you. or. wait for 5.9.2 (hoping it is fixed there)

Well it is just annoying and yes, with 5.8.18 WiFi & BT are working properly. But I do not want to go back. Probably I will wait for 5.9.2 as you do. Kind regards

#11 2020-10-21 16:52:48

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

At least in my computer (Lenovo Ideapad 5 Flex 14are05) kernel 5.19 fixed a problem with the volume keys (sometimes they blocked keyboard + trackpad or mouse), and with the display manager (black screen on booting, so had to restart ). I don’t want to go back neither, so bad this version broke the bluetooth, hopefully this will get fix in 5.9.2

#12 2020-10-22 08:59:26

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

At least in my computer (Lenovo Ideapad 5 Flex 14are05) kernel 5.19 fixed a problem with the volume keys (sometimes they blocked keyboard + trackpad or mouse), and with the display manager (black screen on booting, so had to restart ). I don’t want to go back neither, so bad this version broke the bluetooth, hopefully this will get fix in 5.9.2

OT: Since we have exactly the same device and here is no possibility to send you a PM: Did you succeed to activate the auto-rotate feature of the convertible? For me it does not work yet, neither in laptop-, nor in tablet-mode. monitor-sensor fails to detect iio-sensor-proxy. Under the 5.8.x kernel, I tried the aur/amd-sfh-hid-dkms , iio-sensor-proxy was detected, but the detection of the orientation failed. Any idea how to proceed?

Читайте также:  Windows не устанавливает sata драйверы

#13 2020-10-23 21:25:23

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

For what it is worth, I can confirm upgrade to 5.9.1 this morning broke my bluetooth. Only tried with my trackball, kensington Expert TP wireless, which had been working like a charm for a solid year. It also works (as I write) using the WiFi dongle.

The behaviour is:

— bluetooth controller powers on
— mouse device is seen
— mouse is paired
— mouse connects
— immediately afterwards it disconnects, and starts dancing connect/disconnect every second or so ad infinitum

So yes looks like a software issue in the kernel or so. Trying with LTS now.

edit: funny and somewhat frustrating situation. Using LTS (5.4.72-1) has the same issue, so perhaps it’s not the kernel after all, but some other part of the system that just got upgraded (systemd, bluetooth drivers?) leading to this behaviour. Also, my bluetooth keyboard (apple magic keyboard — small layout) connects and works well.

In any case, I’ll do a bit of investigation in the journal and dmesg, but I’m not sure it’s related to the kernel at this point.

Last edited by iosonofabio (2020-10-23 21:46:14)

Источник

Wifi adapter not found in ubuntu 18.04; no drivers for device rtl8822ce

Update

Below is my original question with supplemented information. Initially I thought my hardware is the rtl8821ce chip, but from comparing the output of lspci with this post, it seems the wireless device I have is in fact the 8822ce chip. Previously the title of this question did not reflect this fact, so I edited it.

I have a problem I couldn’t resolve, and I would appreciate some help with it. I have a brand new Lenovo IdeaPad laptop, on which I recently installed Ubuntu 18.04.4. Unfortunately Ubuntu doesn’t recognize my wifi, saying: «No wifi adapter found».

Some outputs:

lspci -nnk | grep 0280 -A3 :

rfkill list all :

sudo lshw -C network

An interesting thing to note is that in outputs of similar commands in other posts the network adapter shows: «RTL8821CE», and my output doesn’t.

What I tried so far:

First, I tried installing the rtl8821ce-dkms like so:

And I additionally disabled secure boot in the BIOS. This had no effect. Ubuntu still gives the same message.

Next, I tried to install the driver directly from the tomaspinho GitHub like so (after removing rtl8821ce-dkms):

Again, this had no effect. Ubuntu still gives the same message.

Interestingly, now when I run dmesg | grep -i 8821 , I get:

I suspect that maybe my hardware is not supported by this driver. Can anybody help me to understand what I need to do to resolve this «No wifi adapter» issue?

Additional attempts:

As was suggested here, I attempted to update the version of linux-firmware package on my machine. I tried a few different versions, but none worked. What I did:

where the » » I tried were:

  • 1.173.16 (which seems to be the one that was last modified in the server).
  • 1.178
  • 1.186 (which is the latest version to date).

I still get the «No wifi adapter» message.

3 Answers 3

Finally, I found a solution! (thanks to the answer in this page).

It turns out the driver that should support my hardware (rtw88) was available and compatible with this hardware already in kernel > 5.2 (I had 5.3.0-46-generic), but it is not set to recognize my hardware. To fix the problem I had to compile linux kernel with a small modification in the source code (step 2 in the solution below). Here’s what I’ve done:

1) Get the linux source code of your choice. In my case I used the mainline kernel:

2) locate the file: ./linux/drivers/net/wireless/realtek/rtw88/pci.c , and edit it. Look for the string ‘0xC822’ , and replace it with ‘0xC82F’

3) Continue with compilation of the kernel according to instructions. For completeness of my answer, here is what I did:

cd to the ./linux folder.

Use configurations from current kernel: cp /boot/config-$(uname -r) .config

Compiling and installing:

i) make or make -j8 (to use 8 threads in parallel instead of just one). This will take a while to complete.

ii) sudo make modules_install .

iii) sudo make install

Enable the kernel for boot:

i) sudo update-initramfs -c -k 5.7.0-rc1+ . Of course, use the kernel version installed (in my case 5.7.0-rc1+). If not sure of the kernel version: «ls /lib/modules/» and see what kernel modules are installed.

ii) sudo update-grub

That’s it. Reboot and be sure to boot into the new kernel. The wifi should now work.

Источник

Оцените статью