Re: Microphone not working on emu10k1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I've the same problem too and I tried your method and posted the problem
before, but still not work, would you mind take a look a look for my
problem too? I am really so lost....


===old mesage===
Hi everyone,

I really need some hands in here, I am so lost. I can hear voice from
microphone, but I cannot record anything. **I do unmute the recording
channel in the alsamixer.** My soundcard worked perfect before. I could
play and record sound in all app. including skype, audacity... and then
it didn't work in some day. Right now, playing sound has no problem, but
not for recording. Since I only use alsaconf to configure my soundcard,
I never need to touch /etc/'s alsa files. 

I tried to capture the sound from microphone by using audacity(thru
didfferent channel, e.g. MIC, PCM, AUG...) and `arecord -d 10 -f cd -t
wav -D copy foobar.wav&&aplay foobar.wav`, but no sound plays. I tried
to unmute recording channels by alsamixer, alsamixergui, kmix and amixer
and all of them are on. I tried to I tried to dig the mail lists, wiki
and google, but none of them work. I even tried to upgrade and compile
the alsa by source to 1.0.14, no luck either. Here is my info:

Kernel: 2.6.18.3
Dist: Debian->testing
soundcard: creative soundblaster 64 live , on board intel8x0(I always
rmmod snd_intel8x0, so it doesn't matter)
chipset: ens1370
kernel module: snd_ens1370
alsa version: 1.0.14 ( upgraded from 1.0.11 )

`amixer info`:

Card default 'AudioPCI'/'Ensoniq AudioPCI ENS1370 at 0xac00, irq 20'
  Mixer name    : 'Asahi Kasei AK4531'
  Components    : 'AK4531'
  Controls      : 43
  Simple ctrls  : 15

`amixer scontrols`:

Simple mixer control 'Master',0
Simple mixer control 'Master Mono',0
Simple mixer control 'PCM',0
Simple mixer control 'PCM',1
Simple mixer control 'Line',0
Simple mixer control 'CD',0
Simple mixer control 'Mic',0
Simple mixer control 'Mic Boost (+30dB)',0
Simple mixer control 'Mic Bypass',0
Simple mixer control 'Aux',0
Simple mixer control 'Mono',0
Simple mixer control 'Mono1 Bypass',0
Simple mixer control 'Mono2 Bypass',0
Simple mixer control 'Mono',1
Simple mixer control 'AD Input Select',0

`amixer`:

Simple mixer control 'Master',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 24 [77%] [on]
  Front Right: Playback 23 [74%] [on]
Simple mixer control 'Master Mono',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 7
  Mono: Playback 6 [86%] [on]
Simple mixer control 'PCM',0
  Capabilities: volume pswitch cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 26 [84%] Playback [on] Capture [on]
  Front Right: 26 [84%] Playback [on] Capture [on]
Simple mixer control 'PCM',1
  Capabilities: volume pswitch cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 20 [65%] Playback [on] Capture [on]
  Front Right: 20 [65%] Playback [on] Capture [on]
Simple mixer control 'Line',0
  Capabilities: volume pswitch cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 25 [81%] Playback [on] Capture [on]
  Front Right: 24 [77%] Playback [on] Capture [on]
Simple mixer control 'CD',0
  Capabilities: volume pswitch cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 25 [81%] Playback [on] Capture [on]
  Front Right: 25 [81%] Playback [on] Capture [on]
Simple mixer control 'Mic',0
  Capabilities: volume volume-joined pswitch pswitch-joined cswitch
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Mono: 27 [87%] Playback [on]
  Front Left: Capture [on]
  Front Right: Capture [on]
Simple mixer control 'Mic Boost (+30dB)',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Mic Bypass',0
  Capabilities: cswitch
  Capture channels: Front Left - Front Right
  Front Left: Capture [on]
  Front Right: Capture [on]
Simple mixer control 'Aux',0
  Capabilities: volume pswitch cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Front Left: 26 [84%] Playback [on] Capture [on]
  Front Right: 26 [84%] Playback [on] Capture [on]
Simple mixer control 'Mono',0
  Capabilities: volume volume-joined pswitch pswitch-joined cswitch
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Mono: 21 [68%] Playback [on]
  Front Left: Capture [on]
  Front Right: Capture [on]
Simple mixer control 'Mono1 Bypass',0
  Capabilities: cswitch
  Capture channels: Front Left - Front Right
  Front Left: Capture [on]
  Front Right: Capture [on]
Simple mixer control 'Mono2 Bypass',0
  Capabilities: cswitch
  Capture channels: Front Left - Front Right
  Front Left: Capture [on]
  Front Right: Capture [on]
Simple mixer control 'Mono',1
  Capabilities: volume volume-joined pswitch pswitch-joined cswitch
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: 0 - 31
  Mono: 18 [58%] Playback [on]
  Front Left: Capture [on]
  Front Right: Capture [on]
Simple mixer control 'AD Input Select',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

/etc/asound.state:

state.ICH5 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Playback Switch'
                value true
        }
        control.2 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value false
        }
        control.3 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Center Playback Volume'
                value 31
        }
        control.4 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'LFE Playback Switch'
                value false
        }
        control.5 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'LFE Playback Volume'
                value 0
        }
        control.6 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 false
                value.1 false
        }
        control.7 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 0
                value.1 0
        }
        control.8 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value true
        }
        control.9 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 24
        }
        control.10 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'PC Speaker Playback Switch'
                value false
        }
        control.11 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 15'
                iface MIXER
                name 'PC Speaker Playback Volume'
                value 0
        }
        control.12 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.13 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.14 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value false
        }
        control.15 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 0
        }
        control.16 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Line Playback Switch'
                value false
        }
        control.18 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 0
                value.1 0
        }
        control.19 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'CD Playback Switch'
                value true
        }
        control.20 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 28
                value.1 28
        }
        control.21 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Video Playback Switch'
                value false
        }
        control.22 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Video Playback Volume'
                value.0 0
                value.1 0
        }
        control.23 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Aux Playback Switch'
                value false
        }
        control.24 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.25 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'PCM Playback Switch'
                value true
        }
        control.26 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.27 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Capture Switch'
                value false
        }
        control.28 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mix
                comment.item.1 Mic
                iface MIXER
                name 'Mono Output Select'
                value Mix
        }
        control.30 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.31 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value
'0fff000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
        }
        control.32 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value
cf00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
        }
        control.33 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value
'0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
        }
        control.34 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.35 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 3'
                iface MIXER
                name 'IEC958 Playback AC97-SPSA'
                value 0
        }
        control.36 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Analog
                comment.item.1 Digital
                iface MIXER
                name 'IEC958 Playback Source'
                value Analog
        }
        control.37 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Capture Valid Switch'
                value false
        }
        control.38 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Capture Monitor'
                value false
        }
        control.39 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'IEC958 Capture Switch'
                value false
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Shared
                comment.item.1 Independent
                iface MIXER
                name 'Surround Jack Mode'
                value Shared
        }
        control.41 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '4ch'
                comment.item.2 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '2ch'
        }
        control.42 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value true
        }
        control.43 {
                comment.access 'read write user'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 255'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 230
                value.1 230
        }
}

~/.asoundrc:

pcm.!dmix {
        type dmix
        ipc_key 5678293
        ipc_key_add_uid yes
        slave {
              pcm "hw:0,0"
              period_time 0
              period_size 128
              buffer_size 2048
              format S16_LE
              rate 48000
        }
}
pcm.!dsnoop {
        type dsnoop
        ipc_key 5778293
        ipc_key_add_uid yes
        slave {
              pcm "hw:0,0"
              period_time 0
              period_size 128
              buffer_size 2048
              format S16_LE
              rate 48000
        }
} 

pcm.copy {
  type plug
  slave {
    pcm hw
  }
  route_policy copy
}

pcm.cmipci {
    type hw
    card 0
}

ctl.cmipci {
    type hw
    card 0
}
=== end of old message 
===
I hope there has a sol'n. Thx for your patient to read up to here. Feel
free to ask me if you need more info. Have a nice day.

Best wishes,

ZT



於 三,2007-07-25 於 11:07 +0100,Bruce Richardson 提到:
> On Wed, Jul 25, 2007 at 11:01:50AM +0200, Thomas Heinz wrote:
> > Hi
> > 
> > My microphone connected to my SBLive sound card does not record even though 
> > I can hear my voice on the speakers. I tried with arecord, krec, audacity. 
> > Other than that it works fine. All controls in alsamixer are up and the 
> > microphone is selected for capture.
> 
> That's funny, because I have almost the opposite problem; I can capture
> from the microphone and hear myself on the speakers but *not* on my
> headphones.  Anyway...
> 
> Do you also have the Capture device flagged for capture?  I have
> discovered that it is possible, via alsamixer, to toggle the mic on for
> capture but the Capture device off.  If that isn't your problem, maybe
> you could post the output from "amixer scontents" or "amixer contents".
> 
> 
-

_______________________________________
 褩??洘 - Yahoo! Messenger
 憩呾斕?衄奻鋒ㄛ斕腔攬衭゛褫眕隱狟?洘緻斕ㄛ?斕奻鋒?憩夔蕾撈艘善ㄛ¦睡挲?飲?軗囮﹝
  http://messenger.yahoo.com.hk 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux