Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-21-2002, 02:37 PM   #1
LQ Newbie
Registered: Nov 2002
Posts: 1

Rep: Reputation: 0
slackware and via82xx sound

Hi Folks,
I'm trying to set up a slackware 8.1 system with a VIA 8233 soundcard. I'm using the ALSA drivers, and lspci shows:

00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 3116
00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP]
00:0a.0 Communication controller: Lucent Microelectronics LT WinModem (rev 02)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C (rev 10)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8233A ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)
00:11.2 USB Controller: VIA Technologies, Inc. USB (rev 23)
00:11.3 USB Controller: VIA Technologies, Inc. USB (rev 23)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 40)
01:00.0 VGA compatible controller: S3 Inc. VT8751 [ProSavageDDR P4M266] VGA Controller

my conf.modules is straight from the alsa page:

# 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

However, when I try to modprobe snd-via82xx, I get:

lib/modules/2.4.18/kernel/sound/pci/snd-via82xx.o: init_module: No such device
/lib/modules/2.4.18/kernel/sound/pci/snd-via82xx.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.18/kernel/sound/pci/snd-via82xx.o: insmod /lib/modules/2.4.18/kernel/sound/pci/snd-via82xx.o failed
/lib/modules/2.4.18/kernel/sound/pci/snd-via82xx.o: insmod snd-via82xx failed

This seems pretty easy, but no sound comes out. I had Mandrake 9 on this system before, and the sound worked just fine. Unfortunately, I removed it to put Slackware on, and now I'm stuck.

I'd love any help I can get. Thanks.
Old 11-21-2002, 11:46 PM   #2
Senior Member
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
Well, to start with I do not think Slack does much of anything with the /etc/conf.modules file or /etc/modules.conf file. Slack does have a rc.modules file though in /etc/rc.d directory. But I never use it myself. I use the alsa drivers for my VIA sound chipset and load them from the /etc/rc.d/rc.local file. The commands follow.

# load ALSA sound drivers
/sbin/modprobe snd-via686
/sbin/modprobe snd-pcm-oss
/sbin/modprobe snd-mixer-oss
/sbin/modprobe snd-seq-oss
# restore mixer settings
alsactl restore

My VIA chip identifies as VT82C686. I think if I recall correctly I had to specify the sound chipset when I built the alsa drivers as well. But after they are loaded I have about a dozen modules related to the sound drivers. Use "lsmod" to list the loaded modules. The bus listing you provided looked very familar to me like from some of the P4 VIA chipset type motherboards I have been testing recently. I think I was able to get the alsa drivers to work OK. Hard to remember all the exact numbers though.

Perhaps it will help you to locate your problem.

Old 04-04-2003, 06:12 PM   #3
LQ Newbie
Registered: Apr 2003
Distribution: Slackware 9
Posts: 24

Rep: Reputation: 15
i got about the same problem...

slackware 9 with onboard ac97 via 8233 chipset:

00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 50)
Subsystem: C-Media Electronics Inc: Unknown device 0301

as i know there isnt a good OSS/FREE support for this chipset i tried to install ALSA (i read it has to work fine).

i followed the instructions, compiled alsa-driver, alsa-libs, alsa-util, but whe i try to modprobe in the modules i obtain:

modprobe snd-via82xx

/lib/modules/2.4.20/kernel/sound/acore/snd.o: unresolved symbol _mmx_memcpy
/lib/modules/2.4.20/kernel/sound/acore/snd.o: unresolved symbol __write_lock_failed
/lib/modules/2.4.20/kernel/sound/acore/snd.o: unresolved symbol kernel_flag_cacheline
/lib/modules/2.4.20/kernel/sound/acore/snd.o: unresolved symbol __read_lock_failed
/lib/modules/2.4.20/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.20/kernel/sound/acore/snd.o failed
/lib/modules/2.4.20/kernel/sound/acore/snd.o: insmod snd-via82xx failed

what's wrong? my system is a plain slack 9.
Old 04-05-2003, 05:58 AM   #4
LQ Newbie
Registered: Apr 2003
Distribution: Slackware 9
Posts: 24

Rep: Reputation: 15
i partially resolved my problem: Slack 9 put kernel-headers in /usr/include instead of putting it in /usr/src/linux/inlcude/linux so alsa had problems finding headers while compiling, producing broken modules.

Now everything SEEMS to work fine, modules load into kernel flawlessy, i could configure volume levels with alsamixer (who perfectly recognise my ac97 vt8233/8235 C-Media audio chip), programs works fine in OSS emulation....

but i cant HEAR NOTHING!!!!! there is NO sound coming out from the speaker!

help me


and yes, i plugged the speakers' jack into soundcard
Old 04-05-2003, 06:06 AM   #5
LQ Newbie
Registered: Apr 2003
Distribution: Slackware 9
Posts: 24

Rep: Reputation: 15
ehrm... this could be a case for mulder and scully.

i tried to play some mp3 with mplayer (who's got native alsa output support with -ao alsa9) and i hear something... low volume , incorrect pitch jerky sound....

after that, WITHOUT TOUCHIN A BIT, i tried to play it again with -ao OSS...

it plays fine!!!!!!

now everything works.

it's a miracle?
Old 04-06-2003, 06:37 AM   #6
LQ Newbie
Registered: Nov 2002
Location: Naples, Italy
Distribution: Slackware
Posts: 14

Rep: Reputation: 0
Talking Miracle...

U have to thanks San. Linus...
Old 04-06-2003, 07:56 AM   #7
LQ Newbie
Registered: Jan 2003
Distribution: Slackware
Posts: 22

Rep: Reputation: 15
I am use slack9 and I have via8233 sound card chip and It works well for me I had too download kernelsource from slack website, It isn't on the slack cd. It is in the k dir. Then I followed the instrotion on the alsa website it it works fine. Remember to UNMUTE both pcm and main channel and turn it up.
Old 04-06-2003, 10:27 AM   #8
LQ Newbie
Registered: Apr 2003
Location: spain
Distribution: slackware 9.0
Posts: 5

Rep: Reputation: 0
uhhhm, how are you unmuted both channels, with alsamixer? amixer,? please explain me because I've this via chipset and it turn me crazy trying hear sound from it!. All drivers installed, modules loadeds, in kmixer volume levels led go up and down when i play mp3 files, but i can hear anything from speakers!
Old 04-06-2003, 10:50 AM   #9
LQ Newbie
Registered: Jan 2003
Distribution: Slackware
Posts: 22

Rep: Reputation: 15
in alsamixer press m on master and pcm
Old 04-06-2003, 01:14 PM   #10
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
amixer set Master 22 unmute
amixer set PCM 22 unmute
amixer set CD 22 unmute

Add those to your rc.local so you have sound when you boot
Old 04-06-2003, 07:35 PM   #11
Registered: Dec 2002
Location: California
Distribution: Slackware & FreeBSD
Posts: 169

Rep: Reputation: 30
After going thru the ALSA installation steps, I used kmix to set the volume levels for my sound card. Then I clicked 'File' and saved the settings.
Old 04-07-2003, 03:50 PM   #12
LQ Newbie
Registered: Apr 2003
Location: spain
Distribution: slackware 9.0
Posts: 5

Rep: Reputation: 0
I've unmuted by amixer and set values, and i see how in alsamixer and kmix volume level changes, but any sound from speakers! . Well i'll look with more atention around all files and kde, maybe it's a misconfiguration in arts...
Thanks for your reply.
Old 04-07-2003, 04:09 PM   #13
Registered: Mar 2003
Location: sweden, norrkoping
Distribution: slackware 9.0,windows XP
Posts: 53

Rep: Reputation: 15
/home/user/alsa.0.9/util/ and run alsaconf and u have sound ...

it workt for me
Old 05-21-2003, 11:27 AM   #14
Registered: May 2003
Distribution: slackware-current
Posts: 34

Rep: Reputation: 15

This sucks. Everything SEEMS to be working fine, but I can't hear a damn thing ! (yes I unmuted everything and all that) If you get some error messages at least you 've got a place to start looking.

I'm using latest stable Alsa release on Red Hat 8 and have onboard Via8233 "sound".

Old 05-22-2003, 12:58 AM   #15
Senior Member
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Read that you're using KDE... try runnning kmix... it might be muted there instead.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 sound card socket9001 Linux - Hardware 8 10-18-2004 07:47 PM
via82xx no sound Stamp Slackware 2 09-26-2004 03:02 PM
Audio Driver Distorted Sound - via82xx anorman Linux - Hardware 1 03-09-2004 09:33 AM
No sound on MDK9.1 with snd-via82xx chip tryynanen Linux - Hardware 5 01-13-2004 03:03 AM
Scratching sound with snd-via82xx kamstrup Linux - Hardware 2 10-20-2003 11:54 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:04 PM.

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