trnoob.blogg.se

Hp accelerometer driver and hp 3d driveguard latest version
Hp accelerometer driver and hp 3d driveguard latest version




hp accelerometer driver and hp 3d driveguard latest version

* Andrew asked why strcpy(acpi_device_name(.),) works. * Andrew asked if it was tested with CONFIG_SYSFS=n. * Andrew suggested removing the version number: done * Andrew suggested to use _WAIT_QUEUE_HEAD_INITIALIZER(): done but misc is gone anyway * Andrew suggested to have a cleaner locking for the misc opening: done (uses test_bit now). * Dmitry suggested to use polled_input: could not because it needs to know when the device is opened/closed in order to turn it on/off (otherwise, it would work fine) * Andrew Morton asked to investigate using interrupt-based sensor reading (instead of timer-based): it turns out not useful because the sensor generate interrupts even if the data has not changed, so we end up waking up at 40Hz Once it works fine, it can be added again.Īnswer to remarks from previous submission: * Free-fall interrupt has been removed for now, as it was sometimes not detecting anything. * Added myselft as in the maintainer file * Change the frequency to 20Hz (half of the sensor freq) instead of 33Hz * Rename from MDPS to lis3lv02d, as the driver aims at not being HP specific * Various clean ups, to make it less specific to ACPI/HP * Moved the register definition to an include file

hp accelerometer driver and hp 3d driveguard latest version

* Add axis info for hp2133 (patch by Pavel Macheck) * Add axis info for nc8510 (reported and tested by Luca Di Stephano)

hp accelerometer driver and hp 3d driveguard latest version

* Automatically turns off the device after some time not used (and removes all the infrastructure to turn on/off the device manually)

Hp accelerometer driver and hp 3d driveguard latest version Patch#

The patch is actually against 2.6.27 but I've checked that it does applyįine against 2.6.28-git du jour. Technically it's situated in hwmon because the other accelerometerĭrivers are there as well, but hwmon guys are not really interested by Of different people, and having it in the vanilla tree would probablyĮncourage people even more to participate improving the driver! Patches on the LKML, there is actually quite a lot of interest from lots Judging from the feedback I got previously, just due to the post of the The idea is that later on additional features can be added. Interrupts because there was not yet a complete consensus if it was theīest interface to do that and I couldn't always detect free-falls on my In particular, I've removed the misc device to access free-fall I've now made the driver very simple, hoping to make it It's the fourth iteration of what used to be called Here is a submission for 2.6.28 of a driver for the ST LIS3LV02DxĪccelerometer, a device found in various laptops (HP in particular) andĮmbedded devices.






Hp accelerometer driver and hp 3d driveguard latest version