Re: [linux-audio-user] ALSA and usb-audio

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] ALSA and usb-audio
From: Joseph Zitt (jzitt_AT_metatronpress.com)
Date: Mon Aug 05 2002 - 02:17:28 EEST


On Sun, 4 Aug 2002 13:13:48 -0700 (PDT)
Fernando Pablo Lopez-Lezcano <nando_AT_ccrma.Stanford.EDU> wrote:

> You need to change the /etc/modules.conf so that it can start both
> cards(the internal and the usb card) and then use alsamixer to unmute
> and set the level of the main and cd level controls of the internal
> chip.
>
> This is an example you could use as template:
>
> # --- ALSA configuration
> alias char-major-116 snd
> alias char-major-14 soundcore
> alias snd-card-0 snd-ice1712
> alias snd-card-1 snd-cmipci
> # --- OSS compatibility
> 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-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
> # --- Options
> options snd snd_major=116 snd_cards_limit=2 snd_device_mode=0666
> snd_device_gid=0 snd_device_uid=0
> options snd-ice1712 snd_index=0 snd_id=OmniIO
> options snd-cmipci snd_index=1 snd_id=CM8738
> # --- Keep modules from being autocleaned
> add options -k snd-card-0
> add options -k snd-card-1
> # --- ALSA configuration END

OK, based on this, and the information at
http://www.pihl.org/linux/linux-dell.html which suggests:

#first we try sound stuff
alias sound cs4232
options -k cs4232 io=0x530 irq=5 dma=1 dma2=0

I've now set my /etc/modules.conf to the following:

[root_AT_gimel jzitt]# cat /etc/modules.conf
alias parport_lowlevel parport_pc
alias usb-controller usb-uhci

# --- ALSA configuration
alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card-0 snd-usb-audio
alias snd-card-1 snd-cs4236
# --- OSS compatibility
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-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
# --- Options
options snd snd_major=116 snd_cards_limit=2 \
        snd_device_mode=0666 snd_device_gid=0 snd_device_uid=0
options snd-usb-audio snd_index=0 snd_id=USB
options snd-cs4236 snd_index=1 snd_id=cs4236
# --- Keep modules from being autocleaned
add options -k snd-card-0
add options -k snd-card-1 io=0x530 irq=5 dma=1 dma2=0
# --- ALSA configuration END

[root_AT_gimel jzitt]#

> Just replace the proper module names for both cards, do a "depmod -a"
> and restart the alsa driver "/etc/rc.d/init.d/alsasound restart".

[root_AT_gimel jzitt]# /sbin/depmod -a
[root_AT_gimel jzitt]# /etc/rc.d/init.d/alsasound restart
Shutting down sound driver [ OK ]
Starting sound driver snd-usb-audio [ OK ]
Starting sound driver snd-cs4236
/lib/modules/2.4.18-10.ll/kernel/drivers/sound/isa/cs423x/snd-cs4236.o:
init_module: No such device
/lib/modules/2.4.18-10.ll/kernel/drivers/sound/isa/cs423x/snd-cs4236.o:
Hint: insmod errors can be caused by incorrect module parameters,
including invalid IO or IRQ parameters
insmod
/lib/modules/2.4.18-10.ll/kernel/drivers/sound/isa/cs423x/snd-cs4236.o
failed
/lib/modules/2.4.18-10.ll/kernel/drivers/sound/isa/cs423x/snd-cs4236.o:
insmod snd-cs4236 failed
                                                           [FAILED]
Restoring sound driver settings [ OK ]
[root_AT_gimel jzitt]#

Am I missing another setting somewhere?

-- 
| josephzitt_AT_josephzitt.com                 http://www.josephzitt.com/ |
| http://www.metatronpress.com/jzitt/   http://www.mp3.com/josephzitt/ |
| == New book: Surprise Me with Beauty: the Music of Human Systems  == |
| Comma / Gray Code             Silence: the John Cage Discussion List |


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Mon Aug 05 2002 - 02:27:46 EEST