linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Controlling backlight on thinkpad x60
@ 2008-09-08 15:10 Pavel Machek
  2008-09-08 15:54 ` Matthew Garrett
  0 siblings, 1 reply; 7+ messages in thread
From: Pavel Machek @ 2008-09-08 15:10 UTC (permalink / raw)
  To: kernel list; +Cc: ACPI mailing list

Hi!

Some time ago, FN-Home/End just adjusted the brightness, and
/proc/acpi/ibm contained backlight control.

In 2.6.27-rc5, /proc/acpi/ibm does not contain backlight control and
/sys/class/backlight is empty...

(I do have CONFIG_ACPI_VIDEO disabled, it killed my machine last time
I enabled it, is it mandatory now?)
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Controlling backlight on thinkpad x60
  2008-09-08 15:10 Controlling backlight on thinkpad x60 Pavel Machek
@ 2008-09-08 15:54 ` Matthew Garrett
  2008-09-09 15:29   ` [regression] " Pavel Machek
  0 siblings, 1 reply; 7+ messages in thread
From: Matthew Garrett @ 2008-09-08 15:54 UTC (permalink / raw)
  To: Pavel Machek; +Cc: kernel list, ACPI mailing list

On Mon, Sep 08, 2008 at 05:10:58PM +0200, Pavel Machek wrote:

> (I do have CONFIG_ACPI_VIDEO disabled, it killed my machine last time
> I enabled it, is it mandatory now?)

On Thinkpads with ACPI video support, yes.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [regression] Re: Controlling backlight on thinkpad x60
  2008-09-08 15:54 ` Matthew Garrett
@ 2008-09-09 15:29   ` Pavel Machek
  2008-09-09 15:36     ` Pavel Machek
  2008-09-09 16:42     ` Matthew Garrett
  0 siblings, 2 replies; 7+ messages in thread
From: Pavel Machek @ 2008-09-09 15:29 UTC (permalink / raw)
  To: Matthew Garrett; +Cc: kernel list, ACPI mailing list, Rafael J. Wysocki

On Mon 2008-09-08 16:54:58, Matthew Garrett wrote:
> On Mon, Sep 08, 2008 at 05:10:58PM +0200, Pavel Machek wrote:
> 
> > (I do have CONFIG_ACPI_VIDEO disabled, it killed my machine last time
> > I enabled it, is it mandatory now?)
> 
> On Thinkpads with ACPI video support, yes.

That's bad then, because ACPI video support does not work here. I can
boot, and even Fn-home/end works, but it breaks with X.

In old versions, it resulted on black screen after LID close in X.

In 2.6.27-rc5, screen goes black as soon as X are started.

(In old versions, I could use ibm-acpi, and fn-home/end worked even
without CONFIG_ACPI_VIDEO...)

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [regression] Re: Controlling backlight on thinkpad x60
  2008-09-09 15:29   ` [regression] " Pavel Machek
@ 2008-09-09 15:36     ` Pavel Machek
  2008-09-09 16:42     ` Matthew Garrett
  1 sibling, 0 replies; 7+ messages in thread
From: Pavel Machek @ 2008-09-09 15:36 UTC (permalink / raw)
  To: Matthew Garrett; +Cc: kernel list, ACPI mailing list, Rafael J. Wysocki

On Tue 2008-09-09 17:28:59, Pavel Machek wrote:
> On Mon 2008-09-08 16:54:58, Matthew Garrett wrote:
> > On Mon, Sep 08, 2008 at 05:10:58PM +0200, Pavel Machek wrote:
> > 
> > > (I do have CONFIG_ACPI_VIDEO disabled, it killed my machine last time
> > > I enabled it, is it mandatory now?)
> > 
> > On Thinkpads with ACPI video support, yes.
> 
> That's bad then, because ACPI video support does not work here. I can
> boot, and even Fn-home/end works, but it breaks with X.
> 
> In old versions, it resulted on black screen after LID close in X.
> 
> In 2.6.27-rc5, screen goes black as soon as X are started.

Hmm, I have updated my X server, and it now works with
ACPI_VIDEO... which means that this is probably not affecting huge
number of people.

Hmm... something is still funny. I have 

root@amd:/sys/class/backlight/acpi_video0# echo 1 > brightness
root@amd:/sys/class/backlight/acpi_video0# echo 0 > brightness
root@amd:/sys/class/backlight/acpi_video0# cd ../acpi_video1/
root@amd:/sys/class/backlight/acpi_video1# echo 0 > brightness
root@amd:/sys/class/backlight/acpi_video1# echo 7 > brightness
root@amd:/sys/class/backlight/acpi_video1# echo 0 > brightness


...and both acpi_video0 *and* acpi_video1 works... strange.
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [regression] Re: Controlling backlight on thinkpad x60
  2008-09-09 15:29   ` [regression] " Pavel Machek
  2008-09-09 15:36     ` Pavel Machek
@ 2008-09-09 16:42     ` Matthew Garrett
  2008-09-09 16:55       ` Pavel Machek
  1 sibling, 1 reply; 7+ messages in thread
From: Matthew Garrett @ 2008-09-09 16:42 UTC (permalink / raw)
  To: Pavel Machek; +Cc: kernel list, ACPI mailing list, Rafael J. Wysocki

On Tue, Sep 09, 2008 at 05:29:00PM +0200, Pavel Machek wrote:
> That's bad then, because ACPI video support does not work here. I can
> boot, and even Fn-home/end works, but it breaks with X.
> 
> In old versions, it resulted on black screen after LID close in X.

Yeah, X did retarded things in response to video events. That's been 
fixed for ages.

> In 2.6.27-rc5, screen goes black as soon as X are started.

That sounds bizarre, and I can't reproduce it here.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [regression] Re: Controlling backlight on thinkpad x60
  2008-09-09 16:42     ` Matthew Garrett
@ 2008-09-09 16:55       ` Pavel Machek
  2008-09-09 16:58         ` Matthew Garrett
  0 siblings, 1 reply; 7+ messages in thread
From: Pavel Machek @ 2008-09-09 16:55 UTC (permalink / raw)
  To: Matthew Garrett; +Cc: kernel list, ACPI mailing list, Rafael J. Wysocki

On Tue 2008-09-09 17:42:54, Matthew Garrett wrote:
> On Tue, Sep 09, 2008 at 05:29:00PM +0200, Pavel Machek wrote:
> > That's bad then, because ACPI video support does not work here. I can
> > boot, and even Fn-home/end works, but it breaks with X.
> > 
> > In old versions, it resulted on black screen after LID close in X.
> 
> Yeah, X did retarded things in response to video events. That's been 
> fixed for ages.
> 
> > In 2.6.27-rc5, screen goes black as soon as X are started.
> 
> That sounds bizarre, and I can't reproduce it here.

It was same old X. New X fix that. But I still have two backlight devices...

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [regression] Re: Controlling backlight on thinkpad x60
  2008-09-09 16:55       ` Pavel Machek
@ 2008-09-09 16:58         ` Matthew Garrett
  0 siblings, 0 replies; 7+ messages in thread
From: Matthew Garrett @ 2008-09-09 16:58 UTC (permalink / raw)
  To: Pavel Machek; +Cc: kernel list, ACPI mailing list, Rafael J. Wysocki

On Tue, Sep 09, 2008 at 06:55:58PM +0200, Pavel Machek wrote:

> It was same old X. New X fix that. But I still have two backlight devices...

Should be fixed in .28. Sorry about that, confusion over which DRM 
branches were getting merged meant it missed .27.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-09-09 16:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-08 15:10 Controlling backlight on thinkpad x60 Pavel Machek
2008-09-08 15:54 ` Matthew Garrett
2008-09-09 15:29   ` [regression] " Pavel Machek
2008-09-09 15:36     ` Pavel Machek
2008-09-09 16:42     ` Matthew Garrett
2008-09-09 16:55       ` Pavel Machek
2008-09-09 16:58         ` Matthew Garrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).