Quantcast
Channel: On linux something is changing my backlight brightness. How to know what process it is? - Super User
Viewing all articles
Browse latest Browse all 3

On linux something is changing my backlight brightness. How to know what process it is?

$
0
0

I'm using Linux with a 3.9 kernel (BohdiLinux, but I'm looking for a distro (or at least desktop environment) agnostic answer).

Something is periodically (or on some event, perhaps) reseting the backlight level of my screen laptop, and I would like to know what process it is.

I naivly try to watch acess on /sys/class/backlight with inotifywatch[1], but events on /sys does not seems to be recorded.

I also try to see if there was some acpi events, but nothing was recorded by acpi_listen when the reset occures.

I have no idea of the process doing the reset, or even if it is always started or started on demand by another one, so I don't see how I could use lsof.

How could I progress from here ? Thanks for any advice !

[edit] :

[1] actual command: sudo inotifywatch -r -v /sys/class/backlight/

[2] actual command: sudo acpi_listen

[3] output

% sudo udevadm monitor --udev --propertymonitor will print the received events for:UDEV - the event which udev sends out after rule processingUDEV  [27661.753446] change   /devices/pci0000:00/0000:00:02.0/backlight/acpi_video1 (backlight)ACTION=changeDEVPATH=/devices/pci0000:00/0000:00:02.0/backlight/acpi_video1SEQNUM=6027SOURCE=sysfsSUBSYSTEM=backlightUDEV_LOG=7USEC_INITIALIZED=27661753199

Viewing all articles
Browse latest Browse all 3

Trending Articles