Hi, In an effort to solve my problems with shutting down SuSE's 2.4.10 kernel on an AL440LX motherboard, and also to keep the fb boot sequence, and ALSA sound, I have downloaded Hubert Mantel's SuSE patch for the 2.4.13 kernel. This applies fine, and sorts out the shutdown issue, and the fb boot sequence. However, I am still suffering from a lack of sound. How do I get the module 'snd-card-sbawe', to support my Awe64 sound card. I have compiled 2.4.13, but don't have the module, and grepping through the kernel source code for the text string doesn't find anything. I assume that the module is from ALSA. However, shouldn't the ALSA patches be in Hubert's kernel? Do I need to sort out ALSA manually? -- Cheers, Chris Howells -- chris@chrishowells.co.uk, howells@kde.org Web: http://chrishowells.co.uk, PGP key: http://chrishowells.co.uk/pgp.txt KDE: http://www.koffice.org, http://edu.kde.org, http://usability.kde.org
On Sat, Nov 10, 2001 at 04:35:35PM +0000, Chris Howells wrote:
'snd-card-sbawe', to support my Awe64 sound card. I have compiled 2.4.13, but don't have the module, and grepping through the kernel source code for the text string doesn't find anything.
alsa is not part of the kernel (yet).
I assume that the module is from ALSA. However, shouldn't the ALSA patches be in Hubert's kernel?
alsa is not a patch, so it can't be there. SuSE keeps it in a separate rpm.
Do I need to sort out ALSA manually?
Please look at www.alsa-project.org. -Kastus
-- Cheers, Chris Howells -- chris@chrishowells.co.uk, howells@kde.org Web: http://chrishowells.co.uk, PGP key: http://chrishowells.co.uk/pgp.txt KDE: http://www.koffice.org, http://edu.kde.org, http://usability.kde.org
On Saturday 10 November 2001 17:51, Konstantin (Kastus) Shchuka wrote:
I assume that the module is from ALSA. However, shouldn't the ALSA patches be in Hubert's kernel?
alsa is not a patch, so it can't be there. SuSE keeps it in a separate rpm.
OK, so what I don't understand is why I should need to fiddle with this if I re-compile a new kernel? With my own 2.4.10 kernel, everything (including ALSA) was set up nicely. I compiled 2.4.13, and alsa no longer works. Do I need to reinstall SuSE's ALSA RPMs? Or must they be compiled against the current kernel version (and since SuSE's RPMS were against 2.4.10, it won't work?) Thanks :) -- Cheers, Chris Howells -- chris@chrishowells.co.uk, howells@kde.org Web: http://chrishowells.co.uk, PGP key: http://chrishowells.co.uk/pgp.txt KDE: http://www.koffice.org, http://edu.kde.org, http://usability.kde.org
* Chris Howells (chrish@gmx.co.uk) [011110 11:01]: ->On Saturday 10 November 2001 17:51, Konstantin (Kastus) Shchuka wrote: -> ->> > I assume that the module is from ALSA. However, shouldn't the ALSA ->> > patches be in Hubert's kernel? ->> ->> alsa is not a patch, so it can't be there. SuSE keeps it in a separate ->> rpm. -> ->OK, so what I don't understand is why I should need to fiddle with this if I ->re-compile a new kernel? -> ->With my own 2.4.10 kernel, everything (including ALSA) was set up nicely. -> ->I compiled 2.4.13, and alsa no longer works. Do I need to reinstall SuSE's ->ALSA RPMs? -> ->Or must they be compiled against the current kernel version (and since SuSE's ->RPMS were against 2.4.10, it won't work?) I find this strange. I never recompiled the ALSA modules while going from 2.4.2 --> 2.4.7 .. I would delete the references to sound in modules.conf and then rerun alsaconf and it worked. I can't imagine that that .10 is so much different then .13 that you should have to do this. I would delete all references to sound...it looks something like this... -- options snd snd_cards_limit=1 snd_major=116 alias snd-card-0 snd-card-emu10k1 options snd-card-emu10k1 snd_id=card1 snd_index=0 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-11 snd-mixer-oss alias sound-service-0-12 snd-pcm-oss -- It was at the end of the modules.conf file. After this rerun either YaST2 or alsaconf so the entries are remade. This should work. I then run depmod -a just to make sure everything is correct. I could be TOTALLY off base here, but it's worked for me. -----=====-----=====-----=====-----=====----- Ben Rosenberg mailto:ben@whack.org -----=====-----=====-----=====-----=====----- "Technological progress is like an axe in the hands of a pathological criminal" -AE
Hi, Actually, it is quite simple. Alsa sound drivers are kernel modules. Therefore, when you recompile the kernel, you normally have to recompile the alsa modules as well. When you install a SuSE kernel package, k_*.rpm, the alsa modules are included. However, the sources are not part of the kernel sources. To rebuild the alsa modules, I normally proceed as follows: 1) install the alsa source package: rpm -i alsa-<version>.src.rpm note: This package is missing in SuSE 7.3. You can download it from ftp://ftp.suse.com/pub/people/tiwai/7.3-src 2) rebuild the alsa packages: cd /usr/src/packages/SPECS rpm -ba alsa.spec 3) install the alsa module sources: cd /usr/src/packages/RPMS/i386 rpm -Uvh km_alsa-<version>.i386.rpm 4) build the alsa modules cd /usr/src/kernel-modules/alsa-driver-<version> make -f Makefile.module 5) install the alsa modules make -f Makefile.module install That should be it, give or take the occasional typo. After a depmod -a all snd* dependencies should be resolved. You shouldn't have to change your modules.conf at all. Regards, Tim
On Saturday 10 November 2001 19:49, Tim van Venrooij wrote:
Actually, it is quite simple. Alsa sound drivers are kernel modules. Therefore, when you recompile the kernel, you normally have to recompile the alsa modules as well. When you install a SuSE kernel package, k_*.rpm, the alsa modules are included. However, the sources are not part of the kernel sources. To rebuild the alsa modules, I normally proceed as follows:
<snip> I'll give that ago in the future. Thanks a lot for the info. -- Cheers, Chris Howells -- chris@chrishowells.co.uk, howells@kde.org Web: http://chrishowells.co.uk, PGP key: http://chrishowells.co.uk/pgp.txt KDE: http://www.koffice.org, http://edu.kde.org, http://usability.kde.org
On November 10, 2001 01:39 pm, Chris Howells wrote:
On Saturday 10 November 2001 17:51, Konstantin (Kastus) Shchuka wrote:
I assume that the module is from ALSA. However, shouldn't the ALSA patches be in Hubert's kernel?
alsa is not a patch, so it can't be there. SuSE keeps it in a separate rpm.
OK, so what I don't understand is why I should need to fiddle with this if I re-compile a new kernel?
With my own 2.4.10 kernel, everything (including ALSA) was set up nicely.
I compiled 2.4.13, and alsa no longer works. Do I need to reinstall SuSE's ALSA RPMs?
Or must they be compiled against the current kernel version (and since SuSE's RPMS were against 2.4.10, it won't work?)
Alsa looks at the installed kernel and goes Hey that's not the one I want. You'll need to recompile Alsa against the current kernel. Reminds me I should go and do it. First do the new kernel then do Alsa. Nick
On Saturday 10 November 2001 19:50, Nick Zentena wrote:
Alsa looks at the installed kernel and goes Hey that's not the one I want. You'll need to recompile Alsa against the current kernel. Reminds me
Right. That makes sense.
I should go and do it. First do the new kernel then do Alsa.
Yup that works. Now I've got 2.4.13 with SuSE's fb sequence, no shutdown problems, and audio. Thanks :) -- Cheers, Chris Howells -- chris@chrishowells.co.uk, howells@kde.org Web: http://chrishowells.co.uk, PGP key: http://chrishowells.co.uk/pgp.txt KDE: http://www.koffice.org, http://edu.kde.org, http://usability.kde.org
participants (5)
-
Ben Rosenberg
-
Chris Howells
-
Konstantin (Kastus) Shchuka
-
Nick Zentena
-
Tim van Venrooij