From owner-freebsd-current@FreeBSD.ORG Tue Nov 20 05:41:54 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2151416A417 for ; Tue, 20 Nov 2007 05:41:54 +0000 (UTC) (envelope-from nick@nickwithers.com) Received: from mail.nickwithers.com (123-243-228-66.static.tpgi.com.au [123.243.228.66]) by mx1.freebsd.org (Postfix) with ESMTP id 7156413C4BB for ; Tue, 20 Nov 2007 05:41:52 +0000 (UTC) (envelope-from nick@nickwithers.com) Received: from [10.0.0.244] (presario.shmon.net [10.0.0.244]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.nickwithers.com (Postfix) with ESMTP id DA49D3AA9A for ; Tue, 20 Nov 2007 16:25:03 +1100 (EST) From: Nick Withers To: freebsd-current@freebsd.org Content-Type: text/plain Date: Tue, 20 Nov 2007 16:25:01 +1100 Message-Id: <1195536301.1271.11.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-nickwithers-MailScanner: Found to be clean X-nickwithers-MailScanner-From: nick@nickwithers.com X-Mailman-Approved-At: Tue, 20 Nov 2007 12:27:30 +0000 Subject: acpi_thermal User Overriden Parameters Reset on Power State Change X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 20 Nov 2007 05:41:54 -0000 Hi y'all, Firstly, sorry if this isn't entirely the correct place to post this, for starters I'm not sure whether this problem is limited to -CURRENT and / or 7.0 or not. Tried to have a look at fixing it myself, but I'm not l33t enough! :-) On my Compaq Presario B3820 (PV142PA#ABG) laptop, I override the hw.acpi.thermal.tz0._PSV value because the default is the temperature at which the CPU is halted by the hardware until the temperature settles down. Since this gets triggered fairly often and is pretty annoying, I lower the trigger temperature level and have powerd(8) work passive-cooling-shaped magic. However, disconnecting or reconnecting AC power resets the value to the BIOS provided level. Would anyone be able to offer assistance with this? It's not too big a deal, I just have to remember to set the appropriate value again if the power state changes. uname -a: ____ FreeBSD presario.shmon.net 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Mon Nov 19 23:16:36 EST 2007 nick@presario.shmon.net:/usr/obj/usr/src/sys/PRESARIO i386 ____ dmesg: ____ Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-BETA3 #0: Mon Nov 19 23:16:36 EST 2007 nick@presario.shmon.net:/usr/obj/usr/src/sys/PRESARIO Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1.70GHz (1694.51-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d6 Stepping = 6 Features=0xafe9f9bf Features2=0x180 real memory = 536281088 (511 MB) avail memory = 514666496 (490 MB) kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 cpu0: on acpi0 est0: on cpu0 p4tcc0: on cpu0 acpi_acad0: on acpi0 battery0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci_link0: BIOS IRQ 10 for 0.29.INTA is invalid pci_link3: BIOS IRQ 3 for 0.29.INTB is invalid pci_link2: BIOS IRQ 11 for 0.29.INTC is invalid pci_link1: BIOS IRQ 5 for 0.31.INTB is invalid pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci_link0: BIOS IRQ 10 for 1.0.INTA is invalid pci1: on pcib1 vgapci0: port 0x3000-0x30ff mem 0xd8000000-0xdfffffff,0xd0100000-0xd010ffff irq 9 at device 0.0 on pci1 acpi_video0: on vgapci0 drm0: on vgapci0 info: [drm] AGP at 0xe0000000 256MB info: [drm] Initialized radeon 1.25.0 20060524 uhci0: port 0x1800-0x181f irq 9 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1820-0x183f irq 9 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1840-0x185f irq 9 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xd0000000-0xd00003ff irq 7 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered pcib2: at device 30.0 on pci0 pci_link2: BIOS IRQ 11 for 2.7.INTC is invalid pci_link1: BIOS IRQ 5 for 2.8.INTA is invalid pci_link2: BIOS IRQ 11 for 2.9.INTA is invalid pci2: on pcib2 cbb0: at device 7.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [ITHREAD] cbb1: at device 7.1 on pci2 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 cbb1: [ITHREAD] fwohci0: mem 0xd0201000-0xd02017ff irq 9 at device 7.2 on pci2 fwohci0: [FILTER] fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 10:cf:fd:00:00:13:93:66 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode rl0: port 0x4000-0x40ff mem 0xd0201800-0xd02018ff irq 9 at device 8.0 on pci2 miibus0: on rl0 rlphy0: PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:13:21:10:b0:77 rl0: [ITHREAD] iwi0: mem 0xd0200000-0xd0200fff irq 9 at device 9.0 on pci2 iwi0: Ethernet address: 00:0e:35:d6:8b:3f iwi0: [ITHREAD] isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1860-0x186f at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) pcm0: port 0x1c00-0x1cff,0x18c0-0x18ff mem 0xd0000c00-0xd0000dff,0xd0000800-0xd00008ff irq 9 at device 31.5 on pci0 pcm0: [ITHREAD] pcm0: pci0: at device 31.6 (no driver attached) acpi_tz0: on acpi0 acpi_tz_attach() called atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Synaptics Touchpad, device ID 0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcffff,0xd0000-0xd0fff,0xdf000-0xdffff,0xe0000-0xe3fff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ukbd0: on uhub1 kbd2 at ukbd0 uhid0: on uhub1 ums0: on uhub1 ums0: 8 buttons and Z dir. Timecounter "TSC" frequency 1694512240 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to deny, logging limited to 1000 packets/entry by default firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) ad0: 57231MB at ata0-master UDMA100 cpu0: Cx states changed GEOM_LABEL: Label for provider ad0s2 is msdosfs/Corporation. acd0: DVDR at ata1-master UDMA33 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01 cd0 at ata1 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad0s1a netsmb_dev: loaded ____ -- Nick Withers email: nick@nickwithers.com Web: http://www.nickwithers.com Mobile: +61 414 397 446