Re: tp_smapi/hdaps equivalent

2011-09-19 Thread Tomas Bodzar
On Mon, Sep 19, 2011 at 4:53 AM, Paolo Reyes Balleza
paolo.ball...@gmail.com wrote:
 Hello all,

 I was wondering if there's an equivalent in OpenBSD of tp_smapi/hdaps
 battery control  hdd protection.

man apm
man systat
man sysctl

$ apm
Battery state: high, 100% remaining, unknown life estimate
A/C adapter state: connected
Performance adjustment mode: cool running (800 MHz)
$

$ systat sensors

   3 usersLoad 0.96 1.10 1.32 Mon Sep 19 07:56:22 2011

SENSOR  VALUE  STATUS  DESCRIPTION
acpitz0.temp0  25.00 degC  zone temperature
acpiac0.indicator0 On  power supply
acpibat0.volt0 11.10 V DC  voltage
acpibat0.volt1 12.97 V DC  current voltage
acpibat0.amphour0 5.57 Ah  last
full capacity
acpibat0.amphour1 0.54 Ah  warning capacity
acpibat0.amphour2 0.16 Ah  low capacity
acpibat0.amphour3 5.57 AhOK
remaining capacity
acpibat0.raw0   0 rawOKbattery full
acpibat0.raw1   1 raw  rate
cpu0.temp0 55.00 degC
lisa0.raw0  8 raw  OUT_X
lisa0.raw1  1 raw  OUT_Y
lisa0.raw2 52 raw  OUT_Z

$

see lisa0 for monitoring of accelerometer from disk

$ sysctl hw.sensors
hw.sensors.acpitz0.temp0=25.00 degC (zone temperature)
hw.sensors.acpiac0.indicator0=On (power supply)
hw.sensors.acpibat0.volt0=11.10 VDC (voltage)
hw.sensors.acpibat0.volt1=12.97 VDC (current voltage)
hw.sensors.acpibat0.amphour0=5.57 Ah (last full capacity)
hw.sensors.acpibat0.amphour1=0.54 Ah (warning capacity)
hw.sensors.acpibat0.amphour2=0.16 Ah (low capacity)
hw.sensors.acpibat0.amphour3=5.57 Ah (remaining capacity), OK
hw.sensors.acpibat0.raw0=0 (battery full), OK
hw.sensors.acpibat0.raw1=1 (rate)
hw.sensors.cpu0.temp0=59.00 degC
hw.sensors.lisa0.raw0=5 (OUT_X)
hw.sensors.lisa0.raw1=2 (OUT_Y)
hw.sensors.lisa0.raw2=53 (OUT_Z)
$

I have Dell so for you:

$ man -k thinkpad
acpithinkpad (4) - IBM/Lenovo ThinkPad ACPI support
aps (4) - ThinkPad Active Protection System accelerometer
$

http://www.openbsd.org/cgi-bin/man.cgi?query=apsapropos=0sektion=0manpath=OpenBSD+Currentarch=i386format=html


 Using i386-4.9-release on Thinkpad T60.

I'm on current, but probably not so much difference in this specific outputs.


 TIA,

 Paolo



Re: tp_smapi/hdaps equivalent

2011-09-19 Thread Paolo Reyes Balleza

On 09/19/11 13:58, Tomas Bodzar wrote:

On Mon, Sep 19, 2011 at 4:53 AM, Paolo Reyes Balleza
paolo.ball...@gmail.com  wrote:

Hello all,

I was wondering if there's an equivalent in OpenBSD of tp_smapi/hdaps
battery control  hdd protection.


man apm
man systat
man sysctl

$ apm
Battery state: high, 100% remaining, unknown life estimate
A/C adapter state: connected
Performance adjustment mode: cool running (800 MHz)
$

$ systat sensors

3 usersLoad 0.96 1.10 1.32 Mon Sep 19 07:56:22 2011

SENSOR  VALUE  STATUS  DESCRIPTION
acpitz0.temp0  25.00 degC  zone temperature
acpiac0.indicator0 On  power supply
acpibat0.volt0 11.10 V DC  voltage
acpibat0.volt1 12.97 V DC  current voltage
acpibat0.amphour0 5.57 Ah  last
full capacity
acpibat0.amphour1 0.54 Ah  warning capacity
acpibat0.amphour2 0.16 Ah  low capacity
acpibat0.amphour3 5.57 AhOK
remaining capacity
acpibat0.raw0   0 rawOKbattery full
acpibat0.raw1   1 raw  rate
cpu0.temp0 55.00 degC
lisa0.raw0  8 raw  OUT_X
lisa0.raw1  1 raw  OUT_Y
lisa0.raw2 52 raw  OUT_Z

$

see lisa0 for monitoring of accelerometer from disk

$ sysctl hw.sensors
hw.sensors.acpitz0.temp0=25.00 degC (zone temperature)
hw.sensors.acpiac0.indicator0=On (power supply)
hw.sensors.acpibat0.volt0=11.10 VDC (voltage)
hw.sensors.acpibat0.volt1=12.97 VDC (current voltage)
hw.sensors.acpibat0.amphour0=5.57 Ah (last full capacity)
hw.sensors.acpibat0.amphour1=0.54 Ah (warning capacity)
hw.sensors.acpibat0.amphour2=0.16 Ah (low capacity)
hw.sensors.acpibat0.amphour3=5.57 Ah (remaining capacity), OK
hw.sensors.acpibat0.raw0=0 (battery full), OK
hw.sensors.acpibat0.raw1=1 (rate)
hw.sensors.cpu0.temp0=59.00 degC
hw.sensors.lisa0.raw0=5 (OUT_X)
hw.sensors.lisa0.raw1=2 (OUT_Y)
hw.sensors.lisa0.raw2=53 (OUT_Z)
$

I have Dell so for you:

$ man -k thinkpad
acpithinkpad (4) - IBM/Lenovo ThinkPad ACPI support
aps (4) - ThinkPad Active Protection System accelerometer
$

http://www.openbsd.org/cgi-bin/man.cgi?query=apsapropos=0sektion=0manpath=OpenBSD+Currentarch=i386format=html



Using i386-4.9-release on Thinkpad T60.


I'm on current, but probably not so much difference in this specific outputs.



TIA,

Paolo






Thanks for the clue-by-four. :)



tp_smapi/hdaps equivalent

2011-09-18 Thread Paolo Reyes Balleza

Hello all,

I was wondering if there's an equivalent in OpenBSD of tp_smapi/hdaps 
battery control  hdd protection.


Using i386-4.9-release on Thinkpad T60.

TIA,

Paolo