Vincent Batts | 2 Mar 2011 05:18
Favicon
Gravatar

hello world, brightness fix?

this is a simple introduction, like a first meeting at a support group.
my name is Vincent, and i'm a thinkpad user...

But serious, i've been attempting to investigate the brightness issues
on the W510, when using the nvidia proprietary driver.
There had been a patch around 2.6.35.7, that did work successfully,
but no longer worked of 2.6.35.10 and subsequent kernels. I have
attached a copy of that patch.

I am happy provide information, or go on a rabbit hunt if someone can
point me in a direction of where to gather debugging information.

Take care,
vb
Attachment (kernel-thinkpad_acpi-brightness.patch): application/octet-stream, 2709 bytes
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@...
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Picon
Favicon

Re: hello world, brightness fix?

On Tue, 01 Mar 2011, Vincent Batts wrote:
> But serious, i've been attempting to investigate the brightness issues
> on the W510, when using the nvidia proprietary driver.
> There had been a patch around 2.6.35.7, that did work successfully,
> but no longer worked of 2.6.35.10 and subsequent kernels. I have
> attached a copy of that patch.
> 
> I am happy provide information, or go on a rabbit hunt if someone can
> point me in a direction of where to gather debugging information.

We can't really help you in this forum, since that thinkpad does not use
thinkpad-acpi to handle brightness changes.

Still, post the *list of files* modified by the patch that used to work.
"lsdiff" will give you that.  That way we can at least tell you what was
being patched, and therefore we might be able to tell you where to look for
help.

--

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
(Continue reading)

Jake Drexel | 15 Mar 2011 15:14

x100e brightness level count wrong

Hi,

I'm very happy with my x100e though there is a bug with the number of
brightness levels detected.
8 levels are reported but it should be 16.
I'm able to use either 0-7 or 8-15 depending on the last setting in win 7.

Part of the dmesg output:
thinkpad_acpi: ThinkPad ACPI Extras v0.24
thinkpad_acpi: http://ibm-acpi.sf.net/
thinkpad_acpi: ThinkPad BIOS 6XET47WW (1.30 ), EC 6XHT43WW-1.183000
thinkpad_acpi: Lenovo ThinkPad X100e, model 35085GG
thinkpad_acpi: tpacpi_acpi_handle_locate: Found ACPI handle for video
thinkpad_acpi: detected a 8-level brightness capable ThinkPad

Would someone be so kind and look into this? I'd be happy to provide
more debug output.

Jake

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
Vesa Vilhonen | 15 Mar 2011 08:58
Gravatar

THERMAL ALERT: unknown thermal alarm received

Hi,

I got on of these in my dmesg output. It instructed me to notify you by 
email. Here's some additional information:

[14652.682701] thinkpad_acpi: THERMAL ALERT: unknown thermal alarm received
[14652.684561] thinkpad_acpi: temperatures (Celsius): 44 0 0 0 0 0 0 0
[14652.684573] thinkpad_acpi: unhandled HKEY event 0x6000
[14652.684576] thinkpad_acpi: please report the conditions when this 
event happened to ibm-acpi-devel@...

lshw output is attached.

- Vesa Vilhonen
hiski
    description: Notebook
    product: 25412TG
    vendor: LENOVO
    version: ThinkPad W701
    serial: R98XK23
    width: 64 bits
    capabilities: smbios-2.6 dmi-2.6 vsyscall64 vsyscall32
    configuration: administrator_password=disabled boot=normal chassis=notebook
frontpanel_password=unknown keyboard_password=disabled power-on_password=disabled uuid=0DD0DCE0-EE62-11DF-A589-C8F5098136A4
  *-core
       description: Motherboard
       product: 25412TG
       vendor: LENOVO
(Continue reading)

Henrique de Moraes Holschuh | 16 Mar 2011 19:45
Picon
Favicon

Re: THERMAL ALERT: unknown thermal alarm received

On Tue, 15 Mar 2011, Vesa Vilhonen wrote:
> I got on of these in my dmesg output. It instructed me to notify you
> by email. Here's some additional information:
> 
> [14652.682701] thinkpad_acpi: THERMAL ALERT: unknown thermal alarm received
> [14652.684561] thinkpad_acpi: temperatures (Celsius): 44 0 0 0 0 0 0 0
> [14652.684573] thinkpad_acpi: unhandled HKEY event 0x6000
> [14652.684576] thinkpad_acpi: please report the conditions when this
> event happened to ibm-acpi-devel@...

Thank you.  You can safely ignore all unhandled HKEY event 0x6000 alerts, it
is just telling you that NumLock was pressed(!).

--

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
Dominik Kopp | 17 Mar 2011 22:38
Picon

Re: x100e brightness level count wrong

Hi,
I have also a x100e and I can use all 16 brightness levels in linux as well
as in Win 7. (independently what the latest level in Win7 was)

=> For me it's just a bug in the print out of dmesg. It should be 16 
instead of 8.

Dominik

Am 15.03.2011 15:14, schrieb Jake Drexel:
> Hi,
>
> I'm very happy with my x100e though there is a bug with the number of
> brightness levels detected.
> 8 levels are reported but it should be 16.
> I'm able to use either 0-7 or 8-15 depending on the last setting in win 7.
>
> Part of the dmesg output:
> thinkpad_acpi: ThinkPad ACPI Extras v0.24
> thinkpad_acpi: http://ibm-acpi.sf.net/
> thinkpad_acpi: ThinkPad BIOS 6XET47WW (1.30 ), EC 6XHT43WW-1.183000
> thinkpad_acpi: Lenovo ThinkPad X100e, model 35085GG
> thinkpad_acpi: tpacpi_acpi_handle_locate: Found ACPI handle for video
> thinkpad_acpi: detected a 8-level brightness capable ThinkPad
>
> Would someone be so kind and look into this? I'd be happy to provide
> more debug output.
>
> Jake

(Continue reading)

Peter G. (nephros | 18 Mar 2011 08:13

x100e HDAPS driver

Hello,

while I have the attention of some x100e users:

Anyone here got the hdaps function to work on x100e?

I posted on ltp some tme ago but received no replies:
http://comments.gmane.org/gmane.linux.hardware.thinkpad/40857

Thanks,
   Peter G.

--

-- 
"I do not think the way you think I think."
     -- Kai, last of the Brunnen G

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
Peter G. (nephros | 18 Mar 2011 08:08

Re: x100e brightness level count wrong

2011-03-17 'Dominik Kopp' wrote:

> Hi,
> I have also a x100e and I can use all 16 brightness levels in linux as well
> as in Win 7. (independently what the latest level in Win7 was)
>
> => For me it's just a bug in the print out of dmesg. It should be 16
> instead of 8.

Confirmed, working here as well.

I don't use Windows though, so I can't say if the Windows driver manages 
to sometimes mess something up here.

cd /sys/devices/virtual/backlight/acpi_video0
for f in * ; do echo -n "$f: "; cat $f; done 2>/dev/null
actual_brightness: 10
bl_power: 0
brightness: 10
device: max_brightness: 15

-----
kernel: 2.6.36-tuxonice-r5 (from Gentoo) with tp_smapi 0.40 patch

-----
dmesg | egrep -C2  'brightne'
  ACPI: (supports S0 S3 S4 S5)
  ACPI: Using IOAPIC for interrupt routing
  [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
  ACPI: EC: GPE = 0x3, I/O: command/status = 0x66, data = 0x62
(Continue reading)

Jake Drexel | 19 Mar 2011 01:04

Re: x100e brightness level count wrong

On 3/18/11, Peter G. (nephros) <thinkpad@...> wrote:
> cd /sys/devices/virtual/backlight/acpi_video0
> for f in * ; do echo -n "$f: "; cat $f; done 2>/dev/null
> actual_brightness: 10
> bl_power: 0
> brightness: 10
> device: max_brightness: 15

i only got a backlight at /sys/devices/virtual/backlight/thinkpad_screen/
is this wrong?
max_brightness is 7 there.

Regrads

Jake

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
Henrique de Moraes Holschuh | 22 Mar 2011 20:34
Picon
Favicon

Re: x100e brightness level count wrong

On Sat, 19 Mar 2011, Jake Drexel wrote:
> On 3/18/11, Peter G. (nephros) <thinkpad@...> wrote:
> > cd /sys/devices/virtual/backlight/acpi_video0
> > for f in * ; do echo -n "$f: "; cat $f; done 2>/dev/null
> > actual_brightness: 10
> > bl_power: 0
> > brightness: 10
> > device: max_brightness: 15
> 
> i only got a backlight at /sys/devices/virtual/backlight/thinkpad_screen/
> is this wrong?

That depends.  Why are you using vendor backlight support instead of ACPI
backlight support?

If it is not being done on purpose, there is something fishy going on, or
you have disabled acpi "video" support.

As always, please check if you don't have to do a firmware (BIOS/EC) update
when any such weirdness happens.

--

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
(Continue reading)


Gmane