LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   DamnSmallLinux (https://www.linuxquestions.org/questions/damnsmalllinux-42/)
-   -   Audio card not working (https://www.linuxquestions.org/questions/damnsmalllinux-42/audio-card-not-working-910996/)

mmtt22 10-30-2011 10:55 PM

Audio card not working
 
As you might tell from other threads I have been tinkering with dsl on some quite old hardware. I've come to like it alot. But I once again run into a problem: my sound card isn't working. When I boot it says something about loading a driver for a sound card and even shows it in system stats under hardware. But when I play an audio file I get a message telling me to check stuff like audio drivers and if it's recognized. I'm clueless. Under system stats it comes up as Rockwell chameleon combo card [ ac97 audio controller ] an driver as via82cxxx_audio. I don't think that's my sound card but im not sure what It is so I will check soon.

If you guys want more specifics just ask. I'm willing to cooperate and am active ( I won't just post this and never say anything again )

All help I appreciated
Thanks

camorri 10-31-2011 06:41 PM

I spent some time googling to try and find a driver. Here is a link to the driver...

-->http://www.linuxant.com/drivers/riptide/index.php

This is an old card, and the notes says it works with 2.2 and 2.4 kernels; and its OSS not Alsa.

You need to compile the driver. If you look at the bottom left of that page, you will see other links to the Riptide Audio driver.

I do not have this hardware, so I have no experience with it. Best of luck...

aus9 10-31-2011 08:14 PM

hi

yeah good luck if oss works stay with it otherwise readon

alsa has (put in a code box for display purposes only)

Module snd-via82xx

Code:

    Module for AC'97 motherboards based on VIA 82C686A/686B, 8233,
    8233A, 8233C, 8235, 8237 (south) bridge.

    mpu_port        - 0x300,0x310,0x320,0x330, otherwise obtain BIOS setup
                  [VIA686A/686B only]
    joystick        - Enable joystick (default off) [VIA686A/686B only]
    ac97_clock        - AC'97 codec clock base (default 48000Hz)
    dxs_support        - support DXS channels,
                  0 = auto (default), 1 = enable, 2 = disable,
                  3 = 48k only, 4 = no VRA, 5 = enable any sample
                  rate and different sample rates on different
                  channels
                  [VIA8233/C, 8235, 8237 only]
    ac97_quirk  - AC'97 workaround for strange hardware
                  See "AC97 Quirk Option" section below.

    This module supports one chip and autoprobe.

    Note: on some SMP motherboards like MSI 694D the interrupts might
          not be generated properly.  In such a case, please try to
          set the SMP (or MPS) version on BIOS to 1.1 instead of
          default value 1.4.  Then the interrupt number will be
          assigned under 15. You might also upgrade your BIOS.
   
    Note: VIA8233/5/7 (not VIA8233A) can support DXS (direct sound)
          channels as the first PCM.  On these channels, up to 4
          streams can be played at the same time, and the controller
          can perform sample rate conversion with separate rates for
          each channel.
          As default (dxs_support = 0), 48k fixed rate is chosen
          except for the known devices since the output is often
          noisy except for 48k on some mother boards due to the
          bug of BIOS.
          Please try once dxs_support=5 and if it works on other
          sample rates (e.g. 44.1kHz of mp3 playback), please let us
          know the PCI subsystem vendor/device id's (output of
          "lspci -nv").
          If dxs_support=5 does not work, try dxs_support=4; if it
          doesn't work too, try dxs_support=1.  (dxs_support=1 is
          usually for old motherboards.  The correct implemented
          board should work with 4 or 5.)  If it still doesn't
          work and the default setting is ok, dxs_support=3 is the
          right choice.  If the default setting doesn't work at all,
          try dxs_support=2 to disable the DXS channels.
          In any cases, please let us know the result and the
          subsystem vendor/device ids.  See "Links and Addresses"
          below.

    Note: for the MPU401 on VIA823x, use snd-mpu401 driver
          additionally.  The mpu_port option is for VIA686 chips only.

    The power-management is supported.

if you go down alsa path consider posting the output of your local file you generate for
http://www.alsa-project.org/alsa-info.sh

when you download the script it changes its name then make it executable
chmod +x (sciptname)

Otherwise post the output of

Code:

lspci -v
this should give us an idea of your chipsets

mmtt22 10-31-2011 11:14 PM

Thanks for the link to the driver! I'll try it out tommorow and report back with results. hopefully it works. I think riptide is the audio card now that I think about it.

If not I'll try what aus9 said.

mmtt22 11-01-2011 01:06 PM

Ok so I tried the driver this morning. But I'm having an issue. Here's what I did. I downloaded the tar.gz for the riptide card. Extracted it in the prompt and navigated to the folder, where I ran make install. But it says, bash: make: command not found. So how do I fix this? The only thin I did differently was change the folder name so it was easier to type in.

Or should I move on or try something else?

colorpurple21859 11-01-2011 01:23 PM

I believe you need to install kernelsource, gnu-utils and gcc1-with-libs to compile drivers

camorri 11-01-2011 02:33 PM

I agree, let us know what happens when you get the kernel source, gnu-utils etc. installed.

mmtt22 11-01-2011 05:28 PM

unfortunately after installing the three packages it still gives me errors. but there is progress.
heres my terminal:

root@box:/home/dsl# cd riptide
root@box:/home/dsl/riptide# make install
make[1]: Entering directory `/home/dsl/riptide/scripts'
install -m 755 ripconfig ripstop /usr/sbin
make[1]: Leaving directory `/home/dsl/riptide/scripts'
../modules/kernelcompiler.sh: gcc version 2.95.4 or similar is required to compile modules for your kernel
make[1]: Entering directory `/home/dsl/riptide/modules'
rm -rf "/usr/lib/riptide/config.mak" "/usr/lib/riptide/modules"
mkdir -m 755 -p /usr/lib/riptide/modules
prevsum=""; md5sum `find binaries -type f -print` </dev/null | sort | while read sum file ; do \
if [ "$sum" = "$prevsum" ] && cmp -s "$file" "$prevfile"; then \
rm -f "$file"; \
ln "$prevfile" "$file"; \
else \
prevsum="$sum"; \
prevfile="$file"; \
fi; \
done
(cd .. && find config.mak -depth -print | cpio -pdm /usr/lib/riptide)
cpio: invalid option -- p
BusyBox v1.2.2 (2006.12.07-15:23+0000) multi-call binary

Usage: find [PATH...] [EXPRESSION]

BusyBox v1.2.2 (2006.12.07-15:23+0000) multi-call binary

Usage: cpio -[dimtuv][F cpiofile]

make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/dsl/riptide/modules'
make: *** [install] Error 2


and i tried using ripconfig. it gives some confusing results:

dsl@box:~$ ripconfig
Linux RIPTIDE audio/communication drivers, version 0.6lnxtbeta03122800

WARNING: this is an EXPERIMENTAL BETA VERSION of the RIPTIDE drivers for Linux.
USE AT YOUR OWN RISK! See the file /usr/lib/riptide/LICENSE for details.

Conexant Systems neither distributes nor maintains this package.
PLEASE DO NOT CONTACT CONEXANT REGARDING THIS SOFTWARE!!!

If you require assistance or need more information, go to:
http://www.linuxant.com/drivers

When reporting a problem for the first time, please send
us the file generated by "ripconfig --dumpdiag".

RIPTIDE drivers have not been fully tested on SMP kernels.
Please report results to <riptide-bugs@linuxant.com>

This package does not contain pre-built modules suitable for your system:
Distribution: Debian-testing/unstable
Kernel arch: i686-SMP
Kernel version: linux-2.4.31

Please obtain the appropriate variant of this package for your system
or try the generic RPM or tar version.


hopefully you guys can do something with what i posted.thanks for your help so far though!

cascade9 11-01-2011 06:14 PM

Doubtful you will get it going-

Quote:

This package contains Linux drivers for the Conexant (Rockwell) RipTide Audio/Communication Controller.

These drivers are not fully tested and no longer being actively developed, because they are based on the OSS interface, which will soon be obsoleted in favor of ALSA.
http://www.linuxant.com/drivers/riptide/index.php

There as talk that the riptide drivers had been made to work with alsa, but that was a long time ago-

http://linmodems.technion.ac.il/arch.../msg04621.html

IMO its not worth trying that hard anyway, a 'not good but better than AC-97' sound card which works with linux is worth, ohh, about $5 these days......

mmtt22 11-01-2011 06:19 PM

I would still like to try to get them to work. Anybody know how I can fix this still?

aus9 11-01-2011 06:24 PM

if that oss is not playing or too time consuming etc be aware of my post showing there is the ac97 quirk

so pls post your lspci -v in a code box but add I need to see your full output for

lsmod

2) it is possible to forecast...you have alsa already running...and the module loaded has not used the quirk feature.
I can build you a blacklist module config or a remove alsa modules so that you can manually test something like

Code:

su
modprobe snd-via82xx ac97_quirk

but VIA823x and VIA686 chipset need to be resolved as well and thats down with your output of lspci -v

aus9 11-01-2011 06:30 PM

I forgot to mention that I still have some browser issues so prefer not to edit.

if you prefer to try my alsa attempted solution I will also need to know what configs you have
ie
any asoundrc?
any modprobe.conf
any rc.local entry for sound

to give you a better idea of my plans for you...if I am any good? here is my howto

http://techpatterns.com/forums/about1813.html

altho its designed for deb users I am sure other alsa users if have skills can follow it as well

good luck

---------- Post added 02-11-11 at 07:30 ----------

I forgot to mention that I still have some browser issues so prefer not to edit.

if you prefer to try my alsa attempted solution I will also need to know what configs you have
ie
any asoundrc?
any modprobe.conf
any rc.local entry for sound

to give you a better idea of my plans for you...if I am any good? here is my howto

http://techpatterns.com/forums/about1813.html

altho its designed for deb users I am sure other alsa users if have skills can follow it as well

good luck

mmtt22 11-01-2011 06:37 PM

here is my output for lspci -v:

Code:

root@box:/home/dsl# lspci -v
00:00.0 Host bridge: Intel Corporation 82810 GMCH [Graphics Memory Controller Hub] (rev 03)
        Flags: bus master, fast devsel, latency 0

00:01.0 VGA compatible controller: Intel Corporation 82810 CGC [Chipset Graphics Controller] (rev 03) (prog-if 00 [VGA controller])
        Subsystem: Intel Corporation Unknown device 7123
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 10
        Memory at f8000000 (32-bit, prefetchable) [size=64M]
        Memory at f4000000 (32-bit, non-prefetchable) [size=512K]
        Capabilities: [dc] Power Management version 1

00:1e.0 PCI bridge: Intel Corporation 82801AA PCI Bridge (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=168
        I/O behind bridge: 00002000-00002fff
        Memory behind bridge: f4100000-f41fffff
        Kernel modules: i810_rng, hw_random

00:1f.0 ISA bridge: Intel Corporation 82801AA ISA Bridge (LPC) (rev 02)
        Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corporation 82801AA IDE Controller (rev 02) (prog-if 80 [Master])
        Subsystem: Intel Corporation 82801AA IDE Controller
        Flags: bus master, medium devsel, latency 0
        I/O ports at 10a0 [size=16]

00:1f.2 USB Controller: Intel Corporation 82801AA USB Controller (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation 82801AA USB Controller
        Flags: bus master, medium devsel, latency 0, IRQ 11
        I/O ports at 1080 [size=32]
        Kernel modules: usb-uhci, uhci

00:1f.3 SMBus: Intel Corporation 82801AA SMBus Controller (rev 02)
        Subsystem: Intel Corporation 82801AA SMBus Controller
        Flags: medium devsel, IRQ 5
        I/O ports at 10b0 [size=16]

01:08.0 FireWire (IEEE 1394): Texas Instruments TSB12LV23 IEEE-1394 Controller (prog-if 10 [OHCI])
        Subsystem: Ads Technologies Inc Unknown device 0000
        Flags: bus master, medium devsel, latency 64, IRQ 10
        Memory at f4104000 (32-bit, non-prefetchable) [size=2K]
        Memory at f4100000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [44] Power Management version 1
        Kernel modules: ohci1394

01:09.0 Multimedia audio controller: Rockwell International Unknown device 4310
        Subsystem: Risq Modular Systems, Inc. Unknown device 4310
        Flags: bus master, medium devsel, latency 64, IRQ 5
        I/O ports at 2000 [disabled] [size=64]
        Capabilities: [40] Power Management version 1

01:09.1 Communication controller: Rockwell International Riptide HSF 56k PCI Modem
        Subsystem: Risq Modular Systems, Inc. Unknown device 4311
        Flags: bus master, medium devsel, latency 64, IRQ 5
        Memory at f4110000 (32-bit, non-prefetchable) [disabled] [size=64K]
        Capabilities: [40] Power Management version 1

01:09.2 Input device controller: Rockwell International Unknown device 4312
        Subsystem: Risq Modular Systems, Inc. Unknown device 4312
        Flags: bus master, medium devsel, latency 0
        Memory at f4105000 (32-bit, non-prefetchable) [disabled] [size=4K]
        Capabilities: [40] Power Management version 1

01:0b.0 Ethernet controller: 3Com Corporation 3c900B-TPO Etherlink XL [Cyclone] (rev 04)
        Subsystem: 3Com Corporation 3C900B-TPO Etherlink XL TPO 10Mb
        Flags: bus master, medium devsel, latency 80, IRQ 11
        I/O ports at 2080 [size=128]
        Memory at f4104800 (32-bit, non-prefetchable) [size=128]
        Expansion ROM at <unassigned> [disabled] [size=128K]
        Capabilities: [dc] Power Management version 1
        Kernel modules: 3c59x

and for lsmod:

Code:

dsl@box:~$ lsmod
Module                  Size  Used by    Not tainted
soundcore              3428  0 (autoclean)
mousedev                3832  0 (unused)
hid                    22788  0 (unused)
input                  3168  0 [mousedev hid]
cloop                  39364  0 (unused)
af_packet              13608  0 (autoclean)
nls_iso8859-1          2844  0 (autoclean)
nls_cp437              4348  0 (autoclean)
3c59x                  26064  1
i810_rng                2660  0 (unused)
serial                52196  0 (autoclean)
ohci1394              22888  0 (unused)
ieee1394              183300  0 [ohci1394]
usb-uhci              21708  0 (unused)
usbcore                58240  1 [hid usb-uhci]
pcmcia_core            39840  0
ide-cd                28768  0
ide-scsi                9264  0
rtc                    7004  0 (autoclean)

i didnt quite get what you meant in the latest post, sorry. i had no clue what you were trying to say. hopefully this helps

aus9 11-01-2011 09:19 PM

ok so we have
01:09.0 Multimedia audio controller: Rockwell International Unknown device 4310
Subsystem: Risq Modular Systems, Inc. Unknown device 4310
Flags: bus master, medium devsel, latency 64, IRQ 5
I/O ports at 2000 [disabled] [size=64]
Capabilities: [40] Power Management version 1

and you have no sound module loaded. good start eh?

http://pci-ids.ucw.cz/v2.2/pci.ids
search Rockwell ....no hits your audio device but its shows [disabled]
search for Risq ...one irrelevant entry

question...Have you any bios settings to disable this device

2) I assume you do not need the modem? if so can you disable it?

---------- Post added 02-11-11 at 10:19 ----------

ok so we have
01:09.0 Multimedia audio controller: Rockwell International Unknown device 4310
Subsystem: Risq Modular Systems, Inc. Unknown device 4310
Flags: bus master, medium devsel, latency 64, IRQ 5
I/O ports at 2000 [disabled] [size=64]
Capabilities: [40] Power Management version 1

and you have no sound module loaded. good start eh?

http://pci-ids.ucw.cz/v2.2/pci.ids
search Rockwell ....no hits your audio device but its shows [disabled]
search for Risq ...one irrelevant entry

question...Have you any bios settings to disable this device

2) I assume you do not need the modem? if so can you disable it?

aus9 11-01-2011 09:21 PM

since your sound modules are loading properly and I don't use them can you post a link as to the steps you took pls?

yes I am aware we may not have any sound module but lets eliminate any build issues?


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