Bluetooth adapter on the FreeBSD.

Andrey Slusar anrays at gmail.com
Tue Jul 18 14:59:03 UTC 2006


Tue, 18 Jul 2006 08:29:57 -0400, Lowell Gilbert wrote:

> > ~#ngctl types 
> > There are 7 total types:
> >       Type name   Number of living nodes
> >       ---------   ----------------------
> >          socket       1
> >      btsock_l2c       1
> >  btsock_l2c_raw       1
> >  btsock_hci_raw       1
> >           l2cap       0
> >             hci       0
> >             ubt       1
> > ~#ngctl status ubt0
> > ngctl: send msg: No such file or directory
> >
> > Why it's is not work?

> Do you have *all* of the needed kernel functionality loaded (normally
> with "/etc/rc.bluetooth start <dev>")? 

 Sorry, my previous kldstat without ng_ubt. Now i'm add:
,----[ kldstat ]
| Id Refs Address    Size     Name
|  1   33 0xc0400000 372db0   kernel
|  2    1 0xc0773000 1df48    linux.ko
|  3    2 0xc0791000 187fc    miibus.ko
|  4    1 0xc07aa000 6b40     if_rl.ko
|  5    1 0xc07b1000 146e4    agp.ko
|  6    1 0xc07c6000 58a10    acpi.ko
|  7    1 0xc081f000 77a4     ng_ubt.ko
|  8    6 0xc0827000 c6b0     netgraph.ko
|  9    4 0xc21ed000 2000     ng_bluetooth.ko
| 10    1 0xc21f8000 c000     ng_hci.ko
| 11    1 0xc2204000 e000     ng_l2cap.ko
| 12    1 0xc2212000 15000    ng_btsocket.ko
| 13    1 0xc2227000 4000     ng_socket.ko
| 14    1 0xc2401000 3000     daemon_saver.ko
| 15    1 0xc241b000 23000    snd_au8830.ko
| 16    1 0xc2440000 28000    sound.ko
`----

Problem is steel present:
--8<---------------cut here---------------start------------->8---
Jul 18 17:38:57 santinel kernel: ng_hci_process_command_timeout: ubt0hci - unabl
e to complete HCI command OGF=0x3, OCF=0x1a. Timeout                            
Jul 18 17:38:57 santinel kernel: complete_command: ubt0hci - no pending command,
 state=0x1                                                                      
Jul 18 17:38:57 santinel kernel: ubt_request_complete2: ubt0 - Control request f
ailed. TIMEOUT (15)                                                             
Jul 18 17:38:57 santinel kernel: ubt_request_complete2: ubt0 - Control request f
ailed. TIMEOUT (15)                                                             
Jul 18 17:38:57 santinel kernel: ng_hci_process_command_timeout: ubt0hci - unabl
e to complete HCI command OGF=0x3, OCF=0x20. Timeout                            
Jul 18 17:38:57 santinel kernel: complete_command: ubt0hci - no pending command,
 state=0x1                                                                      
Jul 18 17:38:57 santinel kernel: ubt_request_complete2: ubt0 - Control request f
ailed. TIMEOUT (15)                                                             
Jul 18 17:38:57 santinel kernel: ubt_request_complete2: ubt0 - Control request f
ailed. TIMEOUT (15)                                                             
Jul 18 17:38:57 santinel kernel: ng_hci_process_command_timeout: ubt0hci - unabl
e to complete HCI command OGF=0x3, OCF=0x13. Timeout                            
Jul 18 17:38:57 santinel kernel: complete_command: ubt0hci - no pending command,
 state=0x1
[...]
Jul 18 17:49:23 santinel kernel: ng_hci_process_command_timeout: ubt0hci - unabl
e to complete HCI command OGF=0x3, OCF=0x3. Timeout                             
Jul 18 17:49:23 santinel root: /etc/rc.d/bluetooth: ERROR: Unable to setup Bluet
ooth stack for device ubt0
--8<---------------cut here---------------end--------------->8---


More information about the freebsd-questions mailing list