LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Red Hat Sound detection (https://www.linuxquestions.org/questions/red-hat-31/red-hat-sound-detection-182232/)

KMJ2004 05-16-2004 08:21 PM

Red Hat Sound detection
 
Hi! Everyone : )

Recently, I have installed the alsa driver in my enterprise redhat and my alsamixer is working. However, I have one problem

==> Why the redhat soundcard detection is still detecting the old oss-driver (es1371).
==> Since I have manually loaded the alsa driver, when I tried to test the detection, obviously, the soundcard detection can't detect. Is there any way that I can solve this problem?

Thanks for ur time : )

KMJ

vinay_s_s 05-17-2004 12:09 AM

redahat's tools are not alsa compatible.
So my bet would be that u use alsaconf to configure soundcards.

KMJ2004 05-17-2004 04:22 AM

using alsaconf? please elaborate... thanks.. : )

dafatdude 05-17-2004 10:19 AM

it's prolly a script.

try the following commands as root:

sndconfig
alsaconf

is the driver compiled as a module or into the kernel. If it's a module better make sure it's getting loaded at runtime.

Just my 2c :P

KMJ2004 05-17-2004 07:49 PM

Hmm... But still, after trying, I can't get my redhat linux to have sound...like when we click on any menu in the desktop. There should be some sound rite? How to make alsa driver to work on redhat linux as well??


Thanks... : )

ftetia 05-18-2004 03:38 PM

Hy,

Take look if there''s no oss module loaded or oss es1371 modules by /etc/modules.conf Verify by lsmod.
Did you have try to pass configure command like this

./configure --with-cards=es1371 --with-sequencer=yes (you'll have access to gnome-mixer)
make and make install
./sndevices.sh
- load modules and do your custom modules.conf
- kudzu (if you don't have an irq for your sound card - like me with AC'97 Audio Controller on Toshiba).
- Verify /proc/asound/cards; /proc/asound/modules; /proc/asound/devices and ect ....

- alsamixer for unmute master and pcm and the rest .

bye.

vinay_s_s 05-18-2004 07:37 PM

alsaconf is a prog/script in the alsa-utils package
if u didn't have alsa-utils, install it first. Its a really handy package

kenji1903 05-19-2004 06:20 AM

I'm having the same problem here!

Mines a built-in via82xx soundship... I've tried lots of attempts but still fail to get it to work :(

what's the output when you type alsamixer? my console window went blank, then it just hangs there... anyone know what happened?

I followed theTargos's ALSA howTo :D

KMJ2004 05-19-2004 08:10 PM

Hi Everyone,

Firstly, thanks for replying... :)

However, I had tried all the thiings that u all had written.

Is there any other way?

I believe that eventhough the alsa module is loaded, somehow, redhat is still detecting the old sound driver. Is there a way to change the path? : )

Or anyone knows where is the file that make redhat to detect the sound card?

Thanks a lot. : )

KMJ2004 05-19-2004 08:14 PM

Yah... one more thing... : )

probably, if I post my lsmod is easier to find out the fault. : )

The following is my lsmod.

Thanks again : )

Module Size Used by Not tainted
snd-seq-midi 5184 0 (unused)
snd-seq-midi-event 6048 0 [snd-seq-midi]
snd-seq 47600 0 [snd-seq-midi snd-seq-midi-event]
snd-ens1371 16544 0
snd-pcm 84608 0 [snd-ens1371]
snd-timer 19836 0 [snd-seq snd-pcm]
gameport 3364 0 [snd-ens1371]
snd-rawmidi 18816 0 [snd-seq-midi snd-ens1371]
snd-seq-device 6204 0 [snd-seq-midi snd-seq snd-rawmidi]
snd-ac97-codec 60092 0 [snd-ens1371]
snd 46308 0 [snd-seq-midi snd-seq-midi-event snd-seq snd-ens1371 snd-pcm snd-timer snd-rawmidi snd-seq-device snd-ac97-codec]
soundcore 6436 2 [snd]
nls_iso8859-1 3516 1 (autoclean)
udf 98464 0 (autoclean)
snd-page-alloc 9332 0 (autoclean) [snd-pcm]
parport_pc 19076 1 (autoclean)
lp 9028 0 (autoclean)
parport 37088 1 (autoclean) [parport_pc lp]
autofs 13364 0 (autoclean) (unused)
e1000 71712 1
sg 36940 0 (autoclean)
sr_mod 18104 2 (autoclean)
microcode 4724 0 (autoclean)
ide-scsi 12208 1
ide-cd 35680 0
cdrom 33696 0 [sr_mod ide-cd]
floppy 58160 0 (autoclean)
usb-storage 74624 0
keybdev 2976 0 (unused)
mousedev 5524 1
hid 22212 0 (unused)
input 5888 0 [keybdev mousedev hid]
ehci-hcd 20104 0 (unused)
usb-uhci 26412 0 (unused)
usbcore 79392 1 [usb-storage hid ehci-hcd usb-uhci]
ext3 91592 1
jbd 52336 1 [ext3]
ata_piix 3908 0 (unused)
libata 27716 0 [ata_piix]
sd_mod 13744 0
scsi_mod 108840 6 [sg sr_mod ide-scsi usb-storage ata_piix libata sd_mod]

vinay_s_s 05-19-2004 10:41 PM

post ur /etc/modules.conf

vinay_s_s 05-19-2004 10:42 PM

and ..

__dont__ use redhat-config-sound for soundcard detection since they dont support alsa.

KMJ2004 05-20-2004 05:34 AM

Hi !

This is mine modules.conf file.

Thanks for all your time. : )

alias eth0 e1000
alias scsi_hostadapter ata_piix
alias usb-controller usb-uhci
alias usb-controller1 ehci-hcd

# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-ens1371
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss



# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.4 ---
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-ens1371
alias sound-slot-0 snd-ens1371
# --- END: Generated by ALSACONF, do not edit. ---

vinay_s_s 05-20-2004 08:10 AM

change it to this:::

alias eth0 e1000
alias scsi_hostadapter ata_piix
alias usb-controller usb-uhci
alias usb-controller1 ehci-hcd

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.4 ---
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-ens1371
alias sound-slot-0 snd-ens1371
# --- END: Generated by ALSACONF, do not edit. ---


-------------------------------

i.e. since alsaconf does the work, dont add anything else realted to sound.
keep only the alsaconf stuff of sound part then, reboot.

vinay_s_s 05-20-2004 08:14 AM

also, if u want sounds on clicking and stuff like that, then
if KDE, the Control Centre -> Sounds and Multimedia -> System Notifications

if gnome, look around in the Desktop preferences for something called "sound" (may be)


All times are GMT -5. The time now is 02:06 PM.