LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-21-2004, 08:22 PM   #1
PhuckFonix
Member
 
Registered: Mar 2004
Location: United States of Bush
Distribution: Knoppix 3.7, Debian Sarge
Posts: 297

Rep: Reputation: 30
Sound installation.


I downloaded this alsa driver-module thing: http://www.alsa-project.org/alsa/ft...er-0.4.0.tar.gz

I currently have no sound and no module installed. How do I install this driver-module?
 
Old 04-21-2004, 08:30 PM   #2
njbrain
Member
 
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Rep: Reputation: 30
If you download the latest Alsa driver and follow the manual, you will be fine.
Noah
 
Old 04-21-2004, 08:41 PM   #3
dimi
Member
 
Registered: May 2003
Location: Sydney, Australia
Distribution: Debian
Posts: 67

Rep: Reputation: 15
In most cases, theres a README file or INSTALL file, which should give the details on how to install.

D
 
Old 04-21-2004, 09:15 PM   #4
PhuckFonix
Member
 
Registered: Mar 2004
Location: United States of Bush
Distribution: Knoppix 3.7, Debian Sarge
Posts: 297

Original Poster
Rep: Reputation: 30
I'm following the "INSTALL" text file. I have errors I don't understand.

Code:
[root@ alsa-driver-0.4.0]# ./configure --with-debug=detect switch
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) no
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... grep: /usr/src/linux/include/linux/autoconf.h: No such file or directory
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... i686
checking for SMP... grep: /usr/src/linux/Makefile: No such file or directory
no
checking for ISA PnP driver in kernel... no
checking for ISA PnP support... no
checking for driver version... 0.4.0
checking for sequencer support... no
checking for OSS/Lite 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
creating include/config1.h
include/config1.h is unchanged
creating include/version.h
include/version.h is unchanged
[root@x1-6-00-50-bf-e8-5a-b5 alsa-driver-0.4.0]# make install
make[1]: Entering directory `/home/user/alsa-driver-0.4.0/support'

Support code were sucessfully compiled.

make[1]: Leaving directory `/home/user/alsa-driver-0.4.0/support'
make[1]: Entering directory `/home/user/alsa-driver-0.4.0/kernel'
gcc -DALSA_BUILD -I/usr/src/linux/include -I.. -E -D__GENKSYMS__ persist.c | /sbin/genksyms > ../include/modules/persist.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
In file included from ../include/driver.h:51,
                 from persist.c:23:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error "   compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "   instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from persist.c:23:
../include/driver.h:54:2: #error "This driver requires Linux 2.2.3 and highter."
make[1]: *** [../include/modules/persist.ver] Error 1
make[1]: Leaving directory `/home/user/alsa-driver-0.4.0/kernel'
make: *** [compile] Error 1
[root@ alsa-driver-0.4.0]#
 
Old 04-21-2004, 09:28 PM   #5
njbrain
Member
 
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Rep: Reputation: 30
It looks to me like you are using to old of a driver.
Noah
 
Old 04-21-2004, 09:36 PM   #6
PhuckFonix
Member
 
Registered: Mar 2004
Location: United States of Bush
Distribution: Knoppix 3.7, Debian Sarge
Posts: 297

Original Poster
Rep: Reputation: 30
That is the most recent driver-module on the site I have Kernel 2.4.25-2mdk.

Does any one know current any current sound driver-modules?
 
Old 04-21-2004, 09:39 PM   #7
dimi
Member
 
Registered: May 2003
Location: Sydney, Australia
Distribution: Debian
Posts: 67

Rep: Reputation: 15
I could be wrong, but from the look of it, its not recognizing the kernel properly. Whats the kernel version running on ur machine?

do "uname -a"

D
 
Old 04-21-2004, 09:40 PM   #8
dimi
Member
 
Registered: May 2003
Location: Sydney, Australia
Distribution: Debian
Posts: 67

Rep: Reputation: 15
disregard the earlier post :-)

D
 
Old 04-21-2004, 09:48 PM   #9
dimi
Member
 
Registered: May 2003
Location: Sydney, Australia
Distribution: Debian
Posts: 67

Rep: Reputation: 15
Think the problem is configuration not recognizing the kernel vesion properly. If u look at the line

checking for kernel version... 0.0.0

that shouldn'e be the kernel version. Check on the configure file, what its looking for to recognize the kernel version.

I tried to download the tarball, couldn't get to the url give above. Will try again.

D
 
Old 04-21-2004, 09:49 PM   #10
njbrain
Member
 
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Rep: Reputation: 30
www.alsa-project.org has all the latest drivers. All you need is alsa-driver, alsa-lib, and alsa-utils.
Noah
 
Old 04-21-2004, 10:12 PM   #11
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Let's tackle this from the bottom up, because Mandrake hardly ever misses a sound card and I doubt what you've got is too new, what's the output of:

/sbin/lspcidrake

Or really, what's the exact sound card you've got there?

Cheers,

Finegan
 
Old 04-21-2004, 10:55 PM   #12
PhuckFonix
Member
 
Registered: Mar 2004
Location: United States of Bush
Distribution: Knoppix 3.7, Debian Sarge
Posts: 297

Original Poster
Rep: Reputation: 30
I really appreciate this help.

[root@ user]# /sbin/lspcidrake
bash: /sbin/lspcidrake: No such file or directory

I believe I have something like: Chameleon Audio/Modem ComboCard, something Conexant or Rockwell.

I have a '99 or '00 Hewlette-Packard.

Edit: Oh! I downloaded the oldest ALSA driver-module instead of the newest. I will try again reading the INSTALL and post what happens.

Last edited by PhuckFonix; 04-21-2004 at 10:58 PM.
 
Old 04-21-2004, 10:59 PM   #13
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
emmm, now this is making more sense, I think I err'd, I think its in /usr/sbin/lspcidrake

Or you can look through KDE's hardware blah blah thing and rip information off of there, also possibly just:

cat /proc/pci

Hopefully they didn't rename that:

cat /proc/pcidrake

What mandrake did to some of the modutils is a little inexcusable.

Cheers,

Finegan
 
Old 04-21-2004, 11:21 PM   #14
PhuckFonix
Member
 
Registered: Mar 2004
Location: United States of Bush
Distribution: Knoppix 3.7, Debian Sarge
Posts: 297

Original Poster
Rep: Reputation: 30
cat /proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Intel Corp. 82810 GMCH [Graphics Memory Controller Hub] (rev 2).
Bus 0, device 1, function 0:
VGA compatible controller: Intel Corp. 82810 CGC [Chipset Graphics Controller] (rev 2).
IRQ 11.
Prefetchable 32 bit memory at 0xf8000000 [0xfbffffff].
Non-prefetchable 32 bit memory at 0xf4000000 [0xf407ffff].
Bus 0, device 30, function 0:
PCI bridge: Intel Corp. 82801AA PCI Bridge (rev 2).
Master Capable. No bursts. Min Gnt=6.
Bus 0, device 31, function 0:
ISA bridge: Intel Corp. 82801AA ISA Bridge (LPC) (rev 2).
Bus 0, device 31, function 1:
IDE interface: Intel Corp. 82801AA IDE (rev 2).
I/O at 0x10a0 [0x10af].
Bus 0, device 31, function 2:
USB Controller: Intel Corp. 82801AA USB (rev 2).
IRQ 9.
I/O at 0x1080 [0x109f].
Bus 0, device 31, function 3:
SMBus: Intel Corp. 82801AA SMBus (rev 2).
IRQ 5.
I/O at 0x10b0 [0x10bf].
Bus 1, device 8, function 0:
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 16).
IRQ 11.
Master Capable. Latency=64. Min Gnt=32.Max Lat=64.
I/O at 0x2000 [0x20ff].
Non-prefetchable 32 bit memory at 0xf4111000 [0xf41110ff].
Bus 1, device 9, function 0:
Multimedia audio controller: PCI device 127a:4310 (Rockwell International) (rev 0).
IRQ 5.
Master Capable. Latency=64.
I/O at 0x2400 [0x243f].
Bus 1, device 9, function 1:
Communication controller: Rockwell International Riptide HSF 56k PCI Modem (rev 0).
IRQ 5.
Master Capable. Latency=64.
Non-prefetchable 32 bit memory at 0xf4100000 [0xf410ffff].
Bus 1, device 9, function 2:
Input device controller: PCI device 127a:4312 (Rockwell International) (rev 0).
Non-prefetchable 32 bit memory at 0xf4110000 [0xf4110fff].
/*************************/

/usr/sbin/lspcidrake
bash: /usr/sbin/lspcidrake: No such file or directory

/*************************/
This is my recent attempt with ALSA install:

[root@ alsa-driver-1.0.4rc2]# ./configure
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
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
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 egrep... grep -E
checking for ANSI C header files... yes
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/user/alsa-driver-1.0.4rc2
checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for kernel version... The file /usr/src/linux/include/linux/version.h does not exist.
Please, install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).
[root@ alsa-driver-1.0.4rc2]# make
make all-deps
make[1]: Entering directory `/home/user/alsa-driver-1.0.4rc2'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/home/user/alsa-driver-1.0.4rc2'

Please, run the configure script as first...
 
Old 04-21-2004, 11:31 PM   #15
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Ta da, its not in the kernel... nor is it an alsa driver, just the old balky OSS:

http://freshmeat.net/projects/riptide/

You'll probably need your kernel source installed as well as a compiler, Mandrake never puts in the former unless you chose an "everything" install and sometimes leave out the later... so rpmdrake, or whatever its called these days, is your friend.

I give this one a 4 hour hastle factor, if there isn't progress in 4 hours... rip it out and pick up a $5 ES1371 based old Ensoniq card.

Cheers,

Finegan
 
  


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 Blaster 16 Sound Card Installation with Mandriva 2005LE Newb_Linux_Geek Mandriva 0 11-11-2005 04:19 PM
Sound Card installation monomaniacpat Linux - Hardware 9 11-07-2005 04:06 PM
No sound after installation neocookie Slackware - Installation 3 05-24-2004 09:43 AM
New installation - No sound thort Mandriva 4 12-29-2003 12:36 PM
sound card installation jcb_dreamvsat Linux - General 2 11-13-2003 06:29 AM

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

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