2005-02-18 11:39:27

by Nathanael Morrison

[permalink] [raw]
Subject: [Bluez-devel] Can't init device hci0, Input/output error(5)

Hi all,

I've done a google search and found a few people with a similar problem,
all of which did not have a solution.

I successfully got the Plantronics M2500 working with the USB bluetooth
dongle (IOGEAR GBU301W1). The sound is great and everything works well
but only when the dongle is connected directly to the PC. I have a NEC
MultiSync LCD 1970NX monitor with a built in Usb 2.0 hub. When I connect
the usb bluetooth receiver into the monitor, lsusb shows the following:

Bus 005 Device 001: ID 0000:0000
Bus 004 Device 004: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 013: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth
Dongle
Bus 001 Device 012: ID 0409:013e NEC Corp.
Bus 001 Device 002: ID 07cc:0501 Carry Computer Eng., Co., Ltd
Bus 001 Device 001: ID 0000:0000

The devices show up properly, and all the necessary kernel modules load
as well (using kernel 2.6.10).
/proc/bus/usb/devices contains the following.

NEC built hub:

T: Bus=01 Lev=01 Prnt=01 Port=06 Cnt=02 Dev#= 12 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=02 MxPS=64 #Cfgs= 1
P: Vendor=0409 ProdID=013e Rev= 0.07
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=01 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms
I: If#= 0 Alt= 1 #EPs= 1 Cls=09(hub ) Sub=00 Prot=02 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms

Cambridge Bluetooth Dongle (IOGEAR):

T: Bus=01 Lev=02 Prnt=12 Port=03 Cnt=01 Dev#= 13 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0a12 ProdID=0001 Rev= 5.25
C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
I: If#= 2 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)

I start hcid. 'hciconfig up' gives the following:

hci0: Type: USB
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:0 acl:0 sco:0 events:0 errors:0
TX bytes:0 acl:0 sco:0 commands:0 errors:0

But this is were things fail. 'hciconfig hci0 up' gives the following:

Can't init device hci0. Input/output error(5)

And finally the following is found in syslog:

Feb 19 00:33:17 live kernel: hci_usb_intr_rx_submit: hci0 intr rx submit
failed urb e6251294 err -28

Sounds like a problem with hci_usb module.... I could be wrong of course
:) Any ideas?

Nathanael









-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


2005-02-22 09:05:04

by Nathanael Morrison

[permalink] [raw]
Subject: Re: [Bluez-devel] Re: Can't init device hci0, Input/output error(5)

Thanks Sebastian. I would have to agree with Marcel and say it's
probably a usb problem. I thought it might be worth while letting people
know what I found out. When I plug the device into the monitors usb hub
and the ehci_hcd kernel module is loaded the Bluetooth dongle is
recognized as a USB2.0 device, which, it is not and fails to function.
But when I remove the ehci_hcd module and plug in the device into the
monitors hub it's recongized correctly as a USB1.1 device and works like
a charm. Sooo I got it too work, but it means that I don't have USB2
support while using the dongle. :)

Cheers,

Nathanael


Sebastian Roth wrote:

> Hi Nathanael,
>
> this is known as Marcel pointed out in the thread:
> http://thread.gmane.org/gmane.linux.bluez.user/6170
>
> Maybe this is one good point for the bluez FAQ?
>
> Best regards,
> Sebastian
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-02-19 20:59:54

by Sebastian Roth

[permalink] [raw]
Subject: [Bluez-devel] Re: Can't init device hci0, Input/output error(5)

Hi Nathanael,

this is known as Marcel pointed out in the thread:
http://thread.gmane.org/gmane.linux.bluez.user/6170

Maybe this is one good point for the bluez FAQ?

Best regards,
Sebastian



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel