Bug 874566

Summary: not able to record sound on C-Media USB
Product: Red Hat Enterprise Linux 6 Reporter: Tomas Pelka <tpelka>
Component: kernelAssignee: Jaroslav Kysela <jkysela>
kernel sub component: Audio QA Contact: Ken Benoit <kbenoit>
Status: CLOSED WORKSFORME Docs Contact:
Severity: unspecified    
Priority: unspecified CC: jshortt, kbenoit, kernel-qe-hw
Version: 6.4   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-02 15:38:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1269638    
Attachments:
Description Flags
alsa-info none

Description Tomas Pelka 2012-11-08 13:15:13 UTC
Description of problem:
not able to record sound on C-Media USB, capture volume on max, mic volume on max, I can hear my voice in headphones but arecord produce silent.

Version-Release number of selected component (if applicable):
kernel-2.6.32-339.el6
alsa-lib-1.0.22-3.el6

How reproducible:


Steps to Reproduce:
1. set device in sound preferences (input tab)
2. arecord test.wav
3. aplay test.wav
  
Actual results:
nothing recorded 

Expected results:
should be able to record sound 

Additional info:
From my older records it works on 6.3 so most likely regression.

Card: Generic USB Audio Device at usb-0000:00:14.0-3, full speed

Comment 1 Tomas Pelka 2012-11-08 13:15:39 UTC
Created attachment 640799 [details]
alsa-info

Comment 2 Jaroslav Kysela 2012-11-08 13:33:49 UTC
The alsa-info attachment seems incomplete (missing amixer output).

Please, attach output from 'amixer -c 2'.

Comment 3 Tomas Pelka 2012-11-08 13:45:26 UTC
the same for 

2 [Headset        ]: USB-Audio - Logitech USB Headset
                      Logitech Logitech USB Headset at usb-0000:00:14.0-3, full speed

Comment 4 Tomas Pelka 2012-11-08 13:52:48 UTC
(In reply to comment #2)
> The alsa-info attachment seems incomplete (missing amixer output).
> 
> Please, attach output from 'amixer -c 2'.

$ amixer -c 2
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch pswitch-joined penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 151
  Mono:
  Front Left: Playback 65 [43%] [-16.19dB] [on]
  Front Right: Playback 65 [43%] [-16.19dB] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch pswitch-joined cswitch cswitch-joined penum
  Playback channels: Mono
  Capture channels: Mono
  Limits: Playback 0 - 32 Capture 0 - 16
  Mono: Playback 32 [100%] [47.81dB] [on] Capture 16 [100%] [23.81dB] [on]
Simple mixer control 'Auto Gain Control',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]

Comment 5 RHEL Program Management 2012-12-14 08:29:40 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 7 Jaroslav Kysela 2015-10-19 06:52:09 UTC
Could you retest with the latest RHEL6 kernel ? The USB driver was updated.

Comment 8 Ken Benoit 2015-11-02 15:38:59 UTC
Tried with 6.4. I did get a recording but the sound had a lot of static in it. Retested with 6.7 and the recording sounds very clear now. Will reopen if this regresses in the future.