I'm sorry to dump this on a mailing list, but here goes: cd /proc/asound
# ls -l lrwxrwxrwx root root 1970-01-01 00:00 PMICaudio -> card0 dr-xr-xr-x root root 1970-01-01 00:00 card0 -r--r--r-- root root 0 1970-01-01 00:00 pcm -r--r--r-- root root 0 1970-01-01 00:00 timers -r--r--r-- root root 0 1970-01-01 00:00 cards -r--r--r-- root root 0 1970-01-01 00:00 devices -r--r--r-- root root 0 1970-01-01 00:00 version dr-xr-xr-x root root 1970-01-01 00:00 oss # cd card0 # ls -l -rw-r--r-- root root 0 1970-01-01 00:00 oss_mixer -r--r--r-- root root 0 1970-01-01 00:00 id dr-xr-xr-x root root 1970-01-01 00:00 pcm2p dr-xr-xr-x root root 1970-01-01 00:00 pcm1p dr-xr-xr-x root root 1970-01-01 00:00 pcm0c dr-xr-xr-x root root 1970-01-01 00:00 pcm0p # cd ../ # ls -l lrwxrwxrwx root root 1970-01-01 00:01 PMICaudio -> card0 dr-xr-xr-x root root 1970-01-01 00:01 card0 -r--r--r-- root root 0 1970-01-01 00:01 pcm -r--r--r-- root root 0 1970-01-01 00:01 timers -r--r--r-- root root 0 1970-01-01 00:01 cards -r--r--r-- root root 0 1970-01-01 00:01 devices -r--r--r-- root root 0 1970-01-01 00:01 version dr-xr-xr-x root root 1970-01-01 00:01 oss # cat devices 0: [ 0] : control 16: [ 0- 0]: digital audio playback 17: [ 0- 1]: digital audio playback 18: [ 0- 2]: digital audio playback 24: [ 0- 0]: digital audio capture 33: : timer # cd /dev/snd # ls -l crw-rw-r-- system audio 14, 0 1970-01-01 00:00 mixer crw-rw-r-- system audio 116, 0 1970-01-01 00:00 controlC0 crw-rw-r-- system audio 14, 4 1970-01-01 00:00 audio crw-rw-r-- system audio 14, 3 1970-01-01 00:00 dsp crw-rw-r-- system audio 116, 24 1970-01-01 00:00 pcmC0D0c crw-rw-r-- system audio 116, 16 1970-01-01 00:00 pcmC0D0p crw-rw-r-- system audio 14, 12 1970-01-01 00:00 adsp crw-rw-r-- system audio 116, 17 1970-01-01 00:00 pcmC0D1p crw-rw-r-- system audio 116, 18 1970-01-01 00:00 pcmC0D2p crw-rw-r-- system audio 116, 33 1970-01-01 00:00 timer Here is the asound.conf file: # cat /etc/asound.conf # Android ALSA configuration file for OMAP2430SDP using the MXC audio. ## ## Mixer Devices ## ctl.AndroidPlayback { type hw card 0 } ctl.AndroidRecord { type hw card 0 } ## ## Playback Devices ## pcm.AndroidPlayback_Speaker { type hooks slave.pcm { type hw card 0 device 0 # Must be of type "digital audio playback" } hooks.0 { type ctl_elems hook_args [ # Enable audio output from the DSP { name "T2 Master codec configure Switch" lock false preserve true optional false value true } { name "T2 Master codec Sample Rate" lock false preserve true optional true value 48000 } { name "Playback Source" lock false preserve true optional false # Values are: # 0 - 'Stereo Headset' # 1 - 'Hands-free (Speakers)' # 2 - 'Mono Handset' # 3 'USB CarKit' value 'Hands-free (Speakers)' } ] } } pcm.AndroidPlayback_Headset { type hooks slave.pcm { type hw card 0 device 0 # Must be of type "digital audio playback" } hooks.0 { type ctl_elems hook_args [ # Enable audio output from the DSP { name "T2 Master codec configure Switch" value true } { name "T2 Master codec Sample Rate" value 48000 } { name "Playback Source" value 'Stereo Headset' } ] } } pcm.AndroidPlayback_Earpiece { type hooks slave.pcm { type hw card 0 device 0 # Must be of type "digital audio playback" } hooks.0 { type ctl_elems hook_args [ # Enable audio output from the DSP { name "T2 Master codec configure Switch" value true } { name "T2 Master codec Sample Rate" value 48000 } { name "Playback Source" value 'Mono Handset' } ] } } # No bluetooth available. Send output to the bit bucket. pcm.AndroidPlayback_Bluetooth { type null } ## ## Recording device ## pcm.AndroidRecord_Microphone { type hooks slave.pcm { type hw card 0 device 0 # Must be of type "digital audio capture" } hooks.0 { type ctl_elems hook_args [ { # MXC values for capture source: # 0 - 'Headset Mic' # 1 - 'Main Mic Sub Mic' # 2 - 'Aux/FM' # 3 - 'USB CarKit' name "Capture Source" lock false preserve true optional false value 'Main Mic Sub Mic' } { # Enable capture, range [0..100] name "Mic Headset Capture Volume" value [100 100] } { name "Mic Headset Capture Switch" value true } { # MXC Capture volume, range [0..100] name "Master Capture Volume" value [60 60] } ] } } --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [EMAIL PROTECTED] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---