Subject: btconfig: SIOCSBTFLAGS: Resource temporarily unavailable
To: None <tech-kern@netbsd.org>
From: Berndt Josef Wulf <wulf@ping.net.au>
List: tech-kern
Date: 07/11/2006 23:48:02
G'day,

the bluetooth device stopped working after migrating to the new laptop, a Dell 
Inspiron 9400, with the above error message on issuing a btconfig ubt0 
<command>. This used to work with the old laptop, a Dell Inspiron 9300, and 
same kernel, configuration and userland - (netbsd-i386-3.99.21).

Below is the boot message of the new laptop:

ehci0 at pci0 dev 29 function 7: Intel 82801GB/GR USB EHCI Controller (rev. 
0x01)
allocated pic ioapic0 type level pin 20 level 6 to cpu0 slot 10 idt entry 96
ehci0: interrupting at ioapic0 pin 20 (irq 10)
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
[....]
uhub5 at uhub4 port 1
uhub5: Dell product 0xa005, class 9/0, rev 2.00/50.18, addr 2
uhub5: multiple transaction translators
uhub5: 4 ports with 1 removable, self powered
ubt0 at uhub5 port 4 configuration 1 interface 0
ubt0: Dell TrueMobile 350 Bluetooth USB Adapter, rev 2.00/24.22, addr 3

On the old laptop the device was attached to 

ubt0 addr 2 -> uhub1 -> usb1

but on a Inspiron 9400

ubt0 addr 3 -> uhub5 -> uhub4 -> usb4

I've tried different kernels including GENERIC, GENERIC.MP and GENERIC.MPACPI 
to no avail. Any suggestions?

cheerio Berndt