New: Error creating '/sys/class/backlight/radeon_bl' in radeon_atom_backlight_init()
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: [email protected]
ReportedBy: [email protected]
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.
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 48941] Error creating '/sys/class/backlight/radeon_bl' in radeon_atom_backlight_init()
https://bugzilla.kernel.org/show_bug.cgi?id=48941
--- Comment #1 from Igor Murzov <[email protected]> 2012-10-17 00:35:56 --- Created an attachment (id=83701)
--> (https://bugzilla.kernel.org/attachment.cgi?id=83701)
lspci -vvv
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 48941] Error creating '/sys/class/backlight/radeon_bl' in radeon_atom_backlight_init()
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=48941
Alex Deucher <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #2 from Alex Deucher <[email protected]> 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.
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 48941] Error creating '/sys/class/backlight/radeon_bl' in radeon_atom_backlight_init()
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=48941
--- Comment #3 from Igor Murzov <[email protected]> 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 :]
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 48941] Error creating '/sys/class/backlight/radeon_bl' in radeon_atom_backlight_init()
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=48941
--- Comment #4 from Alex Deucher <[email protected]> 2012-10-17 20:05:42 --- The acpi backlight control should still work.
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 48941] Error creating '/sys/class/backlight/radeon_bl' in radeon_atom_backlight_init()
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=48941
--- Comment #5 from Alex Deucher <[email protected]> 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.
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 48941] Error creating '/sys/class/backlight/radeon_bl' in radeon_atom_backlight_init()
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=48941
--- Comment #6 from Igor Murzov <[email protected]> 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
Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 48941] Error creating '/sys/class/backlight/radeon_bl' in radeon_atom_backlight_init()
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=48941
Florian Mickler <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #7 from Florian Mickler <[email protected]> 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 <[email protected]> Date: Wed Oct 17 17:20:24 2012 -0400
drm/radeon: give each backlight a unique id
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 48941] Error creating '/sys/class/backlight/radeon_bl' in radeon_atom_backlight_init()
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=48941
Igor Murzov <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |CODE_FIX--- Comment #8 from Igor Murzov <[email protected]> 2012-11-05 23:36:42 --- Fixed.
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.