Re: [PATCH 3/5] toshiba_acpi: Add accelerometer input polled device
From: Azael Avalos
Date: Wed Sep 10 2014 - 11:28:52 EST
Hi there,
2014-09-09 21:35 GMT-06:00 Darren Hart <dvhart@xxxxxxxxxxxxx>:
>
> 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.
>
> --
> Darren Hart
> Intel Open Source Technology Center
Cheers
Azael
--
-- El mundo apesta y vosotros apestais tambien --
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/