Return-Path: Subject: Re: [Bluez-devel] Suspend/resume issues with bluez From: Paul Ionescu To: Mitsu Hadeishi Cc: bluez-devel@lists.sourceforge.net In-Reply-To: <200403022202.19259.mitsu@syntheticzero.com> References: <200403022202.19259.mitsu@syntheticzero.com> Message-Id: <1078379087.17118.22.camel@t40> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu, 04 Mar 2004 07:44:47 +0200 Hi Mitsu, On T40* the bluetooth adapter is an USB one, so you can try to remove all USB modules before suspend, and load them again after resume. On Wed, 2004-03-03 at 05:02, Mitsu Hadeishi wrote: > Hi, just thought I'd run this issue past you folks. I'm running the bluez > stack and utilities from Debian unstable on kernel 2.4.22-x1 (Xandros Desktop > 2) on a Thinkpad T40p. It seems to run fine when I first boot; I am able to > discover other devices, they can discover me. I am a newbie trying to use > this protocol stack; so I haven't yet gotten any applications to work yet. > However, it seems to function, basically. > > The problem is bluez never seems to work again after a suspend/resume. I have > tried shutting down the Bluetooth card (you can do with with Fn-F5 on a > Thinkpad) before suspending, as well as doing hciconfig hci0 down, and even > rmmod rfcomm, rmmod hci_usb (rmmod l2cap never seems to work) before > suspending, and then modprobe them back afterwards. Though my machine does > not hang or crash when coming back from suspend, the Bluetooth card never > works again. hciconfig -a prints nothing. > > Interestingly, before I installed the bluez stack, whenever I hit Fn-F5 it > would freeze my machine. Now, it doesn't freeze it, but correctly toggles > the little LED saying Bluetooth is active/inactive. When bluez is working, > Fn-F5 makes hciconfig -a report the device there, then Fn-F5 again will make > hciconfig -a report nothing. But after a suspend/resume, Fn-F5 will *still* > toggle the Bluetooth LED, but hciconfig -a never shows a card. > > Rebooting the system causes bluez to work again. > > Mitsu ------------------------------------------------------- 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