[Alsa-user] SNDRV_PCM_IOCTL_LINK: Inappropriate ioctl on intel8x0m
Brought to you by:
perex
|
From: Josh L. <jo...@em...> - 2004-11-30 23:22:24
|
Trying to create a wrapper around my Intel modem device. It works okay
when I let the userspace modem daemon access the raw hardware. However,
when I try to build a wrapper around it with this asound.conf:
-=-=-=-=-
pcm_slave.vmodemPtuner {
rate 9600
channels 1
period_size 48
buffer_time 5000
pcm "hw:1,0"
}
pcm_slave.vmodemCtuner {
rate 9600
channels 1
period_size 48
buffer_time 5000
pcm "hw:1,0"
}
pcm.vmodemC {
type dsnoop
ipc_key 12345
ipc_key_add_uid yes
slave vmodemCtuner
}
pcm.vmodemP {
type dmix
ipc_key 12346
ipc_key_add_uid yes
slave vmodemPtuner
}
pcm.vmodem {
type asym
playback.pcm "vmodemP"
capture.pcm "vmodemC"
}
-=-=-=-=-=-=-
and try to bind slmodemd to vmodem:
-=-=-=-=-=-=-
/usr/local/bin/slmodemd --country=USA --alsa vmodem
-=-=-=-=-=-=-
and open it by issuing an ATDT modem command, I get the error:
-=-=-=-=-=-=-
ALSA lib pcm.c:1178:(snd_pcm_link) SNDRV_PCM_IOCTL_LINK failed:
Inappropriate ioctl for device
error: snd_pcm_link error: Inappropriate ioctl for device
-=-=-=-=-=-=-
I want very much to have at least the dsnoop portion of the wrapper
intact, so that I can push the sound from the modem through the primary
sound device for monitoring purposes. Any help would be greatly
appreciated.
--
Josh Litherland (jo...@em...)
Emperor Linux, Inc.
|