https://bugzilla.kernel.org/show_bug.cgi?id=48941
Summary: Error creating '/sys/class/backlight/radeon_bl' in radeon_atom_backlight_init() Product: Drivers Version: 2.5 Kernel Version: 3.7.0-rc1 Platform: All OS/Version: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: Video(DRI - non Intel) AssignedTo: drivers_video-dri@kernel-bugs.osdl.org ReportedBy: e-mail@date.by Regression: No
Created an attachment (id=83691) --> (https://bugzilla.kernel.org/attachment.cgi?id=83691) dmesg
There is an error in my dmesg:
sysfs: cannot create duplicate filename '/class/backlight/radeon_bl'
and there is no '/sys/class/backlight/radeon_bl' after system boot.
https://bugzilla.kernel.org/show_bug.cgi?id=48941
--- Comment #1 from Igor Murzov e-mail@date.by 2012-10-17 00:35:56 --- Created an attachment (id=83701) --> (https://bugzilla.kernel.org/attachment.cgi?id=83701) lspci -vvv
https://bugzilla.kernel.org/show_bug.cgi?id=48941
Alex Deucher alexdeucher@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexdeucher@gmail.com
--- Comment #2 from Alex Deucher alexdeucher@gmail.com 2012-10-17 14:01:08 --- You have a hybrid laptop with with a mux to switch between the two GPUs. I suppose ideally we'd only create one bl device and switch control of it when the mux is switched. I'm not sure of the best way to do that off hand at the moment.
https://bugzilla.kernel.org/show_bug.cgi?id=48941
--- Comment #3 from Igor Murzov e-mail@date.by 2012-10-17 16:44:02 --- Can I help somehow with this and other issue with hybrid systems with a mux? Looks like not much people have such configuration and linux becomes more and more buggy with regard to gpus on my laptop. I can help testing patches or may be bisect some regression for you or even inspect some code :]
https://bugzilla.kernel.org/show_bug.cgi?id=48941
--- Comment #4 from Alex Deucher alexdeucher@gmail.com 2012-10-17 20:05:42 --- The acpi backlight control should still work.
https://bugzilla.kernel.org/show_bug.cgi?id=48941
--- Comment #5 from Alex Deucher alexdeucher@gmail.com 2012-10-17 21:24:04 --- Created an attachment (id=83751) --> (https://bugzilla.kernel.org/attachment.cgi?id=83751) give each radeon_bl a unique name
This patch should fix the issue, however, you'll have to use the appropriate bl device depending on which gpu is active.
https://bugzilla.kernel.org/show_bug.cgi?id=48941
--- Comment #6 from Igor Murzov e-mail@date.by 2012-10-19 15:16:21 --- The patch fixed the issue. I have two bl devices now: # tree /sys/class/backlight/ /sys/class/backlight/ ├── radeon_bl0 -> ../../devices/pci0000:00/0000:00:01.0/0000:01:05.0/drm/card0/card0-LVDS-1/radeon_bl0 └── radeon_bl1 -> ../../devices/pci0000:00/0000:00:02.0/0000:02:00.0/drm/card1/card1-LVDS-2/radeon_bl1
https://bugzilla.kernel.org/show_bug.cgi?id=48941
Florian Mickler florian@mickler.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |florian@mickler.org
--- Comment #7 from Florian Mickler florian@mickler.org 2012-11-05 23:15:22 --- A patch referencing this bug report has been merged in Linux v3.7-rc3:
commit 614499b4d844dcceae5ae2f1e53a2963789a8933 Author: Alex Deucher alexander.deucher@amd.com Date: Wed Oct 17 17:20:24 2012 -0400
drm/radeon: give each backlight a unique id
https://bugzilla.kernel.org/show_bug.cgi?id=48941
Igor Murzov e-mail@date.by changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |CODE_FIX
--- Comment #8 from Igor Murzov e-mail@date.by 2012-11-05 23:36:42 --- Fixed.
dri-devel@lists.freedesktop.org