DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 13th November 2014
Oficre_josef Oficre_josef is offline
Port Guard
 
Join Date: Nov 2014
Posts: 26
Default fan speed management

Hello!
I have installed OpenBSD 5.6 on my ThinkPad t410.
Everything looks good for me, but :
Code:
$ sysctl hw.sensors 
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=53.00 degC (zone temperature)
hw.sensors.acpibtn0.indicator0=On (lid open)
hw.sensors.acpibat0.volt0=10.80 VDC (voltage)
hw.sensors.acpibat0.volt1=12.41 VDC (current voltage)
hw.sensors.acpibat0.current0=0.00 A (rate)
hw.sensors.acpibat0.amphour0=4.12 Ah (last full capacity)
hw.sensors.acpibat0.amphour1=0.21 Ah (warning capacity)
hw.sensors.acpibat0.amphour2=0.02 Ah (low capacity)
hw.sensors.acpibat0.amphour3=4.12 Ah (remaining capacity), OK
hw.sensors.acpibat0.amphour4=4.75 Ah (design capacity)
hw.sensors.acpibat0.raw0=0 (battery idle), OK
hw.sensors.acpiac0.indicator0=On (power supply)
hw.sensors.acpithinkpad0.temp0=53.00 degC
hw.sensors.acpithinkpad0.temp1=53.00 degC
hw.sensors.acpithinkpad0.temp2=53.00 degC
hw.sensors.acpithinkpad0.temp3=53.00 degC
hw.sensors.acpithinkpad0.temp4=53.00 degC
hw.sensors.acpithinkpad0.temp5=53.00 degC
hw.sensors.acpithinkpad0.temp6=53.00 degC
hw.sensors.acpithinkpad0.temp7=53.00 degC
hw.sensors.acpithinkpad0.fan0=3557 RPM
hw.sensors.itherm0.temp0=0.00 degC (Thermometer)
hw.sensors.itherm0.temp1=50.01 degC (Core 1)
hw.sensors.itherm0.temp4=52.00 degC (CPU/GPU Max temp)
hw.sensors.itherm0.temp9=52.00 degC (GPU/Memory controller abs.)
hw.sensors.itherm0.temp10=59.00 degC (PCH abs.)
hw.sensors.itherm0.power0=7.00 W (CPU power consumption)
hw.sensors.aps0.temp0=40.00 degC
hw.sensors.aps0.temp1=40.00 degC
hw.sensors.aps0.indicator0=On (Keyboard Active)
hw.sensors.aps0.indicator1=Off (Mouse Active)
hw.sensors.aps0.indicator2=On (Lid Open)
hw.sensors.aps0.raw0=518 (X_ACCEL)
hw.sensors.aps0.raw1=505 (Y_ACCEL)
hw.sensors.aps0.raw2=518 (X_VAR)
hw.sensors.aps0.raw3=505 (Y_VAR)
3500 rpm!
Btw i've enabled apm -L:
Code:
$ apm -v
Battery state: high, 99% remaining, unknown life estimate
A/C adapter state: connected
Performance adjustment mode: manual (1199 MHz)
but it did nothing..


My dmesg(sorry for so long post, i cant give a link to pastbin):
Code:
OpenBSD 5.6 (GENERIC.MP) #333: Fri Aug  8 00:20:21 MDT 2014
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4062691328 (3874MB)
avail mem = 3945758720 (3762MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe0010 (78 entries)
bios0: vendor LENOVO version "6IET85WW (1.45 )" date 02/14/2013
bios0: LENOVO 2537F86
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 DMAR SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) UART(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 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz, 2793.50 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 133MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.0, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz, 2793.01 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz, 2793.01 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 5 (application processor)
cpu3: Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz, 2793.01 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 2, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus -1 (EXP3)
acpiprt5 at acpi0: bus 5 (EXP4)
acpiprt6 at acpi0: bus 13 (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, resource for EHC1, EHC2
acpitz0 at acpi0: critical temperature is 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T4751" serial  1730 type LION oem "SANYO"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
cpu0: Enhanced SpeedStep 2793 MHz: speeds: 2534, 2533, 2399, 2266, 2133, 1999, 1866, 1733, 1599, 1466, 1333, 1199 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core Host" rev 0x02
vga1 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x02
intagp0 at vga1
agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1280x800
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
puc0 at pci0 dev 22 function 3 "Intel 3400 KT" rev 0x06: ports: 1 com
com4 at puc0 port 0 apic 1 int 17: ns16550a, 16 byte fifo
com4: probed fifo depth: 0 bytes
em0 at pci0 dev 25 function 0 "Intel 82577LM" rev 0x06: msi, address f0:de:f1:06:d7:63
ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x06: apic 1 int 23
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: Conexant/0x5069, Intel/0x2804, using Conexant/0x5069
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x06: msi
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 "Intel 3400 PCIE" rev 0x06: msi
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 "Intel Centrino Advanced-N 6200" rev 0x35: msi, MIMO 2T2R, MoW, address 00:27:10:28:05:50
ppb2 at pci0 dev 28 function 3 "Intel 3400 PCIE" rev 0x06: msi
pci3 at ppb2 bus 5
ppb3 at pci0 dev 28 function 4 "Intel 3400 PCIE" rev 0x06: msi
pci4 at ppb3 bus 13
sdhc0 at pci4 dev 0 function 0 "Ricoh 5U822 SD/MMC" rev 0x01: apic 1 int 16
sdmmc0 at sdhc0
"Ricoh 5U230 Memory Stick" rev 0x01 at pci4 dev 0 function 1 not configured
"Ricoh 5U832 Firewire" rev 0x01 at pci4 dev 0 function 3 not configured
ehci1 at pci0 dev 29 function 0 "Intel 3400 USB" rev 0x06: apic 1 int 19
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 14
pcib0 at pci0 dev 31 function 0 "Intel QM57 LPC" rev 0x06
ahci0 at pci0 dev 31 function 2 "Intel 3400 AHCI" rev 0x06: msi, AHCI 1.3
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, HGST HTS541010A9, JA0O> SCSI3 0/direct fixed naa.5000cca793c97713
sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
cd0 at scsibus1 targ 1 lun 0: <MATSHITA, DVD-RAM UJ892, SB01> ATAPI 5/cdrom removable
ichiic0 at pci0 dev 31 function 3 "Intel 3400 SMBus" rev 0x06: apic 1 int 23
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-8500 SO-DIMM
spdmem1 at iic0 addr 0x51: 2GB DDR3 SDRAM PC3-8500 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
wsmouse1 at pms0 mux 0
pms0: Synaptics touchpad, firmware 7.2
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
pci6 at mainbus0 bus 255
pchb1 at pci6 dev 0 function 0 "Intel QuickPath" rev 0x02
pchb2 at pci6 dev 0 function 1 "Intel QuickPath" rev 0x02
pchb3 at pci6 dev 2 function 0 "Intel QPI Link" rev 0x02
pchb4 at pci6 dev 2 function 1 "Intel QPI Physical" rev 0x02
pchb5 at pci6 dev 2 function 2 "Intel Reserved" rev 0x02
pchb6 at pci6 dev 2 function 3 "Intel Reserved" rev 0x02
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 4 "Broadcom Corp Broadcom Bluetooth Device" rev 2.00/3.60 addr 3
uvideo0 at uhub2 port 6 configuration 1 interface 0 "Chicony Electronics Co., Ltd. Integrated Camera" rev 2.00/23.45 addr 4
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (6e1cca1638ecaafc.a) swap on sd0b dump on sd0b
Can u guys help me to decrease RPM?
Reply With Quote
  #2   (View Single Post)  
Old 13th November 2014
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Hello, and welcome!

Generally, there is no user control of fan speed possible. Monitoring, as you have done, and setting of APM power adjustments are about it. This old thread and this one have more info. Since you're using a Thinkpad, you may want to ask this question on the Project's misc@ mailing list -- about half of the developers are active on that list and it seems that most of them use Thinkpads.

Last edited by jggimi; 13th November 2014 at 04:44 PM. Reason: typo, clarity
Reply With Quote
  #3   (View Single Post)  
Old 13th November 2014
Oficre_josef Oficre_josef is offline
Port Guard
 
Join Date: Nov 2014
Posts: 26
Default

Hi, thank for reply.

How can idetermine what driver is my system uses for fan/term controlling?
Is it acpithinkpad?

Sorry for such a noob questions
Reply With Quote
  #4   (View Single Post)  
Old 13th November 2014
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Quote:
Originally Posted by Oficre_josef View Post
Sorry for such a noob question...
No apology needed. We were all noobs once.

The man page acipthinkpad(4) doesn't mention fan control - it discusses hotkeys and buttons. But it does report fan speed, and looking at the source code for src/sys/dev/acpi/acipthinkpad.c used at OpenBSD 5.6-release, I can see logic for reporting fan speeds. But not for manipulating it. There have been five patches to this module since 5.6-release, but none address fans, and none have been issued as errata or added to 5.6-stable. Details are here.
Reply With Quote
  #5   (View Single Post)  
Old 13th November 2014
Oficre_josef Oficre_josef is offline
Port Guard
 
Join Date: Nov 2014
Posts: 26
Default

Hm, so i use the driver that doesnt manipulate the fan speed and just tells me the speed itself?

Maybe i should change driver for it? Or something..

apropos fan | grep 4 gives me a lot of drivers

The only problem is how to do that, or maybe i misunderstood you
Reply With Quote
  #6   (View Single Post)  
Old 13th November 2014
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Drivers are selected based on hardware discovered by the kernel. You can only disable drivers so that the kernel doesn't load them --- if you don't have a hardware component, you won't be able to "select" its driver.

Manipulation of fans is not directly controllable by the OS, or by us users. We are dependent upon ACPI to manage power and temperature.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnome power management? codeFreak OpenBSD Packages and Ports 5 6th March 2011 03:21 AM
log file management drummondislebsd FreeBSD General 3 5th January 2011 01:11 PM
Help with OpenSolaris package management roddierod Solaris 2 6th August 2008 03:11 PM
OpenVPN management bichumo General software and network 0 15th July 2008 09:05 AM
bandwidth management problem... maurobottone OpenBSD Security 2 17th May 2008 08:10 AM


All times are GMT. The time now is 11:38 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick