Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I am having trouble with my onboard soundcard. I doesn't work in RH7.2 or Mandrake8.2. I got rid of RH7.2 so that doesn't matter anymore, in Mandy I get this error after rebooting.
Quote:
Sound Server Informational Message
Error while initializing the sound driver:
can't set requested samplingrate (requested rate 44100, got rate 0)
The sound server will continue, using the null output device
Any ideas on how to fix this? any help will be appreciated, oh and here is the output from lspci
Code:
00:00.0 Host bridge: VIA Technologies, Inc. VT8501 [Apollo MVP4] (rev 04)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8501 [Apollo MVP4 AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 1b)
00:07.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 0e)
00:07.3 USB Controller: VIA Technologies, Inc. UHCI USB (rev 0e)
00:07.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 20)
00:07.5 Multimedia audio controller: VIA Technologies, Inc. AC97 Audio Controller (rev 21)
00:09.0 VGA compatible controller: nVidia Corporation Vanta [NV6] (rev 15)
01:00.0 VGA compatible controller: Trident Microsystems CyberBlade/i7 (rev 5d)
kwigibo
PS I can't help to notice but there seems to be alot of soundcard problems lately, BTW I read other posts and no success there.
RedHat uses standard kernel modules whereas Mandrake uses ALSA. Yeah there have been a lot of sound issues lately, especially with these annoying cards that leave a lot of things up to emulation in the software, hence the existence of the AC97 Codec.
Anyway, I can't find an accurate list of alsa sound modules to figure out which one deals with via these days, so lets see what you have loaded this far. What's the output of lspci? There should be a good blob of them.
Thanks for correcting me... er... yeah, I mean to type lsmod... der...
Okay, from the looks of it, the thing didn't modprobe all of the alsa modules... I'm confused now. It seems to... no wait, I just checked and viaudio isn't a kernel module, so... its an alsa module, just one I've never dealt with... I wish I still had a Mandrake machine to fiddle with.
See if you have the normal 2.4.18 kernel module for the card: via82cxxx_audio.o.gz it'll be in /lib/modules/2.4.18-mdk-??/kernel/drivers/sound/
If so, try to rmmod viasound and modprobe that... This one is rather confusing.
No it loaded alright, loaded cleanly from what I can tell too if it grabbed the codec module as a dependancy. Most importantly, with the kernel (NOT the alsa) modules, did you get sound? The via82cxxx whatever module will always read as un-used until you pipe something into the device... anything quick and dirty, probably the best test is a regular music CD and the command line player workbone, or just as good is whatever GUI CD player you have, probably KsCD.
Convincing Mandrake to stop loading the alsa modules at boot is step 2, and I'll have to figure that out again myself, its been a while since I went 4 rounds with Mandy.
Check /etc/modules and /etc/modules.conf and comment out all of the ALSA goop, then drop in the lines for the via82cxxx adapter. Pulling an rmmod followed by a modprobe at every boot is begging for an oops. I'm pretty sure that's how mandy handles it, I've got 9.0 beta1 on another partition, but my card is so wiggy that there are no alsa mods so Mandy installed kernel mods.
Hey finegan, this is my modules and modules.conf files.
I added the line at the bottom of the modules.conf as you suggested, is this right? and also do add the same line to the modules file?
Code:
[root@localhost etc]# cat modules
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.
[root@localhost etc]# cat modules.conf
alias usb-interface usb-uhci
#alias sound-slot-0 viaudio
alias sound-slot-0 via82cxxx_audio
[root@localhost etc]#
Okay, just logged into my slack machine at home and mounted the Mandrake drive so I could take a look at this mysterious /etc/modules file that my Slackware trained brain ceased to understand. It seems that the only line you add there is the name of the module:
via82cxxx_audio
Post back if it still tries to forcefeed you some alsa.
No it doesn't appear to but the sound card still isn't working. I only use it to play CD's when Im on the computer anyway, and that works if I plug the speakers into the headphone jack so I can live with that.
I really ... really appreciate all the help you have given me, I have learnt a lot. Thankyou
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.