From owner-freebsd-current Thu Nov 21 11:28:10 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F2E837B401 for ; Thu, 21 Nov 2002 11:28:08 -0800 (PST) Received: from scl8owa02.int.exodus.net (scl8out02.exodus.net [66.35.230.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id A730243E42 for ; Thu, 21 Nov 2002 11:28:07 -0800 (PST) (envelope-from Maksim.Yevmenkin@cw.com) Received: from scl8owa01.int.exodus.net ([66.35.230.241]) by scl8owa02.int.exodus.net with Microsoft SMTPSVC(5.0.2195.5329); Thu, 21 Nov 2002 11:28:07 -0800 Received: from exodus.net ([206.220.227.147]) by scl8owa01.int.exodus.net over TLS secured channel with Microsoft SMTPSVC(5.0.2195.5329); Thu, 21 Nov 2002 11:28:07 -0800 Message-ID: <3DDD33C6.FE66E568@exodus.net> Date: Thu, 21 Nov 2002 11:28:06 -0800 From: Maksim Yevmenkin X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: Shizuka Kudo Cc: freebsd-current@FreeBSD.ORG Subject: Re: Bluetooth questions References: <20021121184941.94838.qmail@web11408.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 21 Nov 2002 19:28:07.0290 (UTC) FILETIME=[1E833DA0:01C29194] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, Shizuka Kudo wrote: > > Hi all, > > I just cvsup-ed in the latest Bluetooth stack and rebuild world/kernel. My bluetooth USB dongle > attached OK except with the following issue observed > > 1. The Mitsumi USB driver attached OK after I manually loaded "ng_ubt" and plugged in the dongle good :) > 2. If I loaded netgraph, ng_ubt at "loader" prompt and had the dongle plugged in already, the > system failed to attach. I could, however, un-plug & then re-insert the dongle to make the driver > attached successfully. hmm... i have not tried that. will try today. i have kernel compiled with 'options NETGRAPH'. everything works just fine if i load ng_ubt from loader prompt and boot with dongle attached. > I haven't tested any functions yet, but will try tomorrow connecting to my mobile phone after > finding how to proceed. Here's the dmesg extract. If a full dmesg is required, I can attach it in > a separate message. By the way, the latest ACPI 20021118 diff from Wasaki-san works fine here with > a intel Celeron 1.2G on 815ep. > > uhci0: port 0xd000-0xd01f irq 11 at device 31.2 on > pci0 > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > ubt0: Mitsumi product 0x641f, rev 1.10/1.14, addr 2 > ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 > ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; > nframes=6, buffer size=294 > ubt0: Could not create Netgraph node > device_probe_and_attach: ubt0 attach returned 6 hmm... device was detected but driver failed to create Netgraph node. i wonder if it is an ordering issue. perhaps Netgraph was not initialized at this point yet? > ubt0: Mitsumi product 0x641f, rev 1.10/1.14, addr 2 > ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 > ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; > nframes=6, buffer size=294 > ubt0: Could not create Netgraph node > device_probe_and_attach: ubt0 attach returned 6 > ubt0: Mitsumi product 0x641f, rev 1.10/1.14, addr 2 > ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 > ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; > nframes=6, buffer size=294 > ubt0: Could not create Netgraph node > device_probe_and_attach: ubt0 attach returned 6 <--- ubt0 failed to attach you will see this three times, because USB tries to find driver for each of the three interfaces on the dongle. > ugen0: Mitsumi product 0x641f, rev 1.10/1.14, addr 2 <--- fall back to ugen0 yep. ugen takes everything :) > start_init: trying /sbin/init > splash: image decoder found: logo_saver > ugen0: at uhub0 port 2 (addr 2) disconnected <--- I unplugged the dongle after bootup > ugen0: detached > ubt0: Mitsumi product 0x641f, rev 1.10/1.14, addr 2 <--- dongle re-inserted and attached > ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 > ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; > nframes=6, buffer size=294 ok this looks good. at this point everything was initalized and driver was able to detect and attach the dongle. max. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message