public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] Suspend locks up usb
@ 2005-08-21 13:58 Christian Reiser
  2005-08-22 11:15 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Reiser @ 2005-08-21 13:58 UTC (permalink / raw)
  To: bluez-devel

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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bluez-devel] Suspend locks up usb
  2005-08-21 13:58 [Bluez-devel] Suspend locks up usb Christian Reiser
@ 2005-08-22 11:15 ` Marcel Holtmann
  0 siblings, 0 replies; 3+ messages in thread
From: Marcel Holtmann @ 2005-08-22 11:15 UTC (permalink / raw)
  To: bluez-devel

Hi Christian,

> 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 ;-)

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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bluez-devel] Suspend locks up usb
       [not found] <Pine.LNX.4.63.0508230921130.9834@Magrathea>
@ 2005-08-23 15:57 ` Christian Reiser
  0 siblings, 0 replies; 3+ messages in thread
From: Christian Reiser @ 2005-08-23 15:57 UTC (permalink / raw)
  To: bluez-devel

Hi Marcel,

Marcel Holtmann wrote:
> I can't tell you anything about the APM. Did you tried to use ACPI?

Sorry, this is a Thinkpad 600e (400 Mhz, PII). APM is working well -
ACPI won't.

> What kernel version is this?

Linux version 2.6.12-mh2

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

Okay - did not know this. But it does not entirely solve my problem. The
bluetooth modules can be unloaded after executing hciconfig - USB is
still dead. Syslog:
Aug 23 10:20:35 alpha uhci_hcd 0000:00:07.2: Unlink after no-IRQ?
Controller is probably using the wrong IRQ.
Aug 23 10:20:41 alpha usbcore: deregistering driver hci_usb

Anyway. I borrowed an USB-Memorydevice and suspended... same problem.


So: This is not a bluez-bug.
============================


Sorry Guys - i will look for the USB-developers list ;-)


Thanks for your help && 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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-23 15:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-21 13:58 [Bluez-devel] Suspend locks up usb Christian Reiser
2005-08-22 11:15 ` Marcel Holtmann
     [not found] <Pine.LNX.4.63.0508230921130.9834@Magrathea>
2005-08-23 15:57 ` Christian Reiser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox