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: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xd000-0xd01f irq 11 at 
>device 31.2 on
> pci0
> usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to