On Tue, Jul 19, 2011 at 2:01 PM, dtran11 <dtran11@gmail.com> wrote:

I just switched to 2.6.39 for my overo and noticed that the device
/dev/twl4030-madc is gone. Any clues to how I can get it back?

The madc driver is now upstream and in the process it moved to the hwmon subsystem.

It is now even easier to access using the /sys/class interface:

root@omap3-multi:~# ls /sys/class/hwmon/hwmon1/device/
curr10_input  in11_input  in3_input  in7_input    power
driver          in12_input  in4_input  in8_input    subsystem
hwmon          in15_input  in5_input  in9_input    temp1_input
in0_input     in2_input   in6_input  modalias    uevent
root@omap3-multi:~# cat /sys/class/hwmon/hwmon1/device/temp1_input
56
root@omap3-multi:~# cat /sys/class/hwmon/hwmon1/device/curr10_input
-750

Steve