LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-24-2002, 08:49 PM   #1
kwigibo
Member
 
Registered: Apr 2002
Posts: 53

Rep: Reputation: 15
Another Sound Card Problem


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.
 
Old 07-24-2002, 08:59 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
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.

Cheers,

Finegan
 
Old 07-24-2002, 09:06 PM   #3
kwigibo
Member
 
Registered: Apr 2002
Posts: 53

Original Poster
Rep: Reputation: 15
Thanks for the quick reply, "lspci" is above in the first post here's "lsmod"

Code:
[root@localhost root]# lsmod
Module                  Size  Used by    Tainted: P
ppp_deflate            42240   0  (autoclean)
bsd_comp                4544   0  (autoclean)
ppp_async               6560   1  (autoclean)
ppp_generic            19880   3  (autoclean) [ppp_deflate bsd_comp ppp_async]
slhc                    5056   1  (autoclean) [ppp_generic]
sg                     30180   0  (autoclean) (unused)
st                     27316   0  (autoclean) (unused)
sr_mod                 15160   0  (autoclean) (unused)
sd_mod                 11644   0  (autoclean) (unused)
scsi_mod               92488   4  (autoclean) [sg st sr_mod sd_mod]
viaudio                15012   0
soundcore               4068   2  [viaudio]
lp                      6464   0
parport_pc             22088   1
parport                23968   1  [lp parport_pc]
af_packet              12488   0  (autoclean)
ip_vs                  65400   0  (autoclean)
usb-uhci               21668   0  (unused)
usbcore                59072   1  [usb-uhci]
supermount             62180   2  (autoclean)
rtc                     5912   0  (autoclean)
[root@localhost root]#
 
Old 07-24-2002, 09:43 PM   #4
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
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.

From this goober's page that's gotta be the right normal kernel module: http://www.uwsg.iu.edu/hypermail/lin...03.1/0808.html

I take it of course that sndconfig hiccups on this one?

Cheers,

Finegan
 
Old 07-26-2002, 09:42 PM   #5
kwigibo
Member
 
Registered: Apr 2002
Posts: 53

Original Poster
Rep: Reputation: 15
Hi, I tried what you suggested finegan, below are my commands

Code:
[root@localhost sound]# ls
ac97_codec.o.gz  cmpci.o.gz     i810_audio.o.gz     nm256_audio.o.gz  sgalaxy.o.gz     via82cxxx_audio.o.gz
ac97.o.gz        cs4232.o.gz    mad16.o.gz          opl3.o.gz         sonicvibes.o.gz  viaudio.o
aci.o.gz         cs4281/        maestro3.o.gz       opl3sa2.o.gz      soundcore.o.gz   v_midi.o.gz
ad1816.o.gz      cs46xx.o.gz    maestro.o.gz        opl3sa.o.gz       sound.o.gz       wavefront.o.gz
ad1848.o.gz      emu10k1/       maui.o.gz           pas2.o.gz         sscape.o.gz      ymfpci.o.gz
adlib_card.o.gz  es1370.o.gz    mpu401.o.gz         pss.o.gz          trident.o.gz
aedsp16.o.gz     es1371.o.gz    msnd_classic.o.gz   rme96xx.o.gz      trix.o.gz
awe_wave.o.gz    esssolo1.o.gz  msnd.o.gz           sb_lib.o.gz       uart401.o.gz
btaudio.o.gz     gus.o.gz       msnd_pinnacle.o.gz  sb.o.gz           uart6850.o.gz
[root@localhost sound]# rmmod viasound
rmmod: module viasound is not loaded
[root@localhost sound]# rmmod viaaudio
rmmod: module viaaudio is not loaded
[root@localhost sound]# rmmod viaudio
[root@localhost sound]# modprobe via82cxxx_audio
[root@localhost sound]#

and now here is the new lsmod output
Code:
Module                  Size  Used by    Tainted: P
via82cxxx_audio        18144   0  (unused)
uart401                 6336   0  [via82cxxx_audio]
ac97_codec              9568   0  [via82cxxx_audio]
sound                  57292   0  [via82cxxx_audio uart401]
ppp_deflate            42240   0  (autoclean)
bsd_comp                4544   0  (autoclean)
ppp_async               6560   1  (autoclean)
ppp_generic            19880   3  (autoclean) [ppp_deflate bsd_comp ppp_async]
slhc                    5056   1  (autoclean) [ppp_generic]
sg                     30180   0  (autoclean) (unused)
st                     27316   0  (autoclean) (unused)
sr_mod                 15160   0  (autoclean) (unused)
sd_mod                 11644   0  (autoclean) (unused)
scsi_mod               92488   4  (autoclean) [sg st sr_mod sd_mod]
soundcore               4068   4  [via82cxxx_audio sound]
lp                      6464   0
parport_pc             22088   1
parport                23968   1  [lp parport_pc]
af_packet              12488   0  (autoclean)
ip_vs                  65400   0  (autoclean)
usb-uhci               21668   0  (unused)
usbcore                59072   1  [usb-uhci]
supermount             62180   2  (autoclean)
rtc                     5912   0  (autoclean)
after rebooting it goes back to the original. Did I misinterpret what you said or is my sound card just screwed?

thanks kwigibo
 
Old 07-27-2002, 10:19 PM   #6
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
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.

Cheers,

Finegan
 
Old 07-28-2002, 03:01 AM   #7
kwigibo
Member
 
Registered: Apr 2002
Posts: 53

Original Poster
Rep: Reputation: 15
No I get no sound, the lsmod says that the via82cxxx_audio is still unused

thanks
kwigibo

Last edited by kwigibo; 07-28-2002 at 03:12 AM.
 
Old 07-28-2002, 03:16 AM   #8
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
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.

Cheers,

Finegan
 
Old 07-29-2002, 05:03 AM   #9
kwigibo
Member
 
Registered: Apr 2002
Posts: 53

Original Poster
Rep: Reputation: 15
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]#

Thank you very much
kwigibo
 
Old 07-30-2002, 04:32 PM   #10
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
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.

Cheers,

Finegan
 
Old 08-02-2002, 10:09 PM   #11
kwigibo
Member
 
Registered: Apr 2002
Posts: 53

Original Poster
Rep: Reputation: 15
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

kwigibo
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Other problem with the sound in Mandrake - onboard sound card Swetko Linux - Hardware 24 06-19-2006 03:27 PM
Sound problem with intel8x0 sound card. ivopz Linux - Hardware 2 03-28-2005 05:01 AM
Tv card + Sound Card = Audio Problem? kak Slackware 2 01-02-2005 01:18 AM
No sound, problem with sound card install? ak4me Linux - Hardware 2 03-06-2004 04:01 PM
Sound card and Graphics card problem abcdef3 Linux - Software 2 07-31-2001 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration