OK, after a LOT of digging and help from the developers the last major hurdle was overcome.
Apparently one must manually select either the optical or electrical input of the PDAudioCF card. (this was not documented anywhere).
I threw together a simple script that automatically determines where the pdaudiocf card is, then selects the proper input. I feel such a script should be part of the alsa pdaudiocf driver package.
Its easy enough for newbies and 'non-linux' users. While logged in as the 'root' user just cut and paste it into a file called 'pdacf_isel.sh', copy it to a directory in your search path such as /usr/local/bin and make it world executable ( chmod 0755 pdacf_isel.sh ). MAKE SURE '#!/bin/csh' (BELOW) IS ON THE VERY FIRST LINE !!!!!!!!!!
#!/bin/csh
if ( ($1 == "") || ($1 < '0') || ($1 > '1') ) then echo "usage: pdacf_isel.sh <0..1>" echo " where 0 = optical" echo " 1 = coax electrical" exit 1 endif
# ***** assume pdaudiocf card not present ***** @ card = -1
# ***** Locate pdaudiocf card, if present ***** foreach x ( 0 1 2 3 4 5 6 7 ) if ( -e '/proc/asound/card'$x'/pdaudiocf' ) then @ card = $x break endif end if ( $card < 0 ) then echo "PdAudioCF not found..." exit 1 endif
echo "pdaudiocf is card"$card
amixer -c $card cset iface=PCM,name='AK4117 Input Select' $1
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user