Skip to contentSkip to conversation

Proc Lid

DISCUSSION N J 2 participants 2 messages Feb 17, 2008 ACPI

lore
Share & tools
lore

N J

author
#0 lore raw

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?

Thanks in advance,

NJ

#1 lore raw
Quoted 3 lines · N J

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.

drivers/acpi/video.c +1 -1
@@ -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)
Quoted 8 lines

Thanks in advance,

NJ
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 1 line
Sérgio M. B.