ЗАО «ЗЭО»
Техническая поддержка пользователей => ОС Linux, U-Boot => Тема начата: alexsl от 11 Июня, 2010, 08:43:58
-
Добрый день. Сконфигурировал ядро так:
Device Drivers → USB support → <*>Support for Host-side USB (CONFIG_USB)
Device Drivers → USB support → - USB device file system (CONFIG_USB_DEVICEFS)
Choose an appropriate USB host driver, one of:
Device Drivers → USB support → <*>OHCI HCD support (CONFIG_USB_OHCI)
Enable Bluetooth subsystem and drivers:
Networking → <*>Bluetooth subsystem support (CONFIG_BT)
Networking → Bluetooth subsystem support → <*>L2CAP protocol support (CONFIG_BT_L2CAP)
Networking → Bluetooth subsystem support → <*>SCO links support (CONFIG_BT_SCO)
Networking → Bluetooth subsystem support → <*>RFCOMM protocol support (CONFIG_BT_RFCOMM)
Networking → Bluetooth subsystem support → - RFCOMM TTY support (CONFIG_BT_RFCOMM_TTY)
Networking → Bluetooth subsystem support → <*>BNEP protocol support (CONFIG_BT_BNEP)
Networking → Bluetooth subsystem support → <*>HID protocol support (CONFIG_BT_HID)
Networking → Bluetooth subsystem support → Bluetooth device drivers → <M>HCI USB driver
(CONFIG_BT_HCIUSB)
Networking → Bluetooth subsystem support → Bluetooth device drivers → - SCO (voice) support (CONFIG_BT_HCIUSB_SCO)
Взято с сайта - http://www.thinkwiki.org/wiki/How_to_setup_Bluetooth.
Пробовал ядра 2.6.33.3 и 2.6.34. Результат одинаков
При подключении Bluetooth донгла(Manufacturer Cambridge Silicon Radio; vid=0a12, pid=0001) загрузка драйвера не происходит
лог:
[ 52.270000] usb 1-1: new full speed USB device using ep93xx-ohci and addr ess 2
[ 52.430000] usb 1-1: device descriptor read/64, error -62
[ 53.410000] usb 1-1: New USB device found, idVendor=0a12, idProduct=0001
[ 53.430000] usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 53.440000] usb 1-1: Product: BT2.0
[ 53.480000] usb 1-1: configuration #1 chosen from 1 choice
В чем может быть проблема?
Однако на хост машене (ubuntu9.10 kernel-2.6.32) устройство обнаруживается и работает нормально.
-
Ему firmware не нужен?
-
Не могу сказать. На хосте же запустился без. Однозначно проблема с ЮСБ.
linux-2.6.32.15.tar\linux-2.6.32.15\drivers\usb\core\hub.c в функции hub_port_init генерируется сообщение "device descriptor read/64, error -62"
Не пойму с чем это связано.
-
По невнимательности не все сконфигурировал. Теперь все ок.
/ # hciconfig
hci0: Type: USB
BD Address: 00:15:83:C5:21:20 ACL MTU: 310:10 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:1307 acl:0 sco:0 events:37 errors:0
TX bytes:407 acl:0 sco:0 commands:26 errors:0
-
Что не хватало?
-
Networking → Bluetooth subsystem support → Bluetooth device drivers → <M>HCI USB driver
Собрал драйвер как модуль, а в рам диск не положил. После сборки с поддержкой в ядре ( <*>HCI USB driver ) все заработало.