From owner-freebsd-current@FreeBSD.ORG Thu Jul 3 14:49:29 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A889237B411 for ; Thu, 3 Jul 2003 14:49:27 -0700 (PDT) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D80843FDD for ; Thu, 3 Jul 2003 14:49:25 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id MUA74016; Thu, 03 Jul 2003 14:49:23 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 3F9195D07; Thu, 3 Jul 2003 14:49:22 -0700 (PDT) X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Nate Lawson In-Reply-To: Message from Nate Lawson of "Tue, 01 Jul 2003 01:07:53 PDT." <20030701010230.U86209@root.org> Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_9654364080" Date: Thu, 03 Jul 2003 14:49:22 -0700 From: "Kevin Oberman" Message-Id: <20030703214922.3F9195D07@ptavv.es.net> cc: acpi-jp@jp.freebsd.org cc: current@freebsd.org Subject: Re: Updated ec-burst.diff patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 21:49:29 -0000 This is a multipart MIME message. --==_Exmh_9654364080 Content-Type: text/plain; charset=us-ascii > Date: Tue, 1 Jul 2003 01:07:53 -0700 (PDT) > From: Nate Lawson > Sender: owner-freebsd-current@freebsd.org > > Please download and try the new version. It correctly implements burst > mode to the best of the 2.0 spec. Like the previous message, please > report the appropriate dmesgs ("acpi_ec0*" and "EC Waited*") and any > errors or regression. I've tested "du -a /" while plugging/unplugging the > power cable on my laptop many times with no errors. > > I haven't received any feedback yet. This WILL hit the tree in a few > weeks because it fixes known problems. Test it now or test it then. :) I don't know if you want/need more data, but I am attaching the output from my T30. I am including the results both before and after the patch. The errors are about the same for each although the patched version printed additional information. One side note is that I get the errors for BAT0, BAT1, LID._PSW and SLPB._PSW and these are all things that behave "imperfectly" with ACPI. The battery is not too back, but with the gnome Battery Charge Monitor V2.2.2 (which claims to support ACPI), the battery charge seems to cycle from the total of both batteries to just the primary to no battery to both, etc. Very wird. The gkrellm battery display (which probably uses the apm interface) seems to work fine as does the output of the apm(8) command. I have not tried repeatedly issuing sysctls to display the hw.acpi.battery values to see if they are unstable. The lid and sleep switch both get initially set to S1 which is pretty useless and not available on the T30. This may explain why it gets errors (or not). In the log with the patch I put the unit to sleep (acpiconf -s 3) and the behavior is the same as always...prtty much works, but spins down the disk too fast and does not turn off the backlight on the display. On waking, it fails to re-init the USBs. If I could get sleep to work, I could switch to ACPI. Do the machdep.apm_*_delay sysctls do anything when ACPI is running or is there any other mechanism to delay transition to S3? -- 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 --==_Exmh_9654364080 Content-Type: text/plain ; name="acpi.log"; charset=us-ascii Content-Description: acpi.log Content-Disposition: attachment; filename="acpi.log" Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-BETA #9: Thu May 29 11:11:13 PDT 2003 root@puppeteer.es.net:/usr/obj/usr/src/sys/IBM-T30-D Preloaded elf kernel "/boot/kernel/kernel" at 0xc0531000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc0531294. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc05312e4. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1798485476 Hz CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz (1798.49-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febf9ff real memory = 536281088 (511 MB) avail memory = 515153920 (491 MB) Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 14 entries at 0xc00fdeb0 ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPC_.FDC_._INI] (Node 0xc405e400), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPC_.EC__._INI] (Node 0xc4057880), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPC_.EC__.BAT0._STA] (Node 0xc405b0e0), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.PCI0.LPC_.EC__.BAT0._STA] (Node 0xc405b0e0), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPC_.EC__.BAT1._STA] (Node 0xc405aec0), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.PCI0.LPC_.EC__.BAT1._STA] (Node 0xc405aec0), AE_NOT_EXIST acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPC_.EC__.BAT0._STA] (Node 0xc405b0e0), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.PCI0.LPC_.EC__.BAT0._STA] (Node 0xc405b0e0), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPC_.EC__.BAT1._STA] (Node 0xc405aec0), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.PCI0.LPC_.EC__.BAT1._STA] (Node 0xc405aec0), AE_NOT_EXIST acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_cpu0: port 0x530-0x537 on acpi0 acpi_tz0: port 0x530-0x537 on acpi0 acpi_lid0: on acpi0 ACPI-1287: *** Error: Method execution failed [\\_SB_.LID_._PSW] (Node 0xc151b3c0), AE_NOT_EXIST acpi_button0: on acpi0 ACPI-1287: *** Error: Method execution failed [\\_SB_.SLPB._PSW] (Node 0xc151b340), AE_NOT_EXIST pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) uhci0: port 0x1800-0x181f irq 11 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1820-0x183f irq 11 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1840-0x185f irq 11 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pcib2: at device 30.0 on pci0 pci2: on pcib2 cbb0: mem 0x50000000-0x50000fff irq 11 at device 0.0 on pci2 start (50000000) < sc->membase (d0200000) start (50000000) < sc->pmembase (f0000000) cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: mem 0x51000000-0x51000fff irq 11 at device 0.1 on pci2 start (51000000) < sc->membase (d0200000) start (51000000) < sc->pmembase (f0000000) cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pci2: at device 2.0 (no driver attached) fxp0: port 0x8000-0x803f mem 0xd0200000-0xd0200fff irq 11 at device 8.0 on pci2 fxp0: Ethernet address 00:09:6b:50:36:29 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1860-0x186f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 ichsmb0: port 0x1880-0x189f irq 11 at device 31.3 on pci0 smbus0: on ichsmb0 smb0: on smbus0 pcm0: port 0x18c0-0x18ff,0x1c00-0x1cff irq 11 at device 31.5 on pci0 pcm0: pci0: at device 31.6 (no driver attached) atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: flags 0x2000 irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled acpi_ec0: port 0x66,0x62 on acpi0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_acad0: on acpi0 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled orm0: