From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from rwcrmhc53.attbi.com ([204.127.198.39]) by speech.braille.uwo.ca with esmtp (Exim 3.35 #1 (Debian)) id 17Ag7h-0007Uz-00 for ; Wed, 22 May 2002 20:06:29 -0400 Received: from mycomputer ([24.62.38.156]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20020523000602.VBSV11659.rwcrmhc53.attbi.com@mycomputer> for ; Thu, 23 May 2002 00:06:02 +0000 Message-ID: <001901c201ed$4bf639e0$02263e18@mycomputer> From: "Igor Gueths" To: References: <20020522135317.A30754@romualt.dhs.org> <019301c201c4$af02a880$02263e18@mycomputer> <20020522145313.A30976@romualt.dhs.org> <003d01c201ce$5c6f8b60$02263e18@mycomputer> <20020522155128.B31056@romualt.dhs.org> <001101c201d5$6d620f40$02263e18@mycomputer> <20020522171530.A31277@romualt.dhs.org> <001301c201e0$c4fe56e0$02263e18@mycomputer> <20020522174908.B31350@romualt.dhs.org> Subject: Re: problem configuring sb16 and alsa Date: Wed, 22 May 2002 20:03:40 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: speakup@braille.uwo.ca List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: 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 -----=20 From: Gregory Nowak To: 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 >=20 >=20 > 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 -----=20 > > From: Gregory Nowak > > To: > > Sent: Wednesday, May 22, 2002 6:15 PM > > Subject: Re: problem configuring sb16 and alsa > >=20 > >=20 > > > 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 > > >=20 > > >=20 > > > 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?=20 > > > > ----- Original Message -----=20 > > > > From: Gregory Nowak > > > > To: > > > > Sent: Wednesday, May 22, 2002 4:51 PM > > > > Subject: Re: problem configuring sb16 and alsa > > > >=20 > > > >=20 > > > > > 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 > > > > >=20 > > > > >=20 > > > > > 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.=20 > > > > > > ----- Original Message -----=20 > > > > > > From: Gregory Nowak > > > > > > To: > > > > > > Sent: Wednesday, May 22, 2002 3:53 PM > > > > > > Subject: Re: problem configuring sb16 and alsa > > > > > >=20 > > > > > >=20 > > > > > > > Hi Igor, > > > > > > >=20 > > > > > > > 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 > > > > > > >=20 > > > > > > >=20 > > > > > > > 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=3Dyes --moddir=3D/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.=20 > > > > > > > > ----- Original Message -----=20 > > > > > > > > From: Gregory Nowak > > > > > > > > To: > > > > > > > > Sent: Wednesday, May 22, 2002 2:53 PM > > > > > > > > Subject: problem configuring sb16 and alsa > > > > > > > >=20 > > > > > > > >=20 > > > > > > > > > Hi all, > > > > > > > > >=20 > > > > > > > > > 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. > > > > > > > > >=20 > > > > > > > > > # ok, my attempt at ALSA config stuff (kirk) > > > > > > > > > alias char-major-116 snd > > > > > > > > > options snd snd_major=3D116 snd_cards_limit=3D1 > > > > > > > > > alias snd-card-0 snd-sb16 > > > > > > > > > options snd-sb16 snd_index=3D0 snd_id=3D"SB16" \ > > > > > > > > > snd_port=3D0x220 snd_irq=3D5 snd_dma8=3D1 = snd_dma16=3D5 \ > > > > > > > > > snd_mpu_port=3D0x330 > > > > > > > > >=20 > > > > > > > > > # 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 > > > > > > > > >=20 > > > > > > > > > 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. > > > > > > > > >=20 > > > > > > > > > When I do modprobe snd-card-0, I get the following. > > > > > > > > >=20 > > > > > > > > > /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 > > > > > > > > >=20 > > > > > > > > > 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 > > > > > > > > >=20 > > > > > > > > >=20 > > > > > > > > > _______________________________________________ > > > > > > > > > Speakup mailing list > > > > > > > > > Speakup@braille.uwo.ca > > > > > > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > > > > >=20 > > > > > > > >=20 > > > > > > > >=20 > > > > > > > > _______________________________________________ > > > > > > > > Speakup mailing list > > > > > > > > Speakup@braille.uwo.ca > > > > > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > > >=20 > > > > > > > _______________________________________________ > > > > > > > Speakup mailing list > > > > > > > Speakup@braille.uwo.ca > > > > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > >=20 > > > > > >=20 > > > > > > _______________________________________________ > > > > > > Speakup mailing list > > > > > > Speakup@braille.uwo.ca > > > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > >=20 > > > > > _______________________________________________ > > > > > Speakup mailing list > > > > > Speakup@braille.uwo.ca > > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > >=20 > > > >=20 > > > > _______________________________________________ > > > > Speakup mailing list > > > > Speakup@braille.uwo.ca > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > >=20 > > > _______________________________________________ > > > Speakup mailing list > > > Speakup@braille.uwo.ca > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > >=20 > >=20 > > _______________________________________________ > > Speakup mailing list > > Speakup@braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup >=20 > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup