[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: SS4000E Fan speed, LEDS and power button



Could someone be kind enough to post the output they get from these
commands?

CJW

-----Original Message-----
From: Chris Wilkinson [mailto:kinsham@verizon.net] 
Sent: Friday, July 20, 2012 11:58 AM
To: 'Arnaud Patard (Rtp)'
Cc: debian-arm@lists.debian.org
Subject: RE: SS4000E Fan speed, LEDS and power button

Installed lm-sensors. sensors-detect detects the w83792d chip

root@Freestor:~# sensors
w83792d-i2c-0-2d
Adapter: IOP3xx-I2C
VcoreA:       +1.28 V  (min =  +0.00 V, max =  +2.04 V)
VcoreB:       +0.00 V  (min =  +0.00 V, max =  +2.04 V)
in2:          +2.55 V  (min =  +0.00 V, max =  +4.08 V)
in3:          +3.30 V  (min =  +0.00 V, max =  +4.08 V)
in4:          +0.00 V  (min =  +0.00 V, max =  +4.08 V)
in5:          +1.99 V  (min =  +0.00 V, max =  +4.08 V)
+5V:          +4.92 V  (min =  +4.49 V, max =  +5.50 V)
5VSB:         +4.93 V  (min =  +4.49 V, max =  +5.50 V)
Vbat:         +0.00 V  (min =  +2.69 V, max =  +3.30 V)  ALARM
fan1:           0 RPM  (min =    0 RPM, div = 2)
fan2:           0 RPM  (min =    0 RPM, div = 2)
fan3:           0 RPM  (min =    0 RPM, div = 2)
fan4:           0 RPM  (min =    0 RPM, div = 2)
fan5:           0 RPM  (min =    0 RPM, div = 2)
temp1:        +46.0°C  (high = +127.0°C, hyst =  +0.0°C)
temp2:       +127.0°C  (high = +80.0°C, hyst = +75.0°C)  ALARM
temp3:       +127.0°C  (high = +80.0°C, hyst = +75.0°C)  ALARM

All the fans are zero so presumably it's not reading the fan speed from the
chip.

root@Freestor:~# modprobe -l | grep 83792
kernel/drivers/hwmon/w83792d.ko

root@Freestor:~# modinfo w83792d
filename:       /lib/modules/2.6.32-5-iop32x/kernel/drivers/hwmon/w83792d.ko
license:        GPL
description:    W83792AD/D driver for linux-2.6
author:         Chunhao Huang @ Winbond <DZShen@Winbond.com.tw>
alias:          i2c:w83792d
depends:
vermagic:       2.6.32-5-iop32x mod_unload modversions ARMv5
parm:           force:List of adapter,address pairs to boldly assume to be
present (array of short)
parm:           force_w83792d:List of adapter,address pairs which are
unquestionably assumed to contain a `w83792d' chip (array of short)
parm:           probe:List of adapter,address pairs to scan additionally
(array of short)
parm:           ignore:List of adapter,address pairs not to scan (array of
short)
parm:           force_subclients:List of subclient addresses: {bus,
clientaddr, subclientaddr1, subclientaddr2} (array of short)
parm:           init:Set to one to force chip initialization (bool)

CJW
-----Original Message-----
From: Arnaud Patard (Rtp) [mailto:arnaud.patard@rtp-net.org] 
Sent: Tuesday, July 17, 2012 3:44 PM
To: Chris Wilkinson
Cc: debian-arm@lists.debian.org
Subject: Re: SS4000E Fan speed, LEDS and power button

"Chris Wilkinson" <kinsham@verizon.net> writes:


Please note that I'm about to talk about em7210 so things may be different
on em7220.

> Has anyone succeeded to control the fan speed according to
> temperature,

the fan is handled by a w83792*. 

> control the front panel LEDS and power off with the power button on this
> device?

The leds are handled by the f75111 chip from fintek. There's
a driver here http://git.rtp-net.org/?p=ss4000e.git;a=tree The needed
patches are :

f75111.patch
add_f75111_pdata.patch
em7210_add_missing_leds.patch

I'm using them on top of 3.4 for several weeks now.

For the buttons, there's em7210_add_gpio_keys.patch. It was relying on
custom gpio input driver but there's nowadays needed stuff in mainline.

>
> I built http://lm-sensors.org/ but it couldn't recognize any sensors.
>
> I also haven't been able to figure out how to set up 4 disks in a RAID5.
The
> d-I only prompted to install 1 disk. I can format/mount the other 3 and
but
> don't know how to create the 4-disk RAID.

RAID5 needs only 3 drives, so create the RAID5 on 3 drives and then add
the last one as spare.

Arnaud


-- 
To UNSUBSCRIBE, email to debian-arm-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Archive: http://lists.debian.org/004201cd6690$64aa7970$2dff6c50$@net


Reply to: