Sorry, I should have included 'arecord -L' output in my previous post. Here it is; the original post is at the bottom.
$ arecord -L PCM list: hw { @args.0 CARD @args.1 DEV @args.2 SUBDEV @args.CARD { type string default { @func getenv vars { 0 ALSA_PCM_CARD 1 ALSA_CARD } default { @func refer name 'defaults.pcm.card' } } } @args.DEV { type integer default { @func igetenv vars { 0 ALSA_PCM_DEVICE } default { @func refer name 'defaults.pcm.device' } } } @args.SUBDEV { type integer default { @func refer name 'defaults.pcm.subdevice' } } type hw card $CARD device $DEV subdevice $SUBDEV } plughw { @args.0 CARD @args.1 DEV @args.2 SUBDEV @args.CARD { type string default { @func getenv vars { 0 ALSA_PCM_CARD 1 ALSA_CARD } default { @func refer name 'defaults.pcm.card' } } } @args.DEV { type integer default { @func igetenv vars { 0 ALSA_PCM_DEVICE } default { @func refer name 'defaults.pcm.device' } } } @args.SUBDEV { type integer default { @func refer name 'defaults.pcm.subdevice' } } type plug slave.pcm { type hw card $CARD device $DEV subdevice $SUBDEV } } plug { @args.0 SLAVE @args.SLAVE { type string } type plug slave.pcm $SLAVE } dmix { @args.0 SLAVE @args.1 FORMAT @args.2 RATE @args.SLAVE { type string default 'hw:0,0' } @args.FORMAT { type string default S16_LE } @args.RATE { type integer default 48000 } type dmix ipc_key 5678293 ipc_key_add_uid yes slave { pcm $SLAVE format $FORMAT rate $RATE } } dsnoop { @args.0 SLAVE @args.1 FORMAT @args.2 RATE @args.SLAVE { type string default 'hw:0,0' } @args.FORMAT { type string default S16_LE } @args.RATE { type integer default 48000 } type dsnoop ipc_key 5778293 ipc_key_add_uid yes slave { pcm $SLAVE format $FORMAT rate $RATE } } shm { @args.0 SOCKET @args.1 PCM @args.SOCKET { type string } @args.PCM { type string } type shm server $SOCKET pcm $PCM } tee { @args.0 SLAVE @args.1 FILE @args.2 FORMAT @args.SLAVE { type string } @args.FILE { type string } @args.FORMAT { type string default raw } type file slave.pcm $SLAVE file $FILE format $FORMAT } file { @args.0 FILE @args.1 FORMAT @args.FILE { type string } @args.FORMAT { type string default raw } type file slave.pcm null file $FILE format $FORMAT } null { type null } default { type plug slave.pcm { type hw card { @func getenv vars { 0 ALSA_PCM_CARD 1 ALSA_CARD } default { @func refer name 'defaults.pcm.card' } } device { @func igetenv vars { 0 ALSA_PCM_DEVICE } default { @func refer name 'defaults.pcm.device' } } subdevice { @func refer name 'defaults.pcm.subdevice' } } } cards 'cards.pcm' front 'cards.pcm.front' rear 'cards.pcm.rear' center_lfe 'cards.pcm.center_lfe' surround40 'cards.pcm.surround40' surround51 'cards.pcm.surround51' iec958 'cards.pcm.iec958' spdif 'cards.pcm.iec958' --- And the original message: --- I have a M-Audio/Delta Audiophile 2496 card, running under Debian GNU/Linux 2.6.0-test1 (hence ALSA 0.9.4, using ice1712). I'm trying to record SPDIF input from a DAT player, to make WAV files on disk (i.e., bit-for-bit copy). Analog input is working fine: $ arecord -f cd -t wav -D plug:hw x.wav $ aplay x.wav [ ... hear the music ... ] $ (Much thanks to Clemens Ladisch for helping me to get that far!) However, I haven't gotten digital input working yet; seems I'm missing some configuration magic? $ arecord -f cd -t wav -D plug:spdif x.wav Recording WAVE 'x.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo ALSA lib pcm_params.c:2094:(snd_pcm_hw_refine_slave) Slave PCM not usable arecord: set_params:783: Broken configuration for this PCM: \ no configurations available $ arecord -f cd -t wav -D plug:iec958 x.wav Recording WAVE 'x.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo ALSA lib pcm_params.c:2094:(snd_pcm_hw_refine_slave) Slave PCM not usable arecord: set_params:783: Broken configuration for this PCM: \ no configurations available $ arecord -f cd -t wav -D spdif x.wav Recording WAVE 'x.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo arecord: set_params:783: Broken configuration for this PCM: \ no configurations available $ arecord -f cd -t wav -D iec958 x.wav Recording WAVE 'x.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo arecord: set_params:783: Broken configuration for this PCM: \ no configurations available Has anyone done this, with the Audiophile or any other SPDIF-producing card? Is there some custom configuration I should put in my ~/.asoundrc? I've been Googling on the above (and various other) error messages, but so far the suggestions I've seen haven't solved the problem... Thanks in advance for any pointers, -Karl ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user