Re: [PATCH] HP mobile data protection system driver

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

 






From: Dave Jones <[email protected]>
To: Jesper Juhl <[email protected]>
CC: Burman Yan <[email protected]>, [email protected], Andrey Panin <[email protected]>
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 [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