linux-thinkpad / hdapsd

HDAPS daemon for IBM/Lenovo ThinkPads
http://hdaps.sf.net
GNU General Public License v2.0
43 stars 7 forks source link

EPERM (Operation not permitted) while trying to open Acer BMA150 accelerometer #17

Open sm4rk0 opened 7 years ago

sm4rk0 commented 7 years ago

I'm running hdapsd on ubuntu 17.04, version 1:20141203-1.

sudo strace hdapsd shows this error:

open("/dev/input/event8", O_RDONLY) = -1 EPERM (Operation not permitted)

cat /proc/bus/input/devices

I: Bus=0019 Vendor=0000 Product=0000 Version=0000 N: Name="Acer BMA150 accelerometer" P: Phys=wmi/input1 S: Sysfs=/devices/virtual/input/input11 U: Uniq= H: Handlers=event8 js0 B: PROP=0 B: EV=9 B: ABS=7

Tried sudo rmmod joydev but nothing changed except no "js0" in Handlers list Any idea?