Re: RFA: acpi-support -- glue layer for translating laptop buttons, plus legacy suspend support
On Mon, 27 Apr 2009, Bjørn Mork wrote:
> Henrique de Moraes Holschuh <firstname.lastname@example.org> writes:
> > On Sun, 26 Apr 2009, Matthew Garrett wrote:
> >> Hal checks the drive capabilities and shouldn't be polling drives that
> >> support async notifications. Is that code not working for you?
> > It is working fine, thanks for the head's up about it disabling the poller
> > on AN-capable devices (my laptop is not one of them, but I found one which
> > can do that to test).
> Please correct med if I'm wrong. I assume you are talking about the
> test in hald/linux/blockdev.c which sets
> storage.removable.support_async_notification based on the flags exported
> by the kernel in /sys/block/*/capability? I cannot see how this can
> work at the moment. There doesn't seem to be any driver setting the
> GENHD_FL_MEDIA_CHANGE_NOTIFY flag yet. Or am I missing something?
Hmm... I'd need to get access to that laptop to double-check, it is a
co-worker's, I just asked him to boot to Linux and noticed the poller
wasn't running. I assumed that was hald doing its job properly, as he
said he never ran hal-disable-polling, and checked no further.
If I manage to get access to that laptop again, I will do a more
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot