Page 1 of 1

ADC device

Posted: Wed Jul 08, 2009 1:18 am
by Van Der Hinferm
I'm trying to work with adc pot in mini2440, but I can't find /dev/adc, my kernel is 2.6.13, and I wish to know if it is compiled in the kernel and available through mknod via any file in dev directory, /dev/adc is referenced in example adc-test.

In other hand I can't found source code for bl program, these program turn on and off backlight.

Thanks in advance.

Re: ADC device

Posted: Sun Aug 30, 2009 7:14 pm
by Harborseal
Go to the andahammer.com downloads page. Get the directions on flashing the NOR with the new supervivi and the binary's for 2.6.29. Do that, then download the source for 2.6.29, the unified compiler, and Qtopia.

Re: ADC device

Posted: Tue Sep 01, 2009 11:11 am
by sinseman44
Within the archive there are the driver and a program test (both are from mini2440 sources)
# modprobe mini2440_adc
adc initialized

then
# adc-test
press Ctrl-C to stop
ADC Value: 505
ADC Value: 504