LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Alsa sound problem, RH9, 2.4.20-8 mismach 2.4.20-8custom (https://www.linuxquestions.org/questions/linux-software-2/alsa-sound-problem-rh9-2-4-20-8-mismach-2-4-20-8custom-90077/)

Bultza 09-07-2003 01:12 AM

Alsa sound problem, RH9, 2.4.20-8 modprobe mismach 2.4.20-8custom
 
First of all sorry for my english, but is not my first language;)
The last week my old motherboard decided to get me out of his way, he crased. I had to bought a new motherboard with the $ or € that can represent that.

I use Red Hat 9 with the kernel 2.4.20-8, and the sound card is detected in a bad way, my new motherboard is Asus A7v8x, in google i found a lot of people using this motherboard, with a sound working properly, but only with the alsa modules...

So after a few minutes (or hours) of search i found that people use the via82xx alsa module to control the sound.
The instructions of the installing this module are told in this page: vvvvvv.alsa-project.org/alsa-doc/doc-php/template.php3?company=Analog+Devices&card=AD1980&chip=AD1980&module=via82xx
People talking about the problems and solutions of the installation is in this other page:
vvvvvv.linuxquestions.org/questions/archive/18/2003/05/3/58078
and here:
vvvvvv.linuxquestions.org/questions/archive/18/2003/03/1/35469

I followed all the instructions, configuring compiling and installing the modules.... :scratch: but in this step i have problems:

modprobe snd-card-via82xx

the answer is: Can't locate module

So i searched the module and is in /lib/modules/2.4.20-8custom/* instead of /lib/modules/2.4.20-8/* (I supossed that the custom folder was created when i compiled the kernel to make work my old usb modem). i realised that modprobe only works in the default folder /lib/modules/2.4.20-8/*, not in the customed. So I tryed 2 thigs:

1ºCopy the sound folder from customed folder and update the modules.dep

2º Or, before compiling the module, i made: ./configure --with-moddir=/lib/modules/2.4.20-8/ --with.....*

The result in the 2 ways when i tryed to make modprobe was somethig like:
module compiled for 2.4.20-8custom, :tisk: version mishmach 2.4.20-8

I lost my nerves hours ago, aaaaa,

My questions are:

How can i run modprobe in the custom folder and not in the default one?
May be i lost somethig reading instructions of other people?

Is there a better way to make run my sound?
Should i still listening my voice singing instead of my stupid soundcard?
What is brong? Lalalalalalala

Thanks for ur time!

jamiethekiwi 09-25-2003 05:03 PM

I also use a A7V8X-X with Redhat 9.0 with kernel 2.4.20-9.
I installed the ALSA driver, utils, and lib using a rpm from freshrpms.net.

When i use "play" to play wave file, it seems like its playing, but i dont get anything out, no errors either...

Still cant get any sound after i tried everything i can find on the web, still verymuch a newbie, so if anyone can help that would be great...

Jamie

apepost 10-21-2003 01:10 PM

Re: Alsa sound problem, RH9, 2.4.20-8 modprobe mismach 2.4.20-8custom
 
Quote:

Originally posted by Bultza



I followed all the instructions, configuring compiling and installing the modules.... :scratch: but in this step i have problems:

modprobe snd-card-via82xx


First an answer to Bultza
type /sbin/modprobe snd-card-via82xx

So a question to everyone
i cant make my soundcard work. here is some outputs:
[root@bjornarxp sbin]# /sbin/lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400 AGP] Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 50)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0322 (rev a1)
[root@bjornarxp sbin]# /sbin/lspci -v
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400 AGP] Host Bridge
Subsystem: Asustek Computer, Inc.: Unknown device 807f
Flags: bus master, 66Mhz, medium devsel, latency 0
Memory at f8000000 (32-bit, prefetchable) [size=64M]
Capabilities: [80] AGP version 3.5
Capabilities: [c0] Power Management version 2

00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge (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: ee000000-efefffff
Prefetchable memory behind bridge: eff00000-f7ffffff
Capabilities: [80] Power Management version 2

00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
Subsystem: Asustek Computer, Inc.: Unknown device 80a1
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at d800 [size=32]
Capabilities: [80] Power Management version 2

00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
Subsystem: Asustek Computer, Inc.: Unknown device 80a1
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at d400 [size=32]
Capabilities: [80] Power Management version 2

00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
Subsystem: Asustek Computer, Inc.: Unknown device 80a1
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at d000 [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: Asustek Computer, Inc.: Unknown device 80a1
Flags: bus master, medium devsel, latency 32, IRQ 10
Memory at ed800000 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2

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

00:11.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
Subsystem: Asustek Computer, Inc.: Unknown device 80a1
Flags: bus master, medium devsel, latency 32
I/O ports at b800 [size=16]
Capabilities: [c0] Power Management version 2

00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 50)
Subsystem: Asustek Computer, Inc.: Unknown device 80a1
Flags: medium devsel, IRQ 3
I/O ports at e000 [size=256]
Capabilities: [c0] Power Management version 2

00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
Subsystem: Asustek Computer, Inc.: Unknown device 80a1
Flags: bus master, stepping, medium devsel, latency 32, IRQ 5
I/O ports at b400 [size=256]
Memory at ed000000 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 2

01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0322 (rev a1) (prog-if 00 [VGA])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 9171
Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 11
Memory at ee000000 (32-bit, non-prefetchable) [size=16M]
Memory at f0000000 (32-bit, prefetchable) [size=128M]
Expansion ROM at effe0000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 3.0

[root@bjornarxp sbin]#
[root@bjornarxp sbin]# /sbin/lsmod
Module Size Used by Tainted: P[/b]
snd-seq-oss 34144 0 (unused)
snd-seq-midi-event 5672 0 [snd-seq-oss]
snd-seq 46864 2 [snd-seq-oss snd-seq-midi-event]
snd-pcm-oss 44836 0 (unused)
snd-mixer-oss 16184 0 [snd-pcm-oss]
snd-via82xx 16608 0 (unused)
snd-pcm 84480 0 [snd-pcm-oss snd-via82xx]
snd-page-alloc 8372 0 [snd-via82xx snd-pcm]
snd-timer 19716 0 [snd-seq snd-pcm]
snd-ac97-codec 47688 0 [snd-via82xx]
snd-mpu401-uart 5136 0 [snd-via82xx]
snd-rawmidi 18496 0 [snd-mpu401-uart]
snd-seq-device 6204 0 [snd-seq-oss snd-seq snd-rawmidi]
snd 43716 0 [snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-via82xx snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]

udf 97504 0 (autoclean)
soundcore 6276 6 (autoclean) [snd]
nvidia 1766848 11 (autoclean)
parport_pc 18756 1 (autoclean)
lp 8868 0 (autoclean)
parport 36480 1 (autoclean) [parport_pc lp]
autofs 12948 0 (autoclean) (unused)
via-rhine 15568 1
mii 3944 0 [via-rhine]
sg 35980 0 (autoclean)
sr_mod 17912 2 (autoclean)
ide-scsi 11984 1
scsi_mod 106200 3 [sg sr_mod ide-scsi]
ide-cd 35196 0
cdrom 33472 0 [sr_mod ide-cd]
nls_iso8859-1 3484 2 (autoclean)
nls_cp437 5116 1 (autoclean)
vfat 12844 1 (autoclean)
fat 38328 0 (autoclean) [vfat]
keybdev 2880 0 (unused)
mousedev 5428 1
hid 21700 0 (unused)
input 5792 0 [keybdev mousedev hid]
usb-uhci 25868 0 (unused)
ehci-hcd 19592 0 (unused)
usbcore 77696 1 [hid usb-uhci ehci-hcd]
ext3 69984 1
jbd 51220 1 [ext3]
[root@bjornarxp sbin]#
[root@bjornarxp sbin]# cat /etc/modules.conf
alias eth0 via-rhine
alias usb-controller ehci-hcd
alias usb-controller1 usb-uhci
alias char-major-195 nvidia
alias sound-slot-0 via_82cxxx
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :

[root@bjornarxp sbin]#
i have bolded the text i think is important.
and one last output
[root@bjornarxp sbin]# alsamixer

alsamixer: function snd_ctl_open failed for default: No such file or directory.

can you help me?


All times are GMT -5. The time now is 02:37 AM.