Re: Proc Lid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2008-02-17 at 15:04 +1000, N J wrote:
> Quick question. My laptop lid is always detected as closed. How do I force
> the state in /proc/acpi/buttons/lid/LID/state (might not be exact path
> because i had to disable acpi on kernel boot to get xorg working) to open?

hi , I am looking for someone that had same troubles than me,
 http://bugzilla.kernel.org/show_bug.cgi?id=9642

could you try the proposed patch there and report if you had success or
not.

--- a/drivers/acpi/video.c	2008-02-08 00:08:36.000000000 +0000
+++ b/drivers/acpi/video.c	2008-02-07 22:32:37.000000000 +0000
@@ -1764,7 +1765,7 @@ static int acpi_video_bus_put_devices(st
 
 static int acpi_video_bus_start_devices(struct acpi_video_bus *video)
 {
-	return acpi_video_bus_DOS(video, 0, 0);
+	return acpi_video_bus_DOS(video, 1, 0);
 }
 
 static int acpi_video_bus_stop_devices(struct acpi_video_bus *video)


> 
> Thanks in advance,
> 
> NJ
> -
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Sérgio M. B.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux