Bug 1379360

Summary: arecord is not able to record sound.
Product: Red Hat Enterprise Linux 7 Reporter: Ajinkya Patil <ajipatil>
Component: pulseaudioAssignee: Wim Taymans <wtaymans>
Status: CLOSED NOTABUG QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.2CC: cww, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-01 17:17:31 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:
Attachments:
Description Flags
alsa-info.sh --no-upload from Fedora 15, RHEL 7.0 and RHEL 7.3 none

Description Ajinkya Patil 2016-09-26 13:05:52 UTC
Created attachment 1204834 [details]
alsa-info.sh --no-upload from Fedora 15, RHEL 7.0 and RHEL 7.3

Description of problem:
When the customer is working with RHEL 7.0 the command "alsamixer" (ver. 1.0.27.2) cannot change the condition, when the sound.
from INPUT connector can be hearing from the speakers through OUTPUT connector.
Obviously, the loopback between audio input and output is enabled.
When we attempt to make the audio file and play it, "aplay" has not issued a sound.      
        

Version-Release number of selected component (if applicable):


How reproducible:
not reproducible

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Customer is using Realtek analog chip ALC262.
There is an improvement in RHEL7.3. Below is the statement made by customer:-
"We downloaded the RHEL-7.3 Beta version alsamixer ver.1.1.1 has some improvement,  the “Mix” loopback with alsamixer ver.1.1.1 can be disabled. That means when audio input is coming from the external PC it will not be routed/looped to the speakers directly as appears in the alsamixer rev 1.0.27.2 (RHEL 7.0) "

Note:- Customer is able to achieve above things in fedora 15 without any issue.

Comment 1 Jaroslav Kysela 2016-09-26 13:57:33 UTC
ALSA subsystem looks good. Please, test directly the ALSA driver with the setup for RHEL 7.3 (alsamixer - capture flag in 'Capture' column, increased 'Line Boost', 'Capture' 100% - unmuted).

  arecord -D plughw:0,0 -f cd -d 15 -vvv a.wav

Note that there is no more 'Input Source' in recent Linux kernels for this hardware. The codec is capable to mix inputs together (Line,Mic etc.). The user should select the input source(s) with the "capture' flag in alsamixer.

Comment 3 Ajinkya Patil 2016-09-29 18:33:26 UTC
Hi Jaroslav,

"arecord -D plughw:0,0 -f cd -d 15 -vvv a.wav" resolves the issue.

Comment 4 Jaroslav Kysela 2016-09-29 18:43:06 UTC
OK, so it looks like a pulseaudio configuration issue..