Kernel patch to support LEDs, buttons and sensors on the ix2-200
February 15, 2012
Posted by on
This is a kernel patch based on the kernel sources release by Iomega for the iConnect and some guess work as to the GPIO pins to use. It has the following features:
- control of LEDs via leds-gpio
# echo 1 > /sys/class/leds/backup_led/brightness
Adapter: mv64xxx_i2c adapter
fan1: 0 RPM (min = 0 RPM)
temp1: +57.0°C (high = +70.0°C)
temp2: +56.2°C (low = +0.0°C, high = +70.0°C)
(crit = +85.0°C, hyst = +75.0°C)
- buttons support
- removing redundant device configuration etc.
One note about the LEDs is that the leds-gpio driver lacks the support to switch them to their full brightness, so they will be a bit dimmer than you might be used to. This can be addressed by twiddling the appropriate GPIO directly, which is documented in the patch.
Alan pointed out that my old patch didn’t apply cleaning on 3.3 or above. I’ve changed my patch to only update the setup file. I’ve also extracted the patch from 3.3 that fixed the GPIO config problem, which you will need if you’re using version 3.2 or older. I’ve put them on google drive, so hopefully they’ll stay available.
Setup file Patch
Kernel 3.4.4 Config
Kernel 3.0.18 Config