Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Jan 2005 19:51:24 +0100
From:      Ronald Klop <ronald-freebsd8@klop.yi.org>
To:        Maksim Yevmenkin <maksim.yevmenkin@savvis.net>
Cc:        freebsd-bluetooth@freebsd.org
Subject:   Re: ng_ubt with Broadcom BCM92035DGL
Message-ID:  <opsj62nykn8527sy@smtp.local>
In-Reply-To: <41DD82CE.5080502@savvis.net>
References:  <opsj6h4a0z8527sy@smtp.local> <opsj6pguuv8527sy@smtp.local> <41DD82CE.5080502@savvis.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--Boundary_(ID_7E/5UKxifNzHjf3gIoMsxw)
Content-type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1
Content-transfer-encoding: 7BIT

On Thu, 06 Jan 2005 10:26:22 -0800, Maksim Yevmenkin  
<maksim.yevmenkin@savvis.net> wrote:

> Ronald,
>
> for starters can you tell which command your dongle disallowed.  
> rc.bluetooth is a shell script, so
>
> 1) unplug the dongle
>
> 2) plug the dongle
>
> 3) # sh -x /etc/rc.bluetooth start ubt0
>
> 4) send me the output
>
> then try to comment out the disallowed command and repeat the steps  
> above.
>
>> The usb-adapter is the shop-brand of the MyCom shops in The Netherlands.
>
> ok, do you know if i can get similar adapter in US?

Hi,

Thanks for your reply.
Attached is the output from the 'sh -x ...' as you requested.
I also attached the usbdevs -v output for the device id's.

Searching with google for bmc92035dgl gives one result.
http://sourceforge.net/mailarchive/forum.php?thread_id=6218036&forum_id=1883
This site mentions a 'IOgear GBU311' usb adapter.

I didn't know the sh -x trick. (Even after years I still learn something  
new about the wonderful Unix tools.)
In a few moments I will send my results when I uncomment the disallowed  
command.

Ronald.

-- 
  Ronald Klop, Amsterdam, The Netherlands

--Boundary_(ID_7E/5UKxifNzHjf3gIoMsxw)
Content-type: text/plain; name=typescript.txt
Content-transfer-encoding: 7BIT
Content-disposition: attachment; filename=typescript.txt

Script started on Thu Jan  6 19:40:56 2005


# root@laptop [~]

portaudit -aFdaF
sh -x /etc/rc.bluetooth start ubt0
+ logger=/usr/bin/logger -i -s -p user.err
+ kldstat=/sbin/kldstat
+ kldload=/sbin/kldload
+ sysctl=/sbin/sysctl
+ ngctl=/usr/sbin/ngctl
+ hcseriald=/usr/sbin/hcseriald
+ hccontrol=/usr/sbin/hccontrol
+ hci_debug_level=3
+ l2cap_debug_level=3
+ [ 2 -lt 2 ]
+ startstop=start
+ shift
+ dev=ubt0
+ shift
+ load_module ng_bluetooth
+ module=ng_bluetooth
+ shift
+ /sbin/kldstat -n ng_bluetooth
+ [ 0 -ne 0 ]
+ load_module ng_hci
+ module=ng_hci
+ shift
+ /sbin/kldstat -n ng_hci
+ [ 0 -ne 0 ]
+ load_module ng_l2cap
+ module=ng_l2cap
+ shift
+ /sbin/kldstat -n ng_l2cap
+ [ 0 -ne 0 ]
+ load_module ng_btsocket
+ module=ng_btsocket
+ shift
+ /sbin/kldstat -n ng_btsocket
+ [ 0 -ne 0 ]
+ /etc/rc.bluetooth stop ubt0
+ hook=hook
+ expr ubt0 : ubt\([0-9]\{1,\}\)
+ unit=0
+ [ -z 0 ]
+ setup_stack ubt0 hook
+ dev=ubt0
+ shift
+ hook=hook
+ shift
+ /usr/sbin/ngctl mkpeer ubt0: hci hook drv
+ /usr/sbin/ngctl name ubt0:hook ubt0hci
+ /usr/sbin/ngctl msg ubt0hci: set_debug 3
+ /usr/sbin/ngctl mkpeer ubt0hci: l2cap acl hci
+ /usr/sbin/ngctl name ubt0hci:acl ubt0l2cap
+ /usr/sbin/ngctl msg ubt0l2cap: set_debug 3
+ /usr/sbin/ngctl connect ubt0hci: btsock_hci_raw: raw ubt0raw
+ /usr/sbin/ngctl connect ubt0l2cap: btsock_l2c_raw: ctl ubt0ctl
+ /usr/sbin/ngctl connect ubt0l2cap: btsock_l2c: l2c ubt0l2c
+ /usr/sbin/hccontrol -n ubt0hci reset
Status: Command disallowed [0xc]
+ exit 1


# root@laptop [~]

exit

Script done on Thu Jan  6 19:42:51 2005

--Boundary_(ID_7E/5UKxifNzHjf3gIoMsxw)
Content-type: text/plain; name=usbdevs.txt
Content-transfer-encoding: 7BIT
Content-disposition: attachment; filename=usbdevs.txt

Controller /dev/usb0:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), (0x0e11)(0x0000), rev 1.00
 port 1 addr 2: full speed, power 100 mA, config 1, product 0x3535(0x3535), Broadcom(0x0a5c), rev 1.00
  port 1 addr 3: full speed, self powered, config 1, BCM92035DGL(0x2009), Broadcom(0x0a5c), rev 1.00
  port 2 addr 4: full speed, self powered, config 1, product 0x3502(0x3502), Broadcom(0x0a5c), rev 1.00
  port 3 addr 5: full speed, self powered, config 1, product 0x3503(0x3503), Broadcom(0x0a5c), rev 1.00
 port 2 powered

--Boundary_(ID_7E/5UKxifNzHjf3gIoMsxw)--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opsj62nykn8527sy>