From owner-freebsd-bluetooth@FreeBSD.ORG Thu Jan 6 18:51:32 2005 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72E2816A4CE for ; Thu, 6 Jan 2005 18:51:32 +0000 (GMT) Received: from smtp17.wxs.nl (smtp17.wxs.nl [195.121.6.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E55843D5D for ; Thu, 6 Jan 2005 18:51:32 +0000 (GMT) (envelope-from ronald-freebsd8@klop.yi.org) Received: from ronald.echteman.nl (ip51cdc5d2.speed.planet.nl [81.205.197.210])2004))freebsd-bluetooth@freebsd.org; Thu, 06 Jan 2005 19:51:31 +0100 (CET) Received: (qmail 11456 invoked from network); Thu, 06 Jan 2005 18:51:30 +0000 Received: from unknown (HELO laptop.thuis.klop.ws) (192.168.1.4) by ronald.echteman.nl with SMTP; Thu, 06 Jan 2005 18:51:30 +0000 Received: (qmail 2832 invoked from network); Thu, 06 Jan 2005 18:51:28 +0000 Received: from localhost.thuis.klop.ws (HELO smtp.local) (127.0.0.1) by localhost.thuis.klop.ws with SMTP; Thu, 06 Jan 2005 18:51:28 +0000 Date: Thu, 06 Jan 2005 19:51:24 +0100 From: Ronald Klop In-reply-to: <41DD82CE.5080502@savvis.net> To: Maksim Yevmenkin Message-id: MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_7E/5UKxifNzHjf3gIoMsxw)" User-Agent: Opera M2/7.54u1 (FreeBSD, build 892) References: <41DD82CE.5080502@savvis.net> cc: freebsd-bluetooth@freebsd.org Subject: Re: ng_ubt with Broadcom BCM92035DGL X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jan 2005 18:51:32 -0000 --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 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)--