Linux OTB enclosures
Matthew Garrett
mjg59 at srcf.ucam.org
Wed Feb 11 08:45:44 PST 2009
On Wed, Feb 11, 2009 at 05:09:47PM +0059, Maciej Grela wrote:
> I want to write an addon for HAL which could be invoked for all
> supported devices and poll them for OTB button status (ie. once per
> second). Do you think, that writing another addon just for this is a
> good idea or should I patch hald-storage ? Adding the polling to
> hald-storage addon would be good for reducing wakeups (only one addon
> polling the device) but it may be not the proper place for OTB
> support. On the other hand, creating a new addon would mean
> duplicating a significant amount of hald-storage code. The other thing
> I'm considering is how to pass the "Backup" button keypress event. I
> see two approaches:
Is there any reason you can't do this in kernel like the existing Maxtor
code?
--
Matthew Garrett | mjg59 at srcf.ucam.org
More information about the hal
mailing list