THIS IS A LONG EMAIL!! Ok, for those of you on the alsa-user list, just so you guys know, this is my first time using linux. I am trying to get my sounds to work with redhat 8 and crystal/cirrus logic cs4610 audio accelerator. I've tried alot of suggestions, but they just dont seem to work, being that I'm new I'm not sure what it is that I'm doing wrong or how to correct it. So what I'm doing in this email is pasting my terminal emulation history,, modules.conf, and the .asoundrc files into this email and hopefully somebody will be able to tell how to fix this. One last note, I can listen to audio cd's but cannot play the other sounds like wav & mp3 files. Thanks for any available help and all the help that I've already gotten! :) here is my terminal emulation history ---------------------------------------------------------------------------------------------------------------------- [root@xxx root]# modinfo soundcore filename: /lib/modules/2.4.18-19.8.0/kernel/drivers/sound/soundcore.o description: "Core sound module" author: "Alan Cox" license: "GPL" [root@xxx root]# cd /usr/src/alsa/alsa-driver-* [root@xxx alsa-driver-0.5.12a]# ./configure --with-sequencer=yes --with-debug=full --with-debug=detect loading cache ./config.cache checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for ranlib... (cached) ranlib checking for a BSD compatible install... (cached) /usr/bin/install -c checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking for linux/fs.h... (cached) yes checking for working const... (cached) yes checking for inline... (cached) inline checking whether time.h and sys/time.h may both be included... (cached) yes checking whether gcc needs -traditional... (cached) no checking for directory with kernel source... /usr/src/linux checking for kernel version... 0.0.0 checking for kernel module symbol versions... no checking for PCI support in kernel... no checking for SGI/MIPS (HAL2) architecture... no checking for directory to store kernel modules... /lib/modules/0.0.0/misc checking for debug level... detect checking for processor type... unknown checking for SMP... no checking for ISA PnP driver in kernel... no checking for ISA PnP support... yes checking for old kill_fasync... yes checking for dma_addr_t... yes checking for MUTEX macros... no checking for driver version... 0.5.12a checking for sequencer support... yes checking for OSS/Free emulation... yes checking for which soundcards to compile driver for... all creating ./config.status creating Makefile.conf creating snddevices creating utils/alsa-driver.spec creating cards.config creating include/config.h include/config.h is unchanged creating include/config1.h include/config1.h is unchanged creating include/version.h include/version.h is unchanged [root@xxx alsa-driver-0.5.12a]# make clean rm -f `find . -name ".depend"` make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.5.12a/kernel' make[2]: Entering directory `/usr/src/alsa/alsa-driver-0.5.12a/kernel/seq' make[3]: Entering directory `/usr/src/alsa/alsa-driver-0.5.12a/kernel/seq/instr' rm -f .depend *.o *.orig snd.map snd.map? *.old *~ rm -f core ../../../include/sndversions.h make[3]: Leaving directory `/usr/src/alsa/alsa-driver-0.5.12a/kernel/seq/instr' make[3]: Entering directory `/usr/src/alsa/alsa-driver-0.5.12a/kernel/seq/oss' rm -f .depend *.o *.orig snd.map snd.map? *.old *~ rm -f core ../../../include/sndversions.h make[3]: Leaving directory `/usr/src/alsa/alsa-driver-0.5.12a/kernel/seq/oss' rm -f .depend *.o *.orig snd.map snd.map? *.old *~ rm -f core ../../include/sndversions.h make[2]: Leaving directory `/usr/src/alsa/alsa-driver-0.5.12a/kernel/seq' make[2]: Entering directory `/usr/src/alsa/alsa-driver-0.5.12a/kernel/plugin' rm -f .depend *.o *.orig snd.map snd.map? *.old *~ rm -f core ../../include/sndversions.h make[2]: Leaving directory `/usr/src/alsa/alsa-driver-0.5.12a/kernel/plugin' rm -f .depend *.o *.orig snd.map snd.map? *.old *~ rm -f core ../include/sndversions.h make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.5.12a/kernel' make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.5.12a/lowlevel' make[2]: Entering directory `/usr/src/alsa/alsa-driver-0.5.12a/lowlevel/generic' rm -f .depend *.o *.orig *~ rm -f core ../../include/sndversions.h make[2]: Leaving directory `/usr/src/alsa/alsa-driver-0.5.12a/lowlevel/generic' make[2]: Entering directory `/usr/src/alsa/alsa-driver-0.5.12a/lowlevel/i2c' rm -f .depend *.o *.orig ultra.map ultra.map? *~ rm -f core ../../include/sndversions.h make[2]: Leaving directory `/usr/src/alsa/alsa-driver-0.5.12a/lowlevel/i2c' make[2]: Entering directory `/usr/src/alsa/alsa-driver-0.5.12a/lowlevel/emu10k1' rm -f .depend *.o *.orig ultra.map ultra.map? *~ rm -f core ../../include/sndversions.h make[2]: Leaving directory `/usr/src/alsa/alsa-driver-0.5.12a/lowlevel/emu10k1' rm -f core .depend *.o *.orig snd.map snd.map? *~ make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.5.12a/lowlevel' make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.5.12a/cards' rm -f core .depend *.o *.orig snd.map snd.map? *~ make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.5.12a/cards' make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.5.12a/include' rm -f core .depend *.o *.orig *~ modules/*.ver make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.5.12a/include' make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.5.12a/test' rm -f *.o csp_load pcm mmap_test osspcm osspcm1 *~ make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.5.12a/test' make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.5.12a/utils' rm -f core .depend *.o *.orig *~ make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.5.12a/utils' rm -f core .depend *.o snd.map* *~ rm -f `find . -name "out.txt"` rm -f `find . -name "*.orig"` rm -f ./include/modules/*.ver rm -f modules/*.o rm -f doc/*~ [root@xxx alsa-driver-0.5.12a]# make make dep make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.5.12a' make[2]: Entering directory `/usr/src/alsa/alsa-driver-0.5.12a/kernel' rm -f ../include/modules/sound.ver gcc -DALSA_BUILD -D__KERNEL__ -I/usr/src/linux/include -I.. -E -D__GENKSYMS__ sound.c | /sbin/genksyms -k 0.0.0 > ../include/modules/sound.ver Usage: genksyms [-dDwqhV] [-k kernel_version] [-p prefix] > .../linux/module/*.ver -d, --debug Increment the debug level (repeatable) -D, --dump Dump expanded symbol defs (for debugging only) -w, --warnings Enable warnings -q, --quiet Disable warnings (default) -h, --help Print this message -V, --version Print the release version -k ver --kernel ver Set the kernel version for which we are compiling -p string --prefix string Set a mangling prefix for all symbols make[2]: *** [../include/modules/sound.ver] Error 1 make[2]: Leaving directory `/usr/src/alsa/alsa-driver-0.5.12a/kernel' make[1]: *** [dep] Error 1 make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.5.12a' make: *** [include/sndversions.h] Error 2 [root@xxx alsa-driver-0.5.12a]# make install make dep make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.5.12a' make[2]: Entering directory `/usr/src/alsa/alsa-driver-0.5.12a/kernel' rm -f ../include/modules/mixer.ver gcc -DALSA_BUILD -D__KERNEL__ -I/usr/src/linux/include -I.. -E -D__GENKSYMS__ mixer.c | /sbin/genksyms -k 0.0.0 > ../include/modules/mixer.ver Usage: genksyms [-dDwqhV] [-k kernel_version] [-p prefix] > .../linux/module/*.ver -d, --debug Increment the debug level (repeatable) -D, --dump Dump expanded symbol defs (for debugging only) -w, --warnings Enable warnings -q, --quiet Disable warnings (default) -h, --help Print this message -V, --version Print the release version -k ver --kernel ver Set the kernel version for which we are compiling -p string --prefix string Set a mangling prefix for all symbols make[2]: *** [../include/modules/mixer.ver] Error 1 make[2]: Leaving directory `/usr/src/alsa/alsa-driver-0.5.12a/kernel' make[1]: *** [dep] Error 1 make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.5.12a' make: *** [include/sndversions.h] Error 2 [root@xxx alsa-driver-0.5.12a]# ./snddevices Creating /dev/mixer?... done Creating /dev/sequencer... done Creating /dev/midi?... done Creating /dev/dsp?... done Creating /dev/audio?... done Creating /dev/sndstat... done Creating /dev/music... done Creating /dev/dmmidi?... done Creating /dev/dmfm?... done Creating /dev/amixer?... done Creating /dev/adsp?... done Creating /dev/amidi?... done Creating /dev/admmidi?... done create symbolic link `/dev/mixer' to `/dev/mixer0' create symbolic link `/dev/midi' to `/dev/midi0' create symbolic link `/dev/dsp' to `/dev/dsp0' create symbolic link `/dev/audio' to `/dev/audio0' create symbolic link `/dev/sequencer2' to `/dev/music' create symbolic link `/dev/adsp' to `/dev/adsp0' create symbolic link `/dev/amidi' to `/dev/amidi0' ALSA dynamic sound device filesystem create symbolic link `/dev/snd' to `/proc/asound/dev' ALSA loader devices Creating /dev/aload?... done Creating /dev/aloadSEQ... done [root@xxx alsa-driver-0.5.12a]# chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi [root@xxx alsa-driver-0.5.12a]# cd ../alsa-lib* [root@xxx alsa-lib-0.5.10b]# ./configure;make clean;make;make install loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... (cached) yes checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for ranlib... (cached) ranlib checking for ld used by GCC... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD-compatible nm... (cached) /usr/bin/nm -B loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... (cached) no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... -static checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool loading cache ./config.cache checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for linux/asound.h... no checking for working const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for alsa-driver package... not found or wrong version configure: error: Install alsa-driver v0.3.0pre5+ package first... make: *** No rule to make target `clean'. Stop. make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target `install'. Stop. [root@xxx alsa-lib-0.5.10b]# cd ../alsa-util* [root@xxx alsa-utils-0.5.10]# ./configure;make clean;make;make install loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for bison... bison -y checking how to run the C preprocessor... gcc -E checking for flex... flex checking for flex... (cached) flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for ALSA CFLAGS... checking for ALSA LDFLAGS... -lasound checking for libasound headers version >= 0.5.8... not present. configure: error: Sufficiently new version of libasound not found. make: *** No rule to make target `clean'. Stop. make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target `install'. Stop. [root@xxx alsa-utils-0.5.10]# modprobe snd-cs46xx;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss modprobe: Can't locate module snd-cs46xx modprobe: Can't locate module snd-pcm-oss modprobe: Can't locate module snd-mixer-oss modprobe: Can't locate module snd-seq-oss [root@xxx alsa-utils-0.5.10]# modprobe snd-card-cs46xx modprobe: Can't locate module snd-card-cs46xx [root@xxx alsa-utils-0.5.10]# alsamixer bash: alsamixer: command not found [root@xxx alsa-utils-0.5.10]# ---------------------------------------------------------------------------------------------------------------------- here is my /etc/modules.conf file ---------------------------------------------------------------------------------------------------------------------- alias parport_lowlevel parport_pc alias eth0 8139too alias scsi_hostadapter aic7xxx alias usb-controller usb-uhci # ALSA portion alias char-major-116 snd alias snd-card-0 snd-interwave alias snd-card-1 snd-cmipci options snd-cmipci id="first" enable_midi="1" # module options should go here # OSS/Free portion alias char-major-14 soundcore alias sound-slot-0 snd-card-0 alias sound-slot-1 snd-card-1 # 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 #card #2 (cmipci) alias sound-service-1-0 snd-mixer-oss alias sound-service-1-3 snd-pcm-oss alias sound-service-1-12 snd-pcm-oss ---------------------------------------------------------------------------------------------------------------------- here is my /home/tejas/.asoundrc file ---------------------------------------------------------------------------------------------------------------------- pcm.cs46xx { type hw card 0 } ctl.cs46xx { type hw card 0 } ---------------------------------------------------------------------------------------------------------------------- --- Steven Rubenstein <rubensteintrans@xxxxxxxxxxx> wrote: > I don't know. I found the following at > http://www.alsa-project.org/~jfulmer/alsa-faq.html, > but it's from 1999: > > > 2.10 I read that I can use "--with-cards=" configure > switch to compile > drivers just for my soundcard. Should I do this? > > The '--with-cards=' switch to configure is meant to > allow compilation of > just the drivers for a particular sound card. > > While it should be working at this moment, > '--with-cards-' does break > frequently during the development process. It is > recommended that you > not use this switch, unless you know what you are > doing, have the > current driver working, and are helping to debug. > > If you decide to try --with-cards and it breaks send > comment to > alsa-devel list with: > - The exact --with-cards option > - Output of "depmod -ae" > > > SJR > > > Tejas Gandhi wrote: > > > > ok, so I went and just downloaded some gcc rpm's > and installed them and then tried running the alsa > thing > > again. Here is what I got now, it doesnt seem > right either, can somebody tell me what I'm doing > wrong now? > > > > > > [root@xxx root]# cd /usr/src/alsa/alsa-driver-* > > [root@xxx alsa-driver-0.5.12a]# ./configure > --with-cards=cs46xx --with-sequencer=yes;make;make > > install > > loading cache ./config.cache > > checking for gcc... gcc > > checking whether the C compiler (gcc ) works... > yes > > checking whether the C compiler (gcc ) is a > > cross-compiler... no > > checking whether we are using GNU C... yes > > checking whether gcc accepts -g... yes > > checking for ranlib... ranlib > > checking for a BSD compatible install... > > /usr/bin/install -c > > checking how to run the C preprocessor... gcc -E > > checking for ANSI C header files... yes > > checking for linux/fs.h... yes > > checking for working const... yes > > checking for inline... inline > > checking whether time.h and sys/time.h may both be > > included... yes > > checking whether gcc needs -traditional... no > > checking for directory with kernel source... > > /usr/src/linux > > checking for kernel version... 0.0.0 > > checking for kernel module symbol versions... no > > checking for PCI support in kernel... no > > checking for SGI/MIPS (HAL2) architecture... no > > checking for directory to store kernel modules... > > /lib/modules/0.0.0/misc > > checking for debug level... none > > checking for processor type... unknown > > checking for SMP... no > > checking for ISA PnP driver in kernel... no > > checking for ISA PnP support... yes > > checking for old kill_fasync... yes > > checking for dma_addr_t... yes > > checking for MUTEX macros... no > > checking for driver version... 0.5.12a > > checking for sequencer support... yes > > checking for OSS/Free emulation... yes > > checking for which soundcards to compile driver > for... > > Unknown soundcard cs46xx, exiting! > > > > Please, run configure script as first... > > > > make dep > > make[1]: Entering directory > > `/usr/src/alsa/alsa-driver-0.5.12a' > > make -C utils update-deps > > make[2]: Entering directory > > `/usr/src/alsa/alsa-driver-0.5.12a/utils' > > Makefile:8: ../Makefile.conf: No such file or > > directory > > make[2]: *** No rule to make target > > `../Makefile.conf'. Stop. > > make[2]: Leaving directory > > `/usr/src/alsa/alsa-driver-0.5.12a/utils' > > make[1]: *** [cards.config] Error 2 > > make[1]: Leaving directory > > `/usr/src/alsa/alsa-driver-0.5.12a' > > make: *** [include/sndversions.h] Error 2 > > > > oh and by the way... > > > > [root@xxx alsa-driver-0.5.12a]# rpm -q gcc > > gcc-3.2-7 > > [root@xxx alsa-driver-0.5.12a]# rpm -q krb5-libs > > krb5-libs-1.2.5-7 > > > > sheesh, I'm such a newbie! > > > > > > > > --- Steven Rubenstein <rubensteintrans@xxxxxxxxxxx > wrote: > > > >>What version of gcc do you have installed? Hint: > rpm -q gcc > >> > >>you also might want to rpm -q krb5-libs > >> > >>SJR > >> > >> > >>Tejas Gandhi wrote: > >> > >>Ok, so I tried installing GCC through the the > >>Add/Remove packages thing, but when I try to add > the development tools, > >>I get an error stating that krb5-libs is missing. > I thought I had > >>this installed, but none the less, I went to the > redhat website and > >>downloaded the rpm's (1.2.5-6 and 1.2.7). They > both stated that I > >>already have 1.2.7 installed in my computer, yet > the add/remove > >>packages keeps saying that I dont have 1.2.5-6 and > that its needed to install > >>the development tools. Being that I'm completely > new to linux, I > >>dont know my way around this. Is the add/remove > packages program > >>looking for 1.2.5-6 specifically while I have > 1.2.7 installed? Any > >>ideas/suggestions? > >> > >> > >> > --- Michael Kuss <kuss@xxxxxxxxxx> wrote: > >> > >>Ok, second try, I had to realize that I'm > subscribed with a different > >>name than the "reply to" generates: > >> > >> >>On Tue, 24 Dec 2002, Tejas Gandhi wrote: > >> > >> >>>this is the error I get just from the > ./configure command so far > >> >>> > >> >>>[root@xxx root]# cd /usr/src/alsa > >> >>>[root@xxx alsa]# bunzip2 alsa-driver-* > >> >>>[root@xxx alsa]# tar -xf alsa-driver-* > >> >>>[root@xxx alsa]# cd alsa-driver-* > >> >>>[root@xxx alsa-driver-0.5.12a]# ./configure > --with-cards=cs46xx --with-sequencer=yes > >> >>>creating cache ./config.cache > >> >>>checking for gcc... no > >> >>>checking for cc... no > >> >>>configure: error: no acceptable cc found in > $PATH > >> >> > >> >>this tells you that you have no compiler > package installed. Install > >>gcc! You may also have to install some library > packages. Configure > >>and/or make will tell you what is missing. > >> > >> >>Cheers, > >> > >> >>Michael > > > > _______________________________________________ > Sound-list mailing list > Sound-list@xxxxxxxxxx > https://listman.redhat.com/mailman/listinfo/sound-list __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
- Follow-Ups:
- Re: [Sound] please help a newbie, red hat 8 and cs4610
- From: Tejas Gandhi
- Re: [Sound] please help a newbie, red hat 8 and cs4610
- References:
- Re: [Sound] please help a newbie, red hat 8 and cs4610
- From: Steven Rubenstein
- Re: [Sound] please help a newbie, red hat 8 and cs4610
- Prev by Date: [Sound] Upgraded motherboard and audio chips - no sound in RH7.3
- Next by Date: Re: [Sound] please help a newbie, red hat 8 and cs4610
- Previous by thread: Re: [Sound] please help a newbie, red hat 8 and cs4610
- Next by thread: Re: [Sound] please help a newbie, red hat 8 and cs4610
- Index(es):