Re: Generic battery interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/28/06, Vojtech Pavlik <vojtech@xxxxxxx> wrote:
On Fri, Jul 28, 2006 at 03:27:00AM +0300, Shem Multinymous wrote:
>
> "Generic interface for accelerometers (AMS, HDAPS, ...)" on LKML, a
> few weeks ago, about moving accelerator-based hard disk parking from
> sysfs polling to the the input infrastructure. One unresolved issue
> was how to find which input device happens to be the relevant
> accelerometer.

The current well known methods are:

       1) udev/hotplug. It can create device nodes and symlinks based on the
               capabilities and IDs of an input device.
       1a) HAL. It has all the info from hotplug as well.
       2) open them all and do the capability checks / IDs yourself.
       3) (obsolete, deprecated) parse /proc/bus/input/devices, which
               lists all the input devices


4) sysfs - all capabilities, IDs, etc for input devices exported there as well.

--
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux