LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-11-2003, 05:15 PM   #1
Greg21
Member
 
Registered: Jan 2002
Posts: 72

Rep: Reputation: 15
Alsa


Ok, this is fun - installing a Crystal Audio integrated soundcard in linux

I compiled ALSA fine, installed it, then went to try the modprobe command:

modprobe snd-card-cs4231 snd_port=0x534 snd_mpu_port=-1 snd_irq=5 snd_dma1=0 snd_dma1_size=NN snd_dma2=1 snd_dma2_size=20

Only to get:
modprobe: Can't locate module snd-card-cs4231


I also get this error for all other soundcard modules I attempt to load, where are they? Did I mess something up in the install putting them somewhere modprobe can't find them?

Thanks
Greg
 
Old 06-11-2003, 10:01 PM   #2
Rodrin
Member
 
Registered: May 2003
Location: Upstate NY, U.S.
Distribution: Slackware
Posts: 248

Rep: Reputation: 31
What version of ALSA is it? Newest ones use snd-<model> instead of snd-card-<model> (so it would be snd-cs4231 in your case). I've also seen people compile ALSA and install it without realizing that it did not compile correctly because they didn't have the kernel source package installed or something else along those lines.
 
Old 06-11-2003, 10:12 PM   #3
phishman3579
Member
 
Registered: May 2003
Posts: 161

Rep: Reputation: 32
Re: Alsa

Quote:
Originally posted by Greg21
Ok, this is fun - installing a Crystal Audio integrated soundcard in linux

I compiled ALSA fine, installed it, then went to try the modprobe command:

modprobe snd-card-cs4231 snd_port=0x534 snd_mpu_port=-1 snd_irq=5 snd_dma1=0 snd_dma1_size=NN snd_dma2=1 snd_dma2_size=20

Only to get:
modprobe: Can't locate module snd-card-cs4231


I also get this error for all other soundcard modules I attempt to load, where are they? Did I mess something up in the install putting them somewhere modprobe can't find them?

Thanks
Greg
you sure it's not supposed to be snd-cs4231?
 
Old 06-12-2003, 05:54 PM   #4
Greg21
Member
 
Registered: Jan 2002
Posts: 72

Original Poster
Rep: Reputation: 15
Ok I opened up my computer and found a chip on the mobo reading:

Crystal
CS4611-cm
ATAKlC9831

I'm assuming my soundcard model is CS4611

So i

./configure --with-sequencer=yes --with-oss=yes --with-cards=cs46xx

then

make;make install

then

modprobe snd-cs46xx

but get

/lib/modules/2.4.20/kernel/sound/pci/cs46xx/snd-cs46xx.o: init_module: No such device
/lib/modules/2.4.20/kernel/sound/pci/cs46xx/snd-cs46xx.o: 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.20/kernel/sound/pci/cs46xx/snd-cs46xx.o: insmod /lib/modules/2.4.20/kernel/sound/pci/cs46xx/snd-cs46xx.o failed
/lib/modules/2.4.20/kernel/sound/pci/cs46xx/snd-cs46xx.o: insmod snd-cs46xx failed


Which leads me to believe I didn't do something correctly any ideas? Where did i drop the ball?

Thanks!
Greg
 
Old 06-12-2003, 11:14 PM   #5
Rodrin
Member
 
Registered: May 2003
Location: Upstate NY, U.S.
Distribution: Slackware
Posts: 248

Rep: Reputation: 31
What modules do you have loaded already? Let us see the lsmod output. I have a card that takes the snd-cs46xx module, and I have ALSA installed. I don't load the module for the sound card manually because it is already loaded by hotplug when I boot my computer, although I do have to load some supporting modules for sound in my rc.local. Do you have the kernel source package installed on your computer?
 
Old 06-13-2003, 08:46 AM   #6
Greg21
Member
 
Registered: Jan 2002
Posts: 72

Original Poster
Rep: Reputation: 15
I did install the kernel source before I compiled.

I'm not sure what you mean by a ls mod (I don't have much experience working with the kernel, I was a RH user ). Here are the contents of my /linux-2.4.20/drivers/hotplug directory.

Code:

Config.in       acpiphp_res.c   cpqphp_pci.c   ibmphp_pci.c
Makefile        cpqphp.h        cpqphp_proc.c  ibmphp_res.c
acpiphp.h       cpqphp_core.c   ibmphp.h       pci_hotplug.h
acpiphp_core.c  cpqphp_ctrl.c   ibmphp_core.c  pci_hotplug_core.c
acpiphp_glue.c  cpqphp_nvram.c  ibmphp_ebda.c  pci_hotplug_util.c
acpiphp_pci.c   cpqphp_nvram.h  ibmphp_hpc.c
 
Old 06-13-2003, 11:07 AM   #7
Rodrin
Member
 
Registered: May 2003
Location: Upstate NY, U.S.
Distribution: Slackware
Posts: 248

Rep: Reputation: 31
You can just type lsmod from the command line as root and it will list the kernel modules (drivers) that are already loaded on your machine. If you're not sure what a program refers to in Linux, you can often get some idea by trying to find familiar patterns. lsmod is the command to list modules; lspci to list the hardware on your PCI bus and so on. You can also look up temrs with the command man <term>, so lsmod would be man lsmod, or you can get usually more extensive information with info <term>.
 
Old 06-13-2003, 03:10 PM   #8
Greg21
Member
 
Registered: Jan 2002
Posts: 72

Original Poster
Rep: Reputation: 15
Code:
Module                  Size  Used by    Not tainted
snd-seq-oss            26112   0  (unused)
snd-seq-midi-event      2984   0  [snd-seq-oss]
snd-seq                33456   2  [snd-seq-oss snd-seq-midi-event]
snd-seq-device          3904   0  [snd-seq-oss snd-seq]
snd-pcm-oss            37860   0  (unused)
snd-pcm                55968   0  [snd-pcm-oss]
snd-timer              13316   0  [snd-seq snd-pcm]
snd-page-alloc          4732   0  [snd-pcm]
snd-mixer-oss          11992   0  [snd-pcm-oss]
snd                    27364   0  [snd-seq-oss snd-seq-midi-event snd-seq snd-seq-device snd-pcm-oss snd-pcm snd-timer snd-mixer-oss]
soundcore               3332   2  [snd]
tiglusb                 5028   0  (unused)
uhci                   24560   0  (unused)
usbcore                58144   1  [tiglusb uhci]
cs461x                  1808   0  (unused)
gameport                1452   0  [cs461x]
pcmcia_core            38112   0
ide-scsi                8048   0
8139too                15272   1
mii                     2240   0  [8139too]
Your right, looks like it's loaded.
Greg
 
Old 06-13-2003, 03:42 PM   #9
Rodrin
Member
 
Registered: May 2003
Location: Upstate NY, U.S.
Distribution: Slackware
Posts: 248

Rep: Reputation: 31
Actually, I see everything but your sound card loaded here. It's strange that all the other ALSA modules would load, but not the one for the sound card. The cs461x module that you see is a joystick driver; don't get it confused with cs46xx, the kernel sound card driver, or snd-cs46xx, the ALSA sound card driver. Can you post the output of lspci as well? That will help us verify that your sound card/chipset is detected and that snd-cs46xx is the correct driver for it.
 
Old 06-13-2003, 03:52 PM   #10
Greg21
Member
 
Registered: Jan 2002
Posts: 72

Original Poster
Rep: Reputation: 15
I was following a howto and loaded all the modules they said to (with the exception of the one that didn't load).

lspci:
Code:
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:0b.0 Multimedia audio controller: Cirrus Logic CS 4610/11 [CrystalClear SoundFusion Audio Accelerator] (rev 01)
00:0f.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c)
 
Old 06-14-2003, 12:35 AM   #11
Rodrin
Member
 
Registered: May 2003
Location: Upstate NY, U.S.
Distribution: Slackware
Posts: 248

Rep: Reputation: 31
My last post was way off base. Sorry about that. I was wrong about the cs461x module. It is another kernel based module for this series of sound cards. I wasn't paying close enough attention. (Edit: I wasn't totally cracked after all. The cs461x module is a driver for the joystick port on this card, and the joystick port only. It is not a driver for the sound capabilities of the sound card.) My sound card takes the cs46xx kernel module because it is a CS 4630 based card, but for a CS 4610 or 4611 (like yours is) the kernel module is cs461x. Your problem is that you cannot load the ALSA module because the kernel module is already loaded by hotplug (I was kind of suspicious of this before, but I was looking for the wrong module name). This is what you need to do:

To try it out, type in (as root):

rmmod cs461x

Then you can enter:

modprobe snd-cs46xx

That should work. If it does, to load the ALSA modules as part of your regular configuration you have to edit the file /etc/hotplug/blacklist and put at the end of it on a line by itself cs461x. Then hotplug will no longer load the kernel module (in fact, it will probably load the ALSA module).

Last edited by Rodrin; 07-30-2003 at 10:50 PM.
 
Old 06-14-2003, 08:14 AM   #12
Greg21
Member
 
Registered: Jan 2002
Posts: 72

Original Poster
Rep: Reputation: 15
Ok I removed the module you told me too, no problems there. But I still get the same error when trying to load snd-cs46xx


Code:
root@elmo:/home/greg# modprobe snd-cs46xx
/lib/modules/2.4.20/kernel/sound/pci/cs46xx/snd-cs46xx.o: init_module: No such device
/lib/modules/2.4.20/kernel/sound/pci/cs46xx/snd-cs46xx.o: 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.20/kernel/sound/pci/cs46xx/snd-cs46xx.o: insmod /lib/modules/2.4.20/kernel/sound/pci/cs46xx/snd-cs46xx.o failed
/lib/modules/2.4.20/kernel/sound/pci/cs46xx/snd-cs46xx.o: insmod snd-cs46xx failed
root@elmo:/home/greg# lsmod
Module                  Size  Used by    Not tainted
snd-seq-oss            26112   0  (unused)
snd-seq-midi-event      2984   0  [snd-seq-oss]
snd-seq                33456   2  [snd-seq-oss snd-seq-midi-event]
snd-seq-device          3904   0  [snd-seq-oss snd-seq]
snd-pcm-oss            37860   0  (unused)
snd-pcm                55968   0  [snd-pcm-oss]
snd-timer              13316   0  [snd-seq snd-pcm]
snd-page-alloc          4732   0  [snd-pcm]
snd-mixer-oss          11992   0  [snd-pcm-oss]
snd                    27364   0  [snd-seq-oss snd-seq-midi-event snd-seq snd-seq-device snd-pcm-oss snd-pcm snd-timer snd-mixer-oss]
soundcore               3332   2  [snd]
tiglusb                 5028   0  (unused)
uhci                   24560   0  (unused)
usbcore                58144   1  [tiglusb uhci]
gameport                1452   0
pcmcia_core            38112   0
ide-scsi                8048   0
8139too                15272   1
mii                     2240   0  [8139too]
root@elmo:/home/greg#
Thanks for the help your giving me, I _REALLY_ appriciate it, and don't know what I would do without it.

Greg
 
Old 06-14-2003, 01:54 PM   #13
Rodrin
Member
 
Registered: May 2003
Location: Upstate NY, U.S.
Distribution: Slackware
Posts: 248

Rep: Reputation: 31
OK. This is starting to get pretty strange. I get the impression that the sound wasn't working without ALSA. The kernel module was obviously being loaded, however, so it really should have worked if that was all there was to it. What results do you get if you try to use sound with the kernel cs461x module loaded, like it was to begin with? The CS4611 chip does not seem to be listed at the ALSA web site even though so many variations of this chipset are, so that may be a problem, but it may not (it may be that it should work just like the CS4610).

I've read that with some integrated sound chipsets that use the CS4611 chip, a CS4236 chip is somehow used as well, and that you have to load a driver for it (it acts like an ISA device, so hotplug wouldn't load it and lspci wouldn't detect it).

Edit: Again, the cs461x module is really a driver for the joystick port on this card and not a driver for the sound card's sound capabilities, so it would never work to help you get sound. It also should not conflict with the ALSA driver (it was designed to work with it) or even another sound card driver for this card.

Last edited by Rodrin; 07-30-2003 at 10:53 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel-2.6.3 compiled with alsa but xmms alsa output dont plays demmylls Linux - General 3 09-01-2006 04:32 AM
Alsa sound *jumpy*: alsa-space: xrun of at least 11.449 msecs. resetting stream qwijibow Linux - General 6 04-22-2006 07:35 PM
ALSA-oss compatability works, but not programs intended for alsa ? qwijibow Linux - Software 5 03-14-2004 07:28 AM
ALSA on Debian, Kernel Source is There Alsa dosent see it? pfizur Linux - Software 3 12-27-2003 08:46 AM
2.6.0 minus built-in ALSA drivers + ALSA 1.0.0rc2 Tino27 Slackware 3 12-19-2003 05:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration