Linux bluetooth development
 help / color / mirror / Atom feed
From: Paul Ionescu <paul@acorp.ro>
To: Mitsu Hadeishi <mitsu@syntheticzero.com>
Cc: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] Suspend/resume issues with bluez
Date: Thu, 04 Mar 2004 07:44:47 +0200	[thread overview]
Message-ID: <1078379087.17118.22.camel@t40> (raw)
In-Reply-To: <200403022202.19259.mitsu@syntheticzero.com>

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

      parent reply	other threads:[~2004-03-04  5:44 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
2004-03-04  5:44 ` Paul Ionescu [this message]

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=1078379087.17118.22.camel@t40 \
    --to=paul@acorp.ro \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox