LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 01-31-2007, 03:47 PM   #1
galle
Member
 
Registered: Sep 2003
Location: Bergen, Norway
Distribution: Debian testing
Posts: 69

Rep: Reputation: 16
microphone works in oss but not in alsa (SOLVED)


SOLVED


Hello everyone!

I hope someone can help me get my microphone going. I have a nforce motherboard with NVidia CK804 integrated sound using the intel8x0 driver. Playback is working fine but I have some trouble getting my microphone to work:

When I run skype my microphone is working, however when I run 'aoss skype' to get the sound dmix'ed playback works fine but the microphone doesn't work.

I can hear sound from the microphone in my speakers, but both arecord and audacity only record silence. I tried running 'arecord -D hw:0,1 test.wav' to see if that made any difference, but that gave the error:
Code:
Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
arecord: set_params:904: Sample format non available
I'm thinking it must be a mute problem since recording works, but I've tried everything in the capture tab in alsamixer without result. My current alsamixer settings can be seen here:
Partial playback tab.
Capture tab.

I don't know what to try next. If anyone has a suggestion I would really appreciate it, and thank you for reading!

PS: if it is any help, here is the (compressed) output from 'arecord -l -L':
Code:
**** List of CAPTURE Hardware Devices ****
card 0: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: CK804 [NVidia CK804], device 1: Intel ICH - MIC ADC [NVidia CK804 - MIC ADC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

PCM list:
hw {@args.0 CARD
        @args.1 DEV
        @args.2 SUBDEV
        @args.CARD { type string
                                 default { @func getenv
                                                vars { 0 ALSA_PCM_CARD
                                                           1 ALSA_CARD}
                                                default { @func refer
                                                                name 'defaults.pcm.card'}}}
        @args.DEV { type integer
                              default { @func igetenv
                                             vars { 0 ALSA_PCM_DEVICE}
                                            default { @func refer
                                                           name 'defaults.pcm.device'}}}
        @args.SUBDEV { type integer
                                    default {@func refer
                                                  name 'defaults.pcm.subdevice'}}
        type hw
        card $CARD
        device $DEV
        subdevice $SUBDEV}
plughw { @args.0 CARD
               @args.1 DEV
               @args.2 SUBDEV
               @args.CARD { type string
                                        default { @func getenv
                                                        vars { 0 ALSA_PCM_CARD
                                                                   1 ALSA_CARD}
                                                        default { @func refer
                                                                       name 'defaults.pcm.card'}}}
                @args.DEV { type integer
                                      default { @func igetenv
                                                      vars { 0 ALSA_PCM_DEVICE}
                                                      default { @func refer
                                                                      name 'defaults.pcm.device'}}}
               @args.SUBDEV { type integer
                                            default { @func refer
                                                            name 'defaults.pcm.subdevice'}}
                type plug
                slave.pcm { type hw
                                     card $CARD
                                     device $DEV
                                     subdevice $SUBDEV}}
plug { @args.0 SLAVE
           @args.SLAVE { type string}
            type plug
            slave.pcm $SLAVE }
shm { @args.0 SOCKET
           @args.1 PCM
           @args.SOCKET { type string}
           @args.PCM { type string}
            type shm
            server $SOCKET
            pcm $PCM}
tee { @args.0 SLAVE
         @args.1 FILE
         @args.2 FORMAT
         @args.SLAVE { type string}
         @args.FILE { type string}
         @args.FORMAT { type string
                                      default raw }
          type file
          slave.pcm $SLAVE
          file $FILE
          format $FORMAT}
file { @args.0 FILE
         @args.1 FORMAT
         @args.FILE { type string}
         @args.FORMAT { type string
                                      default raw}
          type file
          slave.pcm null
          file $FILE
          format $FORMAT}
null { type null}
cards 'cards.pcm'
front 'cards.pcm.front'
rear 'cards.pcm.rear'
center_lfe 'cards.pcm.center_lfe'
side 'cards.pcm.side'
surround40 'cards.pcm.surround40'
surround41 'cards.pcm.surround41'
surround50 'cards.pcm.surround50'
surround51 'cards.pcm.surround51'
surround71 'cards.pcm.surround71'
iec958 'cards.pcm.iec958'
spdif 'cards.pcm.iec958'
modem 'cards.pcm.modem'
phoneline 'cards.pcm.phoneline'
default 'cards.pcm.default'
dmix 'cards.pcm.dmix'
dsnoop 'cards.pcm.dsnoop'

Last edited by galle; 01-31-2007 at 04:56 PM.
 
Old 01-31-2007, 04:40 PM   #2
galle
Member
 
Registered: Sep 2003
Location: Bergen, Norway
Distribution: Debian testing
Posts: 69

Original Poster
Rep: Reputation: 16
This is a bit embarrasing. Half an hour after I posted this I found the solution on google. In the ALSA faq of all places...

Anyhow, what was needed was to run aumix and set the 'IGain' to 100%.

Thanks anyway! I love linuxquestions.org!
 
Old 01-31-2007, 04:41 PM   #3
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Glad to see you solved it. Could you post what you did and your setup. I see this many times here so this could help others with similiar problems.

edit: Never mind. Just as I posted you did what I was asking for and posted your answer. Thanks for the info.
edit:

Brian

Last edited by Brian1; 01-31-2007 at 04:43 PM.
 
Old 03-15-2007, 10:00 AM   #4
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Rep: Reputation: 30
Thanks for posting this. It helped with me with the exact same problem.
 
  


Reply

Tags
alsa, mic, microphone, mixer, record, recording, volume


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
problem with ALSA, no sound through alsa, oss works SB Live! 5.1 Michalxo Linux - Hardware 2 01-21-2007 05:24 AM
Microphone not working with oss linuxmandrake Linux - Hardware 0 11-08-2005 11:06 AM
ALSA ESD --> no sound, but OSS sound works intense Slackware 1 03-23-2004 02:34 PM
ALSA-oss compatability works, but not programs intended for alsa ? qwijibow Linux - Software 5 03-14-2004 07:28 AM
Problems in RH 9 with alsa and esd oss works fine (VIA VT8233) husfeldt Linux - Hardware 1 08-28-2003 06:59 AM


All times are GMT -5. The time now is 06:48 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration