problem configuring sb16 and alsa

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Greg. So you have a 2.4.18 kernel on another machine with sb live, and the mods are in /lib/modules/2.4.18/kernel/sound? Now you have another machine with the sb16 and you're trying to get the modules to load but they are not loading? And you have them located in /lib/modules/2.4.18/kernel/sound? What error do you get? My problem was that modprobe couldn't locate the module even if I was in the current directory. This is bad error handling on the part of modprobe, for it should have said something equivalent to could not load dependency module xxxx.o. In my case, it turned out that it couldn't locate snd_timer.o, snd-mixer-oss.o, and others. I found this out when I did an insmod snd-cs4236 in my case. I fixed the problem by putting all the modules in the same directory beta9 /lib/modules/2.4.18/misc. Everything worked fine after that. In your case, you may want to add some paths into /etc/modutils/paths. If it won't scan recursively however, you're going to add all the directories that are above the one for your sound card. Hope this helps, and feel free to ask me something if I wasn't being specific enough.
----- Original Message ----- 
From: Gregory Nowak <greg@xxxxxxxxxxxxxxx>
To: <speakup at braille.uwo.ca>
Sent: Wednesday, May 22, 2002 6:49 PM
Subject: Re: problem configuring sb16 and alsa


> I don't see why I need to change the directory structure, since beta 9 was structured exactly as you described, and since I've got beta 12 with its default tree structure on another machine with an sblive, and it runs just fine.
> Greg
> 
> 
> On Wed, May 22, 2002 at 06:34:00PM -0400, Igor Gueths wrote:
> > Ok. If the kernel has soundcore, you're fine there. What you have to do is rebuild the alsa sources with the new paramters. Did you do that? Then just to be sure after the mods are installed do depmod -a.
> > ----- Original Message ----- 
> > From: Gregory Nowak <greg at romualt.dhs.org>
> > To: <speakup at braille.uwo.ca>
> > Sent: Wednesday, May 22, 2002 6:15 PM
> > Subject: Re: problem configuring sb16 and alsa
> > 
> > 
> > > Which code? I installed alsa beta 12 just today, and I don't see why the kernel needs rebuilding since like I said, sound core is selected.
> > > Greg
> > > 
> > > 
> > > On Wed, May 22, 2002 at 05:12:49PM -0400, Igor Gueths wrote:
> > > > Hi Greg. I know the sb16 works with alsa. I wonder why you are experiencing this? Did you rebuild the code? 
> > > > ----- Original Message ----- 
> > > > From: Gregory Nowak <greg at romualt.dhs.org>
> > > > To: <speakup at braille.uwo.ca>
> > > > Sent: Wednesday, May 22, 2002 4:51 PM
> > > > Subject: Re: problem configuring sb16 and alsa
> > > > 
> > > > 
> > > > > Yes, soundcore is in the kernel, but no other kernel sound modules are configured. I'm running alsa 0.90 beta 12 just fine on my other machine with an sblive card, so I feel confortable with the general alsa/kernel configuration procedure.
> > > > > Greg
> > > > > 
> > > > > 
> > > > > On Wed, May 22, 2002 at 04:22:14PM -0400, Igor Gueths wrote:
> > > > > > Did you configure sound card support in the kernel? But configure no specific drivers? Bc if not you're going to have to rebuild your kernel. 
> > > > > > ----- Original Message ----- 
> > > > > > From: Gregory Nowak <greg at romualt.dhs.org>
> > > > > > To: <speakup at braille.uwo.ca>
> > > > > > Sent: Wednesday, May 22, 2002 3:53 PM
> > > > > > Subject: Re: problem configuring sb16 and alsa
> > > > > > 
> > > > > > 
> > > > > > > Hi Igor,
> > > > > > > 
> > > > > > > Actually, I tried configuring alsa 0.90 beta 9 first. The module tree was as you describe. I first tried loading everything by hand, but when I got the same results then as I'm getting now, I decided to try the modules.conf. When that also didn't work, I upgraded to beta 12 in hopes of getting that to work.
> > > > > > > Greg
> > > > > > > 
> > > > > > > 
> > > > > > > On Wed, May 22, 2002 at 03:12:57PM -0400, Igor Gueths wrote:
> > > > > > > > Hi Greg. I don't use modules.conf, I have a script which loads my sound modules. Also, don't install your modules in /lib/modules/2.4.18/kernel/sound tree, because this is in conformance with the kernel 2.5.x tree. I have found that 2.4.18 has problems with this. What I did was build the code as follows: ./configure --with-oss=yes --moddir=/lib/modules/2.4.18/misc. I created the misc directory manually. I then wrote a script that loads the sound module, and runs alsactl to restore the previously saved mixer configuration. 
> > > > > > > > ----- Original Message ----- 
> > > > > > > > From: Gregory Nowak <greg at romualt.dhs.org>
> > > > > > > > To: <speakup at braille.uwo.ca>
> > > > > > > > Sent: Wednesday, May 22, 2002 2:53 PM
> > > > > > > > Subject: problem configuring sb16 and alsa
> > > > > > > > 
> > > > > > > > 
> > > > > > > > > Hi all,
> > > > > > > > > 
> > > > > > > > > I have finally gotten around to configuring my sb16 card with alsa 0.9.0 beta 12 on one of my machines. The card is an isa nonpnp card. Below is my (or should I say Kirk's) sound card section from /etc/modules.conf.
> > > > > > > > > 
> > > > > > > > > # ok, my attempt at ALSA config stuff (kirk)
> > > > > > > > > alias char-major-116 snd
> > > > > > > > > options snd snd_major=116 snd_cards_limit=1
> > > > > > > > > alias snd-card-0 snd-sb16
> > > > > > > > > options snd-sb16 snd_index=0 snd_id="SB16" \
> > > > > > > > >         snd_port=0x220 snd_irq=5 snd_dma8=1 snd_dma16=5 \
> > > > > > > > >         snd_mpu_port=0x330
> > > > > > > > > 
> > > > > > > > > # OSS/Free setup
> > > > > > > > > alias char-major-14 soundcore
> > > > > > > > > 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-12 snd-pcm-oss
> > > > > > > > > 
> > > > > > > > > All the parameters like irq, i/o, dma, ETC. are correct. I know this because I ran creative's diagnose.exe from a DOS floppy, and it figured out all the settings correctly, and the tests it did on the card went fine.
> > > > > > > > > 
> > > > > > > > > When I do modprobe snd-card-0, I get the following.
> > > > > > > > > 
> > > > > > > > > /lib/modules/2.4.18/kernel/sound/isa/sb/snd-sb16.o: init_module: No such device
> > > > > > > > > /lib/modules/2.4.18/kernel/sound/isa/sb/snd-sb16.o: Hint: insmod errors can be caused by incorrect module parameters, including
> > > > > > > > > invalid IO or IRQ parameters
> > > > > > > > > /lib/modules/2.4.18/kernel/sound/isa/sb/snd-sb16.o: insmod /lib/modules/2.4.18/kernel/sound/isa/sb/snd-sb16.o failed
> > > > > > > > > /lib/modules/2.4.18/kernel/sound/isa/sb/snd-sb16.o: insmod snd-card-0 failed
> > > > > > > > > 
> > > > > > > > > Why is it saying there is no such device? And, before anyone asks, yes, I've run the snddevices script. Any help would be much appreciated. Thanks.
> > > > > > > > > Greg
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > _______________________________________________
> > > > > > > > > Speakup mailing list
> > > > > > > > > Speakup at braille.uwo.ca
> > > > > > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > _______________________________________________
> > > > > > > > Speakup mailing list
> > > > > > > > Speakup at braille.uwo.ca
> > > > > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > > > > > > 
> > > > > > > _______________________________________________
> > > > > > > Speakup mailing list
> > > > > > > Speakup at braille.uwo.ca
> > > > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > > > > > 
> > > > > > 
> > > > > > _______________________________________________
> > > > > > Speakup mailing list
> > > > > > Speakup at braille.uwo.ca
> > > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > > > > 
> > > > > _______________________________________________
> > > > > Speakup mailing list
> > > > > Speakup at braille.uwo.ca
> > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > > > 
> > > > 
> > > > _______________________________________________
> > > > Speakup mailing list
> > > > Speakup at braille.uwo.ca
> > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > > 
> > > _______________________________________________
> > > Speakup mailing list
> > > Speakup at braille.uwo.ca
> > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > 
> > 
> > _______________________________________________
> > Speakup mailing list
> > Speakup at braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux