public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <j.w.r.degoede@hhs.nl>
To: Oliver Neukum <oliver@neukum.org>
Cc: Jiri Kosina <jikos@jikos.cz>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	linux-usb-devel@lists.sourceforge.net
Subject: Re: USB autosuspend and turning of usb pendrive leds
Date: Mon, 24 Sep 2007 13:38:55 +0200	[thread overview]
Message-ID: <46F7A1CF.4010509@hhs.nl> (raw)
In-Reply-To: <200709241236.37406.oliver@neukum.org>

Oliver Neukum wrote:
> Am Freitag 21 September 2007 schrieb Jiri Kosina:
>> On Fri, 21 Sep 2007, Hans de Goede wrote:
>>
>>> Thats not what I had in mind, autosuspend doesn't work (presumably 
>>> because hal keeps polling for media change) maybe I should fix hal to 
>>> not keep polling for devices which don't have removable media?
>> Hi Hans,
>>
>> I think the correct solution is that HAL stops polling the device as soon 
>> as it sees that it got autosuspended.
> 
> And how would we notice a medium change then? If there's an alternative
> way to notice it or we know it cannot happen there's no reason to poll at all.
> 

It looks like hal is currently polling device of which it knows the medium is 
not removable, like USB-pens.

Regards,

Hans


  reply	other threads:[~2007-09-24 11:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-21 13:28 USB autosuspend and turning of usb pendrive leds Hans de Goede
2007-09-21 14:18 ` Jiri Kosina
2007-09-21 14:20   ` Hans de Goede
2007-09-21 15:15     ` Jiri Kosina
2007-09-24 10:36       ` Oliver Neukum
2007-09-24 11:38         ` Hans de Goede [this message]
2007-09-24 13:25           ` Oliver Neukum
2007-09-21 19:47     ` [linux-usb-devel] " Oliver Neukum
2007-09-21 14:39   ` Alan Stern
2007-09-22 14:00     ` Hans de Goede
2007-09-22 14:29       ` Alan Stern
2007-09-22 17:08         ` Hans de Goede
2007-09-22 20:12           ` Alan Stern
2007-09-28 20:48 ` Bill Davidsen

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=46F7A1CF.4010509@hhs.nl \
    --to=j.w.r.degoede@hhs.nl \
    --cc=jikos@jikos.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=oliver@neukum.org \
    /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