* How to disable (not working) native backlight support?
@ 2011-08-29 1:10 Niccolò Belli
2011-08-29 18:13 ` Sérgio Basto
0 siblings, 1 reply; 6+ messages in thread
From: Niccolò Belli @ 2011-08-29 1:10 UTC (permalink / raw)
To: intel-gfx
I have a Samsung X360 laptop and I always used the samsung-backlight
patches. (Un?)fortunately since 2.6.39 they merged native backlight
support, it would have been a wonderful news if it would have worked
flawlessly. Unfortunately sometimes it does not work, the screen
flickers and /var/log/messages if full of tons of
Aug 18 18:39:47 laptop logger: ACPI event unhandled:
video/brightnessdown BRTDN 00000087 00000000
If I apply samsung-backlight on top of >=2.6.39 I get:
Aug 18 18:35:00 laptop kernel: [ 117.717567] samsung_backlight: found
laptop model 'X360'
Aug 18 18:35:00 laptop kernel: [ 117.717591] ------------[ cut here
]------------
Aug 18 18:35:00 laptop kernel: [ 117.717599] WARNING: at
drivers/video/backlight/backlight.c:314
backlight_device_register+0xfb/0x16e()
Aug 18 18:35:00 laptop kernel: [ 117.717603] Hardware name: X360
Aug 18 18:35:00 laptop kernel: [ 117.717606] samsung: invalid backlight
type
Aug 18 18:35:00 laptop kernel: [ 117.717608] Modules linked in:
samsung_backlight(+) snd_hda_codec_realtek iwlagn(+) mac80211 sg
snd_hda_intel(+) snd_hda_codec snd_hwdep tpm_tis tpm samsung_laptop
snd_pcm tpm_bios snd_timer psmouse iTCO_wdt cfg80211 snd
iTCO_vendor_support serio_raw soundcore pcspkr rfkill snd_page_alloc
sky2 battery thermal fan evdev container ac processor power_supply
Aug 18 18:35:00 laptop kernel: [ 117.717645] Pid: 401, comm: modprobe
Not tainted 3.0.0-gentoo #1
Aug 18 18:35:00 laptop kernel: [ 117.717648] Call Trace:
Aug 18 18:35:00 laptop kernel: [ 117.717655] [<ffffffff81042d65>] ?
warn_slowpath_common+0x78/0x8c
Aug 18 18:35:00 laptop kernel: [ 117.717661] [<ffffffff81042e18>] ?
warn_slowpath_fmt+0x45/0x4a
Aug 18 18:35:00 laptop kernel: [ 117.717667] [<ffffffff812b7f7d>] ?
device_private_init+0x3a/0x40
Aug 18 18:35:00 laptop kernel: [ 117.717673] [<ffffffff8122dd01>] ?
backlight_device_register+0xfb/0x16e
Aug 18 18:35:00 laptop kernel: [ 117.717679] [<ffffffffa00d901a>] ?
dmi_check_cb+0x1a/0x1a [samsung_backlight]
Aug 18 18:35:00 laptop kernel: [ 117.717686] [<ffffffffa00d90e8>] ?
samsung_init+0xce/0xfe6 [samsung_backlight]
Aug 18 18:35:00 laptop kernel: [ 117.717692] [<ffffffffa00d901a>] ?
dmi_check_cb+0x1a/0x1a [samsung_backlight]
Aug 18 18:35:00 laptop kernel: [ 117.717697] [<ffffffff81002078>] ?
do_one_initcall+0x78/0x131
Aug 18 18:35:00 laptop kernel: [ 117.717703] [<ffffffff8106f180>] ?
sys_init_module+0xb7/0x207
Aug 18 18:35:00 laptop kernel: [ 117.717710] [<ffffffff81403d52>] ?
system_call_fastpath+0x16/0x1b
Aug 18 18:35:00 laptop kernel: [ 117.717713] ---[ end trace
c6966c0be6e01b72 ]---
Aug 18 18:35:00 laptop kernel: [ 117.717725] ------------[ cut here
]------------
Aug 18 18:35:00 laptop kernel: [ 117.717732] WARNING: at
fs/sysfs/dir.c:455 sysfs_add_one+0x8c/0x9e()
Aug 18 18:35:00 laptop kernel: [ 117.717735] Hardware name: X360
Aug 18 18:35:00 laptop kernel: [ 117.717737] sysfs: cannot create
duplicate filename '/class/backlight/samsung'
Aug 18 18:35:00 laptop kernel: [ 117.717740] Modules linked in:
samsung_backlight(+) snd_hda_codec_realtek iwlagn(+) mac80211 sg
snd_hda_intel(+) snd_hda_codec snd_hwdep tpm_tis tpm samsung_laptop
snd_pcm tpm_bios snd_timer psmouse iTCO_wdt cfg80211 snd
iTCO_vendor_support serio_raw soundcore pcspkr rfkill snd_page_alloc
sky2 battery thermal fan evdev container ac processor power_supply
Aug 18 18:35:00 laptop kernel: [ 117.717772] Pid: 401, comm: modprobe
Tainted: G W 3.0.0-gentoo #1
Aug 18 18:35:00 laptop kernel: [ 117.717774] Call Trace:
Aug 18 18:35:00 laptop kernel: [ 117.717779] [<ffffffff81042d65>] ?
warn_slowpath_common+0x78/0x8c
Aug 18 18:35:00 laptop kernel: [ 117.717784] [<ffffffff81042e18>] ?
warn_slowpath_fmt+0x45/0x4a
Aug 18 18:35:00 laptop kernel: [ 117.717789] [<ffffffff811399ec>] ?
sysfs_add_one+0x8c/0x9e
Aug 18 18:35:00 laptop kernel: [ 117.717793] [<ffffffff8113a6f5>] ?
sysfs_do_create_link+0x100/0x1a7
Aug 18 18:35:00 laptop kernel: [ 117.717799] [<ffffffff812b85c1>] ?
device_add+0x216/0x5d0
Aug 18 18:35:00 laptop kernel: [ 117.717805] [<ffffffff810372c4>] ?
complete_all+0x32/0x41
Aug 18 18:35:00 laptop kernel: [ 117.717810] [<ffffffff8122dd12>] ?
backlight_device_register+0x10c/0x16e
Aug 18 18:35:00 laptop kernel: [ 117.717816] [<ffffffffa00d901a>] ?
dmi_check_cb+0x1a/0x1a [samsung_backlight]
Aug 18 18:35:00 laptop kernel: [ 117.717822] [<ffffffffa00d90e8>] ?
samsung_init+0xce/0xfe6 [samsung_backlight]
Aug 18 18:35:00 laptop kernel: [ 117.717829] [<ffffffffa00d901a>] ?
dmi_check_cb+0x1a/0x1a [samsung_backlight]
Aug 18 18:35:00 laptop kernel: [ 117.717833] [<ffffffff81002078>] ?
do_one_initcall+0x78/0x131
Aug 18 18:35:00 laptop kernel: [ 117.717838] [<ffffffff8106f180>] ?
sys_init_module+0xb7/0x207
Aug 18 18:35:00 laptop kernel: [ 117.717843] [<ffffffff81403d52>] ?
system_call_fastpath+0x16/0x1b
Aug 18 18:35:00 laptop kernel: [ 117.717846] ---[ end trace
c6966c0be6e01b73 ]---
How can I disable native backlight support so that I can apply
samsung-backlight flawlessly?
Thank you,
Darkbasic
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to disable (not working) native backlight support?
2011-08-29 1:10 How to disable (not working) native backlight support? Niccolò Belli
@ 2011-08-29 18:13 ` Sérgio Basto
2011-08-29 19:01 ` Niccolò Belli
0 siblings, 1 reply; 6+ messages in thread
From: Sérgio Basto @ 2011-08-29 18:13 UTC (permalink / raw)
To: Niccolò Belli; +Cc: intel-gfx
On Mon, 2011-08-29 at 03:10 +0200, Niccolò Belli wrote:
> (Un?)fortunately since 2.6.39 they merged native backlight
> support,
Hi, on
http://lists.freedesktop.org/archives/intel-gfx/2011-August/011811.html
says that "i915 native backlight never got merged" and it can be applied
to Linux 3.0 and 3.1-rc1 , so what native backlight support are you
talking about ?
Regards,
--
Sérgio M. B.
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to disable (not working) native backlight support?
2011-08-29 18:13 ` Sérgio Basto
@ 2011-08-29 19:01 ` Niccolò Belli
2011-08-31 11:44 ` Niccolò Belli
0 siblings, 1 reply; 6+ messages in thread
From: Niccolò Belli @ 2011-08-29 19:01 UTC (permalink / raw)
To: intel-gfx
Il 29/08/2011 20:13, Sérgio Basto ha scritto:
> http://lists.freedesktop.org/archives/intel-gfx/2011-August/011811.html
> says that "i915 native backlight never got merged" and it can be applied
> to Linux 3.0 and 3.1-rc1 , so what native backlight support are you
> talking about ?
Uhm... I am talking about LVDS backlight. Before 2.6.39 there was no way
to adjust backlight without the samsung-backlight patch (except for an
hack), while with 2.6.39+ it does work out of the box -for example with
kde's powerdevil- but it sucks. I did think it was because "native
backlight support" got merged... Anyway, whatever backlight-related
thing got merged I want to disable it and use samsung-backlight instead.
Thanks,
Niccolò
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to disable (not working) native backlight support?
2011-08-29 19:01 ` Niccolò Belli
@ 2011-08-31 11:44 ` Niccolò Belli
2011-09-03 13:18 ` Niccolò Belli
0 siblings, 1 reply; 6+ messages in thread
From: Niccolò Belli @ 2011-08-31 11:44 UTC (permalink / raw)
To: intel-gfx; +Cc: xonatius
No one? My laptop is unusable, as soon as I change my display brightness
the cpu goes 100% :(
Is there no other option than switching back to 2.6.38?
Cheers,
Darkbasic
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to disable (not working) native backlight support?
2011-08-31 11:44 ` Niccolò Belli
@ 2011-09-03 13:18 ` Niccolò Belli
2011-09-03 14:50 ` Niccolò Belli
0 siblings, 1 reply; 6+ messages in thread
From: Niccolò Belli @ 2011-09-03 13:18 UTC (permalink / raw)
To: intel-gfx
As someone told it wasn't the native backlight support but
samsung_laptop instead.
Darkbasic
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to disable (not working) native backlight support?
2011-09-03 13:18 ` Niccolò Belli
@ 2011-09-03 14:50 ` Niccolò Belli
0 siblings, 0 replies; 6+ messages in thread
From: Niccolò Belli @ 2011-09-03 14:50 UTC (permalink / raw)
To: intel-gfx
Il 03/09/2011 15:18, Niccolò Belli ha scritto:
> As someone told it wasn't the native backlight support but
> samsung_laptop instead.
And maybe there is even a fix:
http://www.mail-archive.com/platform-driver-x86@vger.kernel.org/msg02365.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-09-03 14:49 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-29 1:10 How to disable (not working) native backlight support? Niccolò Belli
2011-08-29 18:13 ` Sérgio Basto
2011-08-29 19:01 ` Niccolò Belli
2011-08-31 11:44 ` Niccolò Belli
2011-09-03 13:18 ` Niccolò Belli
2011-09-03 14:50 ` Niccolò Belli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox