From bounce-debian-bugs-dist==chris-lamb.co.uk@lists.debian.org Sun Apr 20 16:00:47 2008
Received: from liszt.debian.org ([82.195.75.100])
	by chris-lamb.co.uk with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.63)
	(envelope-from <bounce-debian-bugs-dist==chris-lamb.co.uk@lists.debian.org>)
	id 1Jnb21-0007bm-Iz
	for bot.address@chris-lamb.co.uk; Sun, 20 Apr 2008 16:00:47 +0100
Received: from localhost (localhost [127.0.0.1])
	by liszt.debian.org (Postfix) with QMQP
	id 852AE13A4FB3; Sun, 20 Apr 2008 15:00:40 +0000 (UTC)
Old-Return-Path: <debbugs@rietz.debian.org>
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on liszt.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.9 required=4.0 tests=BAYES_00,FOURLA,
	RCVD_IN_DNSWL_LOW autolearn=no version=3.2.3
X-Original-To: debian-bugs-dist@lists.debian.org
Delivered-To: lists-debian-bugs-dist@liszt.debian.org
Received: from rietz.debian.org (rietz.debian.org [140.211.166.43])
	by liszt.debian.org (Postfix) with ESMTP id A3F7013A48FB;
	Sun, 20 Apr 2008 15:00:20 +0000 (UTC)
Received: from debbugs by rietz.debian.org with local (Exim 4.63)
	(envelope-from <debbugs@rietz.debian.org>)
	id 1Jnb1Q-000371-FS; Sun, 20 Apr 2008 15:00:04 +0000
X-Loop: owner@bugs.debian.org
Subject: Bug#476984: acpi-support: sleepbtn.sh does not work
Reply-To: Wenjia Bai <baiwenjia@gmail.com>, 476984@bugs.debian.org
Resent-From: Wenjia Bai <baiwenjia@gmail.com>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Bart Samwel <bart@samwel.tk>
Resent-Date: Sun, 20 Apr 2008 15:00:01 +0000
Resent-Message-ID: <handler.476984.B.12087034406685@bugs.debian.org>
X-Debian-PR-Message: report 476984
X-Debian-PR-Package: acpi-support
X-Debian-PR-Keywords: 
X-Debian-PR-Source: acpi-support
Received: via spool by submit@bugs.debian.org id=B.12087034406685
          (code B ref -1); Sun, 20 Apr 2008 15:00:01 +0000
Received: (at submit) by bugs.debian.org; 20 Apr 2008 14:57:20 +0000
X-Amavis-Spam-Status: No, score=-9.9 required=4.0 tests=BAYES_00,FOURLA,HAS_PACKAGE 
	autolearn=no version=3.1.4-bugs.debian.org_2005_01_02
Received: from fg-out-1718.google.com ([72.14.220.157])
	by rietz.debian.org with esmtp (Exim 4.63)
	(envelope-from <baiwenjia@gmail.com>)
	id 1Jnayl-0001ja-Vx
	for submit@bugs.debian.org; Sun, 20 Apr 2008 14:57:20 +0000
Received: by fg-out-1718.google.com with SMTP id 22so1306322fge.23
        for <submit@bugs.debian.org>; Sun, 20 Apr 2008 07:57:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding;
        bh=Zfow4JScv3krdijIAM8hTIgfp8WPwHEn8Fm1QvAViF4=;
        b=CUIcB5BdlqCwr0mSLyxKRhRFXEnHEcUuEM2c2q8ifKAnGmSNDf0AHsOd9Gc+kqSoVXHxZeDv8T6F6qwM71/NO/hjmCQF7ddZF55FvO6NdktZVkqqN7IbQkKokIchbRGqB0QWdAX54lPaz4OLotTZX5A9MWQ8PibwQfipbp3u4RA=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding;
        b=vwCLerwf9A+Yszts+qqflyfyRe9OgqM/Z0k8yE45TWnoHMvxgb6HIbib/sWQg7yU5J97JbCRCRZj7Nk44f6dIWMbiveBpmHIZ2HrcEdCgpD5+IIWHK88pXATIdxg/kZBt9sRyrtECjg6i2ABVNPHb+sN/nk7npN4ohMxCuWcxl8=
Received: by 10.86.28.5 with SMTP id b5mr10670713fgb.76.1208703438300;
        Sun, 20 Apr 2008 07:57:18 -0700 (PDT)
Received: from ?163.1.180.226? ( [163.1.180.226])
        by mx.google.com with ESMTPS id d6sm2031065fga.9.2008.04.20.07.57.17
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Sun, 20 Apr 2008 07:57:17 -0700 (PDT)
Message-ID: <480B59CC.1040108@gmail.com>
Date: Sun, 20 Apr 2008 15:57:16 +0100
From: Wenjia Bai <baiwenjia@gmail.com>
User-Agent: Mozilla-Thunderbird 2.0.0.12 (X11/20080406)
MIME-Version: 1.0
To: submit@bugs.debian.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Delivered-To: submit@bugs.debian.org
Resent-Date: Sun, 20 Apr 2008 15:00:04 +0000
X-Debian-Message: from BTS
X-Rc-Virus: 2007-09-13_01
X-Rc-Spam: 2007-10-04_01
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/343544
X-Loop: debian-bugs-dist@lists.debian.org
List-Id: <debian-bugs-dist.lists.debian.org>
List-Post: <mailto:debian-bugs-dist@lists.debian.org>
List-Help: <mailto:debian-bugs-dist-request@lists.debian.org?subject=help>
List-Subscribe: <mailto:debian-bugs-dist-request@lists.debian.org?subject=subscribe>
List-Unsubscribe: <mailto:debian-bugs-dist-request@lists.debian.org?subject=unsubscribe>
Precedence: list
Resent-Sender: debian-bugs-dist-request@lists.debian.org
Received-SPF: none
X-SPF-Guess: pass
X-Spam-Score: -52.6
X-Spam-Report: (-52.6 points, 5.0 required)
	pts rule name              description
	---- ---------------------- --------------------------------------------------
	-50 D_FOR_BOT              For debian-devel-changes bot
	0.0 UNPARSEABLE_RELAY      Informational: message has unparseable relay lines
	-2.6 BAYES_00               BODY: Bayesian spam probability is 0 to 1%
	[score: 0.0000]

Package: acpi-support
Version: 0.103-5
Severity: normal

*** Please type your report below this line ***

Hi, Dear Maintainers,

I have had a problem with sleepbtn.sh, which is provided by the 
acpi-support package.

I am using a Compaq Presario laptop. When I press the sleep button on 
the laptop, or the "suspend" option in the shutdown dialogue, I find 
that /etc/acpi/sleepbtn.sh is executed and acpi_fakekey sends 
$KEY_SLEEP=142 out. However, my laptop does not sleep. The screen turns 
black for about 10 seconds and turns on again.

When I log in as root and executes "echo -n "mem" > /sys/power/state", 
my laptop sleeps successfully. So I modified sleepbtn.sh, subsitituting 
the acpi_fakekey command with the echo "mem" command.

I do not know how acpi_fakekey works and where the problem is. I guess 
the bug has something to do with the acpid package. Hope it will be 
fixed in the future.

Best wishes,
Wenjia

-- System Information:
Debian Release: lenny/sid
   APT prefers unstable
   APT policy: (800, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages acpi-support depends on:
ii  acpi-support-base             0.103-5    scripts for handling base 
ACPI eve
ii  acpid                         1.0.6-5.1  Utilities for using ACPI 
power man
ii  dmidecode                     2.9-1      Dump Desktop Management 
Interface
ii  finger                        0.17-12    user information lookup program
ii  hdparm                        8.6-1      tune hard disk parameters 
for high
ii  laptop-detect                 0.13.5     attempt to detect a laptop
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  lsb-base                      3.2-8      Linux Standard Base 3.2 
init scrip
ii  nvclock                       0.8b3-1    Allows you to overclock 
your nVidi
ii  powermgmt-base                1.30       Common utils and configs 
for power
ii  radeontool                    1.5-5      utility to control ATI 
Radeon back
ii  toshset                       1.73-1     Access much of the Toshiba 
laptop
ii  vbetool                       1.0-1.1    run real-mode video BIOS 
code to a
ii  x11-xserver-utils             7.3+2      X server utilities

acpi-support recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


