From: Nils Faerber <nils.faerber@kernelconcepts.de>
To: Mitsu Hadeishi <mitsu@syntheticzero.com>
Cc: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] Suspend/resume issues with bluez
Date: Wed, 10 Mar 2004 12:38:27 +0100 [thread overview]
Message-ID: <1078918707.26239.129.camel@localhost> (raw)
In-Reply-To: <200403091754.52270.mitsu@syntheticzero.com>
Am Di, den 09.03.2004 schrieb Mitsu Hadeishi um 23:54:
> Hi,
Hi!
> Just a note to the list regarding suspend/resume. I have a Thinkpad T40p
> which was having problems with bluez and suspend/resume. I just tried
> installing the Affix drivers on my Thinkpad T40p; but I had the same problem
> (well, it was slightly different, but the upshot was, Bluetooth didn't work
> when I came back from suspend).
>
> So I tried a suggestion written by someone else on this list, which was not
> only to unload all of the Bluetooth modules, but also unload and reload the
> USB modules. This DID work, at least with the Affix drivers. Perhaps the
> same trick would work with the bluez drivers.
>>From my experience simply unloading the USB host controller driver
should be fully sufficient!
What happens is that the host controller is first removed. With removing
the host all devices disappear and are freed automatically.
When the system comes back simply insmod the host controller driver
again. The host will come back up and all devices are discovered as new
devices and will be initialised properly.
It may be though that you have to wait a moment after removing the host
controller driver module, like "sleep 1" before going to sleep. The 2.4.
kernel still has some problems to identify in some circumstances if all
pre-suspend actions have been performed properly.
On Debian I do on suspend
/etc/hotplug/usb.rc stop
sleep 1
and of course the inverse on resume
/etc/hotplug/usb.rc start
without sleeping.
Works really good and also prevents some other nasty USB problems.
> Mitsu
CU
nils faerber
--
kernel concepts Tel: +49-271-771091-12
Dreisbachstr. 24 Fax: +49-271-771091-19
D-57250 Netphen D1 : +49-170-2729106
--
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2004-03-10 11:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-03 3:02 [Bluez-devel] Suspend/resume issues with bluez Mitsu Hadeishi
2004-03-03 22:24 ` Colin Pinkney
2004-03-09 22:54 ` Mitsu Hadeishi
2004-03-10 0:04 ` Marcel Holtmann
2004-03-10 18:25 ` [Bluez-users] " Colin Pinkney
2004-03-10 11:38 ` Nils Faerber [this message]
2004-03-04 5:44 ` Paul Ionescu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1078918707.26239.129.camel@localhost \
--to=nils.faerber@kernelconcepts.de \
--cc=bluez-devel@lists.sourceforge.net \
--cc=mitsu@syntheticzero.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.