Cambridge silicon radio драйвер linux
The device is supported by kernel versions 2.6.14 and newer according to the LKDDb:
Ver | Source | Config | By ID | By Class |
---|---|---|---|---|
2.6.0 — 2.6.14 | drivers/usb/class/bluetty.c | CONFIG_USB CONFIG_USB_ACM CONFIG_USB_AUDIO CONFIG_USB_BLUETOOTH_TTY CONFIG_USB_MIDI CONFIG_USB_PRINTER | * | e00101 |
2.6.0 — 2.6.28 | drivers/bluetooth/hci_usb.c | CONFIG_BT CONFIG_BT_HCIUSB | * | e00101 |
2.6.14 — 2.6.28 | drivers/bluetooth/hci_usb.c | CONFIG_BT CONFIG_BT_HCIUSB | 0a12:0001 | * |
2.6.24 — 6.3 | drivers/bluetooth/btusb.c | CONFIG_BT CONFIG_BT_HCIBTUSB | * | e00101 |
2.6.27 — 6.3 | drivers/bluetooth/btusb.c | CONFIG_BT CONFIG_BT_HCIBTUSB | 0a12:0001 | * |
Status (8040)
initially probed as detected. Changed to works.
CSR Bluetooth Dongle (HCI mode) ver. 1.1.
Working, tested, can detect devices and connect to them including controllers and phones.
Works well for audio. Had to use ofono to get HSP/HFP to work and use the mic.
Connects to by BT earbuds (galaxy buds pro) and nintendo switch pro controller just fine. No issues.
With Logitech k380, key repeat sometimes hangs.
This is an external bluetooth dongle, to make bluetooth work.
Range is a bit limited by obstructions (walls) but fora few dollar device it’s more than acceptably performant.
I use it to connect my headphones and works fine for both ldac listening and headset mode with msbc.
Bluetooth в Linux — опять облом
Втыкнул его, ничего не произошло. Пославил метапакет bluetooth. Он потянул за собой bluez. Все встало без проблем, но на рабочем столе при втыкании адаптера ничего не происходит. Смотрю модули ядра. Вроде модуль есть:
# lsmod | grep blue bluetooth 103750 1 btusb rfkill 18516 1 bluetooth crc16 12327 1 bluetooth
Решил посмотреть, а есть хоть какой процесс, который за bluetooth отвечает. Такого процесса нет:
# ps aux | grep blue root 12765 0.0 0.0 4572 932 pts/0 S+ 23:03 0:00 grep blue
# /etc/init.d/bluetooth start [ ok ] Starting bluetooth: bluetoothd.
# /etc/init.d/bluetooth status [FAIL] bluetooth is not running . failed!
Дальше мысли кончаются. Насколько я понимаю, пока демон не запустится, ничего работать не будет, и искать вменяемый гуишный интерфейс бессмысленно. Куда копать?
гм. если демон запустился и умер, значит нужно в логи глянуть. Обычно помогает.
Ну вот единственное что нашел в /var/log/daemon.log:
May 20 22:54:43 pangolinux dbus[2079]: [system] Reloaded configuration May 20 22:54:43 pangolinux bluetoothd[12248]: Bluetooth daemon 5.23 May 20 22:54:43 pangolinux bluetoothd[12248]: Failed to access management interface May 20 22:54:43 pangolinux bluetoothd[12248]: Adapter handling initialization failed May 20 22:54:43 pangolinux dbus[2079]: [system] Reloaded configuration May 20 22:57:18 pangolinux bluetoothd[12394]: Bluetooth daemon 5.23 May 20 22:57:18 pangolinux bluetoothd[12394]: Failed to access management interface May 20 22:57:18 pangolinux bluetoothd[12394]: Adapter handling initialization failed
Тот же самый временной промежуток в /var/log/syslog:
May 20 22:54:43 pangolinux dbus[2079]: [system] Reloaded configuration May 20 22:54:43 pangolinux bluetoothd[12248]: Bluetooth daemon 5.23 May 20 22:54:43 pangolinux bluetoothd[12248]: Failed to access management interface May 20 22:54:43 pangolinux bluetoothd[12248]: Adapter handling initialization failed May 20 22:54:43 pangolinux dbus[2079]: [system] Reloaded configuration May 20 22:55:01 pangolinux CRON[12295]: (root) CMD (/usr/bin/gputemp.sh) May 20 22:55:01 pangolinux CRON[12296]: (root) CMD ( /usr/bin/gputemp.sh) May 20 22:55:02 pangolinux CRON[12309]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1) May 20 22:55:02 pangolinux sSMTP[12311]: Creating SSL connection to host May 20 22:55:02 pangolinux sSMTP[12312]: Creating SSL connection to host May 20 22:55:02 pangolinux sSMTP[12311]: SSL connection using RSA_AES_128_CBC_SHA1 May 20 22:55:02 pangolinux sSMTP[12312]: SSL connection using RSA_AES_128_CBC_SHA1 May 20 22:55:04 pangolinux sSMTP[12311]: Sent mail for root@gmail.com (221 2.0.0 closing connection o138sm1611624lfo.55 - gsmtp) uid=0 username=root outbytes=665 May 20 22:55:05 pangolinux sSMTP[12312]: Sent mail for root@gmail.com (221 2.0.0 closing connection s18sm2177096ljd.3 - gsmtp) uid=0 username=root outbytes=615 May 20 22:56:01 pangolinux CRON[12319]: (root) CMD (/usr/bin/gputemp.sh) May 20 22:56:01 pangolinux CRON[12320]: (root) CMD ( /usr/bin/gputemp.sh) May 20 22:56:01 pangolinux sSMTP[12334]: Creating SSL connection to host May 20 22:56:01 pangolinux sSMTP[12333]: Creating SSL connection to host May 20 22:56:02 pangolinux sSMTP[12334]: SSL connection using RSA_AES_128_CBC_SHA1 May 20 22:56:02 pangolinux sSMTP[12333]: SSL connection using RSA_AES_128_CBC_SHA1 May 20 22:56:04 pangolinux sSMTP[12334]: Sent mail for root@gmail.com (221 2.0.0 closing connection h72sm2222588ljh.57 - gsmtp) uid=0 username=root outbytes=615 May 20 22:56:05 pangolinux sSMTP[12333]: Sent mail for root@gmail.com (221 2.0.0 closing connection 22sm2183964ljv.67 - gsmtp) uid=0 username=root outbytes=665 May 20 22:57:01 pangolinux CRON[12347]: (root) CMD ( /usr/bin/gputemp.sh) May 20 22:57:01 pangolinux CRON[12354]: (root) CMD (/usr/bin/gputemp.sh) May 20 22:57:01 pangolinux sSMTP[12362]: Creating SSL connection to host May 20 22:57:01 pangolinux sSMTP[12361]: Creating SSL connection to host May 20 22:57:01 pangolinux sSMTP[12362]: SSL connection using RSA_AES_128_CBC_SHA1 May 20 22:57:01 pangolinux sSMTP[12361]: SSL connection using RSA_AES_128_CBC_SHA1 May 20 22:57:03 pangolinux sSMTP[12362]: Sent mail for root@gmail.com (221 2.0.0 closing connection a79sm2134170ljb.54 - gsmtp) uid=0 username=root outbytes=615 May 20 22:57:04 pangolinux sSMTP[12361]: Sent mail for root@gmail.com (221 2.0.0 closing connection a17sm1659402lfg.51 - gsmtp) uid=0 username=root outbytes=665 May 20 22:57:18 pangolinux bluetoothd[12394]: Bluetooth daemon 5.23 May 20 22:57:18 pangolinux bluetoothd[12394]: Failed to access management interface May 20 22:57:18 pangolinux bluetoothd[12394]: Adapter handling initialization failed
Xintrea ★★★★★ ( 20.05.17 22:48:57 MSK )
Последнее исправление: Xintrea 20.05.17 22:55:06 MSK (всего исправлений: 1)
mohclips / text.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
$ lsusb |
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub |
Bus 001 Device 040: ID 0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0 |
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub |
Bus 001 Device 044: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) |
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub |
# get the pre-compiled driver |
$ wget https://github.com/Realtek-OpenSource/android_hardware_realtek/raw/rtk1395/bt/rtkbt/Firmware/BT/rtl8761b_fw |
$ sudo cp rtl8761b_fw /lib/firmware/rtl_bt/rtl8761b_fw.bin |
# unplug and replug the device back in |
# check dmesg |
[Wed Jan 27 21:16:23 2021] usb 1-1: new full-speed USB device number 44 using xhci_hcd |
[Wed Jan 27 21:16:23 2021] usb 1-1: New USB device found, idVendor=0a12, idProduct=0001, bcdDevice=88.91 |
[Wed Jan 27 21:16:23 2021] usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0 |
[Wed Jan 27 21:16:23 2021] usb 1-1: Product: USB1.1-A |
[Wed Jan 27 21:16:23 2021] Bluetooth: hci1: CSR: Unbranded CSR clone detected ; adding workarounds. |
# check config |
$ hciconfig |
hci1: Type: Primary Bus: USB |
BD Address: 00:1A:7D:DA:71:11 ACL MTU: 679:9 SCO MTU: 48:16 |
DOWN |
RX bytes:642 acl:0 sco:0 events:41 errors:0 |
TX bytes:2130 acl:0 sco:0 commands:41 errors:0 |
# check rfkill |
$ sudo rfkill |
ID TYPE DEVICE SOFT HARD |
1 wlan phy0 unblocked unblocked |
186 bluetooth hci0 unblocked unblocked |
189 bluetooth hci1 blocked unblocked |
# unblock |
$ sudo rfkill unblock 189 |
# check |
$ sudo rfkill |
ID TYPE DEVICE SOFT HARD |
1 wlan phy0 unblocked unblocked |
186 bluetooth hci0 unblocked unblocked |
189 bluetooth hci1 unblocked unblocked |
# do a scan |
$ sudo hcitool -i hci1 lescan |
LE Scan . |
71:5F:E7:16:56:22 (unknown) |
71:5F:E7:16:56:22 (unknown) |