Re: [PATCH] Apple Motion Sensor driver

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

 



On Mon, 13 Nov 2006, Stelian Pop wrote:
> I do believe that the proper place for ams is the hardware monitoring
> section (even if the missing HD parking APIs makes it not very useful
> right now).
> 
> The fact that the accelerometer offers a (low res) joystick emulation is
> only a nice hack and I'm not even sure somebody (except Johannes) will
> find an use for it.

Sort of.  Some accelerometers actually act more as input devices than as
monitoring devices.  E.g. HDAPS has no intelligence whatsoever about what is
happening (it doesn't to any sort of threshold detection, unlike Apple's
motion sensing stuff), but it can give you reasonable resolution at a
maximum sample rate of 500Hz (I don't recommend getting it to go that fast,
though) for two axis, with configurable running-averaging.  Looks a lot more
like a joystick to me than a hardware monitoring sensor.

It's just a matter of PoV, and one can easily make a case for accelerometers
to live in either hwmon or input.   As long as they're all in one place :-)

-- 
  "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
  Henrique Holschuh
-
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]
  Powered by Linux