On Wed, 2008-01-09 at 17:29 +0100, Takashi Iwai wrote: > To be sure: you are using 32bit version, right? > For 64bit, the library path might be /usr/lib64, instead of /usr/lib > (depending on distro). Yes. 32 bit. find / -name "*64*" < nothing found > My gentoo /etc/make.conf contains CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -mmmx -msse -msse2 -O2 -pipe -fomit-frame-pointer" > So far so good. > > > > > IEC958 shows > > ┌──┐ > > │MM│ > > L└──┘R > > CAPTUR Yay! > Attach the generated file via "alsactl -f somefile store" instead of > ascii art. This contains the all mixer information. Sorry. alsactl -f /etc/asound.state store asound.state file attached. > It's a user error :) The usage below, -D plug:spdif, is correct, > though. > > arecord -D plug:spdif -d 10 -f dat -t wav |aplay > > > > ALSA lib dlmisc.c:118:(snd_dlsym_verify) unable to verify version for symbol _snd_pcm_hook_ctl_elems_install > > OK, this is a bug in the recent alsa-lib. > I fixed it now on HG tree. Please update your alsa-lib repo (maybe > better from hg.alsa-project.org). I re-pulled alsa-lib, and now: arecord -D plug:spdif -d 10 -f dat -t wav |aplay And arecord -D cards.pcm.iec958 -d 10 -f dat -t wav |aplay In both cases, I hear nothing, and they end with the same output: Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo arecord: pcm_read:1324: read error: Input/output error I re-pulled alsa-lib, built successfully, and retry record, with same error: rm -rf alsa-lib hg clone http://hg.alsa-project.org/alsa-lib alsa-lib pushd alsa-lib ./hgcompile && make install popd arecord -D plug:spdif -d 10 -f dat -t wav |aplay At this point, should I pull from your daily builds? I retried arecord with verbose mode on: arecord -v -D plug:spdif -d 10 -f dat -t wav |aplay Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo Plug PCM: Hooks PCM Its setup is: stream : CAPTURE access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 2 rate : 48000 exact rate : 48000 (48000/1) msbits : 16 buffer_size : 16384 period_size : 4096 period_time : 85333 tstamp_mode : NONE period_step : 1 avail_min : 4096 start_threshold : 1 stop_threshold : 16384 silence_threshold: 0 silence_size : 0 boundary : 1073741824 Slave: Hardware PCM card 0 'HDA VIA VT82xx' device 1 subdevice 0 Its setup is: stream : CAPTURE access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 2 rate : 48000 exact rate : 48000 (48000/1) msbits : 16 buffer_size : 16384 period_size : 4096 period_time : 85333 tstamp_mode : NONE period_step : 1 avail_min : 4096 start_threshold : 1 stop_threshold : 16384 silence_threshold: 0 silence_size : 0 boundary : 1073741824 Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo arecord: pcm_read:1324: read error: Input/output error
state.VT82xx { control.1 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' comment.dbmin -4025 comment.dbmax 1400 iface MIXER name 'Master Front Playback Volume' value.0 26 value.1 26 } control.2 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Master Front Playback Switch' value.0 true value.1 true } control.3 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 27' comment.dbmin -4725 comment.dbmax 0 iface MIXER name 'Front Playback Volume' value.0 23 value.1 23 } control.4 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Front Playback Switch' value.0 true value.1 true } control.5 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' comment.dbmin -4025 comment.dbmax 1400 iface MIXER name 'Mic Playback Volume' value.0 26 value.1 26 } control.6 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Mic Playback Switch' value.0 false value.1 false } control.7 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' comment.dbmin -4025 comment.dbmax 1400 iface MIXER name 'Line Playback Volume' value.0 26 value.1 26 } control.8 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Line Playback Switch' value.0 true value.1 true } control.9 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 20' comment.dbmin 0 comment.dbmax 3500 iface MIXER name 'Capture Volume' value.0 20 value.1 20 } control.10 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Capture Switch' value.0 true value.1 true } control.11 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 20' comment.dbmin 0 comment.dbmax 3500 iface MIXER name 'Capture Volume' index 1 value.0 20 value.1 20 } control.12 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Capture Switch' index 1 value.0 true value.1 true } control.13 { comment.access 'read write' comment.type ENUMERATED comment.count 1 comment.item.0 'Stereo Mixer' comment.item.1 Mic comment.item.2 Line iface MIXER name 'Input Source' value Line } control.14 { comment.access read comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Con Mask' value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.15 { comment.access read comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Pro Mask' value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.16 { comment.access 'read write' comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Default' value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.17 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 Playback Switch' value false } control.18 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 Capture Switch' value true } control.19 { comment.access read comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Capture Default' value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.20 { comment.access 'read write user' comment.type INTEGER comment.count 2 comment.range '0 - 255' comment.tlv '0000000100000008ffffec1400000014' comment.dbmin -5100 comment.dbmax 0 iface MIXER name 'PCM Playback Volume' value.0 210 value.1 210 } control.21 { comment.access 'read write user' comment.type INTEGER comment.count 2 comment.range '0 - 120' comment.tlv '0000000100000008fffff44800000032' comment.dbmin -3000 comment.dbmax 3000 iface MIXER name 'Digital Capture Volume' value.0 116 value.1 116 } }
_______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel