https://bugzilla.kernel.org/show_bug.cgi?id=207197

            Bug ID: 207197
           Summary: acpi_video0 appears and disappears on Lenovo ThinkPad
                    E585
           Product: ACPI
           Version: 2.5
    Kernel Version: 5.6.3
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: low
          Priority: P1
         Component: Other
          Assignee: acpi_ot...@kernel-bugs.osdl.org
          Reporter: davis...@gmail.com
        Regression: No

Basically on Lenovo ThinkPad E585 in systemd's journal can see that
`systemd-backlight@backlight:acpi_video0` is failing.

```
apr 11 15:31:33 localhost systemd[1]: Starting Load/Save Screen Backlight
Brightness of backlight:acpi_video0...
apr 11 15:31:33 localhost systemd[819]:
systemd-backlight@backlight:acpi_video0.service: Executing:
/usr/lib/systemd/systemd-backlight load backlight:acpi_video0                   
apr 11 15:31:33 localhost systemd[1]:
systemd-backlight@backlight:amdgpu_bl0.service: About to execute:
/usr/lib/systemd/systemd-backlight load backlight:amdgpu_bl0                    
apr 11 15:31:33 localhost systemd[1]:
systemd-backlight@backlight:amdgpu_bl0.service: Forked
/usr/lib/systemd/systemd-backlight as 820                                       
apr 11 15:31:33 localhost systemd[1]:
systemd-backlight@backlight:amdgpu_bl0.service: Changed dead -> start
apr 11 15:31:33 localhost systemd[1]: Starting Load/Save Screen Backlight
Brightness of backlight:amdgpu_bl0...
apr 11 15:31:33 localhost systemd[820]:
systemd-backlight@backlight:amdgpu_bl0.service: Executing:
/usr/lib/systemd/systemd-backlight load backlight:amdgpu_bl0                    
apr 11 15:31:33 localhost systemd-backlight[819]: Failed to get backlight or
LED device 'backlight:acpi_video0': No such device
apr 11 15:31:33 localhost systemd[1]: systemd-journald.service: Received
EPOLLHUP on stored fd 64 (stored), closing.
apr 11 15:31:33 localhost systemd[1]: Received SIGCHLD from PID 819
(systemd-backlig).
apr 11 15:31:33 localhost systemd[1]: Child 819 (systemd-backlig) died
(code=exited, status=1/FAILURE)
apr 11 15:31:33 localhost systemd[1]:
systemd-backlight@backlight:acpi_video0.service: Failed to read oom_kill field
of memory.events cgroup attribute: No such file or directory                    
apr 11 15:31:33 localhost systemd[1]:
systemd-backlight@backlight:acpi_video0.service: Child 819 belongs to
systemd-backlight@backlight:acpi_video0.service.                                
apr 11 15:31:33 localhost systemd[1]:
systemd-backlight@backlight:acpi_video0.service: Main process exited,
code=exited, status=1/FAILURE
apr 11 15:31:33 localhost systemd[1]:
systemd-backlight@backlight:acpi_video0.service: Failed with result
'exit-code'.
apr 11 15:31:33 localhost systemd[1]:
systemd-backlight@backlight:acpi_video0.service: Service will not restart
(restart setting)
apr 11 15:31:33 localhost systemd[1]:
systemd-backlight@backlight:acpi_video0.service: Changed start -> failed
apr 11 15:31:33 localhost systemd[1]:
systemd-backlight@backlight:acpi_video0.service: Job 274
systemd-backlight@backlight:acpi_video0.service/start finished, result=failed   
apr 11 15:31:33 localhost systemd[1]: Failed to start Load/Save Screen
Backlight Brightness of backlight:acpi_video0.
apr 11 15:31:33 localhost systemd[1]:
systemd-backlight@backlight:acpi_video0.service: Unit entered failed state.
```

It appears to be because acpi_video0 shows up and later disappears as there is
only amdgpu_bl0

```
$ ls -l /sys/class/backlight/
total 0
lrwxrwxrwx 1 root root 0 apr 11 15:31 amdgpu_bl0 ->
../../devices/pci0000:00/0000:00:08.1/0000:05:00.0/backlight/amdgpu_bl0/


$ dmesg -T | grep -i acpi
[S  apr 11 15:30:48 2020] acpi PNP0C14:01: duplicate WMI GUID
05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[S  apr 11 15:30:48 2020] acpi PNP0C14:02: duplicate WMI GUID
05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[S  apr 11 15:30:48 2020] battery: ACPI: Battery Slot [BAT0] (battery present)
[S  apr 11 15:31:30 2020] acpi_cpufreq: overriding BIOS provided _PSD data
[S  apr 11 15:31:30 2020] ACPI: AC Adapter [AC] (off-line)
[S  apr 11 15:31:30 2020] thinkpad_acpi: ThinkPad ACPI Extras v0.26
[S  apr 11 15:31:30 2020] thinkpad_acpi: http://ibm-acpi.sf.net/
[S  apr 11 15:31:30 2020] thinkpad_acpi: ThinkPad BIOS R0UET76W (1.56 ), EC
R0UHT76W
[S  apr 11 15:31:30 2020] thinkpad_acpi: Lenovo ThinkPad E585, model 20KV000YUS
[S  apr 11 15:31:30 2020] thinkpad_acpi: radio switch found; radios are enabled
[S  apr 11 15:31:30 2020] thinkpad_acpi: This ThinkPad has standard ACPI
backlight brightness control, supported by the ACPI video driver
[S  apr 11 15:31:30 2020] thinkpad_acpi: Disabling thinkpad-acpi brightness
events by default...
[S  apr 11 15:31:30 2020] thinkpad_acpi: Standard ACPI backlight interface
available, not loading native one
[S  apr 11 15:31:30 2020] thinkpad_acpi: battery 1 registered (start 95, stop
101)
[S  apr 11 15:31:30 2020] input: ThinkPad Extra Buttons as
/devices/platform/thinkpad_acpi/input/input24
```

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to