Ubuntu Forums Archive Viewer

Dsnoop problem with VT1708B - unable to open slave (on second arecord)

Archived thread 1008379 from Ubuntu Studio. Markdown source: Ubuntu_Studio/thread_1008379_Dsnoop_problem_with_VT1708B_-_unable_to_open_slave.md

Original URL About this archive
#1

I'm having a problem opening a dsnoop device pointing to VT1708B multiple times:


# arecord -c2 -r 44100 -D plug:HDA_Intel test1.wav &
Recording WAVE 'stdin' : Unsigned 8 bit, Rate 44100 Hz, Stereo
#
# arecord -c2 -r 44100 -D plug:HDA_Intel test2.wav
ALSA lib pcm_dsnoop.c:641:(snd_pcm_dsnoop_open) unable to open slave
arecord: main:590: audio open error: Invalid argument

This is my asoundrc:


pcm.HDA_Intel {
type dsnoop
ipc_key 822256
    slave {
        pcm "hw:1,0"
        rate 44100
        channels 2
    }
}
pcm.Audigy_SE__SB0570 {
type dsnoop
ipc_key 944213
    slave {
        pcm "hw:0,0"
        rate 44100
        channels 2
    }
}

I have no problem opening the Audigy device multiple times:


# arecord -c2 -r 44100 -D plug:Audigy_SE__SB0570 test3.wav &
Recording WAVE 'stdin' : Unsigned 8 bit, Rate 44100 Hz, Stereo
#
# arecord -c2 -r 44100 -D plug:Audigy_SE__SB0570 test4.wav
Recording WAVE 'stdin' : Unsigned 8 bit, Rate 44100 Hz, Stereo

I'm using 1.0.18a driver and 1.0.18 libs downloaded and compiled from the alsa website (the drivers/libs shipped with ubuntu didn't work either)

Any ideas?

#2

anyone?

#3

Anyone at all? :( -- This worked fine until I upgraded from gutsy to intrepid.

#4

It looks to me like there is nobody with that level of expertise on these forums, try the linux audio users mailing list or IRC channel.

#5

Still having this issue :( - Anyone have any ideas at all?

#6

Finally found a solution, adding: defaults.pcm.subdevice 1 to asoundrc (the default is -1 for some reason).