LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-14-2004, 09:14 AM   #1
Darx
Member
 
Registered: Mar 2004
Posts: 52

Rep: Reputation: 15
Another 'no sound' problem...


Welp, finally managed to make a couple slackware isos and install the damn thing, but I've had several small but annoying problems since...

Luckily, trolling these forums usually provides me with an answer, but I can't find anything to help me this time.

My problem? I can't get my sound to work. I've used alsamixer, alsactl store, all the other mixers I could find through kde, aumix, etc. etc. and set my sound up to pretty much max.

Here's how my hardware situation is... I bought a new motherboard in.. roughly Oct '03. It came with really crappy onboard sound, so I immediately bought a $20 pci sound card.

So far, every distro (knoppix, danix, fedora, arklinux) I've used detected it just fine, with the exceptions of slackware and mandrake 10.

Bah, here's my lspci -v output:

Code:
00:00.0 Host bridge: VIA Technologies, Inc. VT8375 [KM266/KL266] Host Bridge
        Subsystem: VIA Technologies, Inc. VT8375 [KM266/KL266] Host Bridge
        Flags: bus master, 66Mhz, medium devsel, latency 8
        Memory at d0000000 (32-bit, prefetchable) [size=128M]
        Capabilities: [a0] AGP version 2.0
        Capabilities: [c0] Power Management version 2

00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP] (prog-if 00 [Normal decode])
        Flags: bus master, 66Mhz, medium devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Memory behind bridge: e0000000-e1ffffff
        Prefetchable memory behind bridge: d8000000-dfffffff
        Capabilities: [80] Power Management version 2

00:05.0 Multimedia audio controller: Cirrus Logic Crystal CS4281 PCI Audio (rev 01)
        Flags: bus master, medium devsel, latency 32, IRQ 11
        Memory at e2010000 (32-bit, non-prefetchable) [size=4K]
        Memory at e2000000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [40] Power Management version 2

00:10.0 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 80) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. VT6202 [USB 2.0 controller]
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at a000 [size=32]
        Capabilities: [80] Power Management version 2

00:10.1 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 80) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. VT6202 [USB 2.0 controller]
        Flags: bus master, medium devsel, latency 32, IRQ 5
        I/O ports at a400 [size=32]
        Capabilities: [80] Power Management version 2

00:10.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 80) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. VT6202 [USB 2.0 controller]
        Flags: bus master, medium devsel, latency 32, IRQ 10
        I/O ports at a800 [size=32]
        Capabilities: [80] Power Management version 2

00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) (prog-if 20 [EHCI])
        Subsystem: Micro-Star International Co., Ltd.: Unknown device 7380
        Flags: bus master, medium devsel, latency 32, IRQ 12
        Memory at e2011000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2

00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
        Subsystem: VIA Technologies, Inc. VT8235 ISA Bridge
        Flags: bus master, stepping, medium devsel, latency 0
        Capabilities: [c0] Power Management version 2

00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C/VT8235 PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
        Subsystem: Micro-Star International Co., Ltd.: Unknown device 7380
        Flags: bus master, medium devsel, latency 32
        I/O ports at ac00 [size=16]
        Capabilities: [c0] Power Management version 2

00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
        Subsystem: Micro-Star International Co., Ltd.: Unknown device 7380
        Flags: medium devsel, IRQ 10
        I/O ports at b000 [size=256]
        Capabilities: [c0] Power Management version 2

00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
        Subsystem: Micro-Star International Co., Ltd.: Unknown device 738c
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at b400 [size=256]
        Memory at e2012000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [40] Power Management version 2

01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1) (prog-if 00 [VGA])
        Subsystem: Micro-Star International Co., Ltd.: Unknown device 9110
        Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 11
        Memory at e0000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d8000000 (32-bit, prefetchable) [size=128M]
        Expansion ROM at <unassigned> [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
        Capabilities: [44] AGP version 3.0
And here's my lsmod

Code:
Module                  Size  Used by    Tainted: P
snd-seq-oss            26208   0  (autoclean) (unused)
snd-seq-midi            3488   0  (autoclean) (unused)
snd-seq-midi-event      3264   0  (autoclean) [snd-seq-oss snd-seq-midi]
snd-opl3-synth          9352   0  (autoclean) (unused)
snd-seq-instr           4864   0  (autoclean) [snd-opl3-synth]
snd-seq-midi-emul       4720   0  (autoclean) [snd-opl3-synth]
snd-ainstr-fm           1828   0  (autoclean) [snd-opl3-synth]
snd-seq                33488   2  (autoclean) [snd-seq-oss snd-seq-midi snd-seq-midi-event snd-opl3-synth snd-seq-instr snd-seq-midi-emul]
nvidia               1964896   6  (autoclean)
snd-pcm-oss            37860   0
snd-mixer-oss          12536   0  [snd-pcm-oss]
keybdev                 2052   0  (unused)
mousedev                4212   1
hid                    21092   0  (unused)
usbmouse                2040   0  (unused)
input                   3200   0  [keybdev mousedev hid usbmouse]
snd-cs4281             10656   0
snd-opl3-lib            5956   0  [snd-opl3-synth snd-cs4281]
snd-hwdep               4836   0  [snd-opl3-lib]
uhci                   24508   0  (unused)
ehci-hcd               17644   0  (unused)
usbcore                59436   1  [hid usbmouse uhci ehci-hcd]
snd-via82xx            12544   1
gameport                1420   0  [snd-cs4281 snd-via82xx]
snd-pcm                55880   1  [snd-pcm-oss snd-cs4281 snd-via82xx]
snd-timer              13572   0  [snd-seq snd-opl3-lib snd-pcm]
snd-ac97-codec         44508   0  [snd-cs4281 snd-via82xx]
snd-page-alloc          6324   0  [snd-via82xx snd-pcm]
snd-mpu401-uart         3200   0  [snd-via82xx]
snd-rawmidi            12768   0  [snd-seq-midi snd-cs4281 snd-mpu401-uart]
snd-seq-device          3888   0  [snd-seq-oss snd-seq-midi snd-opl3-synth snd-seq snd-opl3-lib snd-rawmidi]
snd                    30340   0  [snd-seq-oss snd-seq-midi snd-seq-midi-event snd-opl3-synth snd-seq-instr snd-seq snd-pcm-oss snd-mixer-oss snd-cs4281 snd-opl3-lib snd-hwdep snd-via82xx snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore               3396  12  [snd]
via-rhine              12464   1
mii                     2272   0  [via-rhine]
crc32                   2880   0  [via-rhine]
pcmcia_core            39972   0
ide-scsi                9360   0
agpgart                44036   3
root@localhost:~#
Anyone have any ideas?
 
Old 04-14-2004, 09:32 AM   #2
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 32
No sound at all? How about using "ogg123 -o oss /path/to/an/oggFile.ogg".

I have sound problems too, and can't see what's wrong with your set up, but the above works for me. Now I just need to work out how to get arts to use OSS and I'll be content.
 
Old 04-14-2004, 12:24 PM   #3
Darx
Member
 
Registered: Mar 2004
Posts: 52

Original Poster
Rep: Reputation: 15
Anyone?
 
Old 04-14-2004, 01:08 PM   #4
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
I dont have your sound card, and I am no expert in the field, but I would first check that onboard sound is disabled in your bios.

I would also read the alsa docs pertaining to your sound chip, it looks like this is the place:

http://www.alsa-project.org/alsa-doc...ule=cs4281#opt

you should not need to recompile alsa, except as a last resort, but there may be a tip in there somewhere that will help?

tobyl
 
Old 04-14-2004, 06:43 PM   #5
Nichole_knc
Member
 
Registered: Mar 2004
Location: Georgia
Distribution: SlackWare 10.1+, FreeBSD 4.4-5.2, Amiga 1.3,2.1,3.1, Windors XP Pro (makes a fair answering machine)
Posts: 287

Rep: Reputation: 30
I would say it is pretty easy to see where the problem may lay...
If you read your lspci and your lsmod you can see that BOTH of your sound devices have been idented and LOADED. It would be reasonable to assume that there is some conflict here. As suggested earlier check your bios or see if there is a jumper to kill on-board sound. Also when using ALSA you maust NOT load your sound via the kernel. You must only have sound support as (y) and none other as (y) under sound.
 
Old 04-14-2004, 08:37 PM   #6
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
http://www.alsa-project.org/alsa-doc...&module=cs4281

Uninstall all alsa packages.... Download the new ones.... I forget what comes with the default Slack 9.1..... I only use

alsa-driver
alsa-lib
alsa-utils

Download atleast those 3 and for alsa-driver.bz2 do a:

./configure --with-cards=cs4281 --with-sequencer=yes
make
make install

I like to do a:

./configure --with-cards=Blah
make
checkinstall

http://asic-linux.com.mx/~izto/check...5.3-i386-1.tgz

That way you have some nifty slak-paks to hold on to......
If you ever re-compile your kernel, you'll have to use 'pkgtool' to uninstall 'alsa-driver' and then re-install it again to replace your sound modules....

On the kernel config I only select:

Sound --->
<*> Sound card support

Thats it.... By installing alsa from source, the alsa-driver package will create all the necessary modules which are placed into:

/lib/modules/<uname -r>/kernel/sound

Thats all you should have to do.... Really easy and you get the latest ALSA to boot.....

I'd also like to agree with Nichole_knc......... Your on-board and PCI may be conflicting with eachother.... Your PCI card should supersede the onbaord sound.... Should anyway..... Blacklist those on-board modules from loading if thats the problem..... Maybe that would rectify the problem...

Last edited by jong357; 04-14-2004 at 08:42 PM.
 
Old 04-14-2004, 11:16 PM   #7
Darx
Member
 
Registered: Mar 2004
Posts: 52

Original Poster
Rep: Reputation: 15
Wow, thanks all, it works now. Turns out it was as simple as turning off onboard audio and rerunning alsaconf.

Heh, I'll still be storing everything you suggested somewhere though, jong. Never know when I'm gonna need this stuff with slackware.
 
Old 04-15-2004, 05:03 AM   #8
Nichole_knc
Member
 
Registered: Mar 2004
Location: Georgia
Distribution: SlackWare 10.1+, FreeBSD 4.4-5.2, Amiga 1.3,2.1,3.1, Windors XP Pro (makes a fair answering machine)
Posts: 287

Rep: Reputation: 30
Glad things worked out.....
 
  


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
Sound Problem: ESS (ES1869F-Chipset) No Sound computer_kid Slackware 9 08-02-2006 08:41 PM
Other problem with the sound in Mandrake - onboard sound card Swetko Linux - Hardware 24 06-19-2006 03:27 PM
5.1 sound problem (sound blaster live and suse) shadout Linux - Hardware 11 06-24-2005 12:46 AM
No sound, problem with sound card install? ak4me Linux - Hardware 2 03-06-2004 04:01 PM
Sound problem after installing/uninstalling JACK sound server bastupungen Linux - Software 1 02-28-2004 12:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:40 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