cat /dev/dsp does sample the ADC
It's then 'simply' a case of setting the mixer controls so that the sound is routed from the mic to the adc
See the nice simple explanatory block diagram in the middle of http://wiki.openmoko.org/wiki/Neo1973_Audio_Subsystem for guidance.
In principle. You need to find which mic input the mic is connected to, setup the input gain and mic selector appropriately,setup the ALC mixer right, then set it up to route to the left or right ADC
alsactl can do it (alsamixer)

Note from User:Wurp: You'll need to shut down pulseaudio before aplay will work (you also need to do this to get mplayer to play audio). Use '/etc/init.d/pulseaudio stop' before 'aplay foo.wav'. There is probably a better way to do this, but I don't know it.

This is a project to get some mapping working on the moko. Right now I'm thinking of hacking together a basic picture viewer and stealing Tiles at Home PNG's and overlaying where the GPS says we are. Eventually it would be nice to have vector maps and true routing, but baby steps are important.

Note from User:Wurp: The navit package seems a good starting place. I prefer pyroute, but I think we're going to have to get pypy or psyco going on the neo before pyroute is usable.

cat /dev/dsp does sample the ADC
It's then 'simply' a case of setting the mixer controls so that the sound is routed from the mic to the adc
See the nice simple explanatory block diagram in the middle of http://wiki.openmoko.org/wiki/Neo1973_Audio_Subsystem for guidance.
In principle. You need to find which mic input the mic is connected to, setup the input gain and mic selector appropriately,setup the ALC mixer right, then set it up to route to the left or right ADC
alsactl can do it (alsamixer)

Note from User:Wurp: You'll need to shut down pulseaudio before aplay will work (you also need to do this to get mplayer to play audio). Use '/etc/init.d/pulseaudio stop' before 'aplay foo.wav'. There is probably a better way to do this, but I don't know it.

This is a project to get some mapping working on the moko. Right now I'm thinking of hacking together a basic picture viewer and stealing Tiles at Home PNG's and overlaying where the GPS says we are. Eventually it would be nice to have vector maps and true routing, but baby steps are important.

Note from User:Wurp: The navit package seems a good starting place. I prefer pyroute, but I think we're going to have to get pypy or psyco going on the neo before pyroute is usable.