LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-06-2004, 10:45 AM   #1
actteoh
Member
 
Registered: May 2004
Posts: 38

Rep: Reputation: 15
soundcard configuration failled


Fedora detected my soundcard as below:
Vendor: Intel Corp
Model82801EB AC'97 Audio Controller
Module: i820_audio
but, no sound coming out from my speakers. I turned on the volume to the max, and also unmuted my sound mixer.

I believe this is not the correct model, as my model as indicated in my motherboard is MAXSOUND. Thus, I tried to compile the driver. I received an error msg as below:

[root@localhost alsa-driver-0.9.6]# ./configure --with-isapnp=yes --with-kernel=/usr/src/linux-2.4.22-1.2115.nptl/
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... 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 gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming 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 current directory... /home/teoh/Linux/alsa-driver-0.9.6
checking cross compile...
checking for directory with kernel source... /usr/src/linux-2.4.22-1.2115.nptl/
checking for kernel version... 2.4.22-1.2115.nptlsmp
checking for GCC version... Kernel compiler: Used compiler: gcc (GCC) 3.3.2 20031022 (Red Hat Linux 3.3.2-1)

*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building kernel.

checking for kernel linux/compiler.h... "yes"
checking for kernel linux/pm.h... "yes"
checking for kernel linux/spinlock.h... "yes"
checking for kernel linux/irq.h... "yes"
checking for kernel linux/threads.h... "yes"
checking for kernel linux/rwsem.h... "yes"
checking for kernel linux/gameport.h... "yes"
checking for kernel linux/devfs_fs_kernel.h... "yes"
checking for kernel linux/highmem.h... "yes"
checking for kernel linux/workqueue.h... "yes"
checking for kernel asm/hw_irq.h... "yes"
checking for kernel linux/jiffies.h... "no"
checking for kernel linux/compat.h... "no"
checking for kernel linux/adb.h... "yes"
checking for kernel linux/cuda.h... "yes"
checking for kernel linux/pmu.h... "yes"
checking for kernel module symbol versions... "yes"
checking for PCI support in kernel... "yes"
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules... /lib/modules/2.4.22-1.2115.nptlsmp/kernel/sound
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... "yes"
checking for processor type... i686
checking for SMP... "yes"
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... no
checking for Kernel ISA-PnP support... "yes"
checking for strlcpy... "no"
checking for snprintf... "yes"
checking for vmalloc_to_page... "yes"
checking for old kmod... "yes"
checking for driver version... 0.9.6
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "no"
checking for USB support... "no"
checking for USB module support... "yes"
checking for kernel PCMCIA
checking for PCMCIA support... "no"
checking for PCMCIA module support... "yes"
checking for PC9800 support in kernel... "no"
checking for which soundcards to compile driver for... all
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating include/config.h
config.status: creating include/config1.h
config.status: include/config1.h is unchanged
config.status: creating include/version.h
config.status: include/version.h is unchanged
[root@localhost alsa-driver-0.9.6]# make install
rm -rf /lib/modules/2.4.22-1.2115.nptlsmp/kernel/sound
make[1]: Entering directory `/home/teoh/Linux/alsa-driver-0.9.6/support'
make -C pnp modules_install
make[2]: Entering directory `/home/teoh/Linux/alsa-driver-0.9.6/support/pnp'
mkdir -p /lib/modules/2.4.22-1.2115.nptlsmp/kernel/sound/support/pnp
cp snd-pnp.o /lib/modules/2.4.22-1.2115.nptlsmp/kernel/sound/support/pnp
cp: cannot stat `snd-pnp.o': No such file or directory
make[2]: *** [_modinst__] Error 1
make[2]: Leaving directory `/home/teoh/Linux/alsa-driver-0.9.6/support/pnp'
make[1]: *** [_modinst_pnp] Error 2
make[1]: Leaving directory `/home/teoh/Linux/alsa-driver-0.9.6/support'
make: *** [install-modules] Error 1
[root@localhost alsa-driver-0.9.6]#

There are 2 errors when i try to make install. What should I do?
Thanks.
 
Old 05-06-2004, 11:00 AM   #2
emuxman
LQ Newbie
 
Registered: May 2004
Location: Duesseldorf, Germany
Distribution: Debian
Posts: 3

Rep: Reputation: 0
perhaps you should try a "make" before "make install"
and take a look in your kernel-config, that the sound is enabled as module and no other sounddrivers are activated.
 
Old 05-06-2004, 11:18 AM   #3
actteoh
Member
 
Registered: May 2004
Posts: 38

Original Poster
Rep: Reputation: 15
I still hav errors after typing 'make'. The error, compilation error is as below:

make[1]: Entering directory `/home/teoh/Linux/alsa-driver-0.9.6/support'
make -C pnp modules
make[2]: Entering directory `/home/teoh/Linux/alsa-driver-0.9.6/support/pnp'
make[2]: Leaving directory `/home/teoh/Linux/alsa-driver-0.9.6/support/pnp'
make[1]: Leaving directory `/home/teoh/Linux/alsa-driver-0.9.6/support'
make[1]: Entering directory `/home/teoh/Linux/alsa-driver-0.9.6/acore'
gcc -D__KERNEL__ -DMODULE=1 -I/home/teoh/Linux/alsa-driver-0.9.6/include -I/usr/src/linux-2.4/include -O2 -mpreferred-stack-boundary=2 -march=i686 -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -DEXPORT_SYMTAB -c hwdep.c
In file included from /home/teoh/Linux/alsa-driver-0.9.6/include/sound/driver.h:42,
from hwdep.c:22:
/home/teoh/Linux/alsa-driver-0.9.6/include/adriver.h:200: error: redefinition of `irqreturn_t'
/usr/src/linux-2.4/include/linux/interrupt.h:16: error: `irqreturn_t' previously declared here
In file included from /home/teoh/Linux/alsa-driver-0.9.6/include/sound/driver.h:64,
from hwdep.c:22:
/home/teoh/Linux/alsa-driver-0.9.6/include/sound/sndmagic.h:207:1: warning: "snd_magic_kfree" redefined
In file included from /home/teoh/Linux/alsa-driver-0.9.6/include/sndversions.h:20,
from /home/teoh/Linux/alsa-driver-0.9.6/include/adriver.h:43,
from /home/teoh/Linux/alsa-driver-0.9.6/include/sound/driver.h:42,
from hwdep.c:22:
/home/teoh/Linux/alsa-driver-0.9.6/include/modules/acore__sound.ver:28:1: warning: this is the location of the previous definition
make[1]: *** [hwdep.o] Error 1
make[1]: Leaving directory `/home/teoh/Linux/alsa-driver-0.9.6/acore'
make: *** [compile] Error 1
 
Old 05-06-2004, 11:26 AM   #4
emuxman
LQ Newbie
 
Registered: May 2004
Location: Duesseldorf, Germany
Distribution: Debian
Posts: 3

Rep: Reputation: 0
Go to http://alsa-project.org/ and get latest drivers from there HP.
you use 0.9.6 and on their HP is version 1.0.4 awailable.
perhabs that should fix your problem.
there is also a quick-install howto for your soundcard and distri.
 
Old 05-06-2004, 12:12 PM   #5
actteoh
Member
 
Registered: May 2004
Posts: 38

Original Poster
Rep: Reputation: 15
Hi, thanks for your help, I had progressed till here until I am stucked with this error:

[root@localhost alsa-driver-1.0.4]# /sbin/modprobe snd-ad1985
modprobe: Can't locate module snd-ad1985

Is it because my soundcard's model is not right?
 
  


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
soundcard configuration problem Rodotheos Linux - Hardware 3 10-04-2005 03:31 PM
failled tp insert module into kernel actteoh Linux - Hardware 2 05-07-2004 10:18 AM
Problem with soundcard configuration... DesiLILO Linux - Hardware 6 04-09-2004 09:11 PM
Soundcard configuration in Red Hat 9 crox Linux - Hardware 0 05-12-2003 07:47 AM
Soundcard configuration 7.3 jknipp Linux - Software 0 01-08-2002 08:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:38 PM.

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