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

RE: SS4000E Fan speed, LEDS and power button



Arnaud,

Applying these 4 patches to the linux-3.4 kernel gives the following patch
failures (1,3).  Can you tell if I did something wrong?

1
chrisw@HOMESERVER:~/dev-embedded/ctool-ng/linux-3.4$ patch -p1 <
../ss4000e-d9a7591/f75111.patch
patching file drivers/gpio/Kconfig
Hunk #1 FAILED at 558.
1 out of 1 hunk FAILED -- saving rejects to file drivers/gpio/Kconfig.rej
patching file drivers/gpio/Makefile
Hunk #1 succeeded at 64 (offset -3 lines).
patching file drivers/gpio/f75111.c
patching file include/linux/f75111.h

2
chrisw@HOMESERVER:~/dev-embedded/ctool-ng/linux-3.4$ patch -p1 <
../ss4000e-d9a7591/add_f75111_pdata.patch
patching file arch/arm/mach-iop32x/em7210.c
Hunk #1 succeeded at 23 (offset -1 lines).
Hunk #2 succeeded at 48 (offset -1 lines).
patching file arch/arm/mach-iop32x/include/mach/hardware.h

3
chrisw@HOMESERVER:~/dev-embedded/ctool-ng/linux-3.4$ patch -p1 <
../ss4000e-d9a7591/em7210_add_missing_leds.patch
patching file arch/arm/mach-iop32x/em7210.c
Hunk #1 succeeded at 128 (offset -2 lines).
Hunk #2 FAILED at 323.
1 out of 2 hunks FAILED -- saving rejects to file
arch/arm/mach-iop32x/em7210.c.rej

4
chrisw@HOMESERVER:~/dev-embedded/ctool-ng/linux-3.4$ patch -p1 <
../ss4000e-d9a7591/em7210_add_gpio_keys.patch
patching file arch/arm/mach-iop32x/em7210.c
Hunk #1 succeeded at 27 (offset -1 lines).
Hunk #2 succeeded at 159 (offset -1 lines).
Hunk #3 succeeded at 343 (offset -7 lines).

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: 871ukacgwj.fsf@lebrac.rtp-net.org">http://lists.debian.org/871ukacgwj.fsf@lebrac.rtp-net.org


Reply to: