SlackwareThis Forum is for the discussion of Slackware 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.
Hello:
Well, I just installed Slackware 9.0 on my Compaq Presario 700. Everything works fine, except for the sound. If I try playing a CD, or MP3, or MIDI, or anything, it will start playing, but no sound comes out of the speakers. I've tried chmod, even edited the Config file for the kernel, but still haven't got any sound out of my speakers.
I dont get any error messages.
The Compaq Presario 700 comes with a VIA VT86C686A [Apollo Super AC97/Audio] Chip, and it uses de via82cxxx_audio driver.
Can anyone help?
lspci:
00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 80)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 42)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 1a)
00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 50)
00:09.0 Communication controller: Conexant HSF 56k HSFi Modem (rev 01)
00:0a.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 01)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: S3 Inc. VT8636A [ProSavage KN133] AGP4X VGA Controller (TwisterK) (rev 01)
It appears everything is working ok... Try logging in as root and see if you don't get sound that way. If you do then you just need to change permissions to 777(I think) for /dev/mixer. If not then keep asking.
Have you run a mixer program to check the volume settings? If not, it's also possible that your sound is turned down all the way or muted. This usually only happens with ALSA, but it is possible for it to happen with a kernel sound driver.
Originally posted by X_shadow_X I use the same sound card
If /sbin/modprobe via82cxxx_audio worked from the CL, then try inserting into rc.modules should work too.
I have a different soundcard. A CS4232 on an old Toshiba Tecra 520CDT. I haven't had any luck getting the sound nor APM working. I was just wondering if the sound card must be listed in lspci for it to be supported.
Ok
I've follwed advice and recompiled my kernel with just sound card support and then installed the alsa driver, alsa lib and alsa utils as recomended. Still there's no sound on my laptop. I did /sbin/modprobe via82cxxx_audio and got the following answer:
/lib/modules/2.4.20/kernel/drivers/sound/via82cxxx_audio.o.gz: init_module: No such device
/lib/modules/2.4.20/kernel/drivers/sound/via82cxxx_audio.o.gz: 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.20/kernel/drivers/sound/via82cxxx_audio.o.gz: insmod /lib/modules/2.4.20/kernel/drivers/sound/via82cxxx_audio.o.gz failed
/lib/modules/2.4.20/kernel/drivers/sound/via82cxxx_audio.o.gz: insmod via82cxxx_audio failed
Compaqs dont come with audio cables. These are not required to play CDs in windows, but are required to play CDs in Linux. Unless you put them in afterwards...
Problem Solved!!!
Ok, finally I solved it. I am now listening to some great U2 CD's.
Here's what I did, step by step:
1.- Install the Kernel Source in /usr/src/linux
Do this by: a)mount the CD-ROM No 2 and then from the command line go to "mnt/cdrom/slackware/k" there you'll find the source code. Run the shell program: "$sh -install-packages" you'll then install the package called kernel-source-2.4.20-noarch-5.tgz.
2.- Download and install the ALSA packages (alsa-driver, alsa-lib, alsa-utils) follow the instructions on their web page.
3.- Using KDE, go to the Control Center, go to System Administration and then to Linux Kernel. Here you'll be able to choose wich modules to compile in to the kernel. Go to sound. Select Sound Card Support, VIA 82C686 Audio Codec, VIA 82C686 MIDI and OSS sound modules, deselect everything else.
4.- Update you rc.modules file according to the ALSA instructions
5.- Create the .asoundrc file according to the ALSA instructions
6.- Logout from X, and from the command line compile as follows:
$make symlinks dep
$make clean
$make bzImage
$make
$make install
$make modules
$make modules install
7.- Say a prayer. Reboot with your new kernel, go back into X with "startx"
8.- Enjoy the sound.
9.- If still there's no sound, try installing aumix, and getting the volume up, 'cause it is muted by default, so you'll need a mixer program like aumix or Kmix.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.