RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 821535 - There isn't any "Capture" device in alsamixer on SPICE VM.
Summary: There isn't any "Capture" device in alsamixer on SPICE VM.
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: alsa-utils
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Jaroslav Kysela
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-14 20:16 UTC by Bill Sanford
Modified: 2012-05-29 18:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-29 18:29:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Output from 'alsa-info.sh --no-upload' (7.33 KB, text/plain)
2012-05-16 14:31 UTC, Bill Sanford
no flags Details

Description Bill Sanford 2012-05-14 20:16:09 UTC
Description of problem:
The alsamixer on the SPICE VM sees the playback device and does not see the capture device.

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

How reproducible:
100%

Steps to Reproduce:
1. Create a RHEL 6.3 VM in a RHEV-M ic155.2 environment.
2. From the SPICE client, run alsamixer to select sound card and set volume.
3. Launch SPICE VM and run alsamixer and see there is no "Capture" device.
  
Actual results:
The SPICE VM has no "Capture" device to set volume.

Expected results:
The SPICE VM has a "Capture" device to set volume.

Additional info:

Client - RHEL 6.3 32 bit 
spice-usb-share-4.9-9.el6.i686 
spice-vdagent-0.8.1-3.el6.i686 
spice-glib-0.11-9.el6.i686 
spice-client-0.8.2-15.el6.i686 
spice-xpi-2.7-19.el6.i686 
spice-gtk-0.11-9.el6.i686 
kmod-kspiceusb-rhel60-4.9-14.el6.i686 
usbredir-0.4.3-1.el6.i686 
xorg-x11-drv-qxl-0.0.14-13.el6_2.i686 
virt-viewer-0.5.2-8.el6.i686 


Guest - RHEL 6.3 32 bit 
spice-vdagent-0.8.1-3.el6.i686 
xorg-x11-drv-qxl-0.0.14-13.el6_2.i686 
rhev-agent-2.3.16-3.el6.i386 


Host - RHEL 6.3 32 bit 
spice-server-0.10.1-7.el6.x86_64 
spice-vdagent-0.8.1-3.el6.x86_64 
usbredir-0.4.3-1.el6.x86_64 
qemu-kvm-0.12.1.2-2.292.el6.x86_64 
qemu-kvm-tools-0.12.1.2-2.292.el6.x86_64 
xorg-x11-drv-qxl-0.0.14-13.el6_2.x86_64 


RHEV-M ic155.2 
rhevm-spice-client-x64-cab-3.0-29.el6.noarch 
rhevm-spice-client-x86-cab-3.0-29.el6.noarch 
rhevm-spice-client-x64-msi-3.0-29.el6.noarch 
spice-vdagent-0.8.1-3.el6.x86_64 
rhevm-spice-client-x86-msi-3.0-29.el6.noarch 
xorg-x11-drv-qxl-0.0.14-13.el6_2.x86_64 
rhevm-3.0.3_0001-3.el6.x86_64 
rhev-guest-tools-iso-3.0-37.noarch 
rhevm-userportal-3.0.3_0001-3.el6.x86_64 
rhevm-admin-portal-wpf-3.0-50.el6_2.noarch

Comment 1 Bill Sanford 2012-05-14 20:18:29 UTC
I have tried a stand alone mic with one plug input and Clear Chat Pro - USB Headset/Mic.

Comment 2 Bill Sanford 2012-05-14 20:40:11 UTC
The reason I put this in alsamixer, is that the same configuration but with a Windows 7 Guest, works.

Comment 3 Jaroslav Kysela 2012-05-14 22:05:06 UTC
Please, attach output from 'alsa-info.sh --no-upload'.

Comment 4 Bill Sanford 2012-05-16 14:31:00 UTC
Created attachment 584989 [details]
Output from 'alsa-info.sh --no-upload'

Comment 5 Bill Sanford 2012-05-16 14:31:40 UTC
This is the output from the SPICE guest.

Comment 6 Jaroslav Kysela 2012-05-16 14:38:47 UTC
The ALSA PCM capture device is three, but the virtual HDA codec does not have any volume control for the capture path, so the mixer interface does not offer it.

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
  Subdevices: 1/1
  Subdevice #0: subdevice #0



Just run 'arecord -f cd a.wav' or any other PCM capture session to test the sound input on guest.

Comment 7 Bill Sanford 2012-05-16 17:44:04 UTC
After about the third reboot of the VM, now it works.

Comment 8 Jaroslav Kysela 2012-05-16 17:53:48 UTC
It means that in some boot cases the capture volume control is not present?

It appears like a bug. It would be good to attach also 'alsa-info.sh --no-upload' for the working state.

Comment 9 Bill Sanford 2012-05-29 18:29:41 UTC
I just installed RHEL6.3-20120516.0 as a SPICE VM and I am not seeing this behavior. 

If this is an issue again, I will enter the bug with the files from 'alsa-info.sh --no-upload' in the working and non-working state.


Note You need to log in before you can comment on or make changes to this bug.