[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BAY20-F21743EEAB4B44BD437AE68D80A0@phx.gbl>
Date: Fri, 13 Oct 2006 18:17:26 +0200
From: "Burman Yan" <yan_952@...mail.com>
To: davej@...hat.com, jesper.juhl@...il.com
Cc: linux-kernel@...r.kernel.org, pazke@...pac.ru
Subject: Re: [PATCH] HP mobile data protection system driver
>From: Dave Jones <davej@...hat.com>
>To: Jesper Juhl <jesper.juhl@...il.com>
>CC: Burman Yan <yan_952@...mail.com>, linux-kernel@...r.kernel.org,
>Andrey Panin <pazke@...pac.ru>
>Subject: Re: [PATCH] HP mobile data protection system driver
>Date: Fri, 13 Oct 2006 11:50:20 -0400
>Better yet, would be to use the same interface the hdaps driver uses
>so that userspace written for one accelerometer works with any hardware.
>Having to cope with a dozen different drivers who export in different
>places is just silly.
>
That would probably mean that there is a need for single interface. Making
all accelerometers
export to /sys/devices/platform/hdaps sounds wrong to me. It should be a
neutral place then.
There aren't that many accelerometers right now as far as I could tell by
googling.
There are hdaps, amc (something for MAC I think) and now mdps ;)
Only amc and mdps are 3D - hdaps is 2D, and also amc and mdps in theory
support
a free-fall interrupt instead of polling - I just couldn't get the interrupt
part to work yet.
I did make the interface as close as I could to hdaps - seem my later post
with a new patch.
Yan
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists