Well it turned out that I had the two cards confused. snd-card-0 was actually the pci card and snd-card-1 was onboard.  Now I can play wav files on both /dev/dsp0 and /dev/dsp1 .. However, I am not able to record from /dev/dsp1 line in (the pci card).

I've checked to make sure line-in was not muted in 'alsa-mixer -c 1' . 

Any ideas why I'm not getting sound from line in?  Here's my improved modules.conf entries:


# Start

alias char-major-116 snd
alias char-major-14 soundcore
options snd major=116 cards_limit=2 device_gid=29 device_mode=0660

# Onboard Sound

alias sound-slot-0 snd-card-0
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

# Cmedia

alias sound-slot-1 snd-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


#Set Card 1 (Onboard Sound)

alias snd-card-1 snd-intel8x0
options snd-intel8x0 index=0

#Set Card 0 (Cmedia Pci Sound Card)

alias snd-card-0 snd-cmipci
options snd-cmipci index=1

# End

and my lsmod:

Module                  Size  Used by    Tainted: P
snd-cmipci             17056   0
snd-opl3-lib            5508   0  [snd-cmipci]
snd-hwdep               4544   0  [snd-opl3-lib]
nvidia               1541056  10  (autoclean)
snd-pcm-oss            35588   0  (autoclean)
lirc_serial             7744   1
autofs4                 8724&! nbsp;  0  (unused)
af_packet              13448   0
snd-mixer-oss          11160   0  [snd-pcm-oss]
snd-intel8x0           16644   0
snd-pcm                53888   0  [snd-cmipci snd-pcm-oss snd-intel8x0]
snd-timer              13352   0  [snd-opl3-lib snd-pcm]
snd-ac97-codec         31776   0  [snd-intel8x0]
snd-page-alloc          4320   0  [snd-intel8x0 snd-pcm]
snd-mpu401-uart         2944   0  [snd-cmipci snd-i! ntel8x0]
snd-rawmidi         ;    12256   0  [snd-mpu401-uart]
snd-seq-device          3748   0  [snd-opl3-lib snd-rawmidi]
snd                    25828   0  [snd-cmipci snd-opl3-lib snd-hwdep snd-pcm-oss
 snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd
-rawmidi snd-seq-device]
agpgart                34592   3
sis900                 12428   1
tuner                   9472   2  (autoclean)
bttv             &nbs! p;     77920   0
i2c-algo-bit            6856   2  [bttv]
i2c-core               12068   0  [tuner bttv i2c-algo-bit]
soundcore               3364  10  [snd bttv]
videodev                5664   4  [bttv]
serial                 51812   0
usb-uhci               21836   0  (unused)
usbcore                57376   0  [usb-uhci]
apm  &nbs! p;           &n bsp;      9768   1
rtc                     6876   0
ext3                   62688   2
jbd                    45524   2  [ext3]

 

Thanks again!  I'm getting real close now!

 

 

 

>From: "Chuck Connors" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>CC: [EMAIL PROTECTED]
>Subject: Re: [Alsa-user] Trouble setting up two sound cards in same box
>Date: Wed, 17 Mar 2004 07:05:48 -0800
>
>Thanks for the help.  Unfortunately, it's still not working.  I made
>the changes you suggested, but when I do the modprobe I get:
>
>/lib/modules/2.4.21-xfs/alsa/snd-cmipci.o: init_module: No such
>device
>Hint: insmod errors can be caused by incorrect module parameters,
>including invalid IO or IRQ parameters.
>      You may find more information in syslog or the output from
>dmesg
>/lib/modules/2.4.21-xfs/alsa/snd-cmipci.o: insmod
>/lib/modules/2.4.21-xfs/alsa/snd-cmipci.o failed
>/lib/modules/2.4.21-xfs/alsa/snd-cmipci.o: insmod snd-card-1 failed
>
>and the last entry in dmesg is:
>
>C-Media PCI soundcard not found or device busy
>
>I just noticed that my USB controller and the C-media pci card are
>both using IRQ12:
>
>00:02.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
>Controller (rev 07) (prog-if 10 [OHCI])
> Subsystem: Silicon Integrated Systems [SiS] USB 1.0 Controller
> Flags: bus master, medium devsel, latency 64, IRQ 12
> Memory at cfffe000 (32-bit, non-prefetchable) [size=4K]
>
>00:0f.0 Multimedia audio controller: C-Media Electronics Inc CM8738
>(rev 10)
> Subsystem: C-Media Electronics Inc CMI8738/C3DX PCI Audio Device
> Flags: bus master, medium devsel, latency 64, IRQ 12
> I/O ports at b800 [size=256]
> Capabilities: [c0] Power Management version 2
>
>Should they be able to 'share' the same IRQ?  Any ideas?
>
>Thanks again
>
>>From: Clemens Ladisch <[EMAIL PROTECTED]>
>>To: Chuck Connors <[EMAIL PROTECTED]>
>>CC: [EMAIL PROTECTED]
>>Subject: Re: [Alsa-user] Trouble setting up two sound cards in same
>>box
>>Date: Wed, 17 Mar 2004 09:43:48 +0100 (MET)
>>
>>Chuck Connors wrote:
>> > At the moment, the onboard sound works fine, but I'm not getting
>> > anything from the pci card I added.
>> >
>> > options snd major=116 cards_limit=2 device_gid=29
>>device_mode=0660
>>
>>cards_limit=2 is OK.
>>
>> > #Set Card 0 (Onboard)
>> > alias snd-card-0 snd-intel8x0
>> > options snd-intel8x0 index=0 snd_enable
>>
>>The parameter wouldn't be "snd_enable" but "enable=1", but this is
>>the
>>default anyway.
>>
>> > alias snd-card-1 snd-cmipci
>> > options snd-cmipci snd_enable
>>
>>Use "options snd-cmipci index=1".
>>
>> > After booting with these settings, lsmod doesn't show the
>>cmedia's
>> > module (cmipci) as being loaded.
>>
>>Does "modprobe snd-card-1" load it?  If yes, then one of your
>>startup
>>scripts is still configured to load only the first card.
>>
>>
>>HTH
>>Clemens
>>
>>
>
>_________________________________________________________________
>Check out MSN PC Safety & Security to help ensure your PC is
>protected and safe. http://specials.msn.com/msn/security.asp
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: IBM Linux Tutorials
>Free Linux tutorial presented by Daniel Robbins, President and CEO
>of
>GenToo technologies. Learn everything from fundamentals to system
>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
>_______________________________________________
>Alsa-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/alsa-user


Check out MSN PC Safety & Security to help ensure your PC is protected and safe. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to