LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Another 'no sound' problem... (https://www.linuxquestions.org/questions/slackware-14/another-no-sound-problem-170023/)

Darx 04-14-2004 09:14 AM

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?

pbhj 04-14-2004 09:32 AM

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.

Darx 04-14-2004 12:24 PM

Anyone?

tobyl 04-14-2004 01:08 PM

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

Nichole_knc 04-14-2004 06:43 PM

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.

jong357 04-14-2004 08:37 PM

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...

Darx 04-14-2004 11:16 PM

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.

Nichole_knc 04-15-2004 05:03 AM

Glad things worked out.....


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