[PlanetCCRMA] The el cheapo myth

Timo Sivula timo.sivula@luukku.com
Fri Oct 1 20:04:01 2004


Hello Nando and all others.

ma, 2004-09-27 kello 06:31, Fernando Pablo Lopez-Lezcano kirjoitti:

> I assume that one card alone works fine, right?
With the modules.conf made by alsaconf one card works fine, yes. I can
see the midi inputs of all three cards but not the audio i/o:s of the
other two.

With my own three-card modules.conf the computer goes mute. I have
opened all channels using alsamixer but the machine still stays quiet.

> You don't need the snd-seq-oss aliases for the second and third cards,
> there's only one sequencer for all of them. 
> 
> > 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

Should I remove the service-1-1 and 1-8 references to snd-se-oss later
in the settings for the other cards?

> The modules.conf stuff looks fine to me. What happens when you start
> alsa? 

[root@timo timo]# service alsasound restart
Shutting down sound driversnd-mixer-oss: Device or resource busy
snd-ens1370: Device or resource busy
snd-pcm: Device or resource busy
snd-timer: Device or resource busy
snd-rawmidi: Device or resource busy
snd-seq-device: Device or resource busy
snd-ak4531-codec: Device or resource busy
snd: Device or resource busy
                                                           [  OK  ]
ALSA driver already running
Sound driver snd-ens1370 is already loaded
Sound driver snd-ens1370 is already loaded
Sound driver snd-ens1370 is already loaded
[root@timo timo]#

> What messages get printed to /var/log/messages?

Oct  2 10:45:39 timo modprobe: Warning: ignoring device_mode=0666, no
such parameter in this module
Oct  2 10:45:39 timo modprobe: Warning: ignoring device_gid=0, no such
parameter in this module
Oct  2 10:45:39 timo modprobe: Warning: ignoring device_uid=0, no such
parameter in this module
Oct  2 10:45:39 timo modprobe: Module snd loaded, with warnings
Oct  2 10:45:39 timo modprobe: Module snd-ak4531-codec loaded, with
warnings
Oct  2 10:45:39 timo modprobe: Module gameport loaded, with warnings
Oct  2 10:45:39 timo modprobe: Module snd-page-alloc loaded, with
warnings
Oct  2 10:45:39 timo modprobe: Module snd-seq-device loaded, with
warnings
Oct  2 10:45:39 timo modprobe: Module snd-rawmidi loaded, with warnings
Oct  2 10:45:39 timo modprobe: Module snd-timer loaded, with warnings
Oct  2 10:45:39 timo modprobe: Module snd-pcm loaded, with warnings
Oct  2 10:45:39 timo modprobe: Module snd-ens1370 loaded, with warnings
Oct  2 10:45:39 timo alsasound: Starting sound driver snd-ens1370
succeeded
Oct  2 10:45:39 timo alsasound: Starting sequencer succeeded
Oct  2 10:45:39 timo alsasound: Starting sequencer driver snd-seq-midi
succeeded
Oct  2 10:45:39 timo alsasound: Restoring sound driver settings
succeeded

>  What does
> /bin/lsmod say after you have started alsa?

[root@timo timo]# lsmod
Module                  Size  Used by    Tainted: P
snd-mixer-oss          16728   1  (autoclean)
it87                   11372   0  (unused)
eeprom                  5136   0  (unused)
i2c-proc                8532   0  [it87 eeprom]
i2c-isa                 1324   0  (unused)
i2c-viapro              4488   0  (unused)
i2c-core               21156   0  [it87 eeprom i2c-proc i2c-isa
i2c-viapro]
snd-ens1370            12644   1
snd-pcm                85984   0  [snd-ens1370]
snd-timer              20996   0  [snd-pcm]
snd-rawmidi            19520   0  [snd-ens1370]
snd-seq-device          6220   0  [snd-rawmidi]
snd-page-alloc          9304   0  [snd-ens1370 snd-pcm]
gameport                3380   0  [snd-ens1370]
snd-ak4531-codec        6360   0  [snd-ens1370]
snd                    48708   0  [snd-mixer-oss snd-ens1370 snd-pcm
snd-timer snd-rawmidi snd-seq-device snd-ak4531-codec]
soundcore               6660   9  [snd]
parport_pc             19172   1  (autoclean)
lp                      9060   0  (autoclean)
parport                37792   1  (autoclean) [parport_pc lp]
autofs                 13748   0  (autoclean) (unused)
rfcomm                 41152   0  (autoclean)
l2cap                  23052   2  (autoclean) [rfcomm]
bluez                  43652   1  (autoclean) [rfcomm l2cap]
ndiswrapper            59728   1
ipt_REJECT              4344   1  (autoclean)
ipt_state               1048   2  (autoclean)
ip_conntrack           31560   0  (autoclean) [ipt_state]
iptable_filter          2444   1  (autoclean)
ip_tables              15872   3  [ipt_REJECT ipt_state iptable_filter]
sg                     37772   0  (autoclean)
sr_mod                 18168   0  (autoclean)
microcode               5956   0  (autoclean)
ide-scsi               12240   0
scsi_mod              109944   3  [sg sr_mod ide-scsi]
ide-cd                 36128   0
cdrom                  34048   0  [sr_mod ide-cd]
keybdev                 3136   0  (unused)
mousedev                5620   1
hid                    24996   0  (unused)
ehci-hcd               21704   0  (unused)
usb-uhci               27372   0  (unused)
usbcore                81408   1  [hid ehci-hcd usb-uhci]
input                   5856   0  (autoclean) [keybdev mousedev hid]
ext3                   74052   2
jbd                    54548   2  [ext3]

>  If you don't have any errors
> and the modules load fine, have you run alsamixer on all cards?
> ("alsamixer -c 1" for the second, and so on and so forth). 

Did that for -c0 to -c2 and enabled the master volume and the pcm lines
for all cards. Unfortunately no sound.

> Also, some of the snd137x cards have an extra stereo output, so you
> could get four channels from each card (if your cards can do that). 

I think this is possible with my cards. However, I am more interested in
the multiple inputs for this experiment. 

Thank you for your support.

Timo