From owner-freebsd-acpi@FreeBSD.ORG Sun Jul 11 09:27:57 2004 Return-Path: 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 7D9D716A4CE; Sun, 11 Jul 2004 09:27:57 +0000 (GMT) Received: from watery.cc.kogakuin.ac.jp (watery.cc.kogakuin.ac.jp [133.80.152.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09D1543D39; Sun, 11 Jul 2004 09:27:57 +0000 (GMT) (envelope-from nyan@jp.FreeBSD.org) Received: from localhost (localhost [IPv6:::1])i6B9Rr4O044412; Sun, 11 Jul 2004 18:27:53 +0900 (JST) (envelope-from nyan@jp.FreeBSD.org) Date: Sun, 11 Jul 2004 18:26:54 +0900 (JST) Message-Id: <20040711.182654.59665900.nyan@jp.FreeBSD.org> To: njl@FreeBSD.org, t-ogawa@triaez.kaisei.org From: Takahashi Yoshihiro X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: acpi@FreeBSD.org Subject: Panasonic acpi driver X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2004 09:27:57 -0000 I have written the acpi_panasonic driver which is based on ogawa's driver. It only supports LCD brightness control and sound mute, but currently the devd(8) daemon is not required anymore. http://home.jp.freebsd.org/~nyan/patches/acpi_panasonic.diff.gz Comment? --- TAKAHASHI Yoshihiro From owner-freebsd-acpi@FreeBSD.ORG Sun Jul 11 14:46:37 2004 Return-Path: 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 9C86516A4CE for ; Sun, 11 Jul 2004 14:46:37 +0000 (GMT) Received: from mpb4.plala.or.jp (c156253.vh.plala.or.jp [210.150.156.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 818D443D41 for ; Sun, 11 Jul 2004 14:46:36 +0000 (GMT) (envelope-from t-ogawa@triaez.kaisei.org) Received: from solder.dyndns.org ([220.221.88.1]) by mpb4.plala.or.jp with SMTP id <20040711144632.KZJY19724.mpb4.plala.or.jp@solder.dyndns.org> for ; Sun, 11 Jul 2004 23:46:32 +0900 Received: (qmail 71001 invoked from network); 11 Jul 2004 14:46:31 -0000 Received: from localhost (HELO gandalf.middle.earth) (127.0.0.1) by localhost with SMTP; 11 Jul 2004 14:46:31 -0000 Date: Sun, 11 Jul 2004 23:46:31 +0900 Message-ID: <868ydq61q0.wl.t-ogawa@triaez.kaisei.org> From: OGAWA Takaya To: Takahashi Yoshihiro In-Reply-To: <20040711.182654.59665900.nyan@jp.FreeBSD.org> References: <20040711.182654.59665900.nyan@jp.FreeBSD.org> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) Emacs/21.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-2022-JP cc: acpi@FreeBSD.org cc: njl@FreeBSD.org Subject: Re: Panasonic acpi driver X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2004 14:46:37 -0000 Thank you for taking care of the code, Takahashi-san. At Sun, 11 Jul 2004 18:26:54 +0900 (JST), Takahashi Yoshihiro wrote: > I have written the acpi_panasonic driver which is based on ogawa's > driver. It only supports LCD brightness control and sound mute, but > currently the devd(8) daemon is not required anymore. It is not a problem if the driver emits acpi events to devd for other key events (mixer control etc.) nevertheless. We can let devd(8) do them in those cases. I once had a version which do mixer control within the kernel via NDINIT() and VOP_IOCTL() but it was a real mess. > http://home.jp.freebsd.org/~nyan/patches/acpi_panasonic.diff.gz Mostly good... > +#define HKEY_LCD_BRIGHTNESS_SHIFT (5 - HKEY_LCD_BRIGHTNESS_BITS) > ^ Did you mean '8' here? On my CF-R1N it must be 8. The object seems to have 8bit range but I only used higher 4bits because I just don't want to hit the key ~255 times to turn off the LCD light. ---------- おがわ たかや t-ogawa@triaez.kaisei.org From owner-freebsd-acpi@FreeBSD.ORG Mon Jul 12 08:08:09 2004 Return-Path: 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 AE56616A4CE for ; Mon, 12 Jul 2004 08:08:09 +0000 (GMT) Received: from bagira.apex.dp.ua (bagira.apex.dp.ua [195.24.128.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7319043D49 for ; Mon, 12 Jul 2004 08:08:09 +0000 (GMT) (envelope-from yarik@hostok.net) Received: from [212.3.104.210] (helo=smtp.atlas.dp.ua) by volcano.apex.dp.ua with smtp (Exim 4.12) id 1Bjvr5-000PGV-00 for freebsd-acpi@freebsd.org; Mon, 12 Jul 2004 11:08:07 +0300 Received: (qmail 1688 invoked from network); 12 Jul 2004 07:07:45 -0000 Received: from rekord-gw.atlas.dp.ua (HELO ?192.168.1.44?) (212.3.109.66) by lora.atlas.dp.ua with SMTP; 12 Jul 2004 07:07:45 -0000 From: Yarik Kolomiyets To: freebsd-acpi@freebsd.org Date: Mon, 12 Jul 2004 11:06:44 +0300 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200407121106.44507.yarik@hostok.net> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *1Bjvr5-000PGV-00*Ur/NOCsveHg* Subject: fdc problem on STABLE X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 08:08:09 -0000 After browsing mailing list I've discovered that there's no fdc problem in CURRENT anymore. But it still exists in STABLE. Question: when the merge is scheduled for? Thanx. Yarik. From owner-freebsd-acpi@FreeBSD.ORG Mon Jul 12 11:09:48 2004 Return-Path: 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 6FD9B16A4CE; Mon, 12 Jul 2004 11:09:48 +0000 (GMT) Received: from watery.cc.kogakuin.ac.jp (watery.cc.kogakuin.ac.jp [133.80.152.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6C1043D39; Mon, 12 Jul 2004 11:09:47 +0000 (GMT) (envelope-from nyan@jp.FreeBSD.org) Received: from localhost (localhost [IPv6:::1])i6CB9i4O033201; Mon, 12 Jul 2004 20:09:44 +0900 (JST) (envelope-from nyan@jp.FreeBSD.org) Date: Mon, 12 Jul 2004 20:08:15 +0900 (JST) Message-Id: <20040712.200815.74734634.nyan@jp.FreeBSD.org> To: t-ogawa@triaez.kaisei.org From: Takahashi Yoshihiro In-Reply-To: <868ydq61q0.wl.t-ogawa@triaez.kaisei.org> References: <20040711.182654.59665900.nyan@jp.FreeBSD.org> <868ydq61q0.wl.t-ogawa@triaez.kaisei.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: acpi@FreeBSD.org cc: njl@FreeBSD.org Subject: Re: Panasonic acpi driver X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 11:09:48 -0000 In article <868ydq61q0.wl.t-ogawa@triaez.kaisei.org> OGAWA Takaya writes: > > http://home.jp.freebsd.org/~nyan/patches/acpi_panasonic.diff.gz > > Mostly good... > > +#define HKEY_LCD_BRIGHTNESS_SHIFT (5 - HKEY_LCD_BRIGHTNESS_BITS) > > ^ Did you mean '8' here? > On my CF-R1N it must be 8. The object seems to have 8bit range > but I only used higher 4bits because I just don't want to hit the > key ~255 times to turn off the LCD light. Yes. But, my CF-R3 is enough bright even though it is 5. So, I use only 5 bits to change more smoothly. I put the result of acpidump to http://home.jp.freebsd.org/~nyan/r3.dst.gz --- TAKAHASHI Yoshihiro From owner-freebsd-acpi@FreeBSD.ORG Mon Jul 12 15:02:02 2004 Return-Path: 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 3CCFB16A4CE for ; Mon, 12 Jul 2004 15:02:02 +0000 (GMT) Received: from mpb3.plala.or.jp (c154240.vh.plala.or.jp [210.150.154.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21C2C43D1D for ; Mon, 12 Jul 2004 15:02:01 +0000 (GMT) (envelope-from t-ogawa@triaez.kaisei.org) Received: from solder.dyndns.org ([220.221.88.1]) by mpb3.plala.or.jp with SMTP id <20040712150200.ZOLS23232.mpb3.plala.or.jp@solder.dyndns.org> for ; Tue, 13 Jul 2004 00:02:00 +0900 Received: (qmail 79078 invoked from network); 12 Jul 2004 14:55:19 -0000 Received: from localhost (HELO gandalf.middle.earth) (127.0.0.1) by localhost with SMTP; 12 Jul 2004 14:55:19 -0000 Date: Mon, 12 Jul 2004 23:55:19 +0900 Message-ID: <86llhpz354.wl.t-ogawa@triaez.kaisei.org> From: OGAWA Takaya To: Takahashi Yoshihiro In-Reply-To: <20040712.200815.74734634.nyan@jp.FreeBSD.org> References: <20040711.182654.59665900.nyan@jp.FreeBSD.org> <868ydq61q0.wl.t-ogawa@triaez.kaisei.org> <20040712.200815.74734634.nyan@jp.FreeBSD.org> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) Emacs/21.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-2022-JP cc: acpi@FreeBSD.org cc: njl@FreeBSD.org Subject: Re: Panasonic acpi driver X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 15:02:02 -0000 At Mon, 12 Jul 2004 20:08:15 +0900 (JST), Takahashi Yoshihiro wrote: > > > +#define HKEY_LCD_BRIGHTNESS_SHIFT (5 - HKEY_LCD_BRIGHTNESS_BITS) > > > ^ Did you mean '8' here? > > On my CF-R1N it must be 8. The object seems to have 8bit range > > but I only used higher 4bits because I just don't want to hit the > > key ~255 times to turn off the LCD light. > > Yes. But, my CF-R3 is enough bright even though it is 5. So, I use > only 5 bits to change more smoothly. Could you clarify a little bit more? Does it mean that actual valid range for brightness is 0 to 31 instead of 0 to 255? In other words, does your LCD luminance look same between 31 and 255? In my case, LCD gets brighter linearly (roughly) from 0 to 255. > I put the result of acpidump to > http://home.jp.freebsd.org/~nyan/r3.dst.gz They seemed to change the way of controlling LCD luminance a bit. If your answer to my above question is "yes", perhaps we need a sysctl to customize what is the suitable range for brightness value. So far CF-R1N (my laptop) and CF-R2A (one user reported to me before) have the range of 0~255, and CF-R3 (yours) has 0~31. ---------- おがわ たかや t-ogawa@triaez.kaisei.org From owner-freebsd-acpi@FreeBSD.ORG Mon Jul 12 15:03:01 2004 Return-Path: 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 782F916A4CE for ; Mon, 12 Jul 2004 15:03:01 +0000 (GMT) Received: from mps6.plala.or.jp (c149240.vh.plala.or.jp [210.150.149.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 521E643D53 for ; Mon, 12 Jul 2004 15:02:58 +0000 (GMT) (envelope-from t-ogawa@triaez.kaisei.org) Received: from solder.dyndns.org ([220.221.88.1]) by mps6.plala.or.jp with SMTP id <20040712150257.NSHY4548.mps6.plala.or.jp@solder.dyndns.org> for ; Tue, 13 Jul 2004 00:02:57 +0900 Received: (qmail 79128 invoked from network); 12 Jul 2004 15:02:57 -0000 Received: from localhost (HELO gandalf.middle.earth) (127.0.0.1) by localhost with SMTP; 12 Jul 2004 15:02:57 -0000 Date: Tue, 13 Jul 2004 00:02:57 +0900 Message-ID: <86isctz2se.wl.t-ogawa@triaez.kaisei.org> From: OGAWA Takaya To: Takahashi Yoshihiro In-Reply-To: <86llhpz354.wl.t-ogawa@triaez.kaisei.org> References: <20040711.182654.59665900.nyan@jp.FreeBSD.org> <868ydq61q0.wl.t-ogawa@triaez.kaisei.org> <20040712.200815.74734634.nyan@jp.FreeBSD.org> <86llhpz354.wl.t-ogawa@triaez.kaisei.org> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) Emacs/21.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-2022-JP cc: acpi@FreeBSD.org cc: njl@FreeBSD.org Subject: Re: Panasonic acpi driver X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 15:03:01 -0000 At Mon, 12 Jul 2004 23:55:19 +0900, OGAWA Takaya wrote: > > I put the result of acpidump to > > http://home.jp.freebsd.org/~nyan/r3.dst.gz > > They seemed to change the way of controlling LCD luminance a bit. Just FYI, Acpidump result on CF-R1N: http://triaez.kaisei.org/~t-ogawa/misc/cf-r1n.dsl.gz ---------- おがわ たかや t-ogawa@triaez.kaisei.org From owner-freebsd-acpi@FreeBSD.ORG Mon Jul 12 16:16:59 2004 Return-Path: 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 DC89216A4CE; Mon, 12 Jul 2004 16:16:59 +0000 (GMT) Received: from watery.cc.kogakuin.ac.jp (watery.cc.kogakuin.ac.jp [133.80.152.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CEAF43D2D; Mon, 12 Jul 2004 16:16:59 +0000 (GMT) (envelope-from nyan@jp.FreeBSD.org) Received: from localhost (localhost [IPv6:::1])i6CGGu4O051122; Tue, 13 Jul 2004 01:16:56 +0900 (JST) (envelope-from nyan@jp.FreeBSD.org) Date: Tue, 13 Jul 2004 01:16:31 +0900 (JST) Message-Id: <20040713.011631.74707278.nyan@jp.FreeBSD.org> To: t-ogawa@triaez.kaisei.org From: Takahashi Yoshihiro In-Reply-To: <86llhpz354.wl.t-ogawa@triaez.kaisei.org> References: <868ydq61q0.wl.t-ogawa@triaez.kaisei.org> <20040712.200815.74734634.nyan@jp.FreeBSD.org> <86llhpz354.wl.t-ogawa@triaez.kaisei.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: acpi@FreeBSD.org cc: njl@FreeBSD.org Subject: Re: Panasonic acpi driver X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 16:17:00 -0000 In article <86llhpz354.wl.t-ogawa@triaez.kaisei.org> OGAWA Takaya writes: > > > On my CF-R1N it must be 8. The object seems to have 8bit range > > > but I only used higher 4bits because I just don't want to hit the > > > key ~255 times to turn off the LCD light. > > > > Yes. But, my CF-R3 is enough bright even though it is 5. So, I use > > only 5 bits to change more smoothly. > > Could you clarify a little bit more? Sorry, my description is not enough. > Does it mean that actual valid range for brightness is 0 to 31 > instead of 0 to 255? In other words, does your LCD luminance > look same between 31 and 255? Yes. > If your answer to my above question is "yes", perhaps we need a > sysctl to customize what is the suitable range for brightness > value. So far CF-R1N (my laptop) and CF-R2A (one user reported to > me before) have the range of 0~255, and CF-R3 (yours) has 0~31. I see. I'll try it. --- TAKAHASHI Yoshihiro From owner-freebsd-acpi@FreeBSD.ORG Mon Jul 12 16:33:24 2004 Return-Path: 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 E526716A4CE for ; Mon, 12 Jul 2004 16:33:24 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B88A43D2D for ; Mon, 12 Jul 2004 16:33:24 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-63-195-111-154.dsl.snfc21.pacbell.net [63.195.111.154]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id i6CGXIrb032675 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 12 Jul 2004 09:33:23 -0700 Message-ID: <40F258AF.3020609@root.org> Date: Mon, 12 Jul 2004 09:23:59 +0000 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.6 (X11/20040518) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Poul-Henning Kamp References: <2746.1089500262@critter.freebsd.dk> In-Reply-To: <2746.1089500262@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: acpi@freebsd.org Subject: Re: IBM Thinkpad T41p ACPI trouble. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 16:33:25 -0000 Poul-Henning Kamp wrote: > I bought a Thinkpad T41p some weeks back, and to my delight ACPI > worked flawlessly. I could adjust the backlight, turn the little > white "head light" led on and off, suspend etc. > > Touching the "Fn" key and any other key is pure death, but touching > the Fn key alone gives me a NUL-char. > > Tonight I went timetravelling with my kernel and get as far back as > first of may, but all along the same instant death if ACPI was provoked. As you cvs updated back in time, did you update your kernel or just the acpi module? > It is not quite instant if the laptop is running on batteries, but > it still dies within a few seconds. > > The hang has all the hallmark properties of an interrupt storm, but > no kernel warning about interrupt storm results. > > Anyone have some good and clear suggestions for how to go from here ? Try hint.apic.0.disabled="1" Reply with dmesg and acpidump -t. -- -Nate From owner-freebsd-acpi@FreeBSD.ORG Mon Jul 12 16:37:36 2004 Return-Path: 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 425D416A4CF for ; Mon, 12 Jul 2004 16:37:36 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1EF643D46 for ; Mon, 12 Jul 2004 16:37:35 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-63-195-111-154.dsl.snfc21.pacbell.net [63.195.111.154]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id i6CGbYrb032719 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 12 Jul 2004 09:37:35 -0700 Message-ID: <40F259AF.40702@root.org> Date: Mon, 12 Jul 2004 09:28:15 +0000 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.6 (X11/20040518) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Yarik Kolomiyets References: <200407121106.44507.yarik@hostok.net> In-Reply-To: <200407121106.44507.yarik@hostok.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org Subject: Re: fdc problem on STABLE X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 16:37:36 -0000 Yarik Kolomiyets wrote: > After browsing mailing list I've discovered that there's no fdc problem in > CURRENT anymore. But it still exists in STABLE. > > Question: when the merge is scheduled for? You'll have to be more specific. Which fdc problem? -Nate From owner-freebsd-acpi@FreeBSD.ORG Mon Jul 12 20:41:54 2004 Return-Path: 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 86D4216A4CE for ; Mon, 12 Jul 2004 20:41:54 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id E467E43D3F for ; Mon, 12 Jul 2004 20:41:53 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.11/8.12.11) with ESMTP id i6CKfoMD002693; Mon, 12 Jul 2004 22:41:50 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Nate Lawson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 12 Jul 2004 09:23:59 -0000." <40F258AF.3020609@root.org> Date: Mon, 12 Jul 2004 22:41:50 +0200 Message-ID: <2692.1089664910@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: acpi@freebsd.org Subject: Re: IBM Thinkpad T41p ACPI trouble. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 20:41:54 -0000 In message <40F258AF.3020609@root.org>, Nate Lawson writes: >Poul-Henning Kamp wrote: >> I bought a Thinkpad T41p some weeks back, and to my delight ACPI >> worked flawlessly. I could adjust the backlight, turn the little >> white "head light" led on and off, suspend etc. >> >> Touching the "Fn" key and any other key is pure death, but touching >> the Fn key alone gives me a NUL-char. >> >> Tonight I went timetravelling with my kernel and get as far back as >> first of may, but all along the same instant death if ACPI was provoked. > >As you cvs updated back in time, did you update your kernel or just the >acpi module? kernel+acpi. Anyway, it seems that if the CD/RW drive is in, the machine works great, if not it is toast. No clue to why yet. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-acpi@FreeBSD.ORG Mon Jul 12 21:01:07 2004 Return-Path: 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 3B38F16A4CF for ; Mon, 12 Jul 2004 21:01:07 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id E768443D3F for ; Mon, 12 Jul 2004 21:01:06 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-63-195-111-154.dsl.snfc21.pacbell.net [63.195.111.154]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id i6CL15rb004789 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 12 Jul 2004 14:01:06 -0700 Message-ID: <40F29771.1000404@root.org> Date: Mon, 12 Jul 2004 13:51:45 +0000 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.6 (X11/20040518) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Poul-Henning Kamp References: <2692.1089664910@critter.freebsd.dk> In-Reply-To: <2692.1089664910@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: acpi@freebsd.org Subject: Re: IBM Thinkpad T41p ACPI trouble. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 21:01:07 -0000 Poul-Henning Kamp wrote: > In message <40F258AF.3020609@root.org>, Nate Lawson writes: > >>Poul-Henning Kamp wrote: >> >>>I bought a Thinkpad T41p some weeks back, and to my delight ACPI >>>worked flawlessly. I could adjust the backlight, turn the little >>>white "head light" led on and off, suspend etc. >>> >>>Touching the "Fn" key and any other key is pure death, but touching >>>the Fn key alone gives me a NUL-char. >>> >>>Tonight I went timetravelling with my kernel and get as far back as >>>first of may, but all along the same instant death if ACPI was provoked. >> >>As you cvs updated back in time, did you update your kernel or just the >>acpi module? > > kernel+acpi. > > Anyway, it seems that if the CD/RW drive is in, the machine works > great, if not it is toast. No clue to why yet. Are you sure the machine is hanging and not panicing? -Nate From owner-freebsd-acpi@FreeBSD.ORG Mon Jul 12 21:13:32 2004 Return-Path: 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 6215516A4CE for ; Mon, 12 Jul 2004 21:13:32 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id B82E443D1F for ; Mon, 12 Jul 2004 21:13:31 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.11/8.12.11) with ESMTP id i6CLDU4Z003233; Mon, 12 Jul 2004 23:13:30 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Nate Lawson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 12 Jul 2004 13:51:45 -0000." <40F29771.1000404@root.org> Date: Mon, 12 Jul 2004 23:13:30 +0200 Message-ID: <3232.1089666810@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: acpi@freebsd.org Subject: Re: IBM Thinkpad T41p ACPI trouble. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 21:13:32 -0000 In message <40F29771.1000404@root.org>, Nate Lawson writes: >Poul-Henning Kamp wrote: >> In message <40F258AF.3020609@root.org>, Nate Lawson writes: >> >>>Poul-Henning Kamp wrote: >>> >>>>I bought a Thinkpad T41p some weeks back, and to my delight ACPI >>>>worked flawlessly. I could adjust the backlight, turn the little >>>>white "head light" led on and off, suspend etc. >>>> >>>>Touching the "Fn" key and any other key is pure death, but touching >>>>the Fn key alone gives me a NUL-char. >>>> >>>>Tonight I went timetravelling with my kernel and get as far back as >>>>first of may, but all along the same instant death if ACPI was provoked. >>> >>>As you cvs updated back in time, did you update your kernel or just the >>>acpi module? >> >> kernel+acpi. >> >> Anyway, it seems that if the CD/RW drive is in, the machine works >> great, if not it is toast. No clue to why yet. > >Are you sure the machine is hanging and not panicing? Yes absolutely. I've done this in single-user and the machine is just dead, it doesn't react to wireless, ethernet, keyboard or anything else. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-acpi@FreeBSD.ORG Tue Jul 13 12:23:14 2004 Return-Path: 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 B81E816A4CF for ; Tue, 13 Jul 2004 12:23:14 +0000 (GMT) Received: from acampi.inet.it (acampi.inet.it [213.92.1.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76FB043D45 for ; Tue, 13 Jul 2004 12:23:14 +0000 (GMT) (envelope-from andrea@acampi.inet.it) Received: by acampi.inet.it (Postfix, from userid 1000) id 1790215511; Tue, 13 Jul 2004 14:23:13 +0200 (CEST) Date: Tue, 13 Jul 2004 14:23:13 +0200 From: Andrea Campi To: Andrea Campi Message-ID: <20040713122312.GA47428@webcom.it> References: <20040706084203.GB19813@webcom.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040706084203.GB19813@webcom.it> User-Agent: Mutt/1.5.6i cc: freebsd-acpi@FreeBSD.org Subject: [FOUND}: CPU Cx states not working with recent kernel on Thinkpad X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 12:23:14 -0000 Hi, On Tue, Jul 06, 2004 at 10:42:05AM +0200, Andrea Campi wrote: > I upgraded my Thinkpad 570E from a beginning of June kernel to new > sources cvsup'd after the recent changes (ACPICA import etc) a couple > of days ago. I now get this: > > ... > cpu0: port 0x530-0x537 on acpi0 > cpu0: Failed to attach throttling P_CNT I was able to determine this issue appeared with acpi.c rev 1.159 and related ("Add support to ACPI to manage its own resources."). Looking at devinfo -vr before and after the commit (see below) seems to confirm that something changed, although I can't understand how that caused the breakage. In fact, all the involved I/O ports are not reserved by any acpi_sysresource*, so I have no idea where to go from here. Nate (or anybody else), any idea? Bye, Andrea --- devinfo.good Tue Jul 13 13:41:08 2004 +++ devinfo.bad Tue Jul 13 13:56:21 2004 @@ -7,10 +7,6 @@ I/O ports: 0x1008-0x100b cpu0 pnpinfo _HID=UNKNOWN _UID=0 at path=\_PR_.CPU_ - I/O ports: - 0x1010-0x1013 - 0x1014 - 0x1015 acpi_tz0 pnpinfo _HID=UNKNOWN _UID=0 at path=\_TZ_.THM0 unknown pnpinfo _HID=UNKNOWN _UID=0 at path=\_TZ_.FANP unknown pnpinfo _HID=PNP0C0B _UID=0 at path=\_TZ_.FAN_ @@ -83,6 +79,7 @@ orm0 I/O memory addresses: 0xc0000-0xcbfff + I/O memory addresses: 0xe8000-0xeffff atapci0 pnpinfo vendor=0x8086 device=0x7111 subvendor=0x0000 subdevice=0x0000 class=0x010180 at slot=6 function=1 path=\ _SB_.PCI_.IDE_ I/O ports: @@ -127,7 +124,11 @@ attimer1 pnpinfo _HID=PNP0B00 _UID=0 at path=\_SB_.PCI_.ISA_.RTC_ speaker0 pnpinfo _HID=PNP0800 _UID=0 at path=\_SB_.PCI_.ISA_.SPKR npxisa0 pnpinfo _HID=PNP0C04 _UID=0 at path=\_SB_.PCI_.ISA_.MATH - unknown pnpinfo _HID=PNP0C01 _UID=0 at path=\_SB_.PCI_.ISA_.MEM_ + acpi_sysresource0 pnpinfo _HID=PNP0C01 _UID=0 at path=\_SB_.PCI_.ISA_.MEM_ + I/O memory addresses: + 0x0-0x9ffff + 0xe0000-0xfffff + 0xfff80000-0xffffffff atkbdc0 pnpinfo _HID=PNP0303 _UID=0 at path=\_SB_.PCI_.ISA_.KBC_ I/O ports: 0x60 @@ -166,7 +167,7 @@ fd0 unknown pnpinfo _HID=PNP0A05 _UID=3 at path=\_SB_.PCI_.ISA_.EC__ unknown pnpinfo _HID=PNP0C15 _UID=4 at path=\_SB_.PCI_.ISA_.SLCE - acpi_sysresource0 pnpinfo _HID=PNP0C02 _UID=1 at path=\_SB_.PCI_.ISA_.MBRD + acpi_sysresource1 pnpinfo _HID=PNP0C02 _UID=1 at path=\_SB_.PCI_.ISA_.MBRD I/O ports: 0x10-0x1f 0x24-0x25 @@ -185,9 +186,10 @@ 0xb0-0xb5 0xb8-0xb9 0xbc-0xbd + 0x1040-0x104f 0x15ea-0x15ef 0xfe00-0xfe0f - acpi_sysresource1 pnpinfo _HID=PNP0C02 _UID=2 at path=\_SB_.PCI_.ISA_.ROM_ + acpi_sysresource2 pnpinfo _HID=PNP0C02 _UID=2 at path=\_SB_.PCI_.ISA_.ROM_ unknown pnpinfo _HID=UNKNOWN _UID=0 at path=\_SB_.PCI_.IDE_ unknown pnpinfo _HID=UNKNOWN _UID=0 at path=\_SB_.PCI_.IDE_.PRIM unknown pnpinfo _HID=UNKNOWN _UID=0 at path=\_SB_.PCI_.IDE_.PRIM.MAST -- Secret hacker rule #11: hackers read manuals. From owner-freebsd-acpi@FreeBSD.ORG Tue Jul 13 14:41:47 2004 Return-Path: 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 3297B16A4CF for ; Tue, 13 Jul 2004 14:41:47 +0000 (GMT) Received: from basalt.tackymt.homeip.net (YahooBB219181148048.bbtec.net [219.181.148.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2329A43D53 for ; Tue, 13 Jul 2004 14:41:46 +0000 (GMT) (envelope-from taku@tackymt.homeip.net) Received: from localhost (localhost [127.0.0.1]) by basalt.tackymt.homeip.net (Postfix) with ESMTP id 00A8C1075D for ; Tue, 13 Jul 2004 23:41:44 +0900 (JST) Received: from maestro.tackymt.homeip.net (unknown [IPv6:2001:3e0:577:0:240:26ff:fe49:1c9d]) by basalt.tackymt.homeip.net (Postfix) with ESMTP for ; Tue, 13 Jul 2004 23:41:44 +0900 (JST) Date: Tue, 13 Jul 2004 23:41:43 +0900 From: Taku YAMAMOTO To: freebsd-acpi@freebsd.org Message-Id: <20040713234143.051ddd3e.taku@tackymt.homeip.net> In-Reply-To: <20040713122312.GA47428@webcom.it> References: <20040706084203.GB19813@webcom.it> <20040713122312.GA47428@webcom.it> X-Mailer: Sylpheed version 0.9.12-gtk2-20040622 (GTK+ 2.2.4; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at tackymt.homeip.net Subject: Re: [FOUND}: CPU Cx states not working with recent kernel on Thinkpad X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 14:41:47 -0000 On Tue, 13 Jul 2004 14:23:13 +0200 Andrea Campi wrote: > Hi, > > On Tue, Jul 06, 2004 at 10:42:05AM +0200, Andrea Campi wrote: > > I upgraded my Thinkpad 570E from a beginning of June kernel to new > > sources cvsup'd after the recent changes (ACPICA import etc) a couple > > of days ago. I now get this: > > > > ... > > cpu0: port 0x530-0x537 on acpi0 > > cpu0: Failed to attach throttling P_CNT > > I was able to determine this issue appeared with acpi.c rev 1.159 and > related ("Add support to ACPI to manage its own resources."). Looking > at devinfo -vr before and after the commit (see below) seems to > confirm that something changed, although I can't understand how that > caused the breakage. In fact, all the involved I/O ports are not > reserved by any acpi_sysresource*, so I have no idea where to go > from here. > > Nate (or anybody else), any idea? I suspect it's because acpi_timer0 gets attached and sits on not-yet-managed resources before acpi_sysresource0 reserves resources for later use. We can confirm that by temporarily disabling acpi_timer by debug.acpi.disabled="timer" to see the working acpi_cpu. Can we defer the attachment of acpi_timer0 after acpi_sysresource? -- -|-__ YAMAMOTO, Taku | __ < From owner-freebsd-acpi@FreeBSD.ORG Tue Jul 13 14:55:54 2004 Return-Path: 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 218F616A4CE for ; Tue, 13 Jul 2004 14:55:54 +0000 (GMT) Received: from acampi.inet.it (acampi.inet.it [213.92.1.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDF2343D2F for ; Tue, 13 Jul 2004 14:55:53 +0000 (GMT) (envelope-from andrea@acampi.inet.it) Received: by acampi.inet.it (Postfix, from userid 1000) id C10161550C; Tue, 13 Jul 2004 16:55:52 +0200 (CEST) Date: Tue, 13 Jul 2004 16:55:52 +0200 From: Andrea Campi To: Taku YAMAMOTO Message-ID: <20040713145552.GB47428@webcom.it> References: <20040706084203.GB19813@webcom.it> <20040713122312.GA47428@webcom.it> <20040713234143.051ddd3e.taku@tackymt.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040713234143.051ddd3e.taku@tackymt.homeip.net> User-Agent: Mutt/1.5.6i cc: freebsd-acpi@freebsd.org Subject: Re: [FOUND}: CPU Cx states not working with recent kernel on Thinkpad X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 14:55:54 -0000 Hi, On Tue, Jul 13, 2004 at 11:41:43PM +0900, Taku YAMAMOTO wrote: > I suspect it's because acpi_timer0 gets attached and sits on > not-yet-managed resources before acpi_sysresource0 reserves > resources for later use. > > We can confirm that by temporarily disabling acpi_timer by > debug.acpi.disabled="timer" to see the working acpi_cpu. That's confirmed; disabling the timer fixed the issue, and devinfo confirms what you said: --- devinfo.bad Tue Jul 13 13:56:21 2004 +++ devinfo.fixed Tue Jul 13 16:48:13 2004 @@ -3,10 +3,11 @@ acpi0 Interrupt request lines: 0x9 - acpi_timer0 pnpinfo Unknown at magic=unknown - I/O ports: - 0x1008-0x100b cpu0 pnpinfo _HID=UNKNOWN _UID=0 at path=\_PR_.CPU_ + I/O ports: + 0x1010-0x1013 + 0x1014 + 0x1015 acpi_tz0 pnpinfo _HID=UNKNOWN _UID=0 at path=\_TZ_.THM0 unknown pnpinfo _HID=UNKNOWN _UID=0 at path=\_TZ_.FANP unknown pnpinfo _HID=PNP0C0B _UID=0 at path=\_TZ_.FAN_ @@ -186,6 +187,7 @@ 0xb0-0xb5 0xb8-0xb9 0xbc-0xbd + 0x1000-0x103f 0x1040-0x104f 0x15ea-0x15ef 0xfe00-0xfe0f Thanks for the help; I'll keep an eye on the usual places for the real solution. Bye, Andrea -- To boldly go where I surely don't belong. From owner-freebsd-acpi@FreeBSD.ORG Tue Jul 13 17:58:31 2004 Return-Path: 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 C3C7916A4CE for ; Tue, 13 Jul 2004 17:58:31 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F33243D2F for ; Tue, 13 Jul 2004 17:58:31 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-63-195-111-154.dsl.snfc21.pacbell.net [63.195.111.154]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id i6DHwTrb025349 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 13 Jul 2004 10:58:30 -0700 Message-ID: <40F3BDDD.3070408@root.org> Date: Tue, 13 Jul 2004 10:47:57 +0000 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.6 (X11/20040518) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrea Campi References: <20040706084203.GB19813@webcom.it> <20040713122312.GA47428@webcom.it> <20040713234143.051ddd3e.taku@tackymt.homeip.net> <20040713145552.GB47428@webcom.it> In-Reply-To: <20040713145552.GB47428@webcom.it> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org Subject: Re: [FOUND}: CPU Cx states not working with recent kernel on Thinkpad X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 17:58:31 -0000 Andrea Campi wrote: > Hi, > > On Tue, Jul 13, 2004 at 11:41:43PM +0900, Taku YAMAMOTO wrote: > >>I suspect it's because acpi_timer0 gets attached and sits on >>not-yet-managed resources before acpi_sysresource0 reserves >>resources for later use. >> >>We can confirm that by temporarily disabling acpi_timer by >>debug.acpi.disabled="timer" to see the working acpi_cpu. > > > That's confirmed; disabling the timer fixed the issue, and devinfo > confirms what you said: I just committed a fix. We now call device_identify routines after the namespace walk. Thanks for the helpful info. -- -Nate From owner-freebsd-acpi@FreeBSD.ORG Tue Jul 13 20:14:41 2004 Return-Path: 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 B7B8816A4CE for ; Tue, 13 Jul 2004 20:14:41 +0000 (GMT) Received: from postman.ripe.net (postman.ripe.net [193.0.0.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8F2A43D2D for ; Tue, 13 Jul 2004 20:14:40 +0000 (GMT) (envelope-from marks@dell-laptop.6bone.nl) Received: by postman.ripe.net (Postfix, from userid 8) id 2B2DD4EC15; Tue, 13 Jul 2004 22:14:40 +0200 (CEST) Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by postman.ripe.net (Postfix) with ESMTP id C382B4E345; Tue, 13 Jul 2004 22:14:39 +0200 (CEST) Received: from dell-laptop.6bone.nl (cow.ripe.net [193.0.1.239]) by birch.ripe.net (8.12.10/8.11.6) with SMTP id i6DKEd4c016556; Tue, 13 Jul 2004 22:14:39 +0200 Received: (nullmailer pid 2413 invoked by uid 1001); Tue, 13 Jul 2004 15:27:27 -0000 Date: Tue, 13 Jul 2004 17:27:27 +0200 From: Mark Santcroos To: Anish Mistry Message-ID: <20040713152727.GA1018@laptop.6bone.nl> References: <200401121945.59585.mistry.7@osu.edu> <20040112172739.H58453@root.org> <200407021147.52966.mistry.7@osu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200407021147.52966.mistry.7@osu.edu> User-Agent: Mutt/1.4.2.1i X-Handles: MS6-6BONE, MS18417-RIPE X-RIPE-Spam-Level: X-RIPE-Spam-Status: N 0.000014 / 0.0 / 0.0 / disabled X-RIPE-Signature: e65925030fc1b5593355c5b9a3d18e6d cc: freebsd-acpi@freebsd.org Subject: Re: [acpi-jp 3000] Re: Fujitsu Function Button ACPI Module (FJEX) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 20:14:41 -0000 On Fri, Jul 02, 2004 at 11:47:36AM -0400, Anish Mistry wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Monday 12 January 2004 08:29 pm, Nate Lawson wrote: > > On Mon, 12 Jan 2004, Anish Mistry wrote: > > > I've been sitting on this for a while waiting to hear back from the > > > primary author, but no word after a few weeks, so I'm posting it to see > > > what people think. This module allows a program to receive events when > > > the function buttons are pressed. It's companion userland program > > > fujiapp hooks in and receives and event when a button is pressed and show > > > the level. It has only been tested on the Fujitsu P2000 series laptops, > > > but may work on other models with the FJEX acpi device. > > > > > > Sean's website: > > > http://www.stalker.org/~sean/freebsd-p2040/FujiApp/ > > > > > > My modifications to make it a loadable module: > > > http://am-productions.biz/docs/acpi_fjex.tgz > > > and just fujiapp without the module source included: > > > http://am-productions.biz/docs/fujiapp-1.1.tgz > > > > You should use acpi_UserNotify() to send events to userland. The events > > will appear on /dev/devctl and can be parsed by devd. If you can do what > > you want via devd.conf, fine. If you want to have your own program > > reading /dev/devctl, you'll have to implement device cloning for > > /dev/devctl first or not run devd. (A current deficiently in devctl is > > that only one reader can be present at a time.) > > > > -Nate > After much procrastination I've finally updated this module to CURRENT and > match the Toshiba driver. Test if you have a Fujitsu P2000 (I've heard this > device also appears on the P5000 and the S series). > > http://am-productions.biz/docs/acpi_fuji.tgz > > FYI: My network has been a bit flaky you might have to request it a couple of > times before it goes through. > > Opps, sent it to the old list. I know that there are some style issues, but > I'd like to get comments about anything that is wrong with the way I've done > things, or just suggestions. Hi, I forgot whether I mentioned it already, but I'm having a look at it (again). We should get it ready for import this time, I tried to get some Fujitsu laptop, but that failed, so you have to do the testing for me. Mark From owner-freebsd-acpi@FreeBSD.ORG Tue Jul 13 22:13:43 2004 Return-Path: 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 80C3E16A4CE for ; Tue, 13 Jul 2004 22:13:43 +0000 (GMT) Received: from crumpet.united-ware.com (ddsl-66-42-172-210.fuse.net [66.42.172.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id C58F543D67 for ; Tue, 13 Jul 2004 22:13:42 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.102] (ddsl-66-42-172-210.fuse.net [66.42.172.210]) (authenticated bits=0)i6DM4FAO077354 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Tue, 13 Jul 2004 18:04:17 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: Mark Santcroos Date: Tue, 13 Jul 2004 18:09:15 -0400 User-Agent: KMail/1.6.2 References: <200401121945.59585.mistry.7@osu.edu> <200407021147.52966.mistry.7@osu.edu> <20040713152727.GA1018@laptop.6bone.nl> In-Reply-To: <20040713152727.GA1018@laptop.6bone.nl> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200407131809.20598.mistry.7@osu.edu> X-Spam-Status: No, hits=-4.9 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE, QUOTED_EMAIL_TEXT,RCVD_IN_ORBS,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_KMAIL version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-acpi@freebsd.org Subject: Re: [acpi-jp 3000] Re: Fujitsu Function Button ACPI Module (FJEX) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 22:13:43 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 13 July 2004 11:27 am, you wrote: > On Fri, Jul 02, 2004 at 11:47:36AM -0400, Anish Mistry wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > On Monday 12 January 2004 08:29 pm, Nate Lawson wrote: > > > On Mon, 12 Jan 2004, Anish Mistry wrote: > > > > I've been sitting on this for a while waiting to hear back from the > > > > primary author, but no word after a few weeks, so I'm posting it to > > > > see what people think. This module allows a program to receive > > > > events when the function buttons are pressed. It's companion > > > > userland program fujiapp hooks in and receives and event when a > > > > button is pressed and show the level. It has only been tested on t= he > > > > Fujitsu P2000 series laptops, but may work on other models with the > > > > FJEX acpi device. > > > > > > > > Sean's website: > > > > http://www.stalker.org/~sean/freebsd-p2040/FujiApp/ > > > > > > > > My modifications to make it a loadable module: > > > > http://am-productions.biz/docs/acpi_fjex.tgz > > > > and just fujiapp without the module source included: > > > > http://am-productions.biz/docs/fujiapp-1.1.tgz > > > > > > You should use acpi_UserNotify() to send events to userland. The > > > events will appear on /dev/devctl and can be parsed by devd. If you > > > can do what you want via devd.conf, fine. If you want to have your o= wn > > > program reading /dev/devctl, you'll have to implement device cloning > > > for /dev/devctl first or not run devd. (A current deficiently in devc= tl > > > is that only one reader can be present at a time.) > > > > > > -Nate > > > > After much procrastination I've finally updated this module to CURRENT > > and match the Toshiba driver. Test if you have a Fujitsu P2000 (I've > > heard this device also appears on the P5000 and the S series). > > > > http://am-productions.biz/docs/acpi_fuji.tgz > > > > FYI: My network has been a bit flaky you might have to request it a > > couple of times before it goes through. > > > > Opps, sent it to the old list. I know that there are some style issues, > > but I'd like to get comments about anything that is wrong with the way > > I've done things, or just suggestions. > > Hi, > > I forgot whether I mentioned it already, but I'm having a look at it > (again). We should get it ready for import this time, I tried to get some > Fujitsu laptop, but that failed, so you have to do the testing for me. > I'd be happy to test the code changes. The code that I've linked to works= =20 quite well on my P2110, and I've created a little companion script that=20 displays changes by receiving events from devd, which I haven't posted yet. =2D --=20 Anish Mistry =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA9F2LxqA5ziudZT0RAqluAJ9TAEBiqvg7wJedR/DwE6976NrAewCcDygZ zPKNnesm6Kk7nFDuov9N1D0=3D =3DKq5Z =2D----END PGP SIGNATURE----- From owner-freebsd-acpi@FreeBSD.ORG Wed Jul 14 05:59:08 2004 Return-Path: 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 9896716A4CE for ; Wed, 14 Jul 2004 05:59:08 +0000 (GMT) Received: from fuf.mingrone.org (fuf.mingrone.org [204.251.2.34]) by mx1.FreeBSD.org (Postfix) with SMTP id 4192E43D31 for ; Wed, 14 Jul 2004 05:59:08 +0000 (GMT) (envelope-from joey@mingrone.org) Received: (qmail 35218 invoked from network); 14 Jul 2004 05:58:52 -0000 Received: from fuf.mingrone.org (HELO localhost) (204.251.2.34) by fuf.mingrone.org with SMTP; 14 Jul 2004 05:58:52 -0000 From: Joey Mingrone To: freebsd-acpi@freebsd.org Date: Wed, 14 Jul 2004 02:58:38 -0300 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200407140258.38445.joey@mingrone.org> Subject: hw.clockrate X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 05:59:08 -0000 Hi, I'm running 5.2.1-RELEASE-p9 on an Asus M6800n (1.7 GHz Pentium M), but hw.clockrate is showing 600 even when I'm plugged. Is my CPU really running at 600MHz? Thanks, Joey From owner-freebsd-acpi@FreeBSD.ORG Wed Jul 14 06:15:27 2004 Return-Path: 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 0CE2B16A4CE for ; Wed, 14 Jul 2004 06:15:27 +0000 (GMT) Received: from mailhub01.unibe.ch (mailhub01-skge0.unibe.ch [130.92.9.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73B4443D1D for ; Wed, 14 Jul 2004 06:15:26 +0000 (GMT) (envelope-from roth@speedy.unibe.ch) Received: from localhost (scanhub03-eth0.unibe.ch [130.92.254.67]) by mailhub01.unibe.ch (Postfix) with ESMTP id 3F45925BAB2; Wed, 14 Jul 2004 08:15:25 +0200 (MEST) Received: from mailhub01.unibe.ch ([130.92.9.52]) by localhost (scanhub03.unibe.ch [130.92.254.67]) (amavisd-new, port 10024) with LMTP id 24313-01-61; Wed, 14 Jul 2004 08:15:21 +0200 (CEST) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub01.unibe.ch (Postfix) with ESMTP id 4EFA225BB2B; Wed, 14 Jul 2004 08:15:23 +0200 (MEST) Received: from speedy.unibe.ch (speedy [130.92.64.35]) by asterix.unibe.ch (8.11.7p1+Sun/8.11.7) with ESMTP id i6E6FNh19099; Wed, 14 Jul 2004 08:15:23 +0200 (MET DST) Received: (from roth@localhost) by speedy.unibe.ch (8.12.10+Sun/8.12.9/Submit) id i6E6FMIF016105; Wed, 14 Jul 2004 08:15:22 +0200 (MEST) Date: Wed, 14 Jul 2004 08:15:22 +0200 From: Tobias Roth To: Joey Mingrone Message-ID: <20040714061522.GA16090@speedy.unibe.ch> References: <200407140258.38445.joey@mingrone.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200407140258.38445.joey@mingrone.org> User-Agent: Mutt/1.4i X-message-flag: Warning! Using Outlook is insecure and promotes virus distribution. Please use a different email client. X-Virus-checked: by University of Berne cc: freebsd-acpi@freebsd.org Subject: Re: hw.clockrate X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 06:15:27 -0000 On Wed, Jul 14, 2004 at 02:58:38AM -0300, Joey Mingrone wrote: > > I'm running 5.2.1-RELEASE-p9 on an Asus M6800n (1.7 GHz Pentium M), but > hw.clockrate is showing 600 even when I'm plugged. Is my CPU really running > at 600MHz? looks like it. try to enable (yes, enable) speedstep in the bios, that helped me in the past. however, these days, my thinkpad runs only on 1.2GHz (1.8GHz max), and nothing i do changes that. the same low 1.2GHz in gnu/linux and windows. luckily, i still have warranty... From owner-freebsd-acpi@FreeBSD.ORG Wed Jul 14 07:26:40 2004 Return-Path: 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 5E8E116A4CE for ; Wed, 14 Jul 2004 07:26:40 +0000 (GMT) Received: from gateway.nixsys.be (gateway.nixsys.be [195.144.77.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF28F43D39 for ; Wed, 14 Jul 2004 07:26:39 +0000 (GMT) (envelope-from philip@nixsys.be) Received: from loge.nixsys.be (loge.nixsys.be [195.144.77.45]) by gateway.nixsys.be (Postfix) with ESMTP id A582D44 for ; Wed, 14 Jul 2004 09:26:38 +0200 (CEST) Received: from loge.nixsys.be (philip@localhost [127.0.0.1]) by loge.nixsys.be (8.12.11/8.12.11) with ESMTP id i6E7QbJo000910; Wed, 14 Jul 2004 09:26:37 +0200 (CEST) (envelope-from philip@loge.nixsys.be) Received: (from philip@localhost) by loge.nixsys.be (8.12.11/8.12.11/Submit) id i6E7QZw1000909; Wed, 14 Jul 2004 09:26:35 +0200 (CEST) (envelope-from philip) Date: Wed, 14 Jul 2004 09:26:33 +0200 From: Philip Paeps To: Mark Santcroos Message-ID: <20040714072633.GA647@loge.nixsys.be> References: <200401121945.59585.mistry.7@osu.edu> <20040112172739.H58453@root.org> <200407021147.52966.mistry.7@osu.edu> <20040713152727.GA1018@laptop.6bone.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040713152727.GA1018@laptop.6bone.nl> X-Date-in-Rome: pridie Idius Iulias MMDCCLVII ab Urbe Condida X-PGP-Fingerprint: FA74 3C27 91A6 79D5 F6D3 FC53 BF4B D0E6 049D B879 X-Message-Flag: Get a proper mailclient! User-Agent: Mutt/1.5.6i cc: freebsd-acpi@freebsd.org Subject: Re: [acpi-jp 3000] Re: Fujitsu Function Button ACPI Module (FJEX) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 07:26:40 -0000 On 2004-07-13 17:27:27 (+0200), Mark Santcroos wrote: > On Fri, Jul 02, 2004 at 11:47:36AM -0400, Anish Mistry wrote: > > After much procrastination I've finally updated this module to CURRENT and > > match the Toshiba driver. Test if you have a Fujitsu P2000 (I've heard > > this device also appears on the P5000 and the S series). > > I forgot whether I mentioned it already, but I'm having a look at it > (again). We should get it ready for import this time, I tried to get some > Fujitsu laptop, but that failed, so you have to do the testing for me. I can also do some testing, if you like. - Philip -- Philip Paeps Please don't CC me, I am subscribed to the list. Those whose approval you seek the most give you the least. From owner-freebsd-acpi@FreeBSD.ORG Wed Jul 14 07:54:40 2004 Return-Path: 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 6A77B16A4CE for ; Wed, 14 Jul 2004 07:54:40 +0000 (GMT) Received: from fuf.mingrone.org (fuf.mingrone.org [204.251.2.34]) by mx1.FreeBSD.org (Postfix) with SMTP id 1ACD743D2D for ; Wed, 14 Jul 2004 07:54:40 +0000 (GMT) (envelope-from joey@mingrone.org) Received: (qmail 36209 invoked from network); 14 Jul 2004 07:54:37 -0000 Received: from fuf.mingrone.org (HELO localhost) (204.251.2.34) by fuf.mingrone.org with SMTP; 14 Jul 2004 07:54:37 -0000 From: Joey Mingrone To: freebsd-acpi@freebsd.org Date: Wed, 14 Jul 2004 04:54:37 -0300 User-Agent: KMail/1.6.2 References: <200407140258.38445.joey@mingrone.org> In-Reply-To: <200407140258.38445.joey@mingrone.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407140454.37333.joey@mingrone.org> Subject: Re: hw.clockrate X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 07:54:40 -0000 On July 14, 2004 02:58, Joey Mingrone wrote: > Hi, > > I'm running 5.2.1-RELEASE-p9 on an Asus M6800n (1.7 GHz Pentium M), but > hw.clockrate is showing 600 even when I'm plugged. Is my CPU really > running at 600MHz? > > Thanks, > > Joey Err... would the 600 MHz be the FSB? From owner-freebsd-acpi@FreeBSD.ORG Wed Jul 14 16:41:53 2004 Return-Path: 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 1C60F16A4CE for ; Wed, 14 Jul 2004 16:41:53 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBAEE43D39 for ; Wed, 14 Jul 2004 16:41:47 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-63-195-111-154.dsl.snfc21.pacbell.net [63.195.111.154]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id i6EGfkrb015659 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 14 Jul 2004 09:41:46 -0700 Message-ID: <40F56211.8010608@root.org> Date: Wed, 14 Jul 2004 09:40:49 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.6 (X11/20040518) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joey Mingrone References: <200407140258.38445.joey@mingrone.org> In-Reply-To: <200407140258.38445.joey@mingrone.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org Subject: Re: hw.clockrate X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 16:41:53 -0000 Joey Mingrone wrote: > Hi, > > I'm running 5.2.1-RELEASE-p9 on an Asus M6800n (1.7 GHz Pentium M), but > hw.clockrate is showing 600 even when I'm plugged. Is my CPU really running > at 600MHz? My thinkpad boots and stays at a lower performance state (733 vs. 1 ghz) if booted on batteries, even when later plugged in. So are you booting with the AC adapter in? Also, check your BIOS settings (as someone else said). I'm trying to finish up the cpufreq driver, which will provide automatic and manual control of clock/voltage. That's the real answer. -Nate From owner-freebsd-acpi@FreeBSD.ORG Thu Jul 15 19:19:25 2004 Return-Path: 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 AC98416A4CE; Thu, 15 Jul 2004 19:19:25 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69DE543D46; Thu, 15 Jul 2004 19:19:25 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-63-195-111-154.dsl.snfc21.pacbell.net [63.195.111.154]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id i6FJJOrb011151 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 15 Jul 2004 12:19:24 -0700 Message-ID: <40F6D871.1090207@root.org> Date: Thu, 15 Jul 2004 12:18:09 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 Followup-To: acpi@freebsd.org To: John Baldwin References: <200406231508.i5NF8egh052377@repoman.freebsd.org> <200406231122.04154.jhb@FreeBSD.org> <20040715161403.GA741@laptop.6bone.nl> <200407151418.01839.jhb@FreeBSD.org> In-Reply-To: <200407151418.01839.jhb@FreeBSD.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 15 Jul 2004 19:21:47 +0000 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/acpica acpi_pci.c X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2004 19:19:26 -0000 [Followups to the acpi list] John Baldwin wrote: > On Thursday 15 July 2004 12:14 pm, Mark Santcroos wrote: >>You forgot to mention that this commit breaks acpi_video ;-) >> >>The fact that "\_SB_.PCI0.AGP_.VID_" now no longer is "unknown", means that >>it is not probed anymore. >> >>The result of that is that acpi_video can't attach anymore of course. > > That's because acpi_video is really a PCI driver. :) The device it is > attaching too is a PCI device, not an ACPI device, hence the confusion. I > have some early work started on a vga_pci driver that would have child > devices like acpi_video0, drm0, agp0 (for Intel onboard graphics), and dpms0. I ran into this fundamental mismatch in building the infrastructure for the floppy attachment. You might have an ACPI handle namespace like this: _SB PCI0 LPC FDC0 FDD0 FOOBAR USB0 With a FreeBSD device hierarchy of: acpi0 fdc0 fd0 foobar pcib0 pci0 uhci0 Currently, we start with a flat device space when probing children: acpi0 pci0 isa0 fdc0 fd0 foobar uhci0 And then let each bus driver rework its children. PCI updates its child handles (USB0), deleting the initial device and adding a new one. FDC does the same thing. John is right in that acpi_video needs to attach to video_pci and not acpi directly. The new acpi_scan_children method should help do this without creating binary dependencies between drivers. -- -Nate From owner-freebsd-acpi@FreeBSD.ORG Fri Jul 16 05:57:55 2004 Return-Path: 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 0074B16A4CE for ; Fri, 16 Jul 2004 05:57:55 +0000 (GMT) Received: from axe-inc.co.jp (axegw.axe-inc.co.jp [61.199.217.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BF0643D3F for ; Fri, 16 Jul 2004 05:57:54 +0000 (GMT) (envelope-from takawata@axe-inc.co.jp) Received: from localhost (localhost [127.0.0.1]) by axe-inc.co.jp (8.9.3+3.2W/3.7W) with SMTP id OAA10108; Fri, 16 Jul 2004 14:57:49 +0900 (JST) Message-Id: <200407160557.OAA10108@axe-inc.co.jp> X-Authentication-Warning: axegw.axe-inc.co.jp: localhost [127.0.0.1] didn't use HELO protocol To: Niki Denev From: takawata@jp.freebsd.org In-reply-to: Your message of "Fri, 16 Jul 2004 08:26:28 +0300." Date: Fri, 16 Jul 2004 14:57:49 +0900 Sender: takawata@axe-inc.co.jp cc: acpi@freebsd.org Subject: Re: acpi_video users needed X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 05:57:55 -0000 In message , Niki Denev wrote: >Randy Bush writes: > >>> Can you define "properly attaching"? Mine stopped working about 3 >>> weeks ago, but the .ko does load. I just don't get any hw.acpi.video >>> sysctls and suspend no longer turns off the display. >> >> same here, thinkpad t40p, current bios. >> >> randy >> > >here too. >ThinkPad X31, latest BIOS. cvsupped yesterday. > >dmesg, acpidump, devinfo output at : >http://totalterror.net/freebsd/ Just curious, Is acpi_video or device button worked for you on your ThinkPad X31? In my machine, device buttons or acpi_video requests or even shutdown, that eventually invokes SMI, will cause the machine hang up. Was it resolved with the latest BIOS? From owner-freebsd-acpi@FreeBSD.ORG Fri Jul 16 06:12:30 2004 Return-Path: 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 9FFD016A4CE for ; Fri, 16 Jul 2004 06:12:30 +0000 (GMT) Received: from niked.office.suresupport.com (niked.office.suresupport.com [213.145.98.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD1A343D3F for ; Fri, 16 Jul 2004 06:12:29 +0000 (GMT) (envelope-from nike_d@cytexbg.com) Received: from niked.office.suresupport.com (localhost [127.0.0.1]) i6G6CNId031761; Fri, 16 Jul 2004 09:12:30 +0300 (EEST) (envelope-from nike_d@cytexbg.com) References: <200407160557.OAA10108@axe-inc.co.jp> Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Niki Denev To: takawata@jp.freebsd.org Date: Fri, 16 Jul 2004 09:12:23 +0300 Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=_mimegpg-niked.office.suresupport.com-31057-1089958343-0004"; micalg=pgp-sha1; protocol="application/pgp-signature" cc: acpi@freebsd.org Subject: Re: acpi_video users needed X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 06:12:30 -0000 This is a MIME GnuPG-signed message. If you see this text, it means that your E-mail or Usenet software does not support MIME signed messages. --=_mimegpg-niked.office.suresupport.com-31057-1089958343-0004 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit takawata@jp.freebsd.org writes: > In message , Niki Denev > wrote: >>Randy Bush writes: >> >>>> Can you define "properly attaching"? Mine stopped working about 3 >>>> weeks ago, but the .ko does load. I just don't get any hw.acpi.video >>>> sysctls and suspend no longer turns off the display. >>> >>> same here, thinkpad t40p, current bios. >>> >>> randy >>> >> >>here too. >>ThinkPad X31, latest BIOS. cvsupped yesterday. >> >>dmesg, acpidump, devinfo output at : >>http://totalterror.net/freebsd/ > > Just curious, Is acpi_video or device button worked for you on your > ThinkPad X31? > In my machine, device buttons or acpi_video requests or > even shutdown, that eventually invokes SMI, will cause the machine > hang up. Was it resolved with the latest BIOS? > When i bought it, any press of the Fn button, IBM Access, volume up/down resulted in immediate lock. The problem appeared to be the IDE2 device, as the PS2 (the DOS IBM ThinkPad setup util) reported it. Then i made a boot floppy with it, booted with an external USB floppy, and disabled IDE2, after this everyting works ok: shutdown, keyboard light, volume control.... PS: the PS2 util can be found on the IBM website. -- Niki --=_mimegpg-niked.office.suresupport.com-31057-1089958343-0004 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBA93HHHNAJ/fLbfrkRAtwxAKCSPF0dtsKcFAiHSLlfa8uomc7O4QCdGGtt muQt6dNGEV7fV220xI9VBR0= =SqST -----END PGP SIGNATURE----- --=_mimegpg-niked.office.suresupport.com-31057-1089958343-0004-- From owner-freebsd-acpi@FreeBSD.ORG Fri Jul 16 06:21:14 2004 Return-Path: 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 1C2F516A4CE for ; Fri, 16 Jul 2004 06:21:14 +0000 (GMT) Received: from niked.office.suresupport.com (niked.office.suresupport.com [213.145.98.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5535343D2F for ; Fri, 16 Jul 2004 06:21:13 +0000 (GMT) (envelope-from nike_d@cytexbg.com) Received: from niked.office.suresupport.com (localhost [127.0.0.1]) i6G6LGId031951; Fri, 16 Jul 2004 09:21:16 +0300 (EEST) (envelope-from nike_d@cytexbg.com) References: <200407160557.OAA10108@axe-inc.co.jp> Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Niki Denev To: takawata@jp.freebsd.org Date: Fri, 16 Jul 2004 09:21:16 +0300 Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=_mimegpg-niked.office.suresupport.com-31057-1089958876-0005"; micalg=pgp-sha1; protocol="application/pgp-signature" cc: acpi@freebsd.org Subject: Re: acpi_video users needed X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 06:21:14 -0000 This is a MIME GnuPG-signed message. If you see this text, it means that your E-mail or Usenet software does not support MIME signed messages. --=_mimegpg-niked.office.suresupport.com-31057-1089958876-0005 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit takawata@jp.freebsd.org writes: > In message , Niki Denev > wrote: >>Randy Bush writes: >> >>>> Can you define "properly attaching"? Mine stopped working about 3 >>>> weeks ago, but the .ko does load. I just don't get any hw.acpi.video >>>> sysctls and suspend no longer turns off the display. >>> >>> same here, thinkpad t40p, current bios. >>> >>> randy >>> >> >>here too. >>ThinkPad X31, latest BIOS. cvsupped yesterday. >> >>dmesg, acpidump, devinfo output at : >>http://totalterror.net/freebsd/ > > Just curious, Is acpi_video or device button worked for you on your > ThinkPad X31? > In my machine, device buttons or acpi_video requests or > even shutdown, that eventually invokes SMI, will cause the machine > hang up. Was it resolved with the latest BIOS? > Also at some point acpi_video reported via sysctl the active monitor device attached, i.e. CRT or LCD, and also alowed me to switch them. Niki --=_mimegpg-niked.office.suresupport.com-31057-1089958876-0005 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBA93PcHNAJ/fLbfrkRAhnCAJ953BAzFFnWDDTyCDj/ByYqCuHSrwCfT7gL dXwIZnDLkJT/aBtTJdUS1tc= =iymZ -----END PGP SIGNATURE----- --=_mimegpg-niked.office.suresupport.com-31057-1089958876-0005-- From owner-freebsd-acpi@FreeBSD.ORG Fri Jul 16 08:29:03 2004 Return-Path: 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 AA16716A4CE for ; Fri, 16 Jul 2004 08:29:03 +0000 (GMT) Received: from gir.bullmedia.com.au (gir.bullmedia.com.au [202.94.33.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 423C743D2F for ; Fri, 16 Jul 2004 08:29:03 +0000 (GMT) (envelope-from chrisryanemail@yahoo.com.au) Received: from [192.168.40.247] (CPE-203-51-99-201.nsw.bigpond.net.au [203.51.99.201]) by gir.bullmedia.com.au (Postfix) with ESMTP id 9133127217 for ; Fri, 16 Jul 2004 17:50:44 +0930 (CST) User-Agent: Microsoft-Entourage/10.1.4.030702.0 Date: Fri, 16 Jul 2004 18:29:00 +1000 From: Chris Ryan To: Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: Power down Hard Drive X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 08:29:03 -0000 Hi All I have created a FW / Router on a P2 233MHz, 128mb RAM 4gb HDD running freeBSD 5.2.1 As the main purpose of the machine is to protect the always on ADSL connection with a firewall and NAT internet access for the internal LAN the computer is always left on - I am sure this is extremely normal... Unfortunately this is quite noisy with the drive going all the time I have searched the handbook and I couldn't find any reference for powering down the HDD - although many other devices / interfaces etc I have also looked up the APM and ACPI man pages with no luck.. Can this be done? Many regards Chris From owner-freebsd-acpi@FreeBSD.ORG Fri Jul 16 12:01:06 2004 Return-Path: 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 DA6EC16A4CE for ; Fri, 16 Jul 2004 12:01:06 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31D9743D2F for ; Fri, 16 Jul 2004 12:01:06 +0000 (GMT) (envelope-from sw@gegenunendlich.de) Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1BlROj-00066n-00 for freebsd-acpi@freebsd.org; Fri, 16 Jul 2004 14:01:05 +0200 Received: from [80.142.198.214] (helo=kyuzo.dunkelkammer.void) (TLSv1:EDH-RSA-DES-CBC3-SHA:168) (Exim 3.35 #1) id 1BlROi-0007Zd-00 for freebsd-acpi@freebsd.org; Fri, 16 Jul 2004 14:01:05 +0200 Received: by kyuzo.dunkelkammer.void (Postfix, from userid 1002) id 91A8F3C3C; Fri, 16 Jul 2004 14:01:02 +0200 (CEST) Date: Fri, 16 Jul 2004 14:01:02 +0200 From: Stefan Walter To: freebsd-acpi@freebsd.org Message-ID: <20040716120102.GA1713@kyuzo.dunkelkammer.void> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline In-Reply-To: X-PGP-key: http://www.gegenunendlich.de/swalter-rsa.asc X-PGP-fp: 85D8 6A49 22C7 6CD9 B011 5D6A 5691 111B 12B9 E0B3 Organization: Infinity Approximation Task Force X-PGP-key: http://www.gegenunendlich.de/swalter-rsa.asc X-PGP-fingerprint: 85D8 6A49 22C7 6CD9 B011 5D6A 5691 111B 12B9 E0B3 User-Agent: Mutt/1.5.6i X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:bea306e5fe0930b42d4355ca01786db1 Subject: Re: Power down Hard Drive X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 12:01:07 -0000 --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Chris Ryan in gmane.os.freebsd.devel.acpi: > I have searched the handbook and I couldn't find any reference for poweri= ng > down the HDD - although many other devices / interfaces etc > > > I have also looked up the APM and ACPI man pages with no luck.. > > > Can this be done? The sysutils/ataidle should do what you want, assuming the drive isn't too old to support being spun down. Stefan --=20 No reading beyond this point --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iQGVAwUBQPfDflaRERsSueCzAQL2bwv/ZF7EFTMdhoCLGegpx4rnay5qawV6p5CC R6R6u2F7qJy6FD0k4Azspu6sjN3U7bz3uVCOy8umppAZuwxmd/WxdZ+v5PumGDPK 7L72qSfnu+JzfUcDJ3+4MirN7VFS9yBANu5ij6oaTFP4ojD/VRLJdb3UcnPuB7cB jhJFPFLhMbvUF8S+L6BBjtCk1zGICjroVbPwmGDYBdXkvIlUTBbCVH+DS5WYL8w8 uMBOFAJ9ZLL20f/0Rg8nVacxfdSxQ8n0RT+WO7awLPZh6B9ZOAjqCT55jTi8DZar RKT5Onnpy/wfMIigiXCBXnde/YhsTAX9cErmQTXDwiXaBgqrnh//QPyMkHeWSsj7 Xzc9yZuNvvWiX+4gVR9Vue4ySHcJxVbfVHYNTHHJzrZoai30RdZF/DgAlaQov4Hj cUJbw0LFHPTQJNv0E9M1siYB1Oc4KZ/ByDEpgMQUktelSoEBhsqiAq54doH65hbK XPBtO9DqW4HmfU9wvP5bUFysFLy6x524 =tTEk -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM-- From owner-freebsd-acpi@FreeBSD.ORG Fri Jul 16 12:43:23 2004 Return-Path: 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 E5ED516A4CE for ; Fri, 16 Jul 2004 12:43:23 +0000 (GMT) Received: from web51002.mail.yahoo.com (web51002.mail.yahoo.com [206.190.38.133]) by mx1.FreeBSD.org (Postfix) with SMTP id 7FACF43D5F for ; Fri, 16 Jul 2004 12:43:23 +0000 (GMT) (envelope-from chrisryanemail@yahoo.com.au) Message-ID: <20040716124322.63138.qmail@web51002.mail.yahoo.com> Received: from [203.217.66.94] by web51002.mail.yahoo.com via HTTP; Fri, 16 Jul 2004 22:43:22 EST Date: Fri, 16 Jul 2004 22:43:22 +1000 (EST) From: =?iso-8859-1?q?Chris=20Ryan?= To: Stefan Walter , freebsd-acpi@freebsd.org In-Reply-To: <20040716120102.GA1713@kyuzo.dunkelkammer.void> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: Power down Hard Drive X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 12:43:24 -0000 --- Stefan Walter wrote: > Hi, > > Chris Ryan in gmane.os.freebsd.devel.acpi: > > > I have searched the handbook and I couldn't find > any reference for powering > > down the HDD - although many other devices / > interfaces etc > > > > > > I have also looked up the APM and ACPI man pages > with no luck.. > > > > > > Can this be done? > > The sysutils/ataidle should do what you want, > assuming the drive isn't > too old to support being spun down. > thanks Stefan will give that a go. sorry i posted in this list as i prob should have posted to freedsb-questions..next time i will. regards Chris Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com From owner-freebsd-acpi@FreeBSD.ORG Fri Jul 16 16:34:00 2004 Return-Path: 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 162E216A4CE for ; Fri, 16 Jul 2004 16:34:00 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id D27A243D2D for ; Fri, 16 Jul 2004 16:33:59 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-63-195-111-154.dsl.snfc21.pacbell.net [63.195.111.154]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id i6GGXora031509 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 16 Jul 2004 09:33:51 -0700 Message-ID: <40F80320.8020804@root.org> Date: Fri, 16 Jul 2004 09:32:32 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.6 (X11/20040518) X-Accept-Language: en-us, en MIME-Version: 1.0 To: takawata@jp.freebsd.org References: <200407160557.OAA10108@axe-inc.co.jp> In-Reply-To: <200407160557.OAA10108@axe-inc.co.jp> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: acpi@freebsd.org Subject: Re: acpi_video users needed X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 16:34:00 -0000 takawata@jp.freebsd.org wrote: > In message , Niki Denev > wrote: >>Randy Bush writes: >> >> >>>>Can you define "properly attaching"? Mine stopped working about 3 >>>>weeks ago, but the .ko does load. I just don't get any hw.acpi.video >>>>sysctls and suspend no longer turns off the display. >>> >>>same here, thinkpad t40p, current bios. >>> >>>randy >>> >> >>here too. >>ThinkPad X31, latest BIOS. cvsupped yesterday. >> >>dmesg, acpidump, devinfo output at : >>http://totalterror.net/freebsd/ > > Just curious, Is acpi_video or device button worked for you on your > ThinkPad X31? > In my machine, device buttons or acpi_video requests or > even shutdown, that eventually invokes SMI, will cause the machine > hang up. Was it resolved with the latest BIOS? There's a recent regression in acpi_pci where we cleaned up the duplicate handles for PCI devices. Since acpi_video should attach to pci, not acpi, it fails to probe. The main fix is to finish jhb's vga_pci driver but perhaps I can commit a workaround sometime soon. -Nate From owner-freebsd-acpi@FreeBSD.ORG Fri Jul 16 17:02:09 2004 Return-Path: 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 79A5516A500 for ; Fri, 16 Jul 2004 17:02:09 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02B7143D2F for ; Fri, 16 Jul 2004 17:02:07 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-63-195-111-154.dsl.snfc21.pacbell.net [63.195.111.154]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id i6GH25ra031878 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 16 Jul 2004 10:02:06 -0700 Message-ID: <40F809BF.8050507@root.org> Date: Fri, 16 Jul 2004 10:00:47 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.6 (X11/20040518) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nate Lawson References: <200407160557.OAA10108@axe-inc.co.jp> <40F80320.8020804@root.org> In-Reply-To: <40F80320.8020804@root.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: acpi@freebsd.org Subject: Re: acpi_video users needed X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 17:02:09 -0000 Nate Lawson wrote: > takawata@jp.freebsd.org wrote: > >> In message , >> Niki Denev >> wrote: >> >>> Randy Bush writes: >>> >>> >>>>> Can you define "properly attaching"? Mine stopped working about 3 >>>>> weeks ago, but the .ko does load. I just don't get any hw.acpi.video >>>>> sysctls and suspend no longer turns off the display. >>>> >>>> >>>> same here, thinkpad t40p, current bios. >>>> >>>> randy >>>> >>> >>> here too. >>> ThinkPad X31, latest BIOS. cvsupped yesterday. >>> >>> dmesg, acpidump, devinfo output at : http://totalterror.net/freebsd/ >> >> >> Just curious, Is acpi_video or device button worked for you on your >> ThinkPad X31? >> In my machine, device buttons or acpi_video requests or >> even shutdown, that eventually invokes SMI, will cause the machine >> hang up. Was it resolved with the latest BIOS? > > There's a recent regression in acpi_pci where we cleaned up the > duplicate handles for PCI devices. Since acpi_video should attach to > pci, not acpi, it fails to probe. The main fix is to finish jhb's > vga_pci driver but perhaps I can commit a workaround sometime soon. I committed a fix just now. -Nate From owner-freebsd-acpi@FreeBSD.ORG Fri Jul 16 21:36:54 2004 Return-Path: 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 3B00416A4D9 for ; Fri, 16 Jul 2004 21:36:51 +0000 (GMT) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E92443D3F for ; Fri, 16 Jul 2004 21:36:51 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP (SSL) id IBA74465; Fri, 16 Jul 2004 14:36:50 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id CF9725D09; Fri, 16 Jul 2004 14:36:49 -0700 (PDT) To: Nate Lawson In-reply-to: Your message of "Fri, 16 Jul 2004 09:32:32 PDT." <40F80320.8020804@root.org> Date: Fri, 16 Jul 2004 14:36:49 -0700 From: "Kevin Oberman" Message-Id: <20040716213649.CF9725D09@ptavv.es.net> cc: acpi@freebsd.org Subject: Re: acpi_video users needed X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 21:36:54 -0000 Nate, I just rebuilt acpi_video.ko from the 1.5 source. I now see the video sysctls, but my screen is still not turning off on suspend (S3). I have patched acpi_video.c with jhb's DPMS patch. It applied cleanly with a one line offset on the last four hunks. Can you see any reason that this should no longer work? I'd really love to be able to suspend my ThinkPad again. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 From owner-freebsd-acpi@FreeBSD.ORG Fri Jul 16 23:35:26 2004 Return-Path: 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 6BA2B16A4CE for ; Fri, 16 Jul 2004 23:35:26 +0000 (GMT) Received: from crumpet.united-ware.com (ddsl-66-42-172-210.fuse.net [66.42.172.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0767043D49 for ; Fri, 16 Jul 2004 23:35:26 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.102] (ddsl-66-42-172-210.fuse.net [66.42.172.210]) (authenticated bits=0)i6GNPk2S060365 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Fri, 16 Jul 2004 19:25:46 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: freebsd-acpi@freebsd.org Date: Fri, 16 Jul 2004 19:36:15 -0400 User-Agent: KMail/1.6.2 References: <20040716213649.CF9725D09@ptavv.es.net> In-Reply-To: <20040716213649.CF9725D09@ptavv.es.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200407161936.23393.mistry.7@osu.edu> X-Spam-Status: No, hits=-4.9 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE, QUOTED_EMAIL_TEXT,RCVD_IN_ORBS,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_KMAIL version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Re: acpi_video users needed X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 23:35:26 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 16 July 2004 05:36 pm, Kevin Oberman wrote: > Nate, > > I just rebuilt acpi_video.ko from the 1.5 source. I now see the video > sysctls, but my screen is still not turning off on suspend (S3). I have > patched acpi_video.c with jhb's DPMS patch. It applied cleanly with a > one line offset on the last four hunks. > > Can you see any reason that this should no longer work? I'd really love > to be able to suspend my ThinkPad again. I just updated and using the 1.5 rev. and the DPMS patch works fine on my=20 =46ujitsu. =2D --=20 Anish Mistry =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA+GZ2xqA5ziudZT0RAjneAKCJa0uzWmaL6RPi0Z/AQdUcfQDSYwCg3UB6 cv6saBXPlCMNCm9e4Lz2UdE=3D =3Dvcy/ =2D----END PGP SIGNATURE----- From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 17 08:52:21 2004 Return-Path: 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 7B36716A4CE for ; Sat, 17 Jul 2004 08:52:21 +0000 (GMT) Received: from mk-smarthost-9.mail.uk.tiscali.com (mk-smarthost-9.mail.uk.tiscali.com [212.74.114.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4634B43D31 for ; Sat, 17 Jul 2004 08:52:21 +0000 (GMT) (envelope-from nigelcuthbert@lineone.net) Received: from dsl-80-43-82-107.access.uk.tiscali.com ([80.43.82.107]:3474 helo=homeglb3xyen13) by mk-smarthost-9.mail.uk.tiscali.com with smtp (Exim 4.30) id 1BlkvQ-000996-Vt for freebsd-acpi@FreeBSD.org; Sat, 17 Jul 2004 09:52:09 +0100 Message-ID: <000c01c46bdb$5dc57cd0$6b522b50@homeglb3xyen13> From: "Nigel Cuthbert" To: Date: Sat, 17 Jul 2004 09:52:18 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: ACPIEC system error X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jul 2004 08:52:21 -0000 Can you help? Laptop is giving regular system error message, which constantly repeats = itself very rapidly when it occurs! \Device\ACPIEC: the embedded controller (EC) hardware didn't respond in = timeout period. This may indicate an error in EC hardware or firmware = or possibly poorly designed BIOS which access EC in unsafe manner. The = EC driver will retry the failed transaction if possible. This is happening on an Acer Laptop purchased six months ago - running = Windows XP How do I solve this problem!!?? Thankyou Jo Cuthbert nigelcuthbert@lineone.net From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 17 09:35:33 2004 Return-Path: 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 8F36A16A4CE; Sat, 17 Jul 2004 09:35:33 +0000 (GMT) Received: from watery.cc.kogakuin.ac.jp (watery.cc.kogakuin.ac.jp [133.80.152.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAF2A43D1D; Sat, 17 Jul 2004 09:35:32 +0000 (GMT) (envelope-from nyan@jp.FreeBSD.org) Received: from localhost (localhost [IPv6:::1])i6H9ZS4O044712; Sat, 17 Jul 2004 18:35:29 +0900 (JST) (envelope-from nyan@jp.FreeBSD.org) Date: Sat, 17 Jul 2004 18:35:12 +0900 (JST) Message-Id: <20040717.183512.74706779.nyan@jp.FreeBSD.org> To: t-ogawa@triaez.kaisei.org From: Takahashi Yoshihiro In-Reply-To: <20040713.011631.74707278.nyan@jp.FreeBSD.org> References: <20040712.200815.74734634.nyan@jp.FreeBSD.org> <86llhpz354.wl.t-ogawa@triaez.kaisei.org> <20040713.011631.74707278.nyan@jp.FreeBSD.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: acpi@FreeBSD.org cc: njl@FreeBSD.org Subject: Re: Panasonic acpi driver X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jul 2004 09:35:33 -0000 Sorry for late. In article <20040713.011631.74707278.nyan@jp.FreeBSD.org> Takahashi Yoshihiro writes: > > If your answer to my above question is "yes", perhaps we need a > > sysctl to customize what is the suitable range for brightness > > value. So far CF-R1N (my laptop) and CF-R2A (one user reported to > > me before) have the range of 0~255, and CF-R3 (yours) has 0~31. > > I see. I'll try it. I put new patch to http://home.jp.freebsd.org/~nyan/patches/acpi_pana2.diff.gz --- TAKAHASHI Yoshihiro