public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Proc Lid
@ 2008-02-17  5:04 N J
  2008-02-17 15:56 ` Sergio Monteiro Basto
  0 siblings, 1 reply; 2+ messages in thread
From: N J @ 2008-02-17  5:04 UTC (permalink / raw)
  To: linux-acpi

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Proc Lid
  2008-02-17  5:04 Proc Lid N J
@ 2008-02-17 15:56 ` Sergio Monteiro Basto
  0 siblings, 0 replies; 2+ messages in thread
From: Sergio Monteiro Basto @ 2008-02-17 15:56 UTC (permalink / raw)
  To: N J; +Cc: linux-acpi

[-- Attachment #1: Type: text/plain, Size: 1175 bytes --]

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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Sérgio M. B.

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2192 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-17 15:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-17  5:04 Proc Lid N J
2008-02-17 15:56 ` Sergio Monteiro Basto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox