Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 04-08-2004, 12:08 PM   #1
Registered: Jul 2002
Location: Wyoming
Distribution: Mandrake9.0
Posts: 48

Rep: Reputation: 15
Mic in 2.6.5


Ive decided to upgrade from 2.4.25 to 2.6.5.

Got everything configured, sound built into the kernel in 2.4.25, both speakers and mic work fine.

I configured 2.6.5, built it with sound in, under OSS, speakers work, mic does not.

I tryed rebuilding with no OSS but with alsa drivers, dosnt work, compiled the alsa and still dosnt work.

Ive read the ALSA howto, i can do everything but do the emerge alsa-drivers. Which some people on IRC tell me you dont have to do because its built into the kernel for 2.6.

When i try doing the env ALSA_CARDS='cmipci' emerge \>=media-sound/alsa-driver-1.0.2c

I get this for starters....

* Applying makefile.patch... [ ok ]
* Applying alsa-driver-0.9.8-au-fix.patch... [ ok ]
* /usr/src/linux is a symbolic link
* Determining the real directory of the Linux kernel source code
* Building for Linux 2.6.5 found in /usr/src/linux
* A 2.5 or 2.6 kernel was detected. We are copying the kernel source tree from
* //usr/src/linux-2.6.5 to /var/tmp/portage/alsa-driver-1.0.3/temp/linux
* because the alsa-driver build process overwrites files in the 2.6.x kernel tree.cp:

failed to preserve ownership for /var/tmp/portage/alsa-driver-1.0.3/temp/linux/include/asm: No such file or directory

Then it eventually errors out, with this.....

error: structure has no member named `consistent_dma_mask'
make[3]: *** [/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/.
./acore/memalloc.o] Error 1
make[2]: *** [/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/.
./acore] Error 2
make[2]: *** Waiting for unfinished jobs....
CC [M] /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../dr
CC [M] /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../dr
CC [M] /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../dr
CC [M] /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../dr
CC [M] /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../dr
LD [M] /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../dr
LD [M] /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../dr
make[1]: *** [/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild]
Error 2
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.3/temp/linux'
make: *** [compile] Error 2

!!! ERROR: media-sound/alsa-driver-1.0.3 failed.
!!! Function src_compile, Line 88, Exitcode 2
!!! Parallel Make Failed

Any one have any idea's?

I have a ASUS-A7V266-C, With C-media 8738 Integrated Sound.
Old 04-08-2004, 12:09 PM   #2
Registered: Jul 2002
Location: Wyoming
Distribution: Mandrake9.0
Posts: 48

Original Poster
Rep: Reputation: 15
I have tryed building the alsa drivers into the 2.6.5 kernel, also tryed to build them as modules, went through the Gentoo ALSA faq, still nothing. The sound it self works, but no mic, its rather odd.

Everything works fine under 2.4.25, but when i boot into 2.6.5, no go.

Any idea's?
Old 04-09-2004, 11:18 AM   #3
Registered: Jul 2002
Location: Wyoming
Distribution: Mandrake9.0
Posts: 48

Original Poster
Rep: Reputation: 15
Jesus, no one knows why this is.
Old 04-16-2004, 11:01 PM   #4
LQ Newbie
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
I'm not sure if this is related but I just noticed after upgrading to 2.6.5 that the alsa mixer settings for 'mic' only control the volume back to the speakers, the 'capture' setting controls volume to software recording.
Old 04-17-2004, 01:42 AM   #5
LQ Newbie
Registered: Apr 2004
Location: Oklahoma
Distribution: Gentoo
Posts: 2

Rep: Reputation: 0
Hey dogmeat, I had this exact same problem today on my laptop.

The problem is that it is still trying to install alsa-1.0.3 rather than alsa-1.0.2c. The solution is to make it install the other version another way. Well, we could go ahead and do that for 1.0.2c, but hell, why not just get the latest version. So make sure you have done an emerge sync somewhat recently, then do "emerge media-sound/alsa-driver/alsa-driver-1.0.4-r1.ebuild". That installs the latest version for you. Then just follow the rest of the instructions on Gentoo's guide here:

Now.. I will say one thing, this will update ALSA for you, but I have not tested with a mic so I don't know if this will fix that problem. All I can help you with is how to install the new ALSA.

Good Luck!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trouble with a mic Bumpy Carrot Linux - General 8 09-11-2007 05:17 AM
no mic jbcolmena Linux - Software 2 03-15-2005 08:06 PM
Mic Q Mic Q SUSE / openSUSE 0 01-14-2005 09:19 AM
Mic. isn't working... Fe1m Fedora 0 01-01-2005 12:56 AM
Using a mic in redhat Anmar Linux - Hardware 12 09-15-2003 05:32 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration