Skip to contentSkip to conversation

hci_usb problem after rmmod/modprobe

DISCUSSION Steffen Pankratz 3 participants 7 messages Dec 30, 2008 – Jan 9, 2009 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi,

everything is fine until I unload and reload hci_usb:

hciconfig hci0 up
Can't init device hci0: Input/output error (5)

from dmesg:
hci_usb_intr_rx_submit: hci0 intr rx submit failed urb f406cf54 err -2

I tried 'modprobe hci_usb reset=1' which did not solve the problem.

To get it working again I have to do:

rmmod hci_usb bluetooth uhci_hcd
modprobe uhci_hcd
modprobe hci_usb

Not sure what information could be helpful:

Linux hermes 2.6.28 #2 PREEMPT Tue Dec 30 16:30:47 CET 2008 i686 i686 i386 GNU/Linux

lsusb -v output is attached
lspci -vv output is attached

Thanks
-Steffen

Signature · 3 lines
Hermes powered by LFS SVN-20070420 (Linux 2.6.28)

Best regards, Steffen Pankratz.
maintainer
#1 lore raw

Hi Steffen,

Quoted 12 lines

everything is fine until I unload and reload hci_usb:

hciconfig hci0 up
Can't init device hci0: Input/output error (5)

from dmesg:
hci_usb_intr_rx_submit: hci0 intr rx submit failed urb f406cf54 err -2

I tried 'modprobe hci_usb reset=1' which did not solve the problem.

To get it working again I have to do:

Quoted 8 lines

rmmod hci_usb bluetooth uhci_hcd
modprobe uhci_hcd
modprobe hci_usb

Not sure what information could be helpful:

Linux hermes 2.6.28 #2 PREEMPT Tue Dec 30 16:30:47 CET 2008 i686 i686 i386 GNU/Linux

if you are using 2.6.28 kernel, then just use the btusb driver instead of hci_usb. The hci_usb will be removed with 2.6.29 anyway.

Regards

Marcel

#2 lore raw
Quoted 23 lines · On Tue, 30 Dec 2008 21:22:20 +0100 Marcel Holtmann <[email protected]> wrote:

Hi Steffen,

Quoted 12 lines

everything is fine until I unload and reload hci_usb:

hciconfig hci0 up
Can't init device hci0: Input/output error (5)

from dmesg:
hci_usb_intr_rx_submit: hci0 intr rx submit failed urb f406cf54 err -2

I tried 'modprobe hci_usb reset=1' which did not solve the problem.

To get it working again I have to do:

Quoted 8 lines

rmmod hci_usb bluetooth uhci_hcd
modprobe uhci_hcd
modprobe hci_usb

Not sure what information could be helpful:

Linux hermes 2.6.28 #2 PREEMPT Tue Dec 30 16:30:47 CET 2008 i686 i686 i386 GNU/Linux

Quoted 7 lines

if you are using 2.6.28 kernel, then just use the btusb driver instead of hci_usb. The hci_usb will be removed with 2.6.29 anyway.

Regards

Marcel

Hi Marcel,

thanks for your suggestion.
I am now using the btusb driver but the problem remains, except the kernel message has changed:

btusb_submit_intr_urb: hci0 urb f61e37c0 submission failed (2)

Regards
-Steffen

Signature · 3 lines
Hermes powered by LFS SVN-20070420 (Linux 2.6.28)

Best regards, Steffen Pankratz.
maintainer
#3 lore raw

Hi Steffen,

Quoted 21 lines
Quoted 21 lines
Quoted 20 lines

everything is fine until I unload and reload hci_usb:

hciconfig hci0 up
Can't init device hci0: Input/output error (5)

from dmesg:
hci_usb_intr_rx_submit: hci0 intr rx submit failed urb f406cf54 err -2

I tried 'modprobe hci_usb reset=1' which did not solve the problem.

To get it working again I have to do:

rmmod hci_usb bluetooth uhci_hcd
modprobe uhci_hcd
modprobe hci_usb

Not sure what information could be helpful:

Linux hermes 2.6.28 #2 PREEMPT Tue Dec 30 16:30:47 CET 2008 i686 i686 i386 GNU/Linux

Quoted 8 lines
Quoted 2 lines

if you are using 2.6.28 kernel, then just use the btusb driver instead of hci_usb. The hci_usb will be removed with 2.6.29 anyway.

thanks for your suggestion.
I am now using the btusb driver but the problem remains, except the kernel message has changed:

btusb_submit_intr_urb: hci0 urb f61e37c0 submission failed (2)

run "hcidump -X -V" and see what is going on and what exactly fails.

Regards

Marcel

#4 lore raw
Quoted 26 lines · On Thu, 01 Jan 2009 09:59:01 +0100 Marcel Holtmann <[email protected]> wrote:

Hi Steffen,

Quoted 24 lines
Quoted 23 lines
Quoted 12 lines

everything is fine until I unload and reload hci_usb:

hciconfig hci0 up
Can't init device hci0: Input/output error (5)

from dmesg:
hci_usb_intr_rx_submit: hci0 intr rx submit failed urb f406cf54 err -2

I tried 'modprobe hci_usb reset=1' which did not solve the problem.

To get it working again I have to do:

Quoted 8 lines

rmmod hci_usb bluetooth uhci_hcd
modprobe uhci_hcd
modprobe hci_usb

Not sure what information could be helpful:

Linux hermes 2.6.28 #2 PREEMPT Tue Dec 30 16:30:47 CET 2008 i686 i686 i386 GNU/Linux

if you are using 2.6.28 kernel, then just use the btusb driver instead of hci_usb. The hci_usb will be removed with 2.6.29 anyway.

Quoted 7 lines
Quoted 5 lines

thanks for your suggestion.
I am now using the btusb driver but the problem remains, except the kernel message has changed:

btusb_submit_intr_urb: hci0 urb f61e37c0 submission failed (2)

run "hcidump -X -V" and see what is going on and what exactly fails.

Hi Marcel,

the only output hcidump gives is:

./hcidump -X -V
HCI sniffer - Bluetooth packet analyzer ver 1.42
device: hci0 snap_len: 1028 filter: 0xffffffff

hciconfig hci0 up
Can't init device hci0: Input/output error (5)

dmesg:
btusb_submit_intr_urb: hci0 urb f6479b40 submission failed (2)

The attached log shows the output of 'hciconfig hci0 up' after I reloaded uhci_hcd and btusb.

Happy New Year
-Steffen

Signature · 3 lines
Hermes powered by LFS SVN-20070420 (Linux 2.6.28)

Best regards, Steffen Pankratz.
#5 lore raw

How do I get headset button events without .btscorc?

Hello.
I figured this one out all on my own! Here is a script in python that uses dbus to get the bluetooth headset button press. I think it might be helpful to add this to the wiki.

<pre>

def handler(sender=None):

	os.system ('/usr/bin/twinkle --cmd answerbye') # <- that's the part

specific to twinkle
import dbus, os, gobject
from dbus.mainloop.glib import DBusGMainLoop DBusGMainLoop(set_as_default=True)
bus = dbus.SystemBus() bus.add_signal_receiver(handler, signal_name="AnswerRequested") loop = gobject.MainLoop()
loop.run()

</pre>

Dave

#6 lore raw
In reply to Marcel Holtmann
Quoted 26 lines · On Thu, 01 Jan 2009 09:59:01 +0100 Marcel Holtmann <[email protected]> wrote:

Hi Steffen,

Quoted 24 lines
Quoted 23 lines
Quoted 12 lines

everything is fine until I unload and reload hci_usb:

hciconfig hci0 up
Can't init device hci0: Input/output error (5)

from dmesg:
hci_usb_intr_rx_submit: hci0 intr rx submit failed urb f406cf54 err -2

I tried 'modprobe hci_usb reset=1' which did not solve the problem.

To get it working again I have to do:

Quoted 8 lines

rmmod hci_usb bluetooth uhci_hcd
modprobe uhci_hcd
modprobe hci_usb

Not sure what information could be helpful:

Linux hermes 2.6.28 #2 PREEMPT Tue Dec 30 16:30:47 CET 2008 i686 i686 i386 GNU/Linux

if you are using 2.6.28 kernel, then just use the btusb driver instead of hci_usb. The hci_usb will be removed with 2.6.29 anyway.

Quoted 7 lines
Quoted 5 lines

thanks for your suggestion.
I am now using the btusb driver but the problem remains, except the kernel message has changed:

btusb_submit_intr_urb: hci0 urb f61e37c0 submission failed (2)

run "hcidump -X -V" and see what is going on and what exactly fails.

Hi,

this topic is gotten quiet,
is there anything else I can do to help?

Regards
-Steffen

Signature · 3 lines
Hermes powered by LFS SVN-20070420 (Linux 2.6.28)

Best regards, Steffen Pankratz.