From owner-freebsd-acpi@FreeBSD.ORG Sun Oct 21 00:20:25 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ACE6C736 for ; Sun, 21 Oct 2012 00:20:25 +0000 (UTC) (envelope-from jan.schreib@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 363118FC0C for ; Sun, 21 Oct 2012 00:20:23 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id 16so1296876wgi.31 for ; Sat, 20 Oct 2012 17:20:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=bCG09w7+aREBtyDp9KoPmRV4Wv3V3T3DWn5A4509058=; b=E08BCz+RXDZm75g8BTLpp8OZxA8qxy9B59Vw6MWBPuBMb6XAGsVbNOD8z+6cZgAS+s ThCA7+F4YI3urd5qFyblVQJouDs8zYXUzkWhqNPcY4aGnghpls4i1wY2o3+RYvWtPt5y JMSztpZCk15r+DuotqzXx18DKPLr40SEaSc1CYc/KP9k0tnz0YdnrObIP2ne9zPkLfLJ no59JnQ3h1Gs1/pdnHKkNaI9ohb/0ZfI1VCwnXPn4Lb/B6hGQcpOu4Ot2qJeO+p0REKn m0Wkb1EbTgBy8SKhFJZDDWzbaUssA2TyMFjG2QGVwAmcwgreg7A4HvbuvBRtfxFi+PjX Oclw== MIME-Version: 1.0 Received: by 10.180.100.101 with SMTP id ex5mr27602360wib.16.1350778822888; Sat, 20 Oct 2012 17:20:22 -0700 (PDT) Received: by 10.223.156.207 with HTTP; Sat, 20 Oct 2012 17:20:22 -0700 (PDT) Date: Sun, 21 Oct 2012 02:20:22 +0200 Message-ID: Subject: Thinkpad x230 display brightness From: Jan Hannibal Smith To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2012 00:20:25 -0000 Hey Guys, I just installed FreeBSD 9.1 RC2 on my ThinkPad x230, so far everythings works fine except the keys for the brightness adjustment. I tried the tricks I found for the x220 series but nothing helped. Does anybody got a clue how I can get these buttons to work? Maybe there is a patch for the kms driver? Thank you. From owner-freebsd-acpi@FreeBSD.ORG Sun Oct 21 00:32:11 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 739E67F4 for ; Sun, 21 Oct 2012 00:32:11 +0000 (UTC) (envelope-from erich@alogreentechnologies.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id 1D0688FC12 for ; Sun, 21 Oct 2012 00:32:10 +0000 (UTC) Received: from X220.ovitrap.com ([122.129.201.55]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q9L0W6B6023950; Sat, 20 Oct 2012 18:32:08 -0600 Date: Sun, 21 Oct 2012 07:32:06 +0700 From: Erich Dollansky To: Jan Hannibal Smith Subject: Re: Thinkpad x230 display brightness Message-ID: <20121021073206.2e34c2f7@X220.ovitrap.com> In-Reply-To: References: Organization: ALO Green Technologies X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2012 00:32:11 -0000 Hi, On Sun, 21 Oct 2012 02:20:22 +0200 Jan Hannibal Smith wrote: > Hey Guys, I just installed FreeBSD 9.1 RC2 on my ThinkPad x230, so far > everythings works fine except the keys for the brightness adjustment. > > I tried the tricks I found for the x220 series but nothing helped. > Does anybody got a clue how I can get these buttons to work? > Maybe there is a patch for the kms driver? > can you check if the keys do even generate events? They do not generate them on my X220. If they do not generate events, you can use only the command line to change brightness. Erich > Thank you. > _______________________________________________ > freebsd-acpi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-acpi > To unsubscribe, send any mail to > "freebsd-acpi-unsubscribe@freebsd.org" > From owner-freebsd-acpi@FreeBSD.ORG Mon Oct 22 11:06:32 2012 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 48D9A240 for ; Mon, 22 Oct 2012 11:06:32 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 2F5BF8FC0C for ; Mon, 22 Oct 2012 11:06:32 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9MB6W22044326 for ; Mon, 22 Oct 2012 11:06:32 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9MB6VWr044324 for freebsd-acpi@FreeBSD.org; Mon, 22 Oct 2012 11:06:31 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 22 Oct 2012 11:06:31 GMT Message-Id: <201210221106.q9MB6VWr044324@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-acpi@FreeBSD.org Subject: Current problem reports assigned to freebsd-acpi@FreeBSD.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 11:06:32 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/171305 acpi [acpi] acpi_tz0: _CRT value is absurd, ignored (256.0C o kern/164329 acpi [acpi] hw.acpi.thermal.tz0.temperature shows strange v o kern/163268 acpi [acpi_hp] fix driver detach in absence of CMI o kern/162859 acpi [acpi] ACPI battery/acline monitoring partialy working o kern/161715 acpi [acpi] Dell E6520 doesn't resume after ACPI suspend o kern/161713 acpi [acpi] Suspend on Dell E6520 o kern/160838 acpi [acpi] ACPI Battery Monitor Non-Functional o kern/160419 acpi [acpi_thermal] acpi_thermal kernel thread high CPU usa o kern/158689 acpi [acpi] value of sysctl hw.acpi.thermal.polling_rate ne o kern/154955 acpi [acpi] Keyboard or ACPI doesn't work on Lenovo S10-3 o kern/152438 acpi [acpi]: patch to acpi_asus(4) to add extra sysctls for o kern/152098 acpi [acpi] Lenovo T61p does not resume o i386/146715 acpi [acpi] Suspend works, resume not on a HP Probook 4510s o kern/145306 acpi [acpi]: Can't change brightness on HP ProBook 4510s o i386/143798 acpi [acpi] shutdown problem with SiS K7S5A o kern/143420 acpi [acpi] ACPI issues with Toshiba o kern/142009 acpi [acpi] [panic] Panic in AcpiNsGetAttachedObject o kern/139088 acpi [acpi] ACPI Exception: AE_AML_INFINITE_LOOP error o amd64/138210 acpi [acpi] acer aspire 5536 ACPI problems (S3, brightness, o kern/137042 acpi [acpi] hp laptop's lcd not wakes up after suspend to r o i386/136008 acpi [acpi] Dell Vostro 1310 will not shutdown (Requires us o kern/132602 acpi [acpi] ACPI Problem with Intel SS4200: System does not p kern/128634 acpi [patch] fix acpi_asus(4) in asus a6f laptop o bin/126162 acpi [acpi] ACPI autoload failed : loading required module o kern/123039 acpi [acpi] ACPI AML_BUFFER_LIMIT errors during boot a i386/122887 acpi [panic] [atkbdc] 7.0-RELEASE on IBM HS20 panics immed s kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/105537 acpi [acpi] problems in acpi on HP Compaq nc6320 o kern/91594 acpi [acpi] FreeBSD > 5.4 w/ACPI fails to detect Intel Pro/ o kern/73823 acpi [request] acpi / power-on by timer support o kern/56024 acpi ACPI suspend drains battery while in S3 31 problems total. From owner-freebsd-acpi@FreeBSD.ORG Mon Oct 22 14:37:46 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D6F38F0A; Mon, 22 Oct 2012 14:37:46 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id A65698FC1A; Mon, 22 Oct 2012 14:37:46 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id F3C5EB978; Mon, 22 Oct 2012 10:37:45 -0400 (EDT) From: John Baldwin To: Alberto Villa Subject: Re: Dell acpi_video patch Date: Mon, 22 Oct 2012 10:25:14 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p20; KDE/4.5.5; amd64; ; ) References: <20121005215316.GA38707@triton8.kn-bremen.de> <201210200840.48613.jhb@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201210221025.14331.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 22 Oct 2012 10:37:46 -0400 (EDT) Cc: freebsd-acpi@freebsd.org, Juergen Lock , mobile@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 14:37:46 -0000 On Saturday, October 20, 2012 9:37:40 am Alberto Villa wrote: > On Sat, Oct 20, 2012 at 2:40 PM, John Baldwin wrote: > > Oh, no, I hadn't been able to tell from your ASL that bit 16 was set (it's > > not that easy to guess as it computes the ID's dynamically at runtime. > > I see. > > > I was merely guessing that since I had changed the matching logic to look at > > bit 31 that that was the cause, > > Oh, no, it wasn't working before too, it just changed from "crt" to > "out" because of your change (which makes sense). > > > but it wasn't the matching logic that was > > different (comparing _ADR to _DOD), but the logic that parsed _DOD is what > > treated your laptop differently. > > So, just to be sure, you don't need any other information from me, > right? I don't think, by the way, that a list of known non-standard > configurations is worth being added to the code for this issue. Largely correct. However, we could add support for vendor-specific IDs if someone wanted to maintain it. -- John Baldwin From owner-freebsd-acpi@FreeBSD.ORG Fri Oct 26 13:37:37 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BFB85C92 for ; Fri, 26 Oct 2012 13:37:37 +0000 (UTC) (envelope-from frantisek@farka.eu) Received: from vps.myspace.cz (vps.myspace.cz [46.28.108.93]) by mx1.freebsd.org (Postfix) with ESMTP id 4F6828FC0A for ; Fri, 26 Oct 2012 13:37:36 +0000 (UTC) Received: from localhost ([145.97.236.167]) (authenticated bits=0) by vps.myspace.cz (8.13.8/8.13.8) with ESMTP id q9QDbSmj001723 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 26 Oct 2012 15:37:28 +0200 Date: Fri, 26 Oct 2012 15:37:26 +0200 From: Frantisek Farka To: freebsd-acpi@freebsd.org Subject: Suspend lenovo tp t420i Message-ID: <20121026153726.47e15e89@farka.eu> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.12; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 13:37:37 -0000 Hi, I have recently installed freebsd-9.1RC on my thinkpad t420i laptop and I have run into some problems regarding acpi suspend/resume. When I run # acpiconf -s 3 Computer seem to suspend correctly, but when I wake it up, laptop seems to resume correctly except the screen stays dark. I have made dmesg dump after boot with verbose booting: http://files.farka.eu/pub/fari-tpt420i.dmesg and acpidump: http://files.farka.eu/pub/fari-tpt420i.asl I tried to boot without acpi, but the system did not boot at all. I have also tried suspend with # sysctl debug.acpi.suspend_bounce=1 but the screen just went black (black, but glowing, which is different from ordinary suspend, where it gets completely dark) and this is a resulting dmesg during suspend: http://files.farka.eu/pub/fari-tpt420i.suspend I haven't found any problem connected to LCD/screen or something like that. Do you have any idea what to do in order to make suspend/resume working? Thanks Frantisek Farka From owner-freebsd-acpi@FreeBSD.ORG Sat Oct 27 05:16:35 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 656AF9FA for ; Sat, 27 Oct 2012 05:16:35 +0000 (UTC) (envelope-from jb.1234abcd@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1B95C8FC08 for ; Sat, 27 Oct 2012 05:16:34 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id v11so4700495vbm.13 for ; Fri, 26 Oct 2012 22:16:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=HiajruNEh2uGqXQF+t3qbth/yuHX6r1ipUnNXc5lcNo=; b=ZY22nU/zQr8O2vxmEVbIPWGEKNGNwHoambWTL1ZJjCBygGJxrGPhtoom46SXJyDmmh XpEjvsUcBBz1mANLnUthLDU/OyjtiMMvdrvKY9YdAB33HwWcJyC4jRLdVdY2xPnWSw7F iaXhq6/6yq2AN6m53hiMmvMNBSrgfLDeAeCzGLYkez8NErFjKgIqQ5pdFt5jZsIBLSA5 Ib0VhwUcd/iezozPy0gNlTAPSl1fOpy1SxE8aiFKHu2FOP5Xt4zhVmbGJTIAsiTLLU54 5tZyCMFcQzneXCjXtt+ijLVYj8bqa+nrljlJOY5lEpsEYpEDLA4hUW/15ho89E2JBxF4 S/Pg== MIME-Version: 1.0 Received: by 10.220.220.5 with SMTP id hw5mr368467vcb.53.1351314993312; Fri, 26 Oct 2012 22:16:33 -0700 (PDT) Received: by 10.220.186.197 with HTTP; Fri, 26 Oct 2012 22:16:33 -0700 (PDT) Date: Sat, 27 Oct 2012 07:16:33 +0200 Message-ID: Subject: acpiconf -k option From: J B To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 05:16:35 -0000 Hi, $ cat /etc/rc.suspend ... # Notify the kernel to continue the suspend process /usr/sbin/acpiconf -k 0 ... $ acpiconf -h usage: acpiconf [-h] [-i batt] [-k ack] [-s 1-4] ACPICONF(8) does not have -k option included. What is the meaning of "-k ack" option (in words that could be included in update to ACPICONF(8) and understood by a user reading or writing a script) ? Proposal: -k ack ack - suspend notification to kernel 0 - no error (continue suspend) non-0 - error no (abort suspend) Ref: $ cat /usr/src/usr.sbin/acpi/acpiconf/acpiconf.c ... #include ... /* Ack or abort a pending suspend request. */ static void acpi_sleep_ack(int err_val) { int ret; ret = ioctl(acpifd, ACPIIO_ACKSLPSTATE, &err_val); if (ret != 0) err(EX_IOERR, "ack sleep type failed"); } ... int main(int argc, char *argv[]) { ... case 'k': acpi_sleep_ack(atoi(optarg)); break; .... $ cat /usr/src/sys/dev/acpica/acpiio.h ... /* Allow suspend to continue (0) or abort it (errno). */ #define ACPIIO_ACKSLPSTATE _IOW('P', 5, int) ... NOTE: please copy me in your response as I am not subscribed to this list. jb