[linux-audio-user] ALSA -> OSS DSP question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan Weil wrote:
> are the snd-*-oss modules configured and loaded correctly?

yes

> Do you load oss and alsa modules in parallel? (Is that possible??)

yes

> What does /sbin/lsmod say?

# /sbin/lsmod
Module                  Size  Used by    Tainted: P
snd-pcm-oss            43876   0  (unused)
snd-mixer-oss          15952   0  [snd-pcm-oss]
snd-ice1712            50124   1
snd-pcm                85056   0  [snd-pcm-oss snd-ice1712]
snd-page-alloc          9748   0  [snd-pcm]
snd-timer              19812   0  [snd-pcm]
snd-ac97-codec         58412   0  [snd-ice1712]
snd-mpu401-uart         5136   0  [snd-ice1712]
snd-rawmidi            18656   0  [snd-mpu401-uart]
snd-seq-device          6236   0  [snd-rawmidi]
snd-ice17xx-ak4xxx      2588   0  [snd-ice1712]
snd-ak4xxx-adda         5460   0  [snd-ice1712 snd-ice17xx-ak4xxx]
snd-cs8427              9032   0  [snd-ice1712]
snd-i2c                 4644   0  [snd-ice1712 snd-cs8427]
snd                    46564   1  [snd-pcm-oss snd-mixer-oss snd-ice1712 
snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi 
snd-seq-device snd-ak4xxx-adda snd-cs8427 snd-i2c]
tuner                  12384   1  (autoclean)
tvaudio                15580   1  (autoclean)
bttv                   81856   0  (autoclean)
i2c-algo-bit            8776   1  (autoclean) [bttv]
i2c-core               19108   0  (autoclean) [tuner tvaudio bttv 
i2c-algo-bit]
videodev                8288   3  (autoclean) [bttv]
agpgart                47968   3  (autoclean)
nvidia               1676800  10  (autoclean)
via82cxxx_audio        24248   2  (autoclean)
uart401                 8356   0  (autoclean) [via82cxxx_audio]
ac97_codec             14536   0  (autoclean) [via82cxxx_audio]
sound                  73492   0  (autoclean) [via82cxxx_audio uart401]
soundcore               6468   6  (autoclean) [snd bttv via82cxxx_audio 
sound]
parport_pc             18788   1  (autoclean)
lp                      8804   0  (autoclean)
parport                36800   1  (autoclean) [parport_pc lp]
autofs                 13108   0  (autoclean) (unused)
ppp_synctty             7776   0  (unused)
ppp_async               9312   1
ppp_generic            24188   3  [ppp_synctty ppp_async]
slhc                    6660   0  [ppp_generic]
8139too                18120   1
mii                     3976   0  [8139too]
ipt_REJECT              3992   6  (autoclean)
iptable_filter          2412   1  (autoclean)
ip_tables              14648   2  [ipt_REJECT iptable_filter]
sg                     35852   0  (autoclean)
sr_mod                 17720   0  (autoclean)
ide-scsi               11984   0
scsi_mod              106520   3  [sg sr_mod ide-scsi]
ide-cd                 35424   0
cdrom                  33216   0  [sr_mod ide-cd]
ohci1394               19880   0  (unused)
ieee1394               48780   0  [ohci1394]
nls_iso8859-1           3548   2  (autoclean)
nls_cp437               5180   2  (autoclean)
vfat                   12780   2  (autoclean)
fat                    38488   0  (autoclean) [vfat]
keybdev                 2912   0  (unused)
mousedev                5428   1
hid                    21892   0  (unused)
input                   5792   0  [keybdev mousedev hid]
usb-uhci               25996   0  (unused)
usbcore                78272   1  [hid usb-uhci]
ext3                   69984   2
jbd                    51508   2  [ext3]

> Please post your /etc/modules.conf.

# cat /etc/modules.conf
alias eth0 8139too
alias char-major-81 bttv
alias usb-controller usb-uhci
alias ieee1394-controller ohci1394
alias char-major-195 nvidia
alias sound-slot-0 via82cxxx_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L 
 >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S 
 >/dev/null 2>&1 || :

# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-ice1712
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-1 snd-card-0

# card #1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss


> You shouldn't have to edit asound.conf to achieve what you want.

well, this is what I read earlier, that I'd have to define an ALSA 
device named dsp0 or dsp1

> You can pass the snd-pcm-oss module parameters which determine how to
> map alsa pcm to oss devices.

and what are those parameters?


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux