Hi all, so, I installed the OpenBSD 5.4 in my laptop (hardware/configs dumps below) a few weeks ago and everything is running smoothly, with one exception: the fan is quite noisy.
I tried already setting the hw.setperf to 0 by using the apmd(8) options -C, -A and -L, which indeed set this config although the fan speed keeps high (see below). I also found another related thread within OpenBSD's mailing lists here: http://openbsd.7691.n7.nabble.com/x201-fan-noise-td103277.html I just wondered whether there is some new i.e. built-in solution to that other than hacking the Thinkpad driver. This is what my apm(8), sysctl hw, and dmesg look like: $ apm Battery state: low, 39% remaining, unknown life estimate A/C adapter state: connected Performance adjustment mode: cool running (1197 MHz) $ sysctl hw hw.machine=amd64 hw.model=Intel(R) Core(TM) i5 CPU M 460 @ 2.53GHz hw.ncpu=4 hw.byteorder=1234 hw.pagesize=4096 hw.disknames=sd0:272254c340b88297,cd0: hw.diskcount=2 hw.sensors.cpu0.temp0=46.00 degC hw.sensors.cpu1.temp0=46.00 degC hw.sensors.cpu2.temp0=46.00 degC hw.sensors.cpu3.temp0=46.00 degC hw.sensors.acpitz0.temp0=54.50 degC (zone temperature) hw.sensors.acpibat0.volt0=11.01 VDC (voltage) hw.sensors.acpibat0.volt1=12.60 VDC (current voltage) hw.sensors.acpibat0.current0=0.28 A (rate) hw.sensors.acpibat0.amphour0=2.86 Ah (last full capacity) hw.sensors.acpibat0.amphour1=0.44 Ah (warning capacity) hw.sensors.acpibat0.amphour2=0.13 Ah (low capacity) hw.sensors.acpibat0.amphour3=1.13 Ah (remaining capacity), OK hw.sensors.acpibat0.raw0=2 (battery charging), OK hw.sensors.acpiac0.indicator0=On (power supply) hw.sensors.itherm0.temp0=0.00 degC (Thermometer) hw.sensors.itherm0.temp1=54.01 degC (Core 1) hw.sensors.itherm0.temp4=65.00 degC (CPU/GPU Max temp) hw.sensors.itherm0.temp9=65.00 degC (GPU/Memory controller abs.) hw.sensors.itherm0.temp10=74.00 degC (PCH abs.) hw.sensors.itherm0.power0=10.00 W (CPU power consumption) hw.cpuspeed=1197 hw.setperf=0 hw.vendor=Dell Inc. hw.product=Inspiron N5010 hw.version=A08 hw.serialno=2LTP3P1 hw.uuid=44454c4c-4c00-1054-8050-b2c04f335031 hw.physmem=4067500032 hw.usermem=4002664448 hw.ncpufound=4 hw.allowpowerdown=1 $ dmesg OpenBSD 5.4 (GENERIC.MP) #41: Tue Jul 30 15:30:02 MDT 2013 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 4067500032 (3879MB) avail mem = 3951497216 (3768MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xeb2e0 (54 entries) bios0: vendor Dell Inc. version "A08" date 09/13/2010 bios0: Dell Inc. Inspiron N5010 acpi0 at bios0: rev 3 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC SSDT MCFG SLIC HPET OSFR acpi0: wakeup devices P0P1(S3) P0P2(S3) P0P3(S3) P0P4(S3) P0P5(S3) BR20(S3) PEX0(S3) PEX1(S3) PEX2(S4) PEX3(S3) PEX4(S3) PEX5(S3) PEX6(S3) PEX7(S3) GBE_(S4) EHC2(S0) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5 CPU M 460 @ 2.53GHz, 2527.38 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 cpu0: apic clock running at 132MHz cpu1 at mainbus0: apid 4 (application processor) cpu1: Intel(R) Core(TM) i5 CPU M 460 @ 2.53GHz, 2527.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 2, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i5 CPU M 460 @ 2.53GHz, 2527.00 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 5 (application processor) cpu3: Intel(R) Core(TM) i5 CPU M 460 @ 2.53GHz, 2527.00 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 2, package 0 ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 24 pins acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 32 (BR20) acpiprt2 at acpi0: bus 17 (PEX0) acpiprt3 at acpi0: bus 18 (PEX1) acpiprt4 at acpi0: bus 19 (PEX2) acpiprt5 at acpi0: bus -1 (PEX3) acpiprt6 at acpi0: bus 21 (PEX4) acpiprt7 at acpi0: bus -1 (PEX5) acpiprt8 at acpi0: bus -1 (PEX6) acpiprt9 at acpi0: bus -1 (PEX7) acpicpu0 at acpi0: C3, C1, PSS acpicpu1 at acpi0: C3, C1, PSS acpicpu2 at acpi0: C3, C1, PSS acpicpu3 at acpi0: C3, C1, PSS acpitz0 at acpi0: critical temperature is 102 degC acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: PWRB acpibat0 at acpi0: BAT0 model "DELL W7H3N08" serial 2275 type LION oem " " acpiac0 at acpi0: AC unit offline acpibtn2 at acpi0: LID0 acpibtn3 at acpi0: SBTN acpivideo0 at acpi0: PEGP acpivideo1 at acpi0: PEGP acpivideo2 at acpi0: GFX0 acpivout0 at acpivideo2: DD02 cpu0: Enhanced SpeedStep 2527 MHz: speeds: 2528, 2527, 2394, 2261, 2128, 1995, 1862, 1729, 1596, 1197 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core Host" rev 0x18 vga1 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x18 intagp0 at vga1 agp0 at intagp0: aperture at 0xc0000000, size 0x10000000 inteldrm0 at vga1 drm0 at inteldrm0 inteldrm0: 1366x768 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) "Intel 3400 MEI" rev 0x06 at pci0 dev 22 function 0 not configured ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x06: apic 0 int 16 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 "Intel 3400 HD Audio" rev 0x06: msi azalia0: codecs: IDT 92HD81B1X, Intel/0x2804, using IDT 92HD81B1X audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x06: msi pci1 at ppb0 bus 17 ppb1 at pci0 dev 28 function 1 "Intel 3400 PCIE" rev 0x06: msi pci2 at ppb1 bus 18 "Broadcom BCM4313" rev 0x01 at pci2 dev 0 function 0 not configured ppb2 at pci0 dev 28 function 2 "Intel 3400 PCIE" rev 0x06: msi pci3 at ppb2 bus 19 re0 at pci3 dev 0 function 0 "Realtek 8101E" rev 0x02: RTL8102EL (0x2480), apic 0 int 18, address b8:ac:6f:e7:73:70 rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1 ppb3 at pci0 dev 28 function 4 "Intel 3400 PCIE" rev 0x06: msi pci4 at ppb3 bus 21 ehci1 at pci0 dev 29 function 0 "Intel 3400 USB" rev 0x06: apic 0 int 23 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xa6 pci5 at ppb4 bus 32 pcib0 at pci0 dev 31 function 0 "Intel HM57 LPC" rev 0x06 ahci0 at pci0 dev 31 function 2 "Intel 3400 AHCI" rev 0x06: msi, AHCI 1.3 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: <ATA, WDC WD5000BEVT-7, 01.0> SCSI3 0/direct fixed naa.50014ee60088e77e sd0: 476940MB, 512 bytes/sector, 976773168 sectors cd0 at scsibus0 targ 1 lun 0: <HL-DT-ST, DVD+-RW GT10N, A109> ATAPI 5/cdrom removable ichiic0 at pci0 dev 31 function 3 "Intel 3400 SMBus" rev 0x06: apic 0 int 18 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600 SO-DIMM spdmem1 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600 SO-DIMM itherm0 at pci0 dev 31 function 6 "Intel 3400 Thermal" rev 0x06 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pms0: Synaptics touchpad, firmware 7.2 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 mtrr: Pentium Pro MTRR support uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 uvideo0 at uhub2 port 6 configuration 1 interface 0 "CN0FJT7K7248705O0LSX Laptop_Integrated_Webcam_1.3M" rev 2.00/9a.07 addr 3 video0 at uvideo0 uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 uhidev0 at uhub3 port 2 configuration 1 interface 0 "vendor 0x04f3 USB+PS/2 Optical Mouse" rev 1.10/24.58 addr 3 uhidev0: iclass 3/1 ums0 at uhidev0: 3 buttons, Z dir wsmouse1 at ums0 mux 0 uhub4 at uhub3 port 6 "Broadcom BCM2046B1" rev 2.00/1.00 addr 4 uhidev1 at uhub4 port 1 configuration 1 interface 0 "Dell product 0x8161" rev 2.00/1.00 addr 5 uhidev1: iclass 3/1, 1 report id ukbd0 at uhidev1 reportid 1: 8 variable keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev2 at uhub4 port 2 configuration 1 interface 0 "Dell product 0x8162" rev 2.00/1.00 addr 6 uhidev2: iclass 3/1, 125 report ids ums1 at uhidev2 reportid 2: 3 buttons wsmouse2 at ums1 mux 0 uhid0 at uhidev2 reportid 125: input=2, output=0, feature=0 vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets root on sd0a (272254c340b88297.a) swap on sd0b dump on sd0b