From owner-freebsd-acpi@FreeBSD.ORG Mon Jul 18 11:02:11 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E41F16A41C for ; Mon, 18 Jul 2005 11:02:11 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F18243D46 for ; Mon, 18 Jul 2005 11:02:11 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6IB2BqJ098094 for ; Mon, 18 Jul 2005 11:02:11 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6IB2AbD098088 for freebsd-acpi@freebsd.org; Mon, 18 Jul 2005 11:02:10 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 18 Jul 2005 11:02:10 GMT Message-Id: <200507181102.j6IB2AbD098088@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-acpi@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 11:02:11 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/07/22] i386/54756 acpi ACPI suspend/resume problem on CF-W2 lapt o [2003/08/17] i386/55661 acpi ACPI suspend/resume problem on ARMADA M70 o [2003/08/20] kern/55822 acpi No ACPI power off with SMP kernel o [2003/08/27] kern/56024 acpi ACPI suspend drains battery while in S3 o [2003/09/03] i386/56372 acpi acpi don't work on TYAN tiger100 M/B f [2003/09/10] kern/56659 acpi ACPI trouble on IBM ThinkPad X31 f [2003/12/17] i386/60317 acpi FreeBSD 5.2rc1 doesn't boot with ACPI ena f [2004/03/02] kern/63666 acpi [acpi] Network card 3c575B do not work af o [2004/03/09] i386/64002 acpi acpi problem o [2004/05/27] i386/67273 acpi [hang] system hangs with acpi and Xfree o [2004/10/12] i386/72566 acpi ACPI, FreeBSD disables fan on Compaq Arma o [2005/03/21] i386/79080 acpi acpi thermal changes freezes HP nx6110 o [2005/03/21] i386/79081 acpi ACPI suspend/resume not working on HP nx6 13 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2004/01/22] i386/61703 acpi ACPI + Sound + Boot = Reboot o [2004/03/17] kern/64365 acpi ACPI problems f [2004/05/25] i386/67189 acpi ACPI S3 reboot computer on Dell Latitude o [2004/05/28] kern/67309 acpi zzz reboot computer (ACPI S3) f [2004/06/23] i386/68219 acpi ACPI + snd_maestro3 problem o [2004/07/29] i386/69750 acpi Boot without ACPI failed on ASUS L5 o [2004/11/11] i386/73822 acpi acpi / thermal support o [2004/11/11] kern/73823 acpi acpi / power-on by timer support o [2004/11/17] kern/74030 acpi Unplugging AC causes battery % to stay lo o [2004/11/21] kern/74215 acpi [request] add ACPI headers to /usr/includ o [2005/05/09] kern/80815 acpi ACPI(pci_link) problem in 5.4-STABLE: TIM 11 problems total. From owner-freebsd-acpi@FreeBSD.ORG Tue Jul 19 11:47:03 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F5B216A41C for ; Tue, 19 Jul 2005 11:47:03 +0000 (GMT) (envelope-from m.ehinger@ltur.de) Received: from posty.gateway-inter.net (posty.gateway-inter.net [213.144.19.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id E89ED43D45 for ; Tue, 19 Jul 2005 11:47:02 +0000 (GMT) (envelope-from m.ehinger@ltur.de) To: freebsd-acpi@freebsd.org Message-ID: From: m.ehinger@ltur.de Date: Tue, 19 Jul 2005 13:46:24 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Subject: Thinkpad t42 fn+f3 (Blank Screen) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 11:47:03 -0000 Hi, i got a Thinpad t42 and running Current (July 15). I can't blank the LCD with Fn + F3, which works perfectly without acpi enabled. With ACPI_DEBUG enabled i get an "Execute Methode: [\_SB_.PCI0.LPC_.EC__._Q12]" Message but nothing happens. I also tried different "hw.acpi.osname" strings without success. Fn + F7 (Switch LCD - CRT) works only on a console not in Xorg. Other keys (Thinklight, Brightness) work normal. Please tell me what informations you need. thanks and greate work so far maik From owner-freebsd-acpi@FreeBSD.ORG Tue Jul 19 16:45:27 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95B4816A41F for ; Tue, 19 Jul 2005 16:45:27 +0000 (GMT) (envelope-from nate@root.org) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48AC043D49 for ; Tue, 19 Jul 2005 16:45:27 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id j6JGjHo5013246 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 19 Jul 2005 09:45:26 -0700 Message-ID: <42DD2E1D.1090106@root.org> Date: Tue, 19 Jul 2005 09:45:17 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: m.ehinger@ltur.de References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: Thinkpad t42 fn+f3 (Blank Screen) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 16:45:27 -0000 m.ehinger@ltur.de wrote: > i got a Thinpad t42 and running Current (July 15). I can't blank the LCD with Fn + F3, which works perfectly without acpi enabled. > > With ACPI_DEBUG enabled i get an "Execute Methode: [\_SB_.PCI0.LPC_.EC__._Q12]" Message but nothing happens. I also tried different > "hw.acpi.osname" strings without success. > > Fn + F7 (Switch LCD - CRT) works only on a console not in Xorg. > > Other keys (Thinklight, Brightness) work normal. > > Please tell me what informations you need. > > thanks and greate work so far Try loading acpi_video -- Nate From owner-freebsd-acpi@FreeBSD.ORG Tue Jul 19 16:49:04 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26FC116A41F for ; Tue, 19 Jul 2005 16:49:04 +0000 (GMT) (envelope-from m.ehinger@ltur.de) Received: from posty.gateway-inter.net (posty.gateway-inter.net [213.144.19.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7C5643D46 for ; Tue, 19 Jul 2005 16:49:03 +0000 (GMT) (envelope-from m.ehinger@ltur.de) In-Reply-To: <42DD2E1D.1090106@root.org> To: Nate Lawson Message-ID: From: m.ehinger@ltur.de Date: Tue, 19 Jul 2005 18:48:32 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Cc: freebsd-acpi@freebsd.org Subject: Re: Thinkpad t42 fn+f3 (Blank Screen) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 16:49:04 -0000 acpi_video and acpi_ibm are already loaded. Nate Lawson 19.07.2005 18:45 An m.ehinger@ltur.de Kopie freebsd-acpi@freebsd.org Thema Re: Thinkpad t42 fn+f3 (Blank Screen) m.ehinger@ltur.de wrote: > i got a Thinpad t42 and running Current (July 15). I can't blank the LCD with Fn + F3, which works perfectly without acpi enabled. > > With ACPI_DEBUG enabled i get an "Execute Methode: [\_SB_.PCI0.LPC_.EC__._Q12]" Message but nothing happens. I also tried different > "hw.acpi.osname" strings without success. > > Fn + F7 (Switch LCD - CRT) works only on a console not in Xorg. > > Other keys (Thinklight, Brightness) work normal. > > Please tell me what informations you need. > > thanks and greate work so far Try loading acpi_video -- Nate From owner-freebsd-acpi@FreeBSD.ORG Tue Jul 19 16:50:21 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 956A016A41F for ; Tue, 19 Jul 2005 16:50:21 +0000 (GMT) (envelope-from nate@root.org) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CBF643D46 for ; Tue, 19 Jul 2005 16:50:21 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id j6JGoJo5013330 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 19 Jul 2005 09:50:20 -0700 Message-ID: <42DD2F4B.7020805@root.org> Date: Tue, 19 Jul 2005 09:50:19 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: m.ehinger@ltur.de References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: Thinkpad t42 fn+f3 (Blank Screen) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 16:50:21 -0000 m.ehinger@ltur.de wrote: > acpi_video and acpi_ibm are already loaded. Try not loading one or both of those and see if there is an effect. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Wed Jul 20 06:26:34 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BEBD16A41F for ; Wed, 20 Jul 2005 06:26:34 +0000 (GMT) (envelope-from m.ehinger@ltur.de) Received: from posty.gateway-inter.net (posty.gateway-inter.net [213.144.19.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFA1743D46 for ; Wed, 20 Jul 2005 06:26:33 +0000 (GMT) (envelope-from m.ehinger@ltur.de) In-Reply-To: <42DD2F4B.7020805@root.org> To: Nate Lawson Message-ID: From: m.ehinger@ltur.de Date: Wed, 20 Jul 2005 08:26:02 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Cc: freebsd-acpi@freebsd.org Subject: Re: Thinkpad t42 fn+f3 (Blank Screen) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 06:26:34 -0000 I tried, but no change. Still doesn't work thanks maik Nate Lawson 19.07.2005 18:50 An m.ehinger@ltur.de Kopie freebsd-acpi@freebsd.org Thema Re: Thinkpad t42 fn+f3 (Blank Screen) m.ehinger@ltur.de wrote: > acpi_video and acpi_ibm are already loaded. Try not loading one or both of those and see if there is an effect. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Wed Jul 20 06:34:32 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF22516A41F for ; Wed, 20 Jul 2005 06:34:32 +0000 (GMT) (envelope-from m.ehinger@ltur.de) Received: from posty.gateway-inter.net (posty.gateway-inter.net [213.144.19.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9544843D45 for ; Wed, 20 Jul 2005 06:34:32 +0000 (GMT) (envelope-from m.ehinger@ltur.de) In-Reply-To: <42DD2F4B.7020805@root.org> To: Nate Lawson Message-ID: From: m.ehinger@ltur.de Date: Wed, 20 Jul 2005 08:34:01 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Cc: freebsd-acpi@freebsd.org Subject: Re: Thinkpad t42 fn+f3 (Blank Screen) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 06:34:33 -0000 If it helps, its the same behavior with 5.4 Release-p4. maik From owner-freebsd-acpi@FreeBSD.ORG Wed Jul 20 08:53:06 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45C2516A41F for ; Wed, 20 Jul 2005 08:53:06 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id E104F43D45 for ; Wed, 20 Jul 2005 08:53:05 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1DvAK6-00035n-00; Wed, 20 Jul 2005 10:53:02 +0200 Date: Wed, 20 Jul 2005 10:53:02 +0200 To: m.ehinger@ltur.de Message-ID: <20050720085302.GJ2715@poupinou.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: freebsd-acpi@freebsd.org Subject: Re: Thinkpad t42 fn+f3 (Blank Screen) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 08:53:06 -0000 On Tue, Jul 19, 2005 at 01:46:24PM +0200, m.ehinger@ltur.de wrote: > Hi, > > i got a Thinpad t42 and running Current (July 15). I can't blank the LCD with Fn + F3, which works perfectly without acpi enabled. > > With ACPI_DEBUG enabled i get an "Execute Methode: [\_SB_.PCI0.LPC_.EC__._Q12]" Message but nothing happens. I also tried different > "hw.acpi.osname" strings without success. > > Fn + F7 (Switch LCD - CRT) works only on a console not in Xorg. > > Other keys (Thinklight, Brightness) work normal. > > Please tell me what informations you need. > > thanks and greate work so far > Do you have an output from acpidump -d -t somewhere on the web? If not, could you please send this to me privately? -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. From owner-freebsd-acpi@FreeBSD.ORG Wed Jul 20 09:26:33 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4B6F16A41F for ; Wed, 20 Jul 2005 09:26:33 +0000 (GMT) (envelope-from tzhuan@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D8AC43D48 for ; Wed, 20 Jul 2005 09:26:33 +0000 (GMT) (envelope-from tzhuan@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so1370205nzo for ; Wed, 20 Jul 2005 02:26:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=djVTP0UEPBvJ71YtHTQmSgplxmN+YqYXEPbGjji5Yg4y0sy3xcAiB9yY3EMC73mI5N4BrC0PQcoevnhsSRmVTzkasTz3v4O+Teal2/XP9MMZqcJC/bs/90x5E9KtlEdTPQnV4MZUW98ApMmHl9gXrIg/zlHXbv0J4o8Bw+mEKzg= Received: by 10.36.71.12 with SMTP id t12mr117nza; Wed, 20 Jul 2005 01:50:02 -0700 (PDT) Received: by 10.36.158.14 with HTTP; Wed, 20 Jul 2005 01:50:02 -0700 (PDT) Message-ID: <6a7033710507200150178fd9a6@mail.gmail.com> Date: Wed, 20 Jul 2005 16:50:02 +0800 From: Tz-Huan Huang To: freebsd-acpi@freebsd.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42DD2F4B.7020805@root.org> Subject: Re: Thinkpad t42 fn+f3 (Blank Screen) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tz-Huan Huang List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 09:26:34 -0000 Its the same behavior in my Thinkpad X30 running 6-current (Jun 11):=20 Fn+F3 doesn't work, Fn+F7 works on console but not in xorg 6.8.2. Other keys work perfectly. I can use ``xset dpms force off'' to turn off the LCD, but the back light is still on. I can set ``Option "MonitorLayout" "LFP+CRT" '' in device section with i810 driver of xorg.conf to display on both LCD and CRT in X, but I can't switch it dynamically. On 7/20/05, m.ehinger@ltur.de wrote: > If it helps, its the same behavior with 5.4 Release-p4. >=20 > maik >=20 > _______________________________________________ > 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 Wed Jul 20 14:37:13 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9388F16A41F for ; Wed, 20 Jul 2005 14:37:13 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3610443D45 for ; Wed, 20 Jul 2005 14:37:13 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1DvFh5-0003P8-00; Wed, 20 Jul 2005 16:37:07 +0200 Date: Wed, 20 Jul 2005 16:37:07 +0200 To: Tz-Huan Huang Message-ID: <20050720143707.GK2715@poupinou.org> References: <42DD2F4B.7020805@root.org> <6a7033710507200150178fd9a6@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6a7033710507200150178fd9a6@mail.gmail.com> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: freebsd-acpi@freebsd.org Subject: Re: Thinkpad t42 fn+f3 (Blank Screen) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 14:37:13 -0000 On Wed, Jul 20, 2005 at 04:50:02PM +0800, Tz-Huan Huang wrote: > On 7/20/05, m.ehinger@ltur.de wrote: > > If it helps, its the same behavior with 5.4 Release-p4. > > > > maik > > Its the same behavior in my Thinkpad X30 running 6-current (Jun 11): > Fn+F3 doesn't work, Fn+F7 works on console but not in xorg 6.8.2. > Other keys work perfectly. > > I can use ``xset dpms force off'' to turn off the LCD, but the back > light is still on. > I can set ``Option "MonitorLayout" "LFP+CRT" '' in device section > with i810 driver > of xorg.conf to display on both LCD and CRT in X, but I can't switch > it dynamically. Thanks you both for sending me the ASLs for your machine. Unfortunately, I can't help yet looking around those ASLs. The problem are: 1- the _Q12 method (which should be called if pressing Fn+F3 if I understand correctly a previous email) will call \_SB.PCI0.LPC.EC.HKEY.MHKQ (0x1003) and at the MHKQ() will then call '\UCMS (0x0D) (if Arg0 is 0x1003)', which in turn will call SMI(...) which is a call to a SMI handler (since it will output 'something' to io port 0xb2). And it's pretty hard to debug SMI handler somehow.. 2- that method (MHKQ()) will also notify at the very end the device 'HKEY'. That one is 'Name (_HID, EisaId ("IBM0068"))' and therefore is a propritary "device". We have to write a driver in order to handle that 'notify' (and I must admit I don't know what to do even then). Fortunately, there is enough materials under the video stuff. Maybe looking for some sysctl will help if the acpi_video device is enabled. For the problem of switching videos between heads, I have to look a little bit more, but I guess it is the same kind of issue. -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. From owner-freebsd-acpi@FreeBSD.ORG Wed Jul 20 15:24:04 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBAC016A41F for ; Wed, 20 Jul 2005 15:24:03 +0000 (GMT) (envelope-from markus@brueffer.de) Received: from mailout08.sul.t-online.com (mailout08.sul.t-online.com [194.25.134.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id C341543D55 for ; Wed, 20 Jul 2005 15:24:02 +0000 (GMT) (envelope-from markus@brueffer.de) Received: from fwd16.aul.t-online.de by mailout08.sul.t-online.com with smtp id 1DvGQQ-0006s6-01; Wed, 20 Jul 2005 17:23:58 +0200 Received: from ramses.kicks-ass.net (GcHOpiZ-ge80osDd7mhqSwkr+m9XQhQBUJJGKajXn6LlRlcubif2E5@[80.143.218.143]) by fwd16.sul.t-online.de with esmtp id 1DvGQB-0OSWiu0; Wed, 20 Jul 2005 17:23:43 +0200 Received: from cheops.phoenix (cheops.phoenix [192.168.1.3]) by ramses.kicks-ass.net (Postfix) with ESMTP id 03D07B81B; Wed, 20 Jul 2005 17:28:33 +0200 (CEST) From: Markus Brueffer To: freebsd-acpi@freebsd.org Date: Wed, 20 Jul 2005 17:22:05 +0200 User-Agent: KMail/1.8.1 References: <42DD2F4B.7020805@root.org> <6a7033710507200150178fd9a6@mail.gmail.com> <20050720143707.GK2715@poupinou.org> In-Reply-To: <20050720143707.GK2715@poupinou.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1284298.TTeGSEEB18"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200507201722.10413.markus@brueffer.de> X-ID: GcHOpiZ-ge80osDd7mhqSwkr+m9XQhQBUJJGKajXn6LlRlcubif2E5@t-dialin.net X-TOI-MSGID: a3b7d66f-c1bf-4248-ac71-29fa26bc6443 Cc: Subject: Re: Thinkpad t42 fn+f3 (Blank Screen) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 15:24:04 -0000 --nextPart1284298.TTeGSEEB18 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 20 July 2005 16:37, Bruno Ducrot wrote: > On Wed, Jul 20, 2005 at 04:50:02PM +0800, Tz-Huan Huang wrote: > > On 7/20/05, m.ehinger@ltur.de wrote: > > > If it helps, its the same behavior with 5.4 Release-p4. > > > > > > maik > > > > Its the same behavior in my Thinkpad X30 running 6-current (Jun 11): > > Fn+F3 doesn't work, Fn+F7 works on console but not in xorg 6.8.2. > > Other keys work perfectly. > > > > I can use ``xset dpms force off'' to turn off the LCD, but the back > > light is still on. > > I can set ``Option "MonitorLayout" "LFP+CRT" '' in device section > > with i810 driver > > of xorg.conf to display on both LCD and CRT in X, but I can't switch > > it dynamically. > > Thanks you both for sending me the ASLs for your machine. > > Unfortunately, I can't help yet looking around those ASLs. > > The problem are: > > 1- the _Q12 method (which should be called if pressing > Fn+F3 if I understand correctly a previous email) will call > \_SB.PCI0.LPC.EC.HKEY.MHKQ (0x1003) > and at the MHKQ() will then call '\UCMS (0x0D) (if Arg0 is 0x1003)', > which in turn will call SMI(...) which is a call to a SMI handler (since > it will output 'something' to io port 0xb2). And it's pretty hard to > debug SMI handler somehow.. > > 2- that method (MHKQ()) will also notify at the very end the device > 'HKEY'. That one is 'Name (_HID, EisaId ("IBM0068"))' and therefore is > a propritary "device". We have to write a driver in order to handle > that 'notify' (and I must admit I don't know what to do even then). We already have one: acpi_ibm(4). Setting dev.acpi_ibm.0.events=3D1 enables these ACPI events (disabled by default, because it changes the=20 default behaviour of some keys, see manpage) which can be processed by=20 devd. On my T41p Fn+F3 doesn't work as advertised as well (without setting the=20 sysctl. Setting the sysctl correctly throws an event). Unfortunately I=20 didn't have time to look into this, yet :( The problem that Fn+F7 only works on the console might be a driver bug (at= =20 least on radeon driven Thinkpads:=20 https://bugs.freedesktop.org/show_bug.cgi?id=3D2000). Markus =2D-=20 Markus Brueffer =A0 =A0| GPG-Key: http://people.FreeBSD.org/~markus/markus.= asc markus@brueffer.de | FP: 3F9B EBE8 F290 E5CC 1447 8760 D48D 1072 78F8 A8D4 markus@FreeBSD.org | FreeBSD: The Power to Serve! --nextPart1284298.TTeGSEEB18 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC3mwi1I0Qcnj4qNQRAtNuAKDSkzYL0GB1LjpCBO7M+vqZhK2vCgCgrhPh JVcK3ezY7SUpsGpx7Eh9Wsw= =bRKG -----END PGP SIGNATURE----- --nextPart1284298.TTeGSEEB18-- From owner-freebsd-acpi@FreeBSD.ORG Wed Jul 20 15:30:59 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E701016A41F for ; Wed, 20 Jul 2005 15:30:59 +0000 (GMT) (envelope-from nate@root.org) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F61743D46 for ; Wed, 20 Jul 2005 15:30:59 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.50] (adsl-64-171-187-230.dsl.snfc21.pacbell.net [64.171.187.230]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id j6KFUto5027505 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 20 Jul 2005 08:30:56 -0700 Message-ID: <42DE6E2D.5040202@root.org> Date: Wed, 20 Jul 2005 08:30:53 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Markus Brueffer References: <42DD2F4B.7020805@root.org> <6a7033710507200150178fd9a6@mail.gmail.com> <20050720143707.GK2715@poupinou.org> <200507201722.10413.markus@brueffer.de> In-Reply-To: <200507201722.10413.markus@brueffer.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: Thinkpad t42 fn+f3 (Blank Screen) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 15:31:00 -0000 Markus Brueffer wrote: > On Wednesday 20 July 2005 16:37, Bruno Ducrot wrote: >>Thanks you both for sending me the ASLs for your machine. >> >>Unfortunately, I can't help yet looking around those ASLs. >> >>The problem are: >> >>1- the _Q12 method (which should be called if pressing >>Fn+F3 if I understand correctly a previous email) will call >>\_SB.PCI0.LPC.EC.HKEY.MHKQ (0x1003) >>and at the MHKQ() will then call '\UCMS (0x0D) (if Arg0 is 0x1003)', >>which in turn will call SMI(...) which is a call to a SMI handler (since >>it will output 'something' to io port 0xb2). And it's pretty hard to >>debug SMI handler somehow.. >> >>2- that method (MHKQ()) will also notify at the very end the device >>'HKEY'. That one is 'Name (_HID, EisaId ("IBM0068"))' and therefore is >>a propritary "device". We have to write a driver in order to handle >>that 'notify' (and I must admit I don't know what to do even then). > > > We already have one: acpi_ibm(4). Setting > > dev.acpi_ibm.0.events=1 > > enables these ACPI events (disabled by default, because it changes the > default behaviour of some keys, see manpage) which can be processed by > devd. > > On my T41p Fn+F3 doesn't work as advertised as well (without setting the > sysctl. Setting the sysctl correctly throws an event). Unfortunately I > didn't have time to look into this, yet :( Right. The problem with debugging SMM code that Bruno mentions is because it is not accessible at runtime (the memory is hidden and locked.) The only way to get to it is to dump the flash and that's a lot of work. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Fri Jul 22 03:53:21 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC50016A421 for ; Fri, 22 Jul 2005 03:53:21 +0000 (GMT) (envelope-from softwareandhardware@yahoo.com) Received: from web33210.mail.mud.yahoo.com (web33210.mail.mud.yahoo.com [68.142.206.108]) by mx1.FreeBSD.org (Postfix) with SMTP id 9F11943D70 for ; Fri, 22 Jul 2005 03:52:52 +0000 (GMT) (envelope-from softwareandhardware@yahoo.com) Received: (qmail 91755 invoked by uid 60001); 22 Jul 2005 03:52:52 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=zFqrCadqQ5/wLmK+OCIo1Fx6vfFMKWBC2nZts6oXhUwSL9tor64WZh1kOj4DanKfu6s2Qr19Yq0tmMxvoQakZU7vIV0/9hqPo1wbq8Q8XjDxXR4Zl0A0JZBfDLpKxllX03A7j9MebqgBr4qEKzIDXDvuBUtO2wkpmx4dY/dcBt0= ; Message-ID: <20050722035252.91753.qmail@web33210.mail.mud.yahoo.com> Received: from [201.145.133.151] by web33210.mail.mud.yahoo.com via HTTP; Thu, 21 Jul 2005 20:52:51 PDT Date: Thu, 21 Jul 2005 20:52:51 -0700 (PDT) From: Carlos Vadez To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: RE: hi need your help X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 03:53:22 -0000 hi, saw you at: http://lists.freebsd.org/pipermail/freebsd-acpi/2005-May/001558.html i got a 3150H laptop, No hard drive, No AC adapter, battery seems is not working anymore/No charge, DVD/CDRW is ok, No floppy, 256 MB memory are ok, headsink seems to be ok, and i am not able to turn it on someone sold me this thing in ebay but after 2 months i am not able to power on. First the computer light on and later nothing No power and no light. Seems i was not using the proper ac adaptor and now i am afraid the computer is possible overheaded. damn! anyway i never used more than 16 volts when i traied first time Is possible I deleted the bios memory or something like that ? i am not an expert.. any suggestions will be appreciated, ceva. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-acpi@FreeBSD.ORG Fri Jul 22 19:25:20 2005 Return-Path: X-Original-To: acpi@FreeBSD.org Delivered-To: freebsd-acpi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0CFB16A41F; Fri, 22 Jul 2005 19:25:20 +0000 (GMT) (envelope-from nate@root.org) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E48C43D49; Fri, 22 Jul 2005 19:25:20 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.33] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id j6MJPJo5016415 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 22 Jul 2005 12:25:20 -0700 Message-ID: <42E1481F.5040306@root.org> Date: Fri, 22 Jul 2005 12:25:19 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050416) X-Accept-Language: en-us, en MIME-Version: 1.0 To: acpi@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Current Subject: acpi battery rework patch X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 19:25:21 -0000 I have completed a rework of the battery subsystem and would like testing of the patch. I'd like this to go into 6.0. It should have no effect for people with working batteries and fixes some bugs for those who don't. It also makes it possible to import support for smart batteries (not in this patch). API changes: apm compatibility device: no change sysctl: no change kernel function call: API reduced. ioctl: API reduced. kernel function access: Access individual batteries via devclass_find("battery"). Methods are ACPI_BATT_GET_STATUS (for _BST-formatted data) and ACPI_BATT_GET_INFO (for _BIF-formatted data). The helper function acpi_battery_get_battinfo() has been changed to take a device_t instead of unit # argument. If dev is NULL, this signifies all batteries. ioctl access: The ACPIIO_BATT_GET_TYPE and ACPIIO_BATT_GET_BATTDESC ioctls have been removed. Since there is no mapping between "virtual" unit and actual unit, just specify the unit directly and skip the old translation steps. For instance, in the future if you have two smart batteries and two control-method batteries, they'll be battery0-3. Patch can be found here: http://root.org/~nate/freebsd/batt-rework.diff.gz Please test to be sure your battery status works as usual, along with any apps. Since most apps (xbatt, gnome, etc.) use the apm compat layer, they should work as before with no recompilation needed. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 23 10:00:03 2005 Return-Path: X-Original-To: acpi@freebsd.org Delivered-To: freebsd-acpi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E404D16A41F for ; Sat, 23 Jul 2005 10:00:02 +0000 (GMT) (envelope-from kjelderg@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22B9143D49 for ; Sat, 23 Jul 2005 10:00:01 +0000 (GMT) (envelope-from kjelderg@gmail.com) Received: by rproxy.gmail.com with SMTP id i8so122580rne for ; Sat, 23 Jul 2005 03:00:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=h5XgYNMwWfx/vtMFxXC8UQeCRLj9xmkCmHnduJ5gZ9BOqEenaGZCud45VLqwp2nzch/m9OH1MUGz5pL9+CtavnYbDy3p/CD8asdrsFETjwY6qVo5mOkFjlGOMt6fWaQ9Wm6SojxnEWWT5mICYJrPFk4/13yNyZ85AxiXc2OeJj4= Received: by 10.38.89.29 with SMTP id m29mr419609rnb; Sat, 23 Jul 2005 03:00:01 -0700 (PDT) Received: by 10.38.101.41 with HTTP; Sat, 23 Jul 2005 03:00:01 -0700 (PDT) Message-ID: Date: Sat, 23 Jul 2005 19:00:01 +0900 From: Eric Kjeldergaard To: Nate Lawson In-Reply-To: <42E1481F.5040306@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42E1481F.5040306@root.org> Cc: acpi@freebsd.org, FreeBSD Current Subject: Re: acpi battery rework patch X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eric Kjeldergaard List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jul 2005 10:00:03 -0000 On 7/23/05, Nate Lawson wrote: > I have completed a rework of the battery subsystem and would like=20 > testing of the patch. I'd like this to go into 6.0. It should have no= =20 > effect for people with working batteries and fixes some bugs for those=20 > who don't. It also makes it possible to import support for smart=20 > batteries (not in this patch). >=20 > API changes: > apm compatibility device: no change > sysctl: no change > kernel function call: API reduced. > ioctl: API reduced. >=20 > kernel function access: > Access individual batteries via devclass_find("battery"). Methods are=20 > ACPI_BATT_GET_STATUS (for _BST-formatted data) and ACPI_BATT_GET_INFO=20 > (for _BIF-formatted data). The helper function=20 > acpi_battery_get_battinfo() has been changed to take a device_t instead= =20 > of unit # argument. If dev is NULL, this signifies all batteries. >=20 > ioctl access: > The ACPIIO_BATT_GET_TYPE and ACPIIO_BATT_GET_BATTDESC ioctls have been=20 > removed. Since there is no mapping between "virtual" unit and actual=20 > unit, just specify the unit directly and skip the old translation steps.= =20 > For instance, in the future if you have two smart batteries and two=20 > control-method batteries, they'll be battery0-3. >=20 > Patch can be found here: > http://root.org/~nate/freebsd/batt-rework.diff.gz >=20 > Please test to be sure your battery status works as usual, along with=20 > any apps. Since most apps (xbatt, gnome, etc.) use the apm compat=20 > layer, they should work as before with no recompilation needed. >=20 > --=20 > Nate > _______________________________________________ > 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" >=20 -CURRENT as of 23/07/2005, does not compile. cc -O2 -fno-strict-aliasing -pipe -pipe -march=3Dpentium4m -I/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-=20 -I/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica -include /usr/obj/usr/src/sys/UNINFECTABLE/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=3D8000 -fno-common=20 -I/usr/obj/usr/src/sys/UNINFECTABLE -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=3Dc99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi.c In file included from /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi.c:59: @/dev/acpica/acpivar.h:397: warning: "struct acpi_bst" declared inside parameter list @/dev/acpica/acpivar.h:397: warning: its scope is only this definition or declaration, which is probably not what you want @/dev/acpica/acpivar.h:398: warning: "struct acpi_bif" declared inside parameter list *** Error code 1 Stop in /usr/src/sys/modules/acpi/acpi. *** Error code 1 Stop in /usr/src/sys/modules/acpi. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/UNINFECTABLE. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. --=20 If I write a signature, my emails will appear more personalised. From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 23 11:38:27 2005 Return-Path: X-Original-To: acpi@freebsd.org Delivered-To: freebsd-acpi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 141FD16A41F; Sat, 23 Jul 2005 11:38:27 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from lapdance.yazzy.net (mail.yazzy.org [217.8.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BCB843D4C; Sat, 23 Jul 2005 11:38:25 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from localhost (localhost [127.0.0.1]) by lapdance.yazzy.net (8.13.4/8.13.4) with SMTP id j6NBcK8B000878; Sat, 23 Jul 2005 13:38:20 +0200 (CEST) (envelope-from lists@yazzy.org) Date: Sat, 23 Jul 2005 13:38:19 +0200 From: Marcin Jessa To: Eric Kjeldergaard Message-Id: <20050723133819.36efb537.lists@yazzy.org> In-Reply-To: References: <42E1481F.5040306@root.org> Organization: YazzY.org X-Mailer: Sylpheed version 1.9.12 (GTK+ 2.6.7; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: acpi@freebsd.org, freebsd-current@freebsd.org Subject: Re: acpi battery rework patch X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jul 2005 11:38:27 -0000 On Sat, 23 Jul 2005 19:00:01 +0900 Eric Kjeldergaard wrote: > On 7/23/05, Nate Lawson wrote: > > I have completed a rework of the battery subsystem and would like > > testing of the patch. I'd like this to go into 6.0. It should have no > > effect for people with working batteries and fixes some bugs for those > > who don't. It also makes it possible to import support for smart > > batteries (not in this patch). > > > > API changes: > > apm compatibility device: no change > > sysctl: no change > > kernel function call: API reduced. > > ioctl: API reduced. > > > > kernel function access: > > Access individual batteries via devclass_find("battery"). Methods are > > ACPI_BATT_GET_STATUS (for _BST-formatted data) and ACPI_BATT_GET_INFO > > (for _BIF-formatted data). The helper function > > acpi_battery_get_battinfo() has been changed to take a device_t instead > > of unit # argument. If dev is NULL, this signifies all batteries. > > > > ioctl access: > > The ACPIIO_BATT_GET_TYPE and ACPIIO_BATT_GET_BATTDESC ioctls have been > > removed. Since there is no mapping between "virtual" unit and actual > > unit, just specify the unit directly and skip the old translation steps. > > For instance, in the future if you have two smart batteries and two > > control-method batteries, they'll be battery0-3. > > > > Patch can be found here: > > http://root.org/~nate/freebsd/batt-rework.diff.gz > > > > Please test to be sure your battery status works as usual, along with > > any apps. Since most apps (xbatt, gnome, etc.) use the apm compat > > layer, they should work as before with no recompilation needed. > > > > -- > -CURRENT as of 23/07/2005, does not compile. Prolly because it's for 6.0, not 7.0 From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 23 19:38:23 2005 Return-Path: X-Original-To: acpi@freebsd.org Delivered-To: freebsd-acpi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CD9116A41F; Sat, 23 Jul 2005 19:38:23 +0000 (GMT) (envelope-from nate@root.org) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B4FA43D4C; Sat, 23 Jul 2005 19:38:22 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.50] (adsl-64-171-187-230.dsl.snfc21.pacbell.net [64.171.187.230]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id j6NJcIo5029911 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 23 Jul 2005 12:38:21 -0700 Message-ID: <42E29CAA.1020007@root.org> Date: Sat, 23 Jul 2005 12:38:18 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050416) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marcin Jessa References: <42E1481F.5040306@root.org> <20050723133819.36efb537.lists@yazzy.org> In-Reply-To: <20050723133819.36efb537.lists@yazzy.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: acpi@freebsd.org, freebsd-current@freebsd.org Subject: Re: acpi battery rework patch X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jul 2005 19:38:23 -0000 Marcin Jessa wrote: > On Sat, 23 Jul 2005 19:00:01 +0900 > Eric Kjeldergaard wrote: >>>Please test to be sure your battery status works as usual, along with >>>any apps. Since most apps (xbatt, gnome, etc.) use the apm compat >>>layer, they should work as before with no recompilation needed. > > >>-CURRENT as of 23/07/2005, does not compile. > > > Prolly because it's for 6.0, not 7.0 Sorry, the problem was I left a file out of the diff. I just committed the patch so please just cvsup and test from 7-CURRENT. Thanks, -- Nate