Re: Bluetooth BCM20702A0

2013-05-10 Thread Darren
root@:/home/darren # ngctl li
There are 8 total nodes:
  Name: btsock_hci_raw  Type: btsock_hci_raw  ID: 0001   Num hooks: 1
  Name: btsock_l2c_raw  Type: btsock_l2c_raw  ID: 0002   Num hooks: 1
  Name: btsock_l2c  Type: btsock_l2c  ID: 0003   Num hooks: 1
  Name: btsock_sco  Type: btsock_sco  ID: 0004   Num hooks: 0
  Name: ubt0    Type: ubt ID: 0005   Num hooks: 1
  Name: ubt0hci Type: hci ID: 0007   Num hooks: 3
  Name: ubt0l2cap   Type: l2cap   ID: 000b   Num hooks: 3
  Name: ngctl1215   Type: socket  ID: 0011   Num hooks: 0
root@:/home/darren # 

The first test complained about a config file(not in tutorial).  It seems to 
not pick it up from defaults, so
:/etc/defaults # cp bluetooth.device.conf /etc/bluetooth/ubt0.conf

So far so good.  Thank you for your insight! 





 From: Maksim Yevmenkin maksim.yevmen...@gmail.com
To: Darren darren...@yahoo.com 
Cc: freebsd-bluetooth@freebsd.org freebsd-bluetooth@freebsd.org 
Sent: Tuesday, May 7, 2013 6:33:54 PM
Subject: Re: Bluetooth BCM20702A0
 

On Fri, May 3, 2013 at 12:55 PM, Darren darren...@yahoo.com wrote:
 I've been trying to follow the instructions at 
 http://www.freebsd.org/doc/en/books/...bluetooth.html however I am just not 
 getting the same results.

 BCM20702A0 is supported as I found it mentioned in the ng_ubt.c driver.


 Code:
 /* Broadcom USB dongles, mostly BCM20702 and BCM20702A0 */ { 
 USB_VENDOR(USB_VENDOR_BROADCOM), USB_IFACE_CLASS(UICLASS_VENDOR), 
 USB_IFACE_SUBCLASS(UDSUBCLASS_RF), USB_IFACE_PROTOCOL(UDPROTO_BLUETOOTH) },
 };
 Code:
 ugen7.2: Broadcom Corp at usbus7
 ubt0: Broadcom Corp BCM20702A0, rev 2.00/1.12, addr 2 on usbus7
 WARNING: attempt to domain_add(netgraph) after domainfinalize()Also no device 
 exists:

that is fine

 Code:
 % cd /dev
 % ls *bt*
 ls: No match.

that is fine too. no /dev entry is created for ubt(4) devices.

instead just plug your device and do

# ngctl li

 % service bluetooth start ubt0
 /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0

well, it might be a problem.  please run it as

# sh -x /etc/rc.d/bluetooth start ubt0

to see what exactly is failing

max
___
freebsd-bluetooth@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth
To unsubscribe, send any mail to freebsd-bluetooth-unsubscr...@freebsd.org


Re: Bluetooth BCM20702A0

2013-05-07 Thread Maksim Yevmenkin
On Fri, May 3, 2013 at 12:55 PM, Darren darren...@yahoo.com wrote:
 I've been trying to follow the instructions at 
 http://www.freebsd.org/doc/en/books/...bluetooth.html however I am just not 
 getting the same results.

 BCM20702A0 is supported as I found it mentioned in the ng_ubt.c driver.


 Code:
 /* Broadcom USB dongles, mostly BCM20702 and BCM20702A0 */ { 
 USB_VENDOR(USB_VENDOR_BROADCOM), USB_IFACE_CLASS(UICLASS_VENDOR), 
 USB_IFACE_SUBCLASS(UDSUBCLASS_RF), USB_IFACE_PROTOCOL(UDPROTO_BLUETOOTH) },
 };
 Code:
 ugen7.2: Broadcom Corp at usbus7
 ubt0: Broadcom Corp BCM20702A0, rev 2.00/1.12, addr 2 on usbus7
 WARNING: attempt to domain_add(netgraph) after domainfinalize()Also no device 
 exists:

that is fine

 Code:
 % cd /dev
 % ls *bt*
 ls: No match.

that is fine too. no /dev entry is created for ubt(4) devices.

instead just plug your device and do

# ngctl li

 % service bluetooth start ubt0
 /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0

well, it might be a problem.  please run it as

# sh -x /etc/rc.d/bluetooth start ubt0

to see what exactly is failing

max
___
freebsd-bluetooth@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth
To unsubscribe, send any mail to freebsd-bluetooth-unsubscr...@freebsd.org