LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-17-2009, 06:31 AM   #1
bhageshp
Member
 
Registered: Sep 2008
Location: Mumbai
Distribution: Redhat
Posts: 41

Rep: Reputation: 16
Unhappy Sound Driver not detected



I have dual booting with RHEL5.2 and Windows XP on my system.
My problem is that it is not detecting my PCI-Audio card "Enter E-4CS" with "creative ev1938" chipset. The same is working properly in windows.

If any idea to solve my problem ...

Last edited by bhageshp; 09-22-2009 at 05:36 AM.
 
Old 09-19-2009, 03:07 AM   #2
j_jerry
Member
 
Registered: Sep 2009
Distribution: fedora 11
Posts: 318

Rep: Reputation: 46
Do the following to know whether the modules is loaded:


Code:
$ lsmod | grep snd
$ cat /proc/asound/cards

If not try loading the alsa driver manually :


Code:
modprobe snd_ens1371

Last edited by j_jerry; 09-19-2009 at 03:31 AM.
 
Old 09-20-2009, 11:36 PM   #3
bhageshp
Member
 
Registered: Sep 2008
Location: Mumbai
Distribution: Redhat
Posts: 41

Original Poster
Rep: Reputation: 16
I got the output of the commands as like this

#lsmod | grep snd
snd_ens1371 28513 1
snd_au8830 50549 0
snd_seq_dummy 7877 0
snd_intel8x0m 20685 0
snd_ac97_codec 93025 3 snd_ens1371,snd_au8830,snd_intel8x0m
ac97_bus 6337 1 snd_ac97_codec
snd_seq_oss 32577 0
snd_seq_midi_event 11073 1 snd_seq_oss
snd_seq 49585 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 42945 0
snd_mixer_oss 19009 1 snd_pcm_oss
snd_pcm 72005 5 snd_ens1371,snd_au8830,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss
gameport 18633 4 snd_ens1371,snd_au8830,ns558
snd_mpu401 12265 0
snd_mpu401_uart 12097 2 snd_au8830,snd_mpu401
snd_rawmidi 26561 2 snd_ens1371,snd_mpu401_uart
snd_seq_device 11725 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd_timer 24517 2 snd_seq,snd_pcm
snd 52421 16 snd_ens1371,snd_au8830,snd_intel8x0m,snd_ac97_codec,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,sn d_pcm,snd_mpu401,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_timer
soundcore 11553 1 snd
snd_page_alloc 14281 2 snd_intel8x0m,snd_pcm



#cat /proc/asound/cards
0 [AudioPCI ]: ENS1371 - Ensoniq AudioPCI
Ensoniq AudioPCI ENS1371 at 0xc000, irq 12
1 [UART ]: MPU-401 UART - MPU-401 UART
MPU-401 UART at 0x300, irq 10
 
Old 09-22-2009, 05:34 AM   #4
bhageshp
Member
 
Registered: Sep 2008
Location: Mumbai
Distribution: Redhat
Posts: 41

Original Poster
Rep: Reputation: 16
Unhappy Sound Driver Not detecting

Anybody have an idea to install proper drive for my sound card on linux
....
 
Old 09-22-2009, 05:49 AM   #5
j_jerry
Member
 
Registered: Sep 2009
Distribution: fedora 11
Posts: 318

Rep: Reputation: 46
Looks like your soundcard is detected. It may be a problem with ALSA or OSS.

Can't you see your card in the sound settings ?

Read this guide: http://articles.techrepublic.com.com...1-1062281.html
(You shouldn't need to install ALSA if you're sure that latest ALSA is installed)
 
Old 09-24-2009, 04:40 AM   #6
bhageshp
Member
 
Registered: Sep 2008
Location: Mumbai
Distribution: Redhat
Posts: 41

Original Poster
Rep: Reputation: 16
Unhappy Error While Compiling ALSA Driver

I tried to compile ALSA driver but i was stuck with Error

# lspci|grep audio
01:00.0 Multimedia audio controller: Creative Labs Ectiva EV1938
-------------------------------------------------------------------------
# tar -jxvf alsa-driver-1.0.21.tar.bz2

-------------------------------------------------------------------------
# cd alsa-driver-1.0.21

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

# ./configure --with-isapnp=no --with-sequencer=yes --with-oss=no --with-cards=ALL
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
.
.
.
.
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: WARNING: Makefile.conf.in seems to ignore the --datarootdir setting
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating utils/alsasound
config.status: creating utils/alsasound.posix
config.status: creating include/pci_ids_compat.h
config.status: creating include/i2c-id_compat.h
config.status: creating include/config.h
config.status: creating include/config1.h
config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
Hacking autoconf.h...


------------------------------------------------------------------------------------------------------------------------------------------
# make
if [ ! -d include/sound -a ! -L include/sound ]; then \
ln -sf ../alsa-kernel/include include/sound ; \
fi
cp -puvf include/version.h include/sound/version.h
`include/version.h' -> `include/sound/version.h'
make dep
make[1]: Entering directory `/root/alsa/alsa-driver-1.0.21'
make[2]: Entering directory `/root/alsa/alsa-driver-1.0.21/acore'
copying file alsa-kernel/core/info.c
patching file info.c
copying file alsa-kernel/core/pcm.c
patching file pcm.c
Hunk #2 succeeded at 923 (offset 13 lines).
Hunk #4 succeeded at 951 (offset 13 lines).
Hunk #5 succeeded at 993 (offset 1 line).
copying file alsa-kernel/core/pcm_native.c
patching file pcm_native.c
copying file alsa-kernel/core/control.c
patching file control.c
.
.
.
.
.
.
patching file device.c
Hunk #2 succeeded at 132 (offset 11 lines).
Hunk #3 succeeded at 383 with fuzz 1 (offset 12 lines).
copying file alsa-kernel/usb/caiaq/input.c
patching file input.c
make[3]: Leaving directory `/root/alsa/alsa-driver-1.0.21/usb/caiaq'
make[3]: Entering directory `/root/alsa/alsa-driver-1.0.21/usb/usx2y'
copying file alsa-kernel/usb/usx2y/usX2Yhwdep.c
patching file usX2Yhwdep.c
Hunk #2 succeeded at 48 with fuzz 2 (offset -3 lines).
Hunk #4 succeeded at 152 (offset -3 lines).
Hunk #5 succeeded at 194 (offset -10 lines).
Hunk #6 succeeded at 257 (offset -3 lines).
Hunk #7 succeeded at 303 (offset -11 lines).
copying file alsa-kernel/usb/usx2y/usbusx2y.c
patching file usbusx2y.c
Hunk #8 succeeded at 416 (offset -1 lines).
Hunk #9 succeeded at 443 (offset 1 line).
Hunk #10 succeeded at 462 (offset -1 lines).
Hunk #11 succeeded at 525 (offset 1 line).
Hunk #12 succeeded at 543 (offset -1 lines).
copying file alsa-kernel/usb/usx2y/usbusx2yaudio.c
patching file usbusx2yaudio.c
Hunk #3 succeeded at 316 (offset 1 line).
Hunk #5 succeeded at 365 (offset 1 line).
Hunk #7 succeeded at 407 (offset 1 line).
Hunk #9 succeeded at 547 (offset 1 line).
Hunk #11 succeeded at 1060 (offset 2 lines).
copying file alsa-kernel/usb/usx2y/usx2yhwdeppcm.c
patching file usx2yhwdeppcm.c
make[3]: Leaving directory `/root/alsa/alsa-driver-1.0.21/usb/usx2y'
make[2]: Leaving directory `/root/alsa/alsa-driver-1.0.21/usb'
make[2]: Entering directory `/root/alsa/alsa-driver-1.0.21/pcmcia'
make[3]: Entering directory `/root/alsa/alsa-driver-1.0.21/pcmcia/pdaudiocf'
make[3]: Leaving directory `/root/alsa/alsa-driver-1.0.21/pcmcia/pdaudiocf'
make[3]: Entering directory `/root/alsa/alsa-driver-1.0.21/pcmcia/vx'
make[3]: Leaving directory `/root/alsa/alsa-driver-1.0.21/pcmcia/vx'
make[2]: Leaving directory `/root/alsa/alsa-driver-1.0.21/pcmcia'
make[1]: Leaving directory `/root/alsa/alsa-driver-1.0.21'
make -C /lib/modules/2.6.18-92.el5/source SUBDIRS=/root/alsa/alsa-driver-1.0.21 CPP="gcc -E" CC="gcc" modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-92.el5-i686'
CC [M] /root/alsa/alsa-driver-1.0.21/acore/wrappers.o
CC [M] /root/alsa/alsa-driver-1.0.21/acore/misc_driver.o
In file included from /root/alsa/alsa-driver-1.0.21/acore/misc_driver.c:2:
/root/alsa/alsa-driver-1.0.21/include/adriver.h:1786: error: redefinition of typedef ‘bool’
include/linux/types.h:36: error: previous declaration of ‘bool’ was here
make[3]: *** [/root/alsa/alsa-driver-1.0.21/acore/misc_driver.o] Error 1
make[2]: *** [/root/alsa/alsa-driver-1.0.21/acore] Error 2
make[1]: *** [_module_/root/alsa/alsa-driver-1.0.21] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-92.el5-i686'
make: *** [compile] Error 2

Last edited by bhageshp; 09-24-2009 at 04:42 AM.
 
Old 09-24-2009, 05:10 AM   #7
manwithaplan
Member
 
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393

Rep: Reputation: 45
Use the kernel module ... Use menuconfig and add your sound card as a module in the kernel. Its alot better then trying to manually install alsa from source.
 
Old 09-25-2009, 03:53 AM   #8
bhageshp
Member
 
Registered: Sep 2008
Location: Mumbai
Distribution: Redhat
Posts: 41

Original Poster
Rep: Reputation: 16
Question

Quote:
Originally Posted by manwithaplan View Post
Use the kernel module ... Use menuconfig and add your sound card as a module in the kernel.
How can I compile the kernel using the menuconfig...
 
  


Reply



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
Sound Driver not detected. Amal Dutta Mandriva 4 09-03-2008 06:04 AM
card detected, driver & modules loaded, but no sound? Chowroc Linux From Scratch 8 12-28-2006 07:08 AM
Sound driver detected, but no sound browncow Linux - Hardware 2 01-28-2006 09:34 AM
No Mixer Detected, Sound Card IS detected, No Sound? one.sick.tzim Linux - Software 3 03-11-2005 11:54 PM
Sound card not detected even after driver installed eam Linux - Hardware 7 11-11-2004 12:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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