public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Sergio Monteiro Basto <sergio@sergiomb.no-ip.org>
To: N J <njspam@gmail.com>
Cc: linux-acpi@vger.kernel.org
Subject: Re: Proc Lid
Date: Sun, 17 Feb 2008 15:56:03 +0000	[thread overview]
Message-ID: <1203263763.30364.16.camel@localhost.localdomain> (raw)
In-Reply-To: <fa6232b60802162104s7025d47ajbb857cfd75d0bd9d@mail.gmail.com>

[-- 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 --]

      reply	other threads:[~2008-02-17 15:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-17  5:04 Proc Lid N J
2008-02-17 15:56 ` Sergio Monteiro Basto [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1203263763.30364.16.camel@localhost.localdomain \
    --to=sergio@sergiomb.no-ip.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=njspam@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox