|
Prev: .bash_history file
Next: mozplugger does not work
From: Dominic-Luc Webb on 2 Apr 2008 05:40 On Tue, 1 Apr 2008, microsys wrote: > incorporated such technology for a number of years. Linux in general, as > far as I know, has nothing similar. Actually, there is a little bit of discussion on the Internet about Linux development by a programmer at IBM with maybe some minor problems as of kernel around 2.6.23 or 2.6.24. With rc7 of 2.6.25 now available, I checked the Changelog for this feature and find nothing mentioned. I suspect it is in current development, but with more investigation, the accelerometers have actually already been around for years now (IBM Thinkpad since about 2003). I have for the moment several questions with no answer: 1. Is accelerometer supported by Linux kernel and what hardware? 2. How can data be accessed? 3. Is it possible to get values for 3 axes? 4. What units is data and can it be readily transformed to m/s^2? Dominic-Luc Webb
From: Dominic-Luc Webb on 2 Apr 2008 05:48 On Wed, 2 Apr 2008, Dominic-Luc Webb wrote: > yet know about the accelerometer. It sounds like it could even be > something integrated into the harddisk since that is the target > hardware. > > Dominic-Luc Webb Sorry, I should mention that my point in that last statement was that I do not know how the accelerometer is implemented at the hardware level. If it is integrated into harddisks, then maybe any harddisk could have it these days, for instance. Dominic
From: Dominic-Luc Webb on 2 Apr 2008 05:44 On Wed, 2 Apr 2008, Damjan wrote: > The hardware need to have it, of course. Thinkpads do have it, and it works > in Linux. Interesting! Any idea how data can be accessed under Linux? Is a kernel patch, etc required? Thinkpads have had this since about 2003. I suspect other notebooks also have this. I knew about the Mac, but was planning on buying an Asus notebook because it had all features I want. Although I do not yet know about the accelerometer. It sounds like it could even be something integrated into the harddisk since that is the target hardware. Dominic-Luc Webb
From: Damjan on 2 Apr 2008 14:10 >> The hardware need to have it, of course. Thinkpads do have it, and it >> works in Linux. > > Interesting! Any idea how data can be accessed under Linux? > Is a kernel patch, etc required? no patches needed, as I said the hdaps driver is in vanilla kernel. It's accessed as a joystick device... /dev/input/eventX. There's also a secondary input interface another /dev/input/eventY that provide some more raw data so that the hdapsd daemon can use to recognize sudden moves. For example I can start the game neverball and it automatically works with the hdaps device. http://www.youtube.com/watch?v=eyoFRx_0edU There is the tp_smapi patch that improves the standard hdaps driver, but it's not generally needed. http://www.thinkwiki.org/wiki/HDAPS > Thinkpads have had this since about 2003. I suspect other notebooks > also have this. I knew about the Mac, Not much laptops have this actually. > but was planning on buying an Asus notebook because it had all features I > want. Although I do not yet know about the accelerometer. I've not heard they have it. > It sounds like it could even be something integrated into the harddisk > since that is the target hardware. The hdaps sensor is a separate device on the Thinkpad motherboard. Only now, Seagate is fiting *some* of their 2.5" hard drives with their own sensor and automatic protection (without software). But only a few of their hard-drive models have it (the latest Momentus 7200.2, the models that end with a "G"). -- damjan
From: microsys on 2 Apr 2008 18:12
Damjan wrote: >>> The hardware need to have it, of course. Thinkpads do have it, and it >>> works in Linux. >> Interesting! Any idea how data can be accessed under Linux? >> Is a kernel patch, etc required? > > no patches needed, as I said the hdaps driver is in vanilla kernel. > It's accessed as a joystick device... /dev/input/eventX. There's also a > secondary input interface another /dev/input/eventY that provide some more > raw data so that the hdapsd daemon can use to recognize sudden moves. > > For example I can start the game neverball and it automatically works with > the hdaps device. http://www.youtube.com/watch?v=eyoFRx_0edU > > There is the tp_smapi patch that improves the standard hdaps driver, but > it's not generally needed. > > http://www.thinkwiki.org/wiki/HDAPS > >> Thinkpads have had this since about 2003. I suspect other notebooks >> also have this. I knew about the Mac, > > Not much laptops have this actually. > >> but was planning on buying an Asus notebook because it had all features I >> want. Although I do not yet know about the accelerometer. > > I've not heard they have it. > >> It sounds like it could even be something integrated into the harddisk >> since that is the target hardware. > > The hdaps sensor is a separate device on the Thinkpad motherboard. > > Only now, Seagate is fiting *some* of their 2.5" hard drives with their own > sensor and automatic protection (without software). But only a few of their > hard-drive models have it (the latest Momentus 7200.2, the models that end > with a "G"). > > Excellent, thanks for the info I had no idea any of this existed. |