Ask Your Question
0

"Operation not permitted" entry swells the messages file

asked 2017-02-09 12:07:32 -0600

mcwired gravatar image

updated 2017-02-09 13:40:38 -0600

I just installed F25 in an Acer Aspire 8730. Checking the /var/log/messages file I found that every second this entry gets logged:

Feb  9 13:38:56 localhost journal: Could not open input accel '/dev/input/event11': Operation not permitted

Querying the systemd journal with journalctl -b I found that this message is repeated every second:

Feb 09 12:39:29 localhost.localdomain iio-sensor-prox[754]: Could not open input accel '/dev/input/event11': Operation not permitted

Perhaps this management tool can bring some light on the issue here:

udevadm info -a -p $(udevadm info -q path -n /dev/input/event11)

  looking at device '/devices/virtual/input/input18/event11':
    KERNEL=="event11"
    SUBSYSTEM=="input"
    DRIVER==""

  looking at parent device '/devices/virtual/input/input18':
    KERNELS=="input18"
    SUBSYSTEMS=="input"
    DRIVERS==""
    ATTRS{name}=="Acer BMA150 accelerometer"
    ATTRS{phys}=="wmi/input1"
    ATTRS{properties}=="0"
    ATTRS{uniq}==""

This is the listing for the device:

# ls -l /dev/input/event11
crw-rw----. 1 root input 13, 75 Feb  9 15:16 /dev/input/event11

I've Googled and search the forums, but I did not find a clue about the origen of this message. Thank you for your advice on this matter.

edit retag flag offensive close merge delete

Comments

Welcome to ask.fedora. Please edit your question to include the results of ls -l /dev/input/eventll because most of the entries in that directory can only be read by root, or somebody in the root group and it's possible that whatever program is responsible for this doesn't have the right permissions.

sideburns gravatar imagesideburns ( 2017-02-09 13:27:57 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2017-02-09 14:06:19 -0600

ssieb gravatar image

updated 2017-02-09 14:09:19 -0600

There is a problem with the acer-wmi module on newer Acer laptops. The accelerometer input device it creates is unusable. I filed a bug on it and there is a potential fix that I haven't been able to test yet. See https://bugzilla.kernel.org/show_bug.... for more details.

In the meantime, you can either blacklist the acer-wmi module or systemctl stop iio-sensor-proxy.service and systemctl mask iio-sensor-proxy.service.

edit flag offensive delete link more
0

answered 2017-02-09 15:05:35 -0600

mcwired gravatar image

Thank you, Samuel Sieb. Your solution worked!! BTW, The Acer Aspire 8730 is from 2009, and it doesn't have any sensors.

I ran...

systemctl stop iio-sensor-proxy.service
systemctl mask iio-sensor-proxy.service

... and the error messages stopped.

Feb  9 16:31:49 localhost journal: Could not open input accel '/dev/input/event11': Operation not permitted
Feb  9 16:31:50 localhost journal: Could not open input accel '/dev/input/event11': Operation not permitted
Feb  9 16:31:50 localhost journal: Could not open input accel '/dev/input/event11': Operation not permitted
Feb  9 16:31:51 localhost systemd: Stopping IIO Sensor Proxy service...
Feb  9 16:31:51 localhost systemd: Stopped IIO Sensor Proxy service.
Feb  9 16:31:51 localhost audit: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=iio-sensor-proxy comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb  9 16:32:10 localhost systemd: Reloading.
edit flag offensive delete link more

Question Tools

Stats

Asked: 2017-02-09 12:07:32 -0600

Seen: 613 times

Last updated: Feb 09 '17