LinuxQuestions.org
Help answer threads with 0 replies.
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 10-15-2004, 04:29 PM   #1
socket9001
LQ Newbie
 
Registered: Dec 2003
Location: Israel
Distribution: Slackware
Posts: 21

Rep: Reputation: 15
via82xx sound card


Hey.........

I have a via chipset onboard sound card.
I cant get it to work under slackware 10 with kernel 2.6.8 (I didnt try it with other kernels)
The sound card has a via chipset and from google I figured out that it's module is snd_via82xx,
after loading the kernel module I still get no sound.

Any help would be appreciated.

here the output of lsmod and lspci and the content of /etc/modules.conf , /etc/modprobe.conf , ~/.asoundrc

root@pirita:~# lspci | grep audio
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)

root@pirita:~# lsmod
Module Size Used by
nvidia 4821556 12
snd_pcm_oss 50536 0
snd_mixer_oss 18304 1 snd_pcm_oss
snd_via82xx 24964 0
snd_ac97_codec 67524 1 snd_via82xx
snd_pcm 89732 2 snd_pcm_oss,snd_via82xx
snd_timer 23364 1 snd_pcm
snd_page_alloc 9608 2 snd_via82xx,snd_pcm
snd_mpu401_uart 6976 1 snd_via82xx
snd_rawmidi 21860 1 snd_mpu401_uart
snd_seq_device 7240 1 snd_rawmidi
snd 49380 9 snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,s nd_seq_device
ntfs 97492 1
via_rhine 19272 0

root@pirita:~# cat /etc/modules.conf
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-via82xx
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
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-12 snd-pcm-oss

root@pirita:~# cat /etc/modprobe.conf

alias char-major-195* nvidia
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.5 ---
alias snd-card-0 snd-via82xx
alias sound-slot-0 snd-via82xx
# --- END: Generated by ALSACONF, do not edit. ---

root@pirita:~# cat .asoundrc
pcm.snd-via82xx {
type hw
card 0
}

ctl.snd-via82xx {
type hw
card 0
}
 
Old 10-15-2004, 06:00 PM   #2
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Are you getting any errors at all? Or is it simply not producing sound?
 
Old 10-16-2004, 08:40 AM   #3
da_zombie
Member
 
Registered: Aug 2003
Location: timbuktou
Distribution: suse 9.1, Debian Sarge
Posts: 69

Rep: Reputation: 15
hi
i had the same trouble with this card on suse 9.1 kernel 2.6 initially it was not working then i tried alsamixer and alsactl i started getting a very feeble sound output which could not be controlled from the volume controller. then i realised that the volume controller being used was "Kamix" so i changed the volume controller to "KMix" and from all the different control sliders there one of them (not the volume one) could be used to control the volume. So now the volume works fine
i hope this helps
 
Old 10-16-2004, 03:12 PM   #4
otchie1
Registered User
 
Registered: Apr 2004
Posts: 560

Rep: Reputation: 30
plug 'em in, turn 'em on, turn 'em up. :-)

alsamixer (m to unmute)
alsactl store
 
Old 10-16-2004, 07:20 PM   #5
MadnessASAP
Member
 
Registered: Oct 2004
Distribution: Gentoo AMD64 2005.0
Posts: 36

Rep: Reputation: 15
yeah to elaborate a bit more my mobo also happens to use a on board via chipset for sound (K8V-X) and that was the only problem i had just unmute Master and PCM with alsamixer then save the config with alsactl store then if you want run speaker-test just to check
 
Old 10-17-2004, 01:01 AM   #6
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 329

Rep: Reputation: 199Reputation: 199
I have the same problem, and from what I have been able to figure out from looking at all therc.* files and *.conf files, the problem is with the snd-via82xx itself. It INSISTS on trying to run the sound card as a 5.1-channel, configuring the mic and line inputs as outputs.

It's not pretty, but here is one way to get sound. As root, you need to enter these two (three) commands:

rmmod snd-via82xx
insmod via82cxxx_audio

The third one is only necessary if you still don't hear anything:

modprobe via82cxxx_audio

One thing about this, the system will no longer see the sound card, but it will work (at least it does on my system).

ADDENDUM: After reading and deciphering some of the other posts, forget what I said above! I haven't fully figured out alsamixer, so I looked at KMix. On the output tab, the fourth slider from the right needs to be moved up to get PCM audio (at least on my system). Also, if you are using the line and mic inputs for their ORIGINAL function and not as extra outputs, you will need to go down to the advanced settings and turn off "Line-in as surround" and "Mic as center/LFE". I did, as my TV card plugs into the line-in.

After you have your settings where you want them, open a terminal window , su root, and do "alsactl store" to save as default. Also, if you are in KDE, go to the control center and save your volume settings there. Checking or unchecking the "Load volumes on login" box is optional.

Forgive me, but like you I'm still getting the hang of Slackware. I've been a loyal Mandrake user for a long time, but they have gotten to the point that I can no longer install the GeForce drivers from the Nvidia website without causing everything to go to hell (Fedora is even worse!), so I figured the time was right to try Slack. Of course, this new motherboard is also my first experience with 5.1 channel audio....

Last edited by Lenard Spencer; 10-17-2004 at 03:34 AM.
 
Old 10-18-2004, 06:07 AM   #7
socket9001
LQ Newbie
 
Registered: Dec 2003
Location: Israel
Distribution: Slackware
Posts: 21

Original Poster
Rep: Reputation: 15
the message i get...

" please check that

your sound card is configured properly
you have the correct input output plugin selected
no other software is blocking the soundcard"

i get this when i open a song in xmms, still no sound.
 
Old 10-18-2004, 06:37 PM   #8
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Is this only happening with XMMS? If so, try changing the output plugin from OSS to ALSA
 
Old 10-18-2004, 06:47 PM   #9
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Is this happening after a reboot? Some configurations need the alsactl restore command even after you've run the alsactl store command. If this is happening after a reboot, try running alsactl restore, if that works, try adding it to you're /etc/rc.d/rc.local file.
good luck.
 
  


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
via82xx no sound Stamp Slackware 2 09-26-2004 02:02 PM
Audio Driver Distorted Sound - via82xx anorman Linux - Hardware 1 03-09-2004 08:33 AM
No sound on MDK9.1 with snd-via82xx chip tryynanen Linux - Hardware 5 01-13-2004 02:03 AM
Scratching sound with snd-via82xx kamstrup Linux - Hardware 2 10-20-2003 10:54 AM
slackware and via82xx sound ryanbobko Slackware 16 05-22-2003 09:57 PM

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

All times are GMT -5. The time now is 11:21 AM.

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