Re: USB autosuspend and turning of usb pendrive leds
Hans de Goede <[email protected]>
| Newsgroups | gmane.linux.kernel,gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
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