Date: 09 May 2003 16:34:50 +1200 From: Andrew Thompson <andy@fud.org.nz> To: Magnus B{ckstr|m <b@etek.chalmers.se> Cc: current@freebsd.org Subject: Re: [acpi-jp 2190] Re: Outstanding ACPI issues for 5.1-RELEASE Message-ID: <03May9.163429nzst.119063@homer.fire.org.nz> In-Reply-To: <Pine.BSF.4.44.0305080930410.2828-100000@knase19.etek.chalmers.se> References: <Pine.BSF.4.44.0305080930410.2828-100000@knase19.etek.chalmers.se>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-iCURT/sZCDJyGwwA4+Z5 Content-Type: text/plain Content-Transfer-Encoding: 7bit On Thu, 2003-05-08 at 20:28, Magnus B{ckstr|m wrote: > I'm afraid this may not be the end of it. An N800c I encountered a few > weeks ago consistently had _HIDs with asterisks. If I may contribute > an untested general workaround (untested because I don't currently have > access to the hardware): > > Index: src/sys/dev/acpica/acpi.c > diff -u src/sys/dev/acpica/acpi.c:1.1.1.6.2.1 src/sys/dev/acpica/acpi.c:1.1.1.6.2.2 > [snip] > Furthermore, the laptop used idioms that were a bit too modern for > our ACPI implementation. CIDs are allowed to be not only integers, > but also buffers (think `char *') with images of ACPI_INTEGERs, and > packages with multiple integer objects in them (for multiple possible > CIDs). The below -should- fix this but is also untested. > > Index: src/sys/dev/acpica/acpi.c > diff -u src/sys/dev/acpica/acpi.c:1.1.1.6.2.2 src/sys/dev/acpica/acpi.c:1.1.1.6.2.3 > [snip] Amazing, she works now. :-D I applied these two patches and recompiled. Attached is my dmesg and sysctl output. Thanks Magnus & everyone else who helped. The main reason I wanted this is to be able to suspend rather than powering off. Andy --=-iCURT/sZCDJyGwwA4+Z5 Content-Disposition: attachment; filename=dmesg Content-Type: text/plain; name=dmesg; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 #1: Fri May 9 16:06:12 NZST 2003 thompsa@holly.fire.org.nz:/usr/obj/usr/src/sys/HOLLY Preloaded elf kernel "/boot/kernel/kernel" at 0xc05b3000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc05b31f4. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1993544336 Hz CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (1993.54-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM> real memory = 536674304 (511 MB) avail memory = 515076096 (491 MB) bios32: Bad BIOS32 Service Directory Pentium Pro MTRR support enabled npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <COMPAQ CPQ004A > on motherboard acpi_bus_number: root bus has no _BBN, assuming 0 acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: root bus has no _BBN, assuming 0 acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: root bus has no _BBN, assuming 0 acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR ACPI-1287: *** Error: Method execution failed [\\_SB_.C03B.C04E.C0CF.C0D3] (Node 0xc4047740), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.C03B.C04E.C0CF._INI] (Node 0xc4049f20), AE_NOT_EXIST acpi_bus_number: root bus has no _BBN, assuming 0 acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_cpu0: <CPU> port 0x530-0x537 on acpi0 acpi_tz0: <thermal zone> on acpi0 acpi_tz1: <thermal zone> on acpi0 acpi_tz2: <thermal zone> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 agp0: <Intel 82845 host to AGP bridge> mem 0x60000000-0x6fffffff at device 0.0 on pci0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pci1: <display, VGA> at device 0.0 (no driver attached) pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci2: <ACPI PCI bus> on pcib2 pci2: <simple comms> at device 4.0 (no driver attached) fwohci0: <Texas Instruments TSB43AB22/A> mem 0x40080000-0x40083fff,0x40300000-0x403007ff irq 11 at device 5.0 on pci2 fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channel is 4. fwohci0: EUI64 00:08:02:71:9c:cf:1e:9c fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: <IEEE1394(FireWire) bus> on fwohci0 if_fwe0: <Ethernet over FireWire> on firewire0 if_fwe0: Fake Ethernet address: 02:08:02:cf:1e:9c sbp0: <SBP2/SCSI over firewire> on firewire0 fwohci0: Initiate bus reset cbb0: <TI1410 PCI-CardBus Bridge> mem 0x40100000-0x40100fff irq 11 at device 6.0 on pci2 cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 fxp0: <Intel 82801CAM (ICH3) Pro/100 VE Ethernet> port 0x2000-0x203f mem 0x40180000-0x40180fff irq 10 at device 8.0 on pci2 fxp0: Ethernet address 00:08:02:cf:14:be miibus0: <MII bus> on fxp0 inphy0: <i82562ET 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ohci0: <NEC uPD 9210 USB controller> mem 0x40200000-0x40200fff irq 10 at device 14.0 on pci2 usb0: OHCI version 1.0, legacy support usb0: <NEC uPD 9210 USB controller> on ohci0 usb0: USB revision 1.0 uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: <NEC uPD 9210 USB controller> mem 0x40280000-0x40280fff irq 10 at device 14.1 on pci2 usb1: OHCI version 1.0, legacy support usb1: <NEC uPD 9210 USB controller> on ohci1 usb1: USB revision 1.0 uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ums0: Cypress Sem PS2/USB Browser Combo Mouse, rev 1.00/0.00, addr 2, iclass 3/1 ums0: 5 buttons and Z dir. pci2: <serial bus, USB> at device 14.2 (no driver attached) isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH3 UDMA100 controller> port 0x4440-0x444f,0-0x3,0-0x7,0-0x3,0-0x7 irq 11 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pcm0: <Intel 82801CA (ICH3)> port 0x4400-0x443f,0x4000-0x40ff irq 5 at device 31.5 on pci0 pcm0: <Analog Devices AD1886A AC97 Codec> acpi_cmbat0: <Control method Battery> on acpi0 acpi_acad0: <AC adapter> on acpi0 acpi_button0: <Power Button> on acpi0 acpi_button1: <Sleep Button> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_ec0: <embedded controller> port 0x66,0x62 on acpi0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x3e8-0x3ef irq 3 drq 3 on acpi0 sio1: type 16550A orm0: <Option ROM> at iomem 0xc0000-0xcffff on isa0 pmtimer0 on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: <Parallel port bus> on ppc0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 10.000 msec fwohci0: BUS reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0% ad0: 28615MB <FUJITSU MHS2030AT> [58140/16/63] at ata0-master UDMA100 acd0: CD-RW <HL-DT-STCD-RW/DVD DRIVE GCC-4240N> at ata1-master PIO4 Mounting root from ufs:/dev/ad0s1a acpi_tz0: WARNING - current temperature (50.0C) exceeds system limits drm0: <ATI Radeon LW Mobility 7500 M7> port 0x3000-0x30ff mem 0x40400000-0x4040ffff,0x48000000-0x4fffffff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0x60000000 256MB info: [drm] Initialized radeon 1.8.0 20020828 on minor 0 --=-iCURT/sZCDJyGwwA4+Z5 Content-Disposition: attachment; filename=sysctl Content-Type: text/plain; name=sysctl; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: S1 hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 0 hw.acpi.s4bios: 1 hw.acpi.verbose: 0 hw.acpi.disable_on_poweroff: 1 hw.acpi.cpu.max_speed: 8 hw.acpi.cpu.current_speed: 8 hw.acpi.cpu.performance_speed: 8 hw.acpi.cpu.economy_speed: 4 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 30 hw.acpi.thermal.tz0.temperature: 3192 hw.acpi.thermal.tz0.active: 3 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 3482 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 3482 hw.acpi.thermal.tz0._ACx: 3382 3332 3282 3132 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz1.temperature: 3262 hw.acpi.thermal.tz1.active: 2 hw.acpi.thermal.tz1.thermal_flags: 0 hw.acpi.thermal.tz1._PSV: 3582 hw.acpi.thermal.tz1._HOT: -1 hw.acpi.thermal.tz1._CRT: 3602 hw.acpi.thermal.tz1._ACx: 3432 3332 3182 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz2.temperature: 2971 hw.acpi.thermal.tz2.active: -1 hw.acpi.thermal.tz2.thermal_flags: 0 hw.acpi.thermal.tz2._PSV: 3282 hw.acpi.thermal.tz2._HOT: -1 hw.acpi.thermal.tz2._CRT: 3432 hw.acpi.thermal.tz2._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.battery.life: -1 hw.acpi.battery.time: -1 hw.acpi.battery.state: 7 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 5 hw.acpi.acline: 1 --=-iCURT/sZCDJyGwwA4+Z5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03May9.163429nzst.119063>