On Sat 2007-08-25 13:36:00, Yan Burman wrote:
> Pavel Machek wrote:
> >On Sat 2007-08-11 14:26:02, Yan Burman wrote:
> >
> >>HP Mobile Data Protection System 3D ACPI driver. Similar to hdaps in
> >>functionality.
> >>This driver provides 4 kinds of functionality:
> >>1) Creates a misc device /dev/accel that acts similar to /dev/rtc and
> >>unblocks
> >>the process reading from it when the device detects free-fall interrupt
> >>2) Functions as an input class device to provide similar functionality to
> >>hdaps, in order to be able to use the laptop as a joystick
> >>3) Provides an interface similar to hdaps, so that hdapsd could work with
> >>it
> >>4) Makes it possible to power the device off.
> >>
> >
> >I assume this means 'power the sensor down'? What is interface for
> >that?
> >
> >Aha, /sys. Could we simply power off the device when its input device
> >is not opened?
> >
> >
> No, we can't since the sys interface provides the position info and some
> applications (hdaps apps for example) use this interface.
One more reason not to use /sys to access the position data.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]