Re: [ibm-acpi-devel] X60s native ACPI brightness interface (2.6.23.1 + thinkpad-acpi-0.18)

2007-10-15 Thread Henrique de Moraes Holschuh
On Mon, 15 Oct 2007, Ondrej Balaz wrote: > I'm testing 2.6.23.1 kernel with the latest thinkpad-acpi on my X60s. > During boot I can see this line: > > thinkpad_acpi: standard ACPI backlight interface available, not loading native > one... At which point it means all brightness control is being d

Re: [ibm-acpi-devel] [PATCH] Untested proposal patch: Store video capabilities of BIOS globally at ACPI parse time and export it.

2007-10-15 Thread Matthew Garrett
On Mon, Oct 15, 2007 at 06:45:53PM +0200, Thomas Renninger wrote: > + if (ACPI_SUCCESS(acpi_get_handle(handle, "_BCM", &h_dummy1)) && > + ACPI_SUCCESS(acpi_get_handle(handle, "_BCL", &h_dummy2)) && > + ACPI_SUCCESS(acpi_get_handle(handle, "_BQC", &h_dummy3))) > + acp

Re: [ibm-acpi-devel] [PATCH 1/2] Export a func to find the corresponding PCI bus:seg.func of an ACPI device

2007-10-15 Thread Matthew Garrett
Why not just call acpi_get_pyhsical_device() on the appropriate handle and look at the struct device you get back? Remember to put_device() it once you're done. -- Matthew Garrett | [EMAIL PROTECTED] - This SF.net email is

[ibm-acpi-devel] [PATCH] Untested proposal patch: Store video capabilities of BIOS globally at ACPI parse time and export it.

2007-10-15 Thread Thomas Renninger
Store video capabilities of BIOS globally at ACPI parse time and export it. This is for vendor specific vs video driver so that they can distinguish who should take care of video/brightness control. The bits are chosen in a way that video can handle the ability gracefully if all the checked functi

[ibm-acpi-devel] [PATCH 2/2] Recent Lenovo ThinkPads define a dummy grahpics device, find it and ignore it

2007-10-15 Thread Thomas Renninger
Recent Lenovo ThinkPads define a dummy grahpics device, find it and ignore it Those laptops define one grahpics device on a PCI Express (e.g. Internal Intel 965 card) and one on a separate PCI bus (via a PCI root bridge, e.g. in AGP case for an Nvidia graphics card). PCI devices need to be enumera

[ibm-acpi-devel] [PATCH 1/2] Export a func to find the corresponding PCI bus:seg.func of an ACPI device

2007-10-15 Thread Thomas Renninger
Hi, Li: Could you double check and comment on that one please. It works fine here on a Lenovo ThinkPad... These two should avoid the registration of a dummy ACPI device for graphics card on recent Lenovo ThinkPads. Christian: This is why you saw two devices in /proc/acpi/video It would be great

[ibm-acpi-devel] X60s native ACPI brightness interface (2.6.23.1 + thinkpad-acpi-0.18)

2007-10-15 Thread Ondrej Balaz
Hello, I'm testing 2.6.23.1 kernel with the latest thinkpad-acpi on my X60s. During boot I can see this line: thinkpad_acpi: standard ACPI backlight interface available, not loading native one... and brightness control partially works at-least in console mode (without X11) with video ACPI module