- rtl8761b bluetooth и bluetooth клавиатура.
- Realtek 8761b driver linux
- About
- Realtek 8761b driver linux
- Re: Installing Realtek RTL8761B Bluetooth drivers
- Re: Installing Realtek RTL8761B Bluetooth drivers
- Re: Installing Realtek RTL8761B Bluetooth drivers
- Re: Installing Realtek RTL8761B Bluetooth drivers
- Re: Installing Realtek RTL8761B Bluetooth drivers
- Re: Installing Realtek RTL8761B Bluetooth drivers
- Re: Installing Realtek RTL8761B Bluetooth drivers
- Re: Installing Realtek RTL8761B Bluetooth drivers
- Bluetooth 5.0 Realtek RTL8761B Support
- Linux Mint Forums
- USB Bluetooth V5? not recognized
- USB Bluetooth V5? not recognized
- Re: USB Bluetooth V5? not recognized
- Re: USB Bluetooth V5? not recognized
- Re: USB Bluetooth V5? not recognized
- Re: USB Bluetooth V5? not recognized
- Re: USB Bluetooth V5? not recognized
- Re: USB Bluetooth V5? not recognized
- Re: USB Bluetooth V5? not recognized
- Re: USB Bluetooth V5? not recognized
- Re: USB Bluetooth V5? not recognized
- Re: USB Bluetooth V5? not recognized
- Re: USB Bluetooth V5? not recognized
rtl8761b bluetooth и bluetooth клавиатура.
Всем доброго времени суток, буду максимально краток. Установил Kali linux 2018.4 на флешку, приобрёл bluetooth клавиатуру, к ней адаптер rtl8761b. Пошуршав на форумах понял, что linux и данный адаптер совершенно не дружит и к сожалению не нашёл решение вопроса. Список проблем: 1) Bluetooth не включается адаптер rtl8761b; 2) Bluetooth клавиатура не коннектится к устройству (проверялось на другом устройстве с функционирующем адаптером). Готов предоставить всю нужную информацию для решения вопроса, главное скажите какую. Благодарю.
Поставь убунту, а в неё — ядро посвежее.
Есть 2 проблемы в этом предложение:
- Официальный драйвер работает на более старом ядре, на более новом — с шаманским бубном и варганом.
- Установил Kali linux 2018.4 для работы, т.к. в данной версии поддерживается нужный мне софт и могут обеспечить поддержкой по софту. В более новой версии не поддерживается софт, в более старой (до 2018) возникают трудности.
Не знаю, что у вас там в кале за варганы, а поддержку твоего чипа добавили в 5.8.
Установил Kali linux 2018.4 для работы, т.к. в данной версии поддерживается нужный мне софт
Какое свежее предание. Никогда ничего подобного не слышал.
С linux rtl8761b дружит. Пользуюсь им под opensuse tumbleweed. Посмотри в dmesg после подключния его не ругается ли на отсутствие firmware. Я её вроде на github находил. Причем есть старая фирмварь, которая не работает в ядре 5.9 (dmesg показывает что устройство подключено и фирмварь загружена, но лампочка на контроллере не горит и bluetooth не работает). И есть новая фирмаварь для ядра 5.9. Работает ли новая фирмварь на более старых ядрах — я не проверял.
Благодарю за более раскрытый ответ, но решение моей проблемы не смена ОС, а починка текущей. В следующий раз, если мне понадобиться выбирать ОС обязательно рассмотрю твой вариант.
В dmsg отсутствуют ошибки и вообще красные цвета, устройство подключено. Если идёт речь об индикаторе на самом адаптере, то он у меня не разу не горел. Был момент когда Linux идентифицировал его как bluetooth адаптер и появлялся значёк справа в верху, но подключить не позволяло. Погуглив проблему я прочитал, что всё из-за того, что его видит как другую модель, решение я не нашёл.
Источник
Realtek 8761b driver linux
Using Bluetooth 5.0 USB Dongle with RTL8761B chipset on Linux kernel 5.10
This is the environment that I used for testing:
- Linux kernel 5.10.5 (stock kernel from kernel.org)
- Ubuntu 18.04.5 (Bionic Beaver)
You need the following firmware files from this Android repository:
Filename | Renamed to |
---|---|
rtl8761b_config | rtl8761b_config.bin |
rtl8761b_fw | rtl8761b_fw.bin |
As of Jan-07-2020, these files are not yet available in linux-firmware git repository.
These files are also in this repository under firmware directory.
Download these files and put them under directory /lib/firmware/rtl_bt/
Check the SHA256sum of these files:
sha256sum rtl8761b_config.bin rtl8761b_fw.bin
SHA256 sum | Filename |
---|---|
0b59a1f2422c006837c4b5e46b59d49bfdbca1defb958adbbc0d57ebdc19cc82 | rtl8761b_fw.bin |
aa86a092ee58e96256331d5c28c199ceaadec434460e98e7dea20e411e1aa570 | rtl8761b_config.bin |
dmesg when firmware is loaded correctly
After firmware was installed and dmesg showed firmware was loading correctly, when using hciconfig hci0 up , I got the following error:
Can’t init device hci0: Operation not supported (93)
When running btmon WHILE running hciconfig hci0 up , I saw an error that looks like:
Status: Unsupported Remote Feature / Unsupported LMP Feature (0x1a)
Kernel patch required (as of kernel 5.10.5)
This patch is also in this repository under patches directory.
I use kernel_build to build my kernels.
About
Using Bluetooth 5.0 USB Dongle with RTL8761B chipset on Linux kernel 5.10
Источник
Realtek 8761b driver linux
I created this topic to help users install drivers for any bluetooth usb adapters that use Realtek RTL8761B chip on current Raspberry Pi OS firmware with Kernel 5.4, which doesn’t come with the drivers. The firmware-realtek package only comes with 8761A drivers.
Searching around I found this topic https://forums.linuxmint.com/viewtopic. . 7#p1917237 where the user Flashwalker applied a kernel patch and installed the drivers sucessfully on Linux Mint. I used that as reference to found what I had to do to install the drivers on the Pi. Turns out it is much simpler to do on the Pi, as it does not need the Kernel patch, the current RPOS already contains those modifications, is just a matter of downloading and copying the driver to the correct location. So here it is:
1. Search this link for «BH456A» and download the Linux drivers: https://www.xmpow.com/pages/download
2. Install 7zip to extract the drivers:
Now your adapter should work properly.
EDIT: Updated instructions thanks to @eeichinger
Re: Installing Realtek RTL8761B Bluetooth drivers
in case someone else lands here: the download url seems to have changed. Best go to the vendor’s support website https://www.xmpow.com/pages/download and search for drivers for «BH456A»
they also switched to 7zip archive format, so you’ll also need 7zip:
Re: Installing Realtek RTL8761B Bluetooth drivers
in case someone else lands here: the download url seems to have changed. Best go to the vendor’s support website https://www.xmpow.com/pages/download and search for drivers for «BH456A»
they also switched to 7zip archive format, so you’ll also need 7zip:
Re: Installing Realtek RTL8761B Bluetooth drivers
Thanks for your Post. I Bought the BH519A BT USB BT Adapter which use the same Realtek chip.
On my raspberry 2B this works great, but on my booth raspberry 4 it won’t work.
Any idea?
Re: Installing Realtek RTL8761B Bluetooth drivers
Thanks for your Post. I Bought the BH519A BT USB BT Adapter which use the same Realtek chip.
On my raspberry 2B this works great, but on my booth raspberry 4 it won’t work.
Any idea?
Re: Installing Realtek RTL8761B Bluetooth drivers
Re: Installing Realtek RTL8761B Bluetooth drivers
It works on my raspi 3+.
However, it disconnects bluetooth devices suddenly.
I’ve paired our handys with pi3 to get kind of presence detection.
It seams to be a timeout.
Re: Installing Realtek RTL8761B Bluetooth drivers
Re: Installing Realtek RTL8761B Bluetooth drivers
That’s exactly the issue I have too, and therefore not usable with my smart home implementation.
Was looking for a bt5 usb to have a wider range.
Does anyone developed kind of a workaround or investigatied why it disconnects and reconnects suddenly?
Источник
Bluetooth 5.0 Realtek RTL8761B Support
I have a Raspberry Pi 2 and the lastest version of LibreElec. Everything works great (thanks).
I had an old Bluetooth 2.0 (15 years old) that worked fine, but sometimes there was some interference in the audio.
Now I have bought a bluetooth 5.0 (Realtek RTL8761B) that does not detect, I think is a problem with the drivers, according to what I have searched on the internet.
The bluetooth works fine, I tested it in mi Windows and checked also that it is Bluetooth 5.0 (HCI 9.55449 / LMP 9.25805).
Is there a provision to soon include the necessary drivers? Are they already included and do I have to activate something?
Should work with nightlies.
It might be missing the firmware, in which case you’ll need to share «dmesg | paste» output so we can see the error message that tells us which file can’t be found (so we can pick/add it).
Wow, so easy
The config file is optional.
I executed both commands and nothing, the result is the same:
I tried also with 777 permission in the new file with the same output.
Maybe I have to do something more, I dont know
Maybe I have to do something more
You should use a nightly build, not a stable 9.2.6.
Or self-compile from a libreelec-9.2 branch and add a patch for RTL8761B support.
Oh
How I to install a nightly build? I search in the options and the option to update non release version not appear (or I dont know how).
The second option sound more complex I can wait for the fix to be included in the next release (assuming it isn’t in 1 year
).
Thanks for your responses.
I pr changes as soon I fixed it.
I like beer
How I to install a nightly build?
Just download the generic build from test.libreelec.tv and drop the image (LE-Generic. img.gz) to the update folder at you box.
Got the FW working rtl_bt.zip
extract firmware folder
I like beer
Oh, perfect. Many thanks. I download LibreELEC-Generic.x86_64-9.80-nightly-20201217-76a852d.img.gz and the firmware.
Does the update go inside /storage/.update?
Does the firmware go inside /storage/.config/firmware/rtl_bt?
And the last question (I hope). When updating this version, will the system continue to update automatically? And, with the next update will the change be lost?
If you are still using a RPI2 you do need LibreELEC-RPi2.arm-9.80-nightly-20201218-76a852d.img.gz
> Does the update go inside /storage/.update?
> Does the firmware go inside /storage/.config/firmware/rtl_bt?
> When updating this version, will the system continue to update automatically?
> with the next update will the change be lost?
Thanks for the advise about the version.
And, when the new version will was release, will I have to update it manually?
I saw that file: LibreELEC-RPi2.arm-9.80-nightly-20201218-76a852d-noobs.tar.
I have Noobs in my Raspberry (Libreelec and Raspbian). It is not a problem for install LibreELEC-RPi2.arm-9.80-nightly-20201218-76a852d.img.gz file?
Tomorrow I will try it.
Oh didn’t saw that you use a RPi2, I advise against using the current LE10 nightly images, there is too much broken and not working for RPi0-3 !
I like beer
Oh
LibreELEC-RPi2.arm-9.80-nightly-20201218-76a852d.img.gz didn’t work for me
With the config file of the firmware:
Without the config file of the firmware:
And all addons are now uncompatible
Oh sh..t I think that it works with the last nightly build, but the problem is I not read correctly your message. Ouch
Luckily I had the backup of LibreELEC (Leia) 9.2.6
I will keep this version until you confirm that it is already supported.
Edited once, last by TasTraceur ( Jan 29th 2021 ).
Источник
Linux Mint Forums
Welcome to the Linux Mint forums!
USB Bluetooth V5? not recognized
USB Bluetooth V5? not recognized
Post by Jeronimo17 » Sat May 09, 2020 7:26 pm
I just got this bluetooth USB that I thought was compatible with linux, but I can’t get it in the manual says: Linux (Beta Driver Only)
On the CD he brings:
Is it possible to make it work?
Edit: It seems that there is talk of a patch here https://patchwork.kernel.org/patch/11483367/ how can this be applied? Or it will soon appear in kernel 4.15.0-99-generic.
Re: USB Bluetooth V5? not recognized
Post by JSkier » Thu Jun 04, 2020 4:19 pm
It would likely get backported to LTS at some point.
I have the same dongle, currently compiling the kernel with the patch to see if it will work now (I’m using ArchLinux, building 5.7 kernel). If I understand correctly, the firmware may also need to get updated too at some point for this to fully work?
The dongle I purchased did not claim to support Linux, only Windows and OS X. I anticipated support for Linux would come with time though.
Will update with status on patched 5.7 kernel. At that point, I could try backporting to Mint LTS if it works okay.
JSkier
Using: ArchLinux, Mint, Ubuntu Server, FreeBSD | 64-bit
Re: USB Bluetooth V5? not recognized
Post by JSkier » Mon Aug 03, 2020 6:17 pm
It looks like the patch is in 5.8. Firmware isn’t in yet though (seems to be some licensing questions with that).
I did not get a CD with mine; so no way to play around with drivers.
JSkier
Using: ArchLinux, Mint, Ubuntu Server, FreeBSD | 64-bit
Re: USB Bluetooth V5? not recognized
Post by FadySGhatas » Tue Aug 04, 2020 3:55 am
It looks like the patch is in 5.8. Firmware isn’t in yet though (seems to be some licensing questions with that).
I did not get a CD with mine; so no way to play around with drivers.
I installed the drivers on ArchLinux and on Mint, got the exact same result, the usb is being identified as rtl8761a instead of rtl8761bu.
With the rtl8761a drivers, I get:
Re: USB Bluetooth V5? not recognized
Post by FadySGhatas » Tue Aug 04, 2020 4:29 am
It looks like the patch is in 5.8. Firmware isn’t in yet though (seems to be some licensing questions with that).
I did not get a CD with mine; so no way to play around with drivers.
I installed the drivers on ArchLinux and on Mint, got the exact same result, the usb is being identified as rtl8761a instead of rtl8761bu.
With the rtl8761a drivers, I get:
Everything works on my end now!
On Linux Mint, I had to get rid of all other custom bluetooth drivers so that the new driver can take over.
On Archlinux, in short, for a ko to be hooked, it must be xz’d (check module installation here: https://wiki.archlinux.org/index.php/Co . nel_module), so I manually ran this:
Re: USB Bluetooth V5? not recognized
Post by JSkier » Tue Aug 04, 2020 8:47 am
Very nice, thanks! I was able to get the drivers working with Linux 5.8 after unloading some bluetooth modules, rtk_btusb worked. Earbuds work great!
I found the Techkey (the brand of mine) Windows drivers, but they don’t provide Linux drivers.
EDIT: Silly, I don’t need the kernel driver, they provide the firmware. So, in Linux 5.8, with the firmware, it works just fine (should be able to patch the kernel below 5.8 for proper device recognition; not sure if this will be backported?). I’ll see about letting the devs know about this, last I could find was someone was interested in sending the Windows drivers to the firmware group. Still no license info in the tgz file.
JSkier
Using: ArchLinux, Mint, Ubuntu Server, FreeBSD | 64-bit
Re: USB Bluetooth V5? not recognized
Post by FadySGhatas » Wed Aug 05, 2020 6:58 am
Re: USB Bluetooth V5? not recognized
Post by Neeyan4 » Wed Aug 12, 2020 8:10 pm
It looks like the patch is in 5.8. Firmware isn’t in yet though (seems to be some licensing questions with that).
I did not get a CD with mine; so no way to play around with drivers.
I installed the drivers on ArchLinux and on Mint, got the exact same result, the usb is being identified as rtl8761a instead of rtl8761bu.
With the rtl8761a drivers, I get:
Everything works on my end now!
On Linux Mint, I had to get rid of all other custom bluetooth drivers so that the new driver can take over.
On Archlinux, in short, for a ko to be hooked, it must be xz’d (check module installation here: https://wiki.archlinux.org/index.php/Co . nel_module), so I manually ran this:
Re: USB Bluetooth V5? not recognized
Post by rumpel » Fri Aug 14, 2020 7:32 am
Did you get it to work?
I’m going to get a MPOW Bluetooth 5.0 adapter, too and I’m wondering how to get it to work exactly. Do I still need to install bluez and that sort of stuff or is the driver from their website all that’s needed? Or would it be able to work with bluez etc. just fine and the provided driver isn’t really needed?
Would be great if the other posters could chime in, but I guess they disappeared for good.
Re: USB Bluetooth V5? not recognized
Post by JSkier » Fri Aug 14, 2020 8:53 am
First you need kernel 5.8, the patch backported to the Mint kernel so it recognizes the device properly, or patch the kernel on Mint to get it to be recognized as the correct device. Then you need to copy the firmware files to the bluetooth firmware folder, as Linux firmware package does not include them yet. After this, a reboot and it should work.
You should see this in dmesg if it is recognized properly:
The other route is using the driver, which seems to work in 5.8 (and should in below kernel versions, however not sure how that plays out with the device recognition bug). It does dump a lot of debug messages to the kernel log (could probably be disabled?). I didn’t stick with this too long, as the firmware route seems to be a cleaner solution, especially with kernel upgrades. I am using Arch Linux by the way, so I’m not super familiar with how to do the above stuff on Mint.
After which, use bluez, blueman or blueberry to get bluetooth devices configured.
I have been in contact with the mailing list for linux-firmware. It is unfortunate that Mint Forums are closed / require registration to view, but I have let them know about this thread and the interest in getting this bluetooth 5 chipset working. The sentiment seems to be a lot of interest in doing so, but the licensing is absent, so that makes the timeline murky.
I also reached out to Realtek about licensing, they have yet to respond weeks later.
Good luck, I hope you are able to get it working.
Did you get it to work?
I’m going to get a MPOW Bluetooth 5.0 adapter, too and I’m wondering how to get it to work exactly. Do I still need to install bluez and that sort of stuff or is the driver from their website all that’s needed? Or would it be able to work with bluez etc. just fine and the provided driver isn’t really needed?
Would be great if the other posters could chime in, but I guess they disappeared for good.
JSkier
Using: ArchLinux, Mint, Ubuntu Server, FreeBSD | 64-bit
Re: USB Bluetooth V5? not recognized
Post by Neeyan4 » Fri Aug 14, 2020 9:16 am
Did you get it to work?
I’m going to get a MPOW Bluetooth 5.0 adapter, too and I’m wondering how to get it to work exactly. Do I still need to install bluez and that sort of stuff or is the driver from their website all that’s needed? Or would it be able to work with bluez etc. just fine and the provided driver isn’t really needed?
Would be great if the other posters could chime in, but I guess they disappeared for good.
First you need kernel 5.8, the patch backported to the Mint kernel so it recognizes the device properly, or patch the kernel on Mint to get it to be recognized as the correct device. Then you need to copy the firmware files to the bluetooth firmware folder, as Linux firmware package does not include them yet. After this, a reboot and it should work.
You should see this in dmesg if it is recognized properly:
The other route is using the driver, which seems to work in 5.8 (and should in below kernel versions, however not sure how that plays out with the device recognition bug). It does dump a lot of debug messages to the kernel log (could probably be disabled?). I didn’t stick with this too long, as the firmware route seems to be a cleaner solution, especially with kernel upgrades. I am using Arch Linux by the way, so I’m not super familiar with how to do the above stuff on Mint.
After which, use bluez, blueman or blueberry to get bluetooth devices configured.
I have been in contact with the mailing list for linux-firmware. It is unfortunate that Mint Forums are closed / require registration to view, but I have let them know about this thread and the interest in getting this bluetooth 5 chipset working. The sentiment seems to be a lot of interest in doing so, but the licensing is absent, so that makes the timeline murky.
I also reached out to Realtek about licensing, they have yet to respond weeks later.
Good luck, I hope you are able to get it working.
Did you get it to work?
I’m going to get a MPOW Bluetooth 5.0 adapter, too and I’m wondering how to get it to work exactly. Do I still need to install bluez and that sort of stuff or is the driver from their website all that’s needed? Or would it be able to work with bluez etc. just fine and the provided driver isn’t really needed?
Would be great if the other posters could chime in, but I guess they disappeared for good.
Re: USB Bluetooth V5? not recognized
Post by rumpel » Fri Aug 14, 2020 9:49 am
First you need kernel 5.8, the patch backported to the Mint kernel so it recognizes the device properly, or patch the kernel on Mint to get it to be recognized as the correct device. Then you need to copy the firmware files to the bluetooth firmware folder, as Linux firmware package does not include them yet. After this, a reboot and it should work.
You should see this in dmesg if it is recognized properly:
The other route is using the driver, which seems to work in 5.8 (and should in below kernel versions, however not sure how that plays out with the device recognition bug). It does dump a lot of debug messages to the kernel log (could probably be disabled?). I didn’t stick with this too long, as the firmware route seems to be a cleaner solution, especially with kernel upgrades. I am using Arch Linux by the way, so I’m not super familiar with how to do the above stuff on Mint.
After which, use bluez, blueman or blueberry to get bluetooth devices configured.
I have been in contact with the mailing list for linux-firmware. It is unfortunate that Mint Forums are closed / require registration to view, but I have let them know about this thread and the interest in getting this bluetooth 5 chipset working. The sentiment seems to be a lot of interest in doing so, but the licensing is absent, so that makes the timeline murky.
I also reached out to Realtek about licensing, they have yet to respond weeks later.
Good luck, I hope you are able to get it working.
Источник