[PlanetCCRMA] Self-configuring system Was:*Solved* Midisport8x8/s Was:Chasing my tail with ALSA
Michael
mikes at tbc.net
Tue Feb 17 16:33:01 PST 2004
Fernando Pablo Lopez-Lezcano wrote:
>>Here is the output from modules.conf The only thing I tried was to put the
>>add options line first, to see if that would help, but it didn't seem to
>>affect the system. As far as I can tell, this system I'm on, has only one
>>active card, the SB512 PCI, and the embedded card on the motherboard has
>>been disabled in BIOS.
>>
>>
>
>Well, you also have the midisport, right? That is a second "card".
>
Lesson learned.
>>options ide-cd ignore='hdc hdd'
>>alias usb-controller usb-uhci
>>
>># --- Keep modules from being autocleaned ---
>>add options -k snd-card-0
>># --- BEGIN: Generated by ALSACONF, do not edit. ---
>># --- ALSACONF verion 1.0.1 ---
>>alias char-major-116 snd
>>alias char-major-14 soundcore
>>alias sound-service-0-0 snd-mixer-oss
>>alias sound-service-0-1 snd-seq-oss
>>alias sound-service-0-3 snd-pcm-oss
>>alias sound-service-0-8 snd-seq-oss
>>alias sound-service-0-12 snd-pcm-oss
>>alias snd-card-0 snd-emu10k1
>>alias sound-slot-0 snd-emu10k1
>># --- END: Generated by ALSACONF, do not edit. ---
>>
>>
>
>You still have modules.conf configured to use only one card (that is why
>you don't see your midisport.
>
>Try changing the alsa portion of modules.conf to this:
>
># --- BEGIN: Generated by ALSACONF, do not edit. ---
># --- ALSACONF verion 0.9.0 ---
>alias char-major-116 snd
>alias snd-card-0 snd-emu10k1
>alias snd-card-1 snd-usb-audio
># --- OSS compatibility
>alias char-major-14 soundcore
>alias sound-slot-0 snd-card-0
>alias sound-slot-1 snd-card-1
>alias sound-service-0-0 snd-mixer-oss
>alias sound-service-0-1 snd-seq-oss
>alias sound-service-0-3 snd-pcm-oss
>alias sound-service-0-8 snd-seq-oss
>alias sound-service-0-12 snd-pcm-oss
>alias sound-service-1-0 snd-mixer-oss
>alias sound-service-1-3 snd-pcm-oss
>alias sound-service-1-12 snd-pcm-oss
># --- Options
>options snd major=116 cards_limit=2 device_mode=0666
>options snd-emu10k1 index=0
>options snd-usb-audio index=1
># --- Keep modules from being autocleaned
>add options -k snd-card-0
>add options -k snd-card-1
>
>Do a "/sbin/depmod -a" after changing it and restart the alsa driver:
> /etc/rc.d/init.d/alsasound stop
> /etc/rc.d/init.d/alsasound start
>
>
Done. Here are my results: Is the message "Sequencer driver snd-seq-midi
is already loaded" O.K. to ignore?
[root at localhost mikes]# cd /sbin/
[root at localhost sbin]# ./depmod -a
[root at localhost sbin]# cd
[root at localhost root]# cd /etc/rc.d/init.d/
[root at localhost init.d]# ./alsasound stop
Shutting down sound driver [ OK ]
[root at localhost init.d]# ./alsasound start
Starting sound driver snd-emu10k1 [ OK ]
Starting sound driver snd-usb-audio [ OK ]
Starting sequencer [ OK ]
Starting sequencer driver snd-emu10k1-synth [ OK ]
Sequencer driver snd-seq-midi is already loaded
Restoring sound driver settings [ OK ]
[root at localhost init.d]#
>If your midisport is plugged in you should see both cards. They should be listed
>in:
> cat /proc/asound/cards
>
>-- Fernando
>
>
Hmm... here's what I got: I'm a little concerned about card0, which is a
directory. There doesn't seem to be any mention of the Midisport here.
I'll reboot (read more below).
[root at localhost root]# cat /proc/asound/card
card0 cards
[root at localhost root]# cat /proc/asound/cards
0 [Live ]: EMU10K1 - Sound Blaster Live!
Sound Blaster Live! (rev.7) at 0xdf80, irq 9
[root at localhost root]# cat /proc/asound/card0
cat: /proc/asound/card0: Is a directory
Just as a side note. Before applying all of the above changes, my system
seems to be teetering between to states of operation. In one state of
operation, I don't have my Midisport 8x8, but have system sound
(beeps/notifications) from my SB512PCI. When I go to CCRMA to configure
the sound card, I'll get system sound, but Qjackctl had a little problem
starting the card, telling me that assertion failed. When I reboot, I'll
have the Midisport 8x8 then, presumably because of the changes I made,
but then I loose the sound card (second state of operation). Perhaps the
new modules.conf file (above) with *two* cards configured in it will do
the trick. Let me reboot, and I'll give you the details in a followup
email to this one...
Thanks again, Fernando :-)
-Mike
More information about the PlanetCCRMA
mailing list