Wrong detect of accelerometer

81 views
Skip to first unread message

Gianmaria Iaculo

unread,
Dec 13, 2019, 12:05:26 PM12/13/19
to android-porting
Good morning,
android 9 with accelerometer connected gives this message:

12-12 19:03:18.112 3339 3428 D EventHub: No input device configuration file found for device 'ADXL34x accelerometer'.
12-12 19:03:18.112 3339 3428 I EventHub: New device: id=1, fd=111, path='/dev/input/event2', name='ADXL34x accelerometer', classes=0x4, configuration='', keyLayout='', keyCharacterMap='', builtinKeyboard=false,
12-12 19:03:18.128 3339 3428 I InputReader: Touch device 'ADXL34x accelerometer' could not query the properties of its associated display. The device will be inoperable until the display size becomes available.
12-12 19:03:18.128 3339 3428 I InputReader: Device added: id=1, name='ADXL34x accelerometer', sources=0x00002002
12-12 19:03:18.221 3339 3428 I InputReader: Device reconfigured: id=1, name='ADXL34x accelerometer', size 800x480, orientation 0, mode 4, display id 0

It seems that is handling an acceleromeer as a touch device.....

Some hints?
Regards,
Gianmaria
Reply all
Reply to author
Forward
0 new messages