Skip to contentSkip to conversation

Suspend locks up usb

Bluez-devel Christian Reiser 2 participants 2 messages Aug 21, 2005 – Aug 22, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi,

i have a little problem with bluetooth on my Thinkpad 600e. Every time when suspending (apm -s) while the usb bluetooth dongle is still plugged in (that means: the modules are still loaded), usb is no longer operational after the wakeup. (Un)Plugging of the dongle or any other device is not recognized. As the module-use-count is not zero, i cannot unload the modules and try it again.

Module                  Size  Used by
hci_usb                12360  1
bluetooth              41700  1 hci_usb
bcm203x                 4772  0
firmware_class          7520  1 bcm203x

The log states:

Aug 21 14:48:53 alpha apmd[9065]: Suspending now
Aug 21 14:49:16 alpha hub 1-0:1.0: resubmit --> -108
Aug 21 14:49:16 alpha hub 1-0:1.0: hub_port_status failed (err = -108)

I have the newest bluez versions in use (Gentoo):
bluez-hciemu-1.0
bluez-firmware-1.0
bluez-hcidump-1.21
bluez-libs-2.19
bluez-utils-2.19
Linux version 2.6.12-mh2

The problem seems to be independend of the used dongle: I tried LevelOne MDU-0005USB and Broadcom WTB-3020.

Unloading the modules before suspend might help - i just try not to forget to unplug it before suspending ;-)

Ciao
Christian

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi Christian,

Quoted 25 lines

i have a little problem with bluetooth on my Thinkpad 600e. Every time when suspending (apm -s) while the usb bluetooth dongle is still plugged in (that means: the modules are still loaded), usb is no longer operational after the wakeup. (Un)Plugging of the dongle or any other device is not recognized. As the module-use-count is not zero, i cannot unload the modules and try it again.

Module                  Size  Used by
hci_usb                12360  1
bluetooth              41700  1 hci_usb
bcm203x                 4772  0
firmware_class          7520  1 bcm203x

The log states:

Aug 21 14:48:53 alpha apmd[9065]: Suspending now
Aug 21 14:49:16 alpha hub 1-0:1.0: resubmit --> -108
Aug 21 14:49:16 alpha hub 1-0:1.0: hub_port_status failed (err = -108)

I have the newest bluez versions in use (Gentoo):
bluez-hciemu-1.0
bluez-firmware-1.0
bluez-hcidump-1.21
bluez-libs-2.19
bluez-utils-2.19
Linux version 2.6.12-mh2

Quoted 5 lines

The problem seems to be independend of the used dongle: I tried LevelOne MDU-0005USB and Broadcom WTB-3020.

Unloading the modules before suspend might help - i just try not to forget to unplug it before suspending ;-)

I can't tell you anything about the APM. Did you tried to use ACPI? What kernel version is this?

However to unload you module you need to do a "hciconfig hci0 down" first. This will deactivate the interface.

Regards

Marcel

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel