LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 05-16-2004, 08:21 PM   #1
KMJ2004
LQ Newbie
 
Registered: May 2004
Posts: 12

Rep: Reputation: 0
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
 
Old 05-17-2004, 12:09 AM   #2
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
redahat's tools are not alsa compatible.
So my bet would be that u use alsaconf to configure soundcards.
 
Old 05-17-2004, 04:22 AM   #3
KMJ2004
LQ Newbie
 
Registered: May 2004
Posts: 12

Original Poster
Rep: Reputation: 0
using alsaconf? please elaborate... thanks.. : )
 
Old 05-17-2004, 10:19 AM   #4
dafatdude
LQ Newbie
 
Registered: Oct 2003
Posts: 18

Rep: Reputation: 0
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

Last edited by dafatdude; 05-17-2004 at 10:20 AM.
 
Old 05-17-2004, 07:49 PM   #5
KMJ2004
LQ Newbie
 
Registered: May 2004
Posts: 12

Original Poster
Rep: Reputation: 0
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... : )
 
Old 05-18-2004, 03:38 PM   #6
ftetia
LQ Newbie
 
Registered: Mar 2004
Location: Paris
Distribution: Redhat 9
Posts: 17

Rep: Reputation: 0
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.
 
Old 05-18-2004, 07:37 PM   #7
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
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
 
Old 05-19-2004, 06:20 AM   #8
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
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
 
Old 05-19-2004, 08:10 PM   #9
KMJ2004
LQ Newbie
 
Registered: May 2004
Posts: 12

Original Poster
Rep: Reputation: 0
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. : )
 
Old 05-19-2004, 08:14 PM   #10
KMJ2004
LQ Newbie
 
Registered: May 2004
Posts: 12

Original Poster
Rep: Reputation: 0
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]
 
Old 05-19-2004, 10:41 PM   #11
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
post ur /etc/modules.conf
 
Old 05-19-2004, 10:42 PM   #12
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
and ..

__dont__ use redhat-config-sound for soundcard detection since they dont support alsa.
 
Old 05-20-2004, 05:34 AM   #13
KMJ2004
LQ Newbie
 
Registered: May 2004
Posts: 12

Original Poster
Rep: Reputation: 0
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. ---
 
Old 05-20-2004, 08:10 AM   #14
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
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.
 
Old 05-20-2004, 08:14 AM   #15
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
No sound in Red hat 8.0 tonan Linux - Hardware 4 09-28-2004 08:57 AM
Red Hat 9 & modem detection digitalhead Red Hat 4 06-18-2004 08:45 PM
Red Hat linux sound card detection problems cprogrck Linux - Newbie 4 05-25-2004 06:26 PM
Client machine hardware and software detection using a program in red hat 9 network. Mohit.Project Linux - Networking 1 01-28-2004 01:46 PM
No Sound Red Hat 7.3 wavydavey Linux - Hardware 27 08-03-2003 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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