From nobody@FreeBSD.org  Wed Aug 26 19:34:32 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1CB9E106568C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Aug 2009 19:34:32 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id EFDF38FC25
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Aug 2009 19:34:31 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7QJYVal099833
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Aug 2009 19:34:31 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n7QJYVR6099832;
	Wed, 26 Aug 2009 19:34:31 GMT
	(envelope-from nobody)
Message-Id: <200908261934.n7QJYVR6099832@www.freebsd.org>
Date: Wed, 26 Aug 2009 19:34:31 GMT
From: Dmitriy Demidov <dima_bsd@inbox.lv>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [acpi] acer aspire 5536 ACPI problems (S3, brightness, hotkeys)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         138210
>Category:       amd64
>Synopsis:       [acpi] acer aspire 5536 ACPI problems (S3, brightness, hotkeys)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-acpi
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 26 19:40:01 UTC 2009
>Closed-Date:    
>Last-Modified:  Sat Dec 11 21:50:09 UTC 2010
>Originator:     Dmitriy Demidov
>Release:        FreeBSD 8.0-BETA3
>Organization:
>Environment:
FreeBSD dune.local.home 8.0-BETA3 FreeBSD 8.0-BETA3 #0: Tue Aug 25 21:01:51 EEST 2009     root@dune.local.home:/usr/obj/usr/src/sys/CURRENT  amd64
>Description:
I'm using Acer aspire 5536 notebook. I have several ACPI related issues:
- hotkeys not working (volume +/-, screen brightness +/-, Wi-Fi on/off, sleep button).
- I'm unabled to use S3 power saving mode. If I do S3 without hw.acpi.reset_video then computer wakes up but screen is black - backlight is off.
- I'm unabled to use S3 power saving mode. If I do S3 with hw.acpi.reset_video=1 then computer wakes up, backlight is on but console no do not works (no output to monitor).
- Battery status showing "Remaining time: unknown".


Here can be found additional debug info http://acer5536.times.lv/acpi.tar.gz
Archive contains:
acer_aspire_5536(LX.PAW0C.024).asl (acpidump -dt) 
devinfo_rv.txt (devinfo -rv) 
dmesg_verbose_acpi_enabled.txt (dmesg in verbose) 
sysctl-a-grep-hw.acpi.txt (sysctl -a | grep hw.acpi)
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-amd64->freebsd-acpi 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Aug 27 03:54:06 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138210 

From: Andriy Gapon <avg@freebsd.org>
To: bug-followup@freebsd.org, dima_bsd@inbox.lv
Cc:  
Subject: Re: amd64/138210: [acpi] acer aspire 5536 ACPI problems (S3, brightness,
 hotkeys)
Date: Sun, 05 Dec 2010 16:00:59 +0200

 Is this still an issue?
 Can you try upcoming 8.2 prerelease/beta/RC (whatever is available at the time
 of trying) or a CURRENT snapshot?
 
 -- 
 Andriy Gapon

From: Dmitriy Demidov <dima_bsd@inbox.lv>
To: bug-followup@freebsd.org,
 avg@freebsd.org
Cc:  
Subject: Re: amd64/138210: [acpi] acer aspire 5536 ACPI problems (S3, brightness, hotkeys)
Date: Sat, 11 Dec 2010 21:26:11 +0000

 > Is this still an issue?
 > Can you try upcoming 8.2 prerelease/beta/RC (whatever is available at the
 > time of trying) or a CURRENT snapshot?
 >
 > --
 > Andriy Gapon
 
 Hi Andriy
 
 Some of old problems is still here.
 I have got today's CURRENT and retested this ACPI stuff again.
 
 - acpicontrol -s 3
 In pure console I can put my notebook in S3 state. After that it wakes up if I 
 press any keyboard key or notebook's power button, but screen (console) is 
 inactive (backlight of the screen is on) and I can not use keyboard. I can 
 get console back by pushing power button one more time, or by pussing 
 Fn+BrightnessUP key combination. After that my touchpad/mouse is still 
 inactive. I can get touchpad back using it's on/off swith (it is connected to 
 USB, and after on/off cicle system find it).
 
 In Xorg (KDE3) I can put my notebook in S3 state. After that it wakes up if I 
 press any keyboard key or notebook's power button, but screen (console) is 
 inactive (backlight is off) and I can not use keyboard. I can get console 
 back by pushing power button one more time, or by pussing Fn+BrightnessUP key 
 combination. After that my touchpad/mouse is still inactive. I can get 
 touchpad back using it's on/off swith.
 
 In both cases sysctl parametr: hw.acpi.reset_video=1
 
 In both cases I can see this error message on console:
 ACPI Error: No handler or method for GPE[0x 6], disabling event 
 (20101013/evgpe-734)
 
 
 - Functional keys (brightness/sleep/mute/volume)
 This Fn keys still don't work nativly. I'm missing brightness control and 
 sleep. All other keys are working now using different "keyboard tools" from 
 ports. I can see that brightness is working while I'm in BIOS, but it stops 
 working just after FreeBSD kernel is loaded...
 
 
 - Battery status
 Looks like that battery indicators works now! I can see from sysctl output 
 mesurments or capacity, remained time and status of power and battery.
 
 
 uname -a
 FreeBSD darktower.local.home 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Sat Dec 11 
 17:38:35 EET 2010     root@darktower.local.home:/usr/obj/usr/src/sys/CURRENT  
 amd64
 
 GENERIC with addition of:
 ident           CURRENT
 options         ROUTETABLES=2
 options         RADIX_MPATH
 options         ATA_CAM
 device          ahci
 
 and without WITNESS/INVARIANTS
>Unformatted:
