All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tino Keitel <tino.keitel@gmx.de>
To: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org
Subject: 2.6.28 regression: xbacklight broken on ThinkPad X61s
Date: Mon, 5 Jan 2009 09:39:11 +0100	[thread overview]
Message-ID: <20090105083911.GA3694@x61> (raw)

[-- Attachment #1: Type: text/plain, Size: 466 bytes --]

Hi,

xbacklight is broken as of 2.6.28 on my ThinkPad X61s. It works with
2.6.27(.8) The difference I can see between both kernels is that 2.6.27
has 2 backlight ACPI devices, whereas 2.6.28 only has one device.  With
2.6.28, I can use xbacklight and see the values change in xbacklight
-get, but the actual display brightness doesn't change.

Attached are 2 files with diagnostic output from 2.6.27 and 2.6.28. Any
hints how to solve or debug this?

Regards,
Tino


[-- Attachment #2: backlight_2.6.27 --]
[-- Type: text/plain, Size: 2426 bytes --]

dmesg:

acpi device:03: registered as cooling_device2
input: Video Bus as /class/input/input8
ACPI: Video Device [VID] (multi-head: yes  rom: no  post: no)
acpi device:08: registered as cooling_device3
input: Video Bus as /class/input/input9
ACPI: Video Device [VID1] (multi-head: yes  rom: no  post: no)

xrandr --prop:

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1024 x 1024
VGA disconnected (normal left inverted right x axis y axis)
LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis) 246mm x 185mm
	EDID_DATA:
		00ffffffffffff0030ae004000000000
		000f010380191278eaed7591574f8b26
		21505421080001010101010101010101
		01010101010128150040410026301888
		3600f6b900000018ed10004041002630
		18883600f6b9000000180000000f0061
		43326143280f01004ca3584a000000fe
		004c544e313231584a2d4c30370a0000
	PANEL_FITTING: full
		supported: center       full_aspect  full        
	BACKLIGHT_CONTROL: kernel
		supported: native       legacy       combination  kernel      
	BACKLIGHT: 10 (0x0000000a) range:  (0,15)
   1024x768       50.0*+   60.0     40.0  
   800x600        60.3  
   640x480        60.0     59.9

Xorg log:

(II) intel(0): found backlight control method /sys/class/backlight/acpi_video1

sysfs:

/sys/class/backlight/acpi_video0/subsystem/acpi_video1/bl_power:0
/sys/class/backlight/acpi_video0/subsystem/acpi_video1/brightness:10
/sys/class/backlight/acpi_video0/subsystem/acpi_video1/actual_brightness:10
/sys/class/backlight/acpi_video0/subsystem/acpi_video1/max_brightness:15
/sys/class/backlight/acpi_video0/subsystem/acpi_video1/power/wakeup:
/sys/class/backlight/acpi_video0/bl_power:0
/sys/class/backlight/acpi_video0/brightness:9
/sys/class/backlight/acpi_video0/actual_brightness:12
/sys/class/backlight/acpi_video0/max_brightness:15
/sys/class/backlight/acpi_video0/power/wakeup:
/sys/class/backlight/acpi_video1/subsystem/acpi_video0/bl_power:0
/sys/class/backlight/acpi_video1/subsystem/acpi_video0/brightness:9
/sys/class/backlight/acpi_video1/subsystem/acpi_video0/actual_brightness:12
/sys/class/backlight/acpi_video1/subsystem/acpi_video0/max_brightness:15
/sys/class/backlight/acpi_video1/subsystem/acpi_video0/power/wakeup:
/sys/class/backlight/acpi_video1/bl_power:0
/sys/class/backlight/acpi_video1/brightness:10
/sys/class/backlight/acpi_video1/actual_brightness:10
/sys/class/backlight/acpi_video1/max_brightness:15
/sys/class/backlight/acpi_video1/power/wakeup:

[-- Attachment #3: backlight_2.6.28 --]
[-- Type: text/plain, Size: 1678 bytes --]

dmesg:

acpi device:03: registered as cooling_device2
input: Video Bus as /class/input/input7
ACPI: Video Device [VID] (multi-head: yes  rom: no  post: no)

xrandr --prop:

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1024 x 1024
VGA disconnected (normal left inverted right x axis y axis)
LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis) 246mm x 185mm
	EDID_DATA:
		00ffffffffffff0030ae004000000000
		000f010380191278eaed7591574f8b26
		21505421080001010101010101010101
		01010101010128150040410026301888
		3600f6b900000018ed10004041002630
		18883600f6b9000000180000000f0061
		43326143280f01004ca3584a000000fe
		004c544e313231584a2d4c30370a0000
	PANEL_FITTING: full
		supported: center       full_aspect  full        
	BACKLIGHT_CONTROL: kernel
		supported: native       legacy       combination  kernel      
	BACKLIGHT: 5 (0x00000005) range:  (0,15)
   1024x768       50.0*+   60.0     40.0  
   800x600        60.3  
   640x480        60.0     59.9

Xorg log:

(II) intel(0): found backlight control method /sys/class/backlight/acpi_video0

sysfs:

/sys/class/backlight/acpi_video0/actual_brightness:5
/sys/class/backlight/acpi_video0/bl_power:0
/sys/class/backlight/acpi_video0/brightness:5
/sys/class/backlight/acpi_video0/max_brightness:15
/sys/class/backlight/acpi_video0/power/wakeup:
/sys/class/backlight/acpi_video0/subsystem/acpi_video0/bl_power:0
/sys/class/backlight/acpi_video0/subsystem/acpi_video0/brightness:5
/sys/class/backlight/acpi_video0/subsystem/acpi_video0/actual_brightness:5
/sys/class/backlight/acpi_video0/subsystem/acpi_video0/max_brightness:15
/sys/class/backlight/acpi_video0/subsystem/acpi_video0/power/wakeup:

             reply	other threads:[~2009-01-05  8:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-05  8:39 Tino Keitel [this message]
2009-01-05  9:06 ` 2.6.28 regression: xbacklight broken on ThinkPad X61s Zhang Rui
2009-01-05 11:05   ` Matthew Garrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090105083911.GA3694@x61 \
    --to=tino.keitel@gmx.de \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.