Bug 47431 - На ядре ветки 6.x перестали работать дешевые китайские bluetooth адаптеры Cambridge Silicon Radio
Summary: На ядре ветки 6.x перестали работать дешевые китайские bluetooth адаптеры Cam...
Status: CLOSED WORKSFORME
Alias: None
Product: Branch p10
Classification: Unclassified
Component: kernel-image-un-def (show other bugs)
Version: не указана
Hardware: x86_64 Linux
: P5 normal
Assignee: qa-team@altlinux.org
QA Contact: qa-p10@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-01 13:18 MSK by Дмитрий Яковлев
Modified: 2023-09-06 17:41 MSK (History)
2 users (show)

See Also:


Attachments
screen (49.35 KB, image/png)
2023-09-05 10:44 MSK, obidinog@basealt.ru
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Дмитрий Яковлев 2023-09-01 13:18:42 MSK
Добрый день.

Alt Workstation K10

После перехода на ядро un-def 6.1 заметил, что перестал работать bluetooth адаптер. Система его видит, но включить его не получается
Пользуюсь редко, поэтому заметил не сразу.
На ядрах ветки 5.x std-def и un-def адаптер работает нормально.

lsusb:
Bus 001 Device 007: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

dmesg на ядрах 5.x выдает:

[ 1097.075246] usb 1-1.3: new full-speed USB device number 4 using ehci-pci
[ 1097.209657] Bluetooth: Core ver 2.22
[ 1097.209682] NET: Registered protocol family 31
[ 1097.209683] Bluetooth: HCI device and connection manager initialized
[ 1097.209686] Bluetooth: HCI socket layer initialized
[ 1097.209687] Bluetooth: L2CAP socket layer initialized
[ 1097.209690] Bluetooth: SCO socket layer initialized
[ 1097.221341] usbcore: registered new interface driver btusb
[ 1097.225242] Bluetooth: hci0: CSR: Setting up dongle with HCI ver=9 rev=3120; LMP ver=9 subver=22bb; manufacturer=10
[ 1097.225245] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds...
[ 1097.290662] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 1097.290664] Bluetooth: BNEP filters: protocol multicast
[ 1097.290668] Bluetooth: BNEP socket layer initialized
[ 1097.299610] NET: Registered protocol family 38
[ 1097.332788] Bluetooth: RFCOMM TTY layer initialized
[ 1097.332795] Bluetooth: RFCOMM socket layer initialized
[ 1097.332800] Bluetooth: RFCOMM ver 1.11


dmesg на ядрах 6.1 выдает:

[   63.570270] usb 1-1.3: new full-speed USB device number 4 using ehci-pci
[   63.717310] Bluetooth: Core ver 2.22
[   63.717338] NET: Registered PF_BLUETOOTH protocol family
[   63.717340] Bluetooth: HCI device and connection manager initialized
[   63.717344] Bluetooth: HCI socket layer initialized
[   63.717346] Bluetooth: L2CAP socket layer initialized
[   63.717351] Bluetooth: SCO socket layer initialized
[   63.734217] usbcore: registered new interface driver btusb
[   63.735766] Bluetooth: hci0: CSR: Setting up dongle with HCI ver=9 rev=3120; LMP ver=9 subver=22bb; manufacturer=10
[   63.735774] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds and force-suspending once...
[   63.735776] Bluetooth: hci0: CSR: Couldn't suspend the device for our Barrot 8041a02 receive-issue workaround
[   63.735811] Bluetooth: hci0: HCI Delete Stored Link Key command is advertised, but not supported.
[   63.735813] Bluetooth: hci0: HCI Read Default Erroneous Data Reporting command is advertised, but not supported.
[   63.735815] Bluetooth: hci0: HCI Set Event Filter command not supported.
[   63.781741] Bluetooth: hci0: unexpected cc 0x0c25 length: 2 < 3
[   63.781774] Bluetooth: hci0: Opcode 0x c25 failed: -38


На всякий случай проверил более новое ядро 6.4, там тоже самое

[  150.740202] usb 2-2: new full-speed USB device number 3 using ohci-pci
[  151.348999] Bluetooth: Core ver 2.22
[  151.349052] NET: Registered PF_BLUETOOTH protocol family
[  151.349054] Bluetooth: HCI device and connection manager initialized
[  151.350101] Bluetooth: HCI socket layer initialized
[  151.350105] Bluetooth: L2CAP socket layer initialized
[  151.350117] Bluetooth: SCO socket layer initialized
[  151.408202] usbcore: registered new interface driver btusb
[  151.423372] Bluetooth: hci0: CSR: Setting up dongle with HCI ver=9 rev=3120
[  151.423381] Bluetooth: hci0: LMP ver=9 subver=22bb; manufacturer=10
[  151.423384] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds and force-suspending once...
[  151.423387] Bluetooth: hci0: CSR: Couldn't suspend the device for our Barrot 8041a02 receive-issue workaround
[  151.423390] Bluetooth: hci0: HCI Delete Stored Link Key command is advertised, but not supported.
[  151.423392] Bluetooth: hci0: HCI Read Default Erroneous Data Reporting command is advertised, but not supported.
[  151.423394] Bluetooth: hci0: HCI Set Event Filter command not supported.
[  151.511324] Bluetooth: hci0: unexpected cc 0x0c25 length: 2 < 3
[  151.511354] Bluetooth: hci0: Opcode 0x c25 failed: -38
Comment 1 obidinog@basealt.ru 2023-09-05 10:44:38 MSK
Платформа: 
Kworkstation-10.1-x86-64

Ядра:
kernel-image-un-def 6.1.49-alt1
kernel-image-std-def 5.10.191-alt1

Устройство:
Bus 001 Device 006: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

Стенд:
MSI B460M PRO

Ошибка не воспроизводится. Поиск/Подключение по Bluetooth через адаптер проходит успешно. ( прикладываю скрин)
Comment 2 obidinog@basealt.ru 2023-09-05 10:44:56 MSK
Created attachment 14336 [details]
screen
Comment 3 obidinog@basealt.ru 2023-09-05 10:56:46 MSK
P.S Проверялось на точно таком же bluetooth адаптере, как у инициатора.
Comment 4 Дмитрий Яковлев 2023-09-06 13:56:50 MSK
(Ответ для obidinog@basealt.ru на комментарий #3)
> P.S Проверялось на точно таком же bluetooth адаптере, как у инициатора.

Чипы могут быть разные от ревизии к ревизии, что было на складе в достаточном количестве, то и поставили.

PS
В этом аспекте, конечно, проще купить новый адаптер, чем копаться, какая ревизия вызывает сбой, но это тоже лотерея)
Comment 5 Дмитрий Яковлев 2023-09-06 15:05:25 MSK
Немного более подробно про устройство

Bus 001 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          224 Wireless
  bDeviceSubClass         1 Radio Frequency
  bDeviceProtocol         1 Bluetooth
  bMaxPacketSize0        64
  idVendor           0x0a12 Cambridge Silicon Radio, Ltd
  idProduct          0x0001 Bluetooth Dongle (HCI mode)
  bcdDevice           25.20
  iManufacturer           0 
  iProduct                2 CSR8510 A10
  iSerial                 0 
  bNumConfigurations      1

Вот на этом "iProduct 2 CSR8510 A10" может фигурировать под разными брендами, фирмами и тд
Comment 6 obidinog@basealt.ru 2023-09-06 17:41:44 MSK
Проверялось на таком же устройстве

Bus 001 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          224 Wireless
  bDeviceSubClass         1 Radio Frequency
  bDeviceProtocol         1 Bluetooth
  bMaxPacketSize0        64
  idVendor           0x0a12 Cambridge Silicon Radio, Ltd
  idProduct          0x0001 Bluetooth Dongle (HCI mode)
  bcdDevice           75.58
  iManufacturer           0 
  iProduct                2 CSR8510 A10
  iSerial                 0 
  bNumConfigurations      1