No Sound with Kernel 2.6.7
Hi,
Slackware10
When I installed the kernel 2.6.7 my sound was lost, the error message claiming it can not find module via82cxxx_audio.c. Checking /lib/modules/2.6.7/kernel/drivers there was no /sound folder.
I then copied ../2.4.26/../sound into ../2.6.7../drivers/ it did not change it still claimed it could not find my sound module after rebooting.
I then switched back to 2.4.26 and sound was back.
Could that be resolved and how?
A side benefit of the whole exercise was that all of a sudden starting kde programs such as kppp takes now only half the time than before I tried to switch kernels. It used to take an annoying 22 seconds, now it takes only 11. ???????????
Thanks & Regards
Signature · 6 lines
Peter - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Hi Peter,
The 2.4 & 2.6 kernels use different, incompatible module formats, so you can't just copy
the 2.4 modules over to 2.6. Instead you will need to install a 2.6 kernel module for your
soundcard. If your kernel was already configured to build your soundcards drivers as
modules, all you should need to do is cd /usr/src/linux (or where ever you 2.6.7 kernel
sources are); make modules && make modules_install. Note that make modules_install
needs root permissions. Also also note that 2.6 normally uses ALSA (Advanced Linux
Sound Architecture), while 2.4 used OSS (Open? Sound System). This means that you
soundcards driver module might have a different name, so you might need to edit the
module name in /etc/modules.conf or where ever you define modules to load on startup.
After this you should be able to load your soundcards driver modules & hear stuff.
HTH,
Conway S. Smith
Quoted 15 lines · Peter
Hi,
Slackware10
When I installed the kernel 2.6.7 my sound was lost, the error message claiming it can not find module
via82cxxx_audio.c. Checking/lib/modules/2.6.7/kernel/driversthere was no /sound folder.I then copied ../2.4.26/../sound into ../2.6.7../drivers/ it did not change it still claimed it could not find my sound module after rebooting.
I then switched back to 2.4.26 and sound was back.
Could that be resolved and how?
Quoted 8 lines
A side benefit of the whole exercise was that all of a sudden starting kde programs such as kppp takes now only half the time than before I tried to switch kernels. It used to take an annoying 22 seconds, now it takes only 11. ???????????
Thanks & Regards
--
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 7 lines · Peter
Hi,
Slackware10
When I installed the kernel 2.6.7 my sound was lost, the error message claiming it can not find module
via82cxxx_audio.c. Checking/lib/modules/2.6.7/kernel/driversthere was no /sound folder.
Kernel 2.6 structure is different to 2.4 for modules, sound modules reside in kernel/sound and not kernel/drivers/sound.
Quoted 2 lines
I then copied ../2.4.26/../sound into ../2.6.7../drivers/ it did not change it still claimed it could not find my sound module after rebooting.
Not a good thing to do, 2.6 kernels are "very different" to 2.4.
Quoted 3 lines
I then switched back to 2.4.26 and sound was back.
Could that be resolved and how?
You will need to check your /usr/src/linux/.config file to see what you have defined for sound.
Go here;
http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt
For good info on compiling 2.6 kernels.
Quoted 5 lines
A side benefit of the whole exercise was that all of a sudden starting kde programs such as kppp takes now only half the time than before I tried to switch kernels. It used to take an annoying 22 seconds, now it takes only
11. ???????????
Even 11 seconds sounds way to long, but you did not say what sort of computer it is, let alone how much memory you have, etc etc etc...
Quoted 1 line
Thanks & Regards
Signature · 13 lines
If the Linux community is a bunch of thieves because they try to imitate windows programs, then the Windows community is built on organized crime. Regards Richard [email protected] http://people.zeelandnet.nl/pa3gcu/ - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 13 lines · you
Hi,
Slackware10
When I installed the kernel 2.6.7 my sound was lost, the error message claiming it can not find module
via82cxxx_audio.c. Checking/lib/modules/2.6.7/kernel/driversthere was no /sound folder.I then copied ../2.4.26/../sound into ../2.6.7../drivers/ it did not change it still claimed it could not find my sound module after rebooting.
I then switched back to 2.4.26 and sound was back.
Quoted 8 lines
Could that be resolved and how?
A side benefit of the whole exercise was that all of a sudden starting kde programs such as kppp takes now only half the time than before I tried to switch kernels. It used to take an annoying 22 seconds, now it takes only
11. ???????????Thanks & Regards
Probably worth running alsamixer just to check it's not as simple as everything being muted before you look deeper for the cause of your problems. If not, you'll want to unmute everything after completing the steps to make it work.
You'll want to check your kernel compile options to make sure you're compiling your sound drivers (preferably as modules), you'll also find that between kernel 2.4 and 2.6 there is a change from OSS to ALSA as the primary sound architecture.
www.alsa-project.org will be able to tell you what you'll need to know.
You'll want to add a line similar to this to your modprobe.conf file.
alias snd-card-0 snd-via82xx
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-via82xx { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-via82xx
The extra lines will load and save the mixer settings for ALSA, the above has been taken from my modprobe.conf file.
You also might want to run alsamixer and just check that your sound isn't just muted. After the above steps you will still need to unmute your sound card anyhow.
- --
"I'm reminded of the day my daughter came in, looked over my shoulder at some Perl 4 code, and said, 'What is that, swearing?'" - Larry Wall -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBj2Ji94zI/zB2CYURAiqqAJsELFoxcwqJbUS0dwCwTDVOEBooLQCgmbeW nUtnaJVLEMq/Ps/nmU2GKD8=
=D++O
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs