Messages in this thread | | | Date | Wed, 10 Sep 2014 09:08:58 -0700 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH 3/5] toshiba_acpi: Add accelerometer input polled device |
| |
On Wed, Sep 10, 2014 at 09:28:44AM -0600, Azael Avalos wrote: > Hi there, > > 2014-09-09 21:35 GMT-06:00 Darren Hart <dvhart@infradead.org>: > > > > I immediately went to a tablet with a marble maze game and it didn't seem too > > crazy, but I don't suppose that is what people are actually doing with it... > > > > What are people actually doing with this thing Azael? > > Gaming mostly (supertuxkart anyone?), but some others (including myself) > want to use it as a movement detection (one exists for the IBM/Lenovo > Thinkpads). > > Digging into platform drivers, I've found that the hdaps and also the lis3lv02d > drivers report the axes via polldev, and since I don't want to break userspace, > I'm left with two choices: > > 1 - Keep sysfs entry and adapt it to properly report direction, and no > polled device. > > 2 - Keep sysfs entry and adapt it to properly report direction, and also > a polled device. > > Let me know your decision so I can send an updated patch.
3 - use the correct api and change it to iio so that all userspace tools can correctly interact with it, instead of dealing with a driver-specific sysfs file.
thanks,
greg k-h
| |