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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
09-17-2009, 06:31 AM
#1
Member
Registered: Sep 2008
Location: Mumbai
Distribution: Redhat
Posts: 41
Rep:
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 .
09-19-2009, 03:07 AM
#2
Member
Registered: Sep 2009
Distribution: fedora 11
Posts: 318
Rep:
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 .
09-20-2009, 11:36 PM
#3
Member
Registered: Sep 2008
Location: Mumbai
Distribution: Redhat
Posts: 41
Original Poster
Rep:
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
09-22-2009, 05:34 AM
#4
Member
Registered: Sep 2008
Location: Mumbai
Distribution: Redhat
Posts: 41
Original Poster
Rep:
Sound Driver Not detecting
Anybody have an idea to install proper drive for my sound card on linux
....
09-22-2009, 05:49 AM
#5
Member
Registered: Sep 2009
Distribution: fedora 11
Posts: 318
Rep:
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)
09-24-2009, 04:40 AM
#6
Member
Registered: Sep 2008
Location: Mumbai
Distribution: Redhat
Posts: 41
Original Poster
Rep:
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 .
09-24-2009, 05:10 AM
#7
Member
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393
Rep:
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.
09-25-2009, 03:53 AM
#8
Member
Registered: Sep 2008
Location: Mumbai
Distribution: Redhat
Posts: 41
Original Poster
Rep:
Quote:
Originally Posted by
manwithaplan
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...
All times are GMT -5. The time now is 12:03 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News