Messages in this thread | | | From | Ismail Donmez <> | Subject | Re: [PATCH 2.6.18-mm2] acpi: add backlight support to the sony_acpi driver | Date | Wed, 11 Oct 2006 11:04:48 +0300 |
| |
11 Eki 2006 Çar 10:04 tarihinde, Matthew Garrett şunları yazmıştı: > On Wed, Oct 11, 2006 at 08:59:04AM +0200, Arjan van de Ven wrote: > > it'd also be nice if the linux-ready firmware developer kit had a test > > for this, so that we can offer 1) a way to test this to the bios guys > > and 2) encourage adding/note the lack easily > > Sure. Reading /proc/acpi/video/*/*/info should tell you whether a device > is an LCD or not.
On my Sony Vaio with latest linux-2.6 git kernel it says its a CRT :
[~]> cat /proc/acpi/video/*/*/info device_id: 0x0100 type: CRT known by bios: no device_id: 0x0320 type: UNKNOWN known by bios: no device_id: 0x0410 type: UNKNOWN known by bios: no device_id: 0x0240 type: UNKNOWN known by bios: no device_id: 0x0100 type: CRT known by bios: no device_id: 0x0111 type: UNKNOWN known by bios: no device_id: 0x0118 type: UNKNOWN known by bios: no device_id: 0x0200 type: TVOUT known by bios: no
So I don't think its reliable.
Regards, ismail - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |