Never mind, I think I've figured it out. Loaded the driver module and the devices are there again.

insmod /lib/modules/2.6.39/kernel/drivers/hwmon/twl4030-madc-hwmon.ko


On Tue, Oct 4, 2011 at 9:37 PM, Tim Connell <tconnell@gmail.com> wrote:
Hi all,

I'm running a 2.6.39 kernel on an Overo Air with a Summit expansion board. I realize the way of accessing the ADC has changed in this version, and I've had a look at the wiki page here: http://wiki.gumstix.org/index.php?title=ADC_overo_2.6.39%2B

I was able to read the values using the files in /sys/class/hwmon/hwmon1/device , but now for some reason the hwmon1/* files are no longer present. I've got no idea what changed, I haven't made any configuration changes to the system, only compiling & running my own program.

Not sure if the dmesg log indicates anything - I don't know too much about linux but it's here in case someone can see something!

root@overo:~# ls /sys/class/hwmon/

hwmon0

root@overo:~# dmesg | grep twl

twl4030: PIH (irq 7) chaining IRQs 368..375
twl4030: power (irq 373) chaining IRQs 376..383
twl4030: gpio (irq 368) chaining IRQs 384..401
twl4030_usb twl4030_usb: HW_CONDITIONS 0x10/16; link 0
twl4030_usb twl4030_usb: Initialized TWL4030 USB module
twl4030_usb twl4030_usb: twl4030_phy_resume
twl4030_usb twl4030_usb: HW_CONDITIONS 0xd0/208; link 1
twl4030_usb twl4030_usb: HW_CONDITIONS 0x10/16; link 0
twl4030_usb twl4030_usb: twl4030_phy_suspend
twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping ok
twl_rtc twl_rtc: setting system clock to 2011-08-28 09:32:24 UTC (1314523944)

Any help would be greatly appreciated.