Re: x201 + fan noise
On Mon, Oct 25, 2010 at 7:20 AM, joshua stein j...@openbsd.org wrote: http://jcs.org/patches/openbsd-acpithinkpad_fan_control.diff So i tried it but can't have it working on my machine. Kernel crashed at startup. I'm not sure what I can do to modify it right now. that patch is pretty old, i'm surprised it even applies and compiles. Anyway, to make sure I didn't dream I installed a double boot with a linux distribution and while the lappy under linux is really quiet (quasi silent), t's really louder on openbsd once I plug it, or plug an external screen. Any idea where I can look/need to provide to help to fix this behavior? you're welcome to dig into the linux thinkpad acpi driver: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=dri vers/platform/x86/thinkpad_acpi.c;h=2d61186ad5a2e96708fcec4beb0a8402eb2bc09f; hb=HEAD#l7145 note all the firmware bug comments, model-specific quirks, watchdog routines and other stuff in 1300 lines of code just for fan control. this is why my fan control patch is a hack and won't be committed. Ok, thanks, that's a good start anyway. Time to play a little with the code then :) - benont
Re: x201 + fan noise
On Wed, Oct 20, 2010 at 12:28 PM, David Coppa dco...@gmail.com wrote: By jcs@: http://jcs.org/patches/openbsd-acpithinkpad_fan_control.diff So i tried it but can't have it working on my machine. Kernel crashed at startup. I'm not sure what I can do to modify it right now. Anyway, to make sure I didn't dream I installed a double boot with a linux distribution and while the lappy under linux is really quiet (quasi silent), t's really louder on openbsd once I plug it, or plug an external screen. Any idea where I can look/need to provide to help to fix this behavior? - benont
Re: x201 + fan noise
http://jcs.org/patches/openbsd-acpithinkpad_fan_control.diff So i tried it but can't have it working on my machine. Kernel crashed at startup. I'm not sure what I can do to modify it right now. that patch is pretty old, i'm surprised it even applies and compiles. Anyway, to make sure I didn't dream I installed a double boot with a linux distribution and while the lappy under linux is really quiet (quasi silent), t's really louder on openbsd once I plug it, or plug an external screen. Any idea where I can look/need to provide to help to fix this behavior? you're welcome to dig into the linux thinkpad acpi driver: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=drivers/platform/x86/thinkpad_acpi.c;h=2d61186ad5a2e96708fcec4beb0a8402eb2bc09f;hb=HEAD#l7145 note all the firmware bug comments, model-specific quirks, watchdog routines and other stuff in 1300 lines of code just for fan control. this is why my fan control patch is a hack and won't be committed.
x201 + fan noise
Hi all, Is there a way to force the speed of fans on last -CURRENT ? I have an x201i, and fan sounds louder than on the windows that was installed on it. It's event worth if I try to use apm with -A option. Sensors are enabled but doesn't seem to change anything. Also is acpi better supported on i386 vs amd64 ? Any idea ? - benont $ sysctl hw.sensors hw.sensors.cpu0.temp0=35.00 degC hw.sensors.cpu1.temp0=35.00 degC hw.sensors.cpu2.temp0=35.00 degC hw.sensors.cpu3.temp0=35.00 degC hw.sensors.acpitz0.temp0=47.00 degC (zone temperature) hw.sensors.acpibat0.volt0=10.80 VDC (voltage) hw.sensors.acpibat0.volt1=12.46 VDC (current voltage) hw.sensors.acpibat0.amphour0=9.39 Ah (last full capacity) hw.sensors.acpibat0.amphour1=0.47 Ah (warning capacity) hw.sensors.acpibat0.amphour2=0.02 Ah (low capacity) hw.sensors.acpibat0.amphour3=9.39 Ah (remaining capacity), OK hw.sensors.acpibat0.raw0=0 (battery full), OK hw.sensors.acpibat0.raw1=0 (rate) hw.sensors.acpiac0.indicator0=On (power supply) hw.sensors.acpithinkpad0.temp0=47.00 degC hw.sensors.acpithinkpad0.temp1=47.00 degC hw.sensors.acpithinkpad0.temp2=47.00 degC hw.sensors.acpithinkpad0.temp3=47.00 degC hw.sensors.acpithinkpad0.temp4=47.00 degC hw.sensors.acpithinkpad0.temp5=47.00 degC hw.sensors.acpithinkpad0.temp6=47.00 degC hw.sensors.acpithinkpad0.temp7=47.00 degC hw.sensors.acpithinkpad0.fan0=3265 RPM hw.sensors.acpidock0.indicator0=Off (not docked) hw.sensors.iwn0.temp0=44.00 degC hw.sensors.itherm0.temp1=39.01 degC (Core 1) hw.sensors.itherm0.temp4=48.00 degC (CPU/GPU Max temp) hw.sensors.itherm0.temp9=48.00 degC (GPU/Memory controller abs.) hw.sensors.itherm0.temp10=59.00 degC (PCH abs.) hw.sensors.itherm0.power0=6.00 W (CPU power consumption) dmesg : OpenBSD 4.8-current (GENERIC.MP) #591: Tue Oct 19 11:45:02 MDT 2010 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 1998045184 (1905MB) avail mem = 1930993664 (1841MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe0010 (78 entries) bios0: vendor LENOVO version 6QET52WW (1.22 ) date 08/23/2010 bios0: LENOVO 3323BSG acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET ASF! SLIC BOOT SSDT TCPA SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EHC1(S3) EHC2(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz, 2394.41 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 133MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz, 2394.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG cpu1: 256KB 64b/line 8-way L2 cache cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz, 2394.00 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG cpu2: 256KB 64b/line 8-way L2 cache cpu3 at mainbus0: apid 5 (application processor) cpu3: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz, 2394.00 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG cpu3: 256KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG_) acpiprt2 at acpi0: bus 13 (EXP1) acpiprt3 at acpi0: bus -1 (EXP2) acpiprt4 at acpi0: bus -1 (EXP3) acpiprt5 at acpi0: bus 5 (EXP4) acpiprt6 at acpi0: bus 2 (EXP5) acpicpu0 at acpi0: C3, C1, PSS acpicpu1 at acpi0: C3, C1, PSS acpicpu2 at acpi0: C3, C1, PSS acpicpu3 at acpi0: C3, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature 100 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 42T4696 serial 8240 type LION oem Panasonic acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2399, 2266, 2133, 1999, 1866, 1733, 1599, 1466, 1333, 1199, 1066, 933 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x0044 rev 0x02 vga1 at pci0 dev 2 function 0 Intel
Re: x201 + fan noise
How about apm -C ? It's much more better option I think. On Wed, Oct 20, 2010 at 12:45 PM, Benoit Chesneau bchesn...@gmail.com wrote: Hi all, Is there a way to force the speed of fans on last -CURRENT ? I have an x201i, and fan sounds louder than on the windows that was installed on it. It's event worth if I try to use apm with -A option. Sensors are enabled but doesn't seem to change anything. Also is acpi better supported on i386 vs amd64 ? B Any idea ? - benont $ sysctl hw.sensors hw.sensors.cpu0.temp0=35.00 degC hw.sensors.cpu1.temp0=35.00 degC hw.sensors.cpu2.temp0=35.00 degC hw.sensors.cpu3.temp0=35.00 degC hw.sensors.acpitz0.temp0=47.00 degC (zone temperature) hw.sensors.acpibat0.volt0=10.80 VDC (voltage) hw.sensors.acpibat0.volt1=12.46 VDC (current voltage) hw.sensors.acpibat0.amphour0=9.39 Ah (last full capacity) hw.sensors.acpibat0.amphour1=0.47 Ah (warning capacity) hw.sensors.acpibat0.amphour2=0.02 Ah (low capacity) hw.sensors.acpibat0.amphour3=9.39 Ah (remaining capacity), OK hw.sensors.acpibat0.raw0=0 (battery full), OK hw.sensors.acpibat0.raw1=0 (rate) hw.sensors.acpiac0.indicator0=On (power supply) hw.sensors.acpithinkpad0.temp0=47.00 degC hw.sensors.acpithinkpad0.temp1=47.00 degC hw.sensors.acpithinkpad0.temp2=47.00 degC hw.sensors.acpithinkpad0.temp3=47.00 degC hw.sensors.acpithinkpad0.temp4=47.00 degC hw.sensors.acpithinkpad0.temp5=47.00 degC hw.sensors.acpithinkpad0.temp6=47.00 degC hw.sensors.acpithinkpad0.temp7=47.00 degC hw.sensors.acpithinkpad0.fan0=3265 RPM hw.sensors.acpidock0.indicator0=Off (not docked) hw.sensors.iwn0.temp0=44.00 degC hw.sensors.itherm0.temp1=39.01 degC (Core 1) hw.sensors.itherm0.temp4=48.00 degC (CPU/GPU Max temp) hw.sensors.itherm0.temp9=48.00 degC (GPU/Memory controller abs.) hw.sensors.itherm0.temp10=59.00 degC (PCH abs.) hw.sensors.itherm0.power0=6.00 W (CPU power consumption) dmesg : OpenBSD 4.8-current (GENERIC.MP) #591: Tue Oct 19 11:45:02 MDT 2010 B B dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 1998045184 (1905MB) avail mem = 1930993664 (1841MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe0010 (78 entries) bios0: vendor LENOVO version 6QET52WW (1.22 ) date 08/23/2010 bios0: LENOVO 3323BSG acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET ASF! SLIC BOOT SSDT TCPA SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EHC1(S3) EHC2(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz, 2394.41 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 133MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz, 2394.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG cpu1: 256KB 64b/line 8-way L2 cache cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz, 2394.00 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG cpu2: 256KB 64b/line 8-way L2 cache cpu3 at mainbus0: apid 5 (application processor) cpu3: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz, 2394.00 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG cpu3: 256KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG_) acpiprt2 at acpi0: bus 13 (EXP1) acpiprt3 at acpi0: bus -1 (EXP2) acpiprt4 at acpi0: bus -1 (EXP3) acpiprt5 at acpi0: bus 5 (EXP4) acpiprt6 at acpi0: bus 2 (EXP5) acpicpu0 at acpi0: C3, C1, PSS acpicpu1 at acpi0: C3, C1, PSS acpicpu2 at acpi0: C3, C1, PSS acpicpu3 at acpi0: C3, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature 100 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 42T4696 serial B 8240 type LION oem Panasonic acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) cpu0:
Re: x201 + fan noise
On Wed, 20 Oct 2010 11:45:44 +0200 Benoit Chesneau bchesn...@gmail.com wrote: Is there a way to force the speed of fans IMHO this should be controlled by hardware but it isn't and nvidia have started doing the same cheap rubbish with their gpus. I'm not sure about what you can do with current and the x201 but if all else fails you could always put a resistor on the wire proportionate to the amount of cooling that it won't ever need in your environment(s).
Re: x201 + fan noise
On Wed, Oct 20, 2010 at 11:45 AM, Benoit Chesneau bchesn...@gmail.com wrote: Hi all, Is there a way to force the speed of fans on last -CURRENT ? I have an x201i, and fan sounds louder than on the windows that was installed on it. It's event worth if I try to use apm with -A option. Sensors are enabled but doesn't seem to change anything. Also is acpi better supported on i386 vs amd64 ? Any idea ? By jcs@: http://jcs.org/patches/openbsd-acpithinkpad_fan_control.diff ciao, david