lkml.org 
[lkml]   [2007]   [Dec]   [22]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 22 Dec 2007 00:21:57 -0800 (PST)
FromAndrei Gaponenko <>
SubjectRe: video breaks asus-laptop display switching
On Sat, 22 Dec 2007, Zhang Rui wrote:

> On Sat, 2007-12-22 at 06:36 +0800, Andrei Gaponenko wrote:
>>
>> With 2.6.23 or newer (including 2.6.24-rc6) kernels, writing to the
>> /sys/devices/platform/asus-laptop/display file does not do anything:
>> ...
>>
> hmm, please "echo 1 > /proc/acpi/video/xxx/DOS" in 2.6.23 and see
> if there is any difference.

ls /proc/acpi/video/
shows two identically named directories "VGA" - is this normal??

Anyway,

# cat VGA/DOS
DOS setting: <1>

# echo 3 > VGA/DOS
# cat VGA/DOS
DOS setting: <3>
but no image on external.  Now

# rmmod video
# echo 3 > /sys/devices/platform/asus-laptop/display
Got image on external

# modprobe video
# cat VGA/DOS
DOS setting: <0>

I can write 1 or 3 to DOS and read it back, but it has no effect (image on 
external turned on while video module was removed does not go away).

Please Cc: me on replies - forgot to mention this in the initial posting.

Thanks!
Andrei


\
 
 \ /
  Last update: 2007-12-22 09:25    [from the cache]
©2003-2008