All of lore.kernel.org
 help / color / mirror / Atom feed
* recording of voice with ALSA driver version 1.0.11-2 - problem
@ 2006-07-30 16:41 V. Ananda Krishnan
  2006-07-31 18:12 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: V. Ananda Krishnan @ 2006-07-30 16:41 UTC (permalink / raw)
  To: alsa-devel

Hi All,

   I am using a Micronas UAC-3556B USB headphone with microphone 
attached to the headset.  I am using IBM ThinkCenter with Intel Pentium 
Processor (3.0GHz)running RHEL4.0-U2 Linux kernel (2.6.9-22.EL). I am 
able to replay audio CDs using the ALSA driver.  However,I am not able 
to record voice and replay the recorded audio.

   I did post the problem to ALSA-User list and got a good response from 
Lee R. and others.  However, the recording of voice/audio is not yet 
possible.  So I am posting my problem in the ALSA-DEVL list. The info on 
the configuration is given below. Any help to solve the recording 
problem is appreciated.  Thanks All

ALSA driver packages info:
   alsa-lib-1.0.11-2
   alsa-utils-1.0.11-2.RHEL4
   alsa-lib-debuginfo-1.0.11-2
   alsa-lib-devel-1.0.11-2
   alsa-utils-debuginfo-1.0.11-2.RHEL4

execution of cmd: aplay -l
   **** List of PLAYBACK Hardware Devices ****
   card 0: ICH5 [Intel ICH5], device 0: Intel ICH [Intel ICH5]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
   card 0: ICH5 [Intel ICH5], device 4: Intel ICH - IEC958 [Intel ICH5 - 
IEC958]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
   card 1: UAC3556B [UAC3556B], device 0: USB Audio [USB Audio]
     Subdevices: 1/1
     Subdevice #0: subdevice #0

playing sound by executing aplay -D hw:1,0 
/usr/share/sounds/shutdown*.wave  works fine. (better than version 1.0.6-5)

executed the command: alsaunmute 1

executed the command and used "F4" to adjust the capture of mic and 
raised  mic channel using "alsamixer -c 1"

However the recording still doesn't work with the command:
  arecord -d 20 -D hw:1,0 -f dat /tmp/foobar.wav
and the dump is below:
  Simple mixer control 'Bass',0
    Capabilities: volume volume-joined
    Playback channels: Mono
    Capture channels: Mono
    Limits: 0 - 48
    Mono: 45 [94%]
  Simple mixer control 'Bass Boost',0
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [on]
  Simple mixer control 'Treble',0
    Capabilities: volume volume-joined
    Playback channels: Mono
    Capture channels: Mono
    Limits: 0 - 48
    Mono: 24 [50%]
  Simple mixer control 'PCM',0
    Capabilities: pvolume cvolume pswitch pswitch-joined cswitch 
cswitch-joined
    Playback channels: Front Left - Front Right
    Capture channels: Mono
    Limits: Playback 0 - 704 Capture 0 - 15
    Mono: Capture 7 [47%] [off]
    Front Left: Playback 500 [71%] [on]
    Front Right: Playback 500 [71%] [on]
  Simple mixer control 'PCM Capture Source',0
    Capabilities: enum
    Items: 'PCM' 'Mic' 'Input 2'
    Item0: 'Mic'
  Simple mixer control 'PCM',1
    Capabilities: cvolume
    Capture channels: Mono
    Limits: Capture 0 - 656
    Mono: Capture 299 [46%]
  Simple mixer control 'Mic',0
    Capabilities: cvolume
    Capture channels: Mono
    Limits: Capture 0 - 15
    Mono: Capture 10 [67%]
  Simple mixer control 'Auto Gain Control',0
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [on]

Please let me know if I have anything set in the wrong way.  Let me also 
know if we have to login a defect at ALSA-project site.  Hope I have 
switched on the capture this time.  "space bar" doesn't work and so is 
the case with "m" to unmute the channel.  Also with 1.0.11 version, 
"F2", "F3", "F4" and "F5" function keys WORK.


Regards,
V.A.Krishnan

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: recording of voice with ALSA driver version 1.0.11-2 - problem
  2006-07-30 16:41 recording of voice with ALSA driver version 1.0.11-2 - problem V. Ananda Krishnan
@ 2006-07-31 18:12 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2006-07-31 18:12 UTC (permalink / raw)
  To: V. Ananda Krishnan; +Cc: alsa-devel

At Sun, 30 Jul 2006 11:41:43 -0500,
V. Ananda Krishnan wrote:
> 
>   Simple mixer control 'PCM',0
>     Capabilities: pvolume cvolume pswitch pswitch-joined cswitch 
> cswitch-joined
>     Playback channels: Front Left - Front Right
>     Capture channels: Mono
>     Limits: Playback 0 - 704 Capture 0 - 15
>     Mono: Capture 7 [47%] [off]
                            ^^^^^

This might be a problem.
Try to run "amixer -c1 set PCM cap", or try to toggle the capture
switch via "alsamixer -c1" and go to capture mode.

(Why it belongs to "PCM" is due to a weird internal routing of USB
 audio units.)


Takashi

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-31 18:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-30 16:41 recording of voice with ALSA driver version 1.0.11-2 - problem V. Ananda Krishnan
2006-07-31 18:12 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.