gcwnow / buildroot

Buildroot customized for the GCW0
GNU General Public License v2.0
36 stars 46 forks source link

G-sensor does not work under beta firmware (post-August 20th 2014 test firmware) #13

Closed senquack closed 9 years ago

senquack commented 9 years ago

Under test firmware 2014-11-23, the g-sensor does not work, or at least does not work as before. From the command line, you can start the g-sensor module using 'gsensor --start' and see that its module gets loaded with 'lsmod'.

However, both SDL 1.2 and SDL2.0 only report 1 joystick available, whereas under the last public release, two would be reported and the G-sensor's reported name would be 'mxc6225'

It is easy to reproduce this behavior: simply try to run Nebuleon's SDL2.0 version of his input tester. Alternatively, run Neverball. Neither reports finding more than one joystick and neither finds the g-sensor. Also, none of the devices in /dev/input/ show anything when running 'cat' on them and moving the unit about. There also is no symlink created from /dev/input/gsensor to the device file, not that this in itself indicates a bug.

senquack commented 9 years ago

After reverting back to the stock 8-20 firmware, then reinstalling the 11-23-2014 firmware, I have found this issue has mysteriously disappeared and the g-sensor works as it should.