Hi! How should I configure kernel to make adc devices working?
How to enable AIN1-AIN4 on mini6410?
You need the user-manual of mini6410. Identify the control addresses of the AIN1-4. Write a device driver for your requirements. I wrote one before for S3c2440. However, the process and device driver writing should be the same.
Hi Anna, in a recent kernel everything you need is in place. It's just not registered at runtime, so the kernel does not provide the ADCs to userland. Do you know my BSP repository? Take a look into the patch "configs/platform-friendlyarm-mini6410/patches/linux-3.0/add_hwmon_feature. diff", then ensure the kernel symbol CONFIG_SENSORS_S3C is Y and you are (mostly) done. You will find the ADCs channels in "/sys/devices/platform/s3c64xx-adc/s3c-hwmon/" where you can read the ADC values with a simple "cat in0_input" command.
Thanx. By the way, are there any plans to make a Qt-based configurator for your BSP (as it is made in buildroot tool)? It's not very comfortable to make settings in console mode.
Real programmers running "cat /dev/audio > my_app" and wisper into the microphone :-) No, currently no plans for a click&pray app, sorry.