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.
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:~# 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
}
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
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
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.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.