LinuxQuestions.org
Help answer threads with 0 replies.
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 03-05-2003, 08:26 PM   #1
wincrk
Member
 
Registered: Feb 2003
Distribution: Redhat 9.0
Posts: 104

Rep: Reputation: 15
alsa driver did not work for als4000


i had download a driver from alsa-project.org. i took the latest one. but when i try to install it, i got this message:

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... expr: syntax error

expr: syntax error

expr: syntax error

failed (probably missing /usr/src/linux/include/linux/version.h)


Please, run configure script as first...


make dep
make[1]: Entering directory `/usr/local/john/alsa-driver-0.5.12a'

ln -sf ../support/isapnp.h include/isapnp.h
ln:
creating symbolic link `include/isapnp.h' to `../support/isapnp.h': Operation not
permitted
make[1]: *** [include/isapnp.h] Error 1

make[1]: Leaving directory `/usr/local/john/alsa-driver-0.5.12a'

make: *** [include/sndversions.h]
Error 2

[root@localhost root]#


what is wrong? did i missed something. from what i could i understand, it said that the kernel version did not match. but it's stated in alsa-project.org that kernel 2.48 is suppoted. please help me...
 
Old 03-05-2003, 09:09 PM   #2
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Re: alsa driver did not work for als4000

Quote:
Originally posted by wincrk
make dep
make[1]: Entering directory `/usr/local/john/alsa-driver-0.5.12a'

ln -sf ../support/isapnp.h include/isapnp.h
ln:
creating symbolic link `include/isapnp.h' to `../support/isapnp.h': Operation not
permitted
make[1]: *** [include/isapnp.h] Error 1

make[1]: Leaving directory `/usr/local/john/alsa-driver-0.5.12a'

make: *** [include/sndversions.h]
Error 2

[root@localhost root]#


what is wrong? did i missed something. from what i could i understand, it said that the kernel version did not match. but it's stated in alsa-project.org that kernel 2.48 is suppoted. please help me...
2.48 kernel? Does Linus know about this? :-)

The latest ALSA release that I'm aware of is 0.9.0rc7. No wait... I blinked and rc8b just came out. The v0.5.x driver isn't being supported any more. But I don't think that's your problem.

Part of what you posted almost sounds like you're missing part of the kernel sources. Are you using Red Hat by any chance? Have you let RHN (ahem) ``upgrade'' your kernel (and source) packages?
 
Old 03-06-2003, 12:29 AM   #3
wincrk
Member
 
Registered: Feb 2003
Distribution: Redhat 9.0
Posts: 104

Original Poster
Rep: Reputation: 15
i am not so clear about what you meant. did you meant that i have to use 0.9.0rc7? or did you mean that i just stay with the newer version and update my kernel?
 
Old 03-06-2003, 01:03 AM   #4
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally posted by wincrk
i am not so clear about what you meant. did you meant that i have to use 0.9.0rc7? or did you mean that i just stay with the newer version and update my kernel?
No, I don't think there's any problem using the 0.5.x version. It's just that if you have a problem or the driver isn't as complete (i.e. doesn't support some feature of your card yet) and report it to the ALSA development team, they're likely to tell you to upgrade.

The header file error that you saw looked an awful lot like one I saw after having let RHN apply updates to my system. One of the things it updated was the kernel and the related sources. One of the things it didn't do, was complete the kernel upgrade process because it detected that I had recompiled the kernel. And, apparently, customizing your kernel renders it pretty much incompatible with the automated upgrade process. (I may try it again but tell it to omit any kernel changes.) Anyway, a nasty side effect of the aborted kernel upgrade was that it went into the kernel source tree and deleted and/or moved some subdirectories into the new kernel tree. Then the process notices that the kernel's been customized and quits (Note to RH: Check for custom kernels first, then clobber directories, OK?) Then, as I was going to build ALSA after letting Red Hat do their thing, the ALSA make process now found that my kernel headers were missing. And, sure enough, they were. So I saved off the ``.config'' file (thank goodness that didn't get clobbered), deleted the original source tree, and reinstalled it, and redefined the linux-2.4 symbolic link so everything it looked like it did just after the RH8 installation. My kernel and modules were okay and now the source tree was as well and ALSA could compile.

So... the purpose of that shaggy dog story was to relate that if you have let RHN touch your system, that might have been enough to confuse the ALSA compile. Or you could be missing the kernels sources altogether. Check into that (try: ``rpm -qa | grep kern'') and post your findings.

Later...
Rick
 
Old 03-07-2003, 12:40 AM   #5
wincrk
Member
 
Registered: Feb 2003
Distribution: Redhat 9.0
Posts: 104

Original Poster
Rep: Reputation: 15
hi rick,

this is the result :

[root@localhost root]# rpm -qa | grep kern
glibc-kernheaders-2.4-7.14
kernel-source-2.4.18-3
kernel-2.4.18-3
[root@localhost root]#

now, i really hope that you got any idea of what should i do to get my sound card working. please help me. i am new to linux. i dont know much about linux.
 
  


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
ALS4000 // ALSA // Slackware 10.0 gFresh Linux - Hardware 1 08-02-2004 08:16 PM
unable to load alsa sound drivers for als4000 with kernel 2.6.3 qanopus Linux - General 3 03-08-2004 04:03 PM
getting alsa driver to work kudos Slackware 4 04-19-2003 11:34 AM
Has ANYONE managed to get an ALS4000 card to work in Red Hat 7.3? Vlad_M Linux - Hardware 0 11-08-2002 02:16 AM
Alsa driver for laptop - can't get it to work wilsnyder Linux - Newbie 0 01-19-2001 01:13 AM

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

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