linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
[parent not found: <fa.+TBrYxvBPaXCptm9JXDjMT6wk58@ifi.uio.no>]
* Generic interface for accelerometers (AMS, HDAPS, ...)
@ 2006-07-03 12:48 Henrique de Moraes Holschuh
  2006-07-04  7:59 ` Pavel Machek
  0 siblings, 1 reply; 13+ messages in thread
From: Henrique de Moraes Holschuh @ 2006-07-03 12:48 UTC (permalink / raw)
  To: lm-sensors, linux-kernel, hdaps-devel, Stelian Pop,
	Michael Hanselmann

We have now (or we are about to have, anyway) two drivers that export
accelerometer data: IBM's HDAPS, and Apple's AMS.  More accelerometer
drivers could be coming in the future.

Both drivers export one common set of data (accelerometer output), and some
extra information that is not related to acellerometers.  Both have at least
two functionality goals in common: to export accelerometer data to
userspace, and also to allow somehow for HD head parking when the
accelerometer detects a potentially incoming impact.

User­space utilities that interface to accelerometers like hdapsd and
smackpad could benefit from a common interface, so that they work with
HDAPS, AMS, and any other future accelerometer drivers.

If any kernel-space functionality needed by HDAPS and AMS is also shared, we
would have benefits there too.  Some examples I can think of are: generic HD
queue-freeze and HD head parking, and a generic acellerometer-driven
joystick event interface.  This would also enable generic userspace
notifiers that the HD heads have been parked, etc.

I am posting this message as a head's up for the two projects (HDAPS, AMS)
to make sure that they are actively aware of each other.  I do so in hope
that we can work in a joint, generic interface and port both drivers to this
new interface in the near future, and also that we can make as much
functionality shared between the two drivers as possible.

-- 
  "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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-07-07  9:32 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <fa.GOQkHC8inXir2wbg4bZayOWXzAY@ifi.uio.no>
     [not found] ` <fa.qLWuLxQd7Mhcnixy/TLVs/nPwig@ifi.uio.no>
2006-07-05 23:59   ` Generic interface for accelerometers (AMS, HDAPS, ...) Robert Hancock
2006-07-06  6:19     ` Vojtech Pavlik
2006-07-07  2:46       ` Henrique de Moraes Holschuh
2006-07-07  5:28         ` Robert Hancock
2006-07-07  9:31         ` Vojtech Pavlik
     [not found] <fa.+TBrYxvBPaXCptm9JXDjMT6wk58@ifi.uio.no>
     [not found] ` <fa.KtXXXVDoa0Coj62aBgf3NuqbZMo@ifi.uio.no>
2006-07-07  1:40   ` Robert Hancock
2006-07-03 12:48 Henrique de Moraes Holschuh
2006-07-04  7:59 ` Pavel Machek
2006-07-04 16:23   ` Henrique de Moraes Holschuh
2006-07-04 23:57     ` Pavel Machek
2006-07-05  7:34       ` Vojtech Pavlik
2006-07-05 13:58         ` Henrique de Moraes Holschuh
2006-07-06  1:12           ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).