Bug 746291

Summary: pa_context_set_sink_volume_by_index failed
Product: [Fedora] Fedora Reporter: Jason Boxman <jasonb>
Component: pulseaudioAssignee: Lennart Poettering <lpoetter>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: lkundrak, lpoetter
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-07 16:58:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jason Boxman 2011-10-14 16:45:51 UTC
Description of problem:

My USB audio C-Media Electronics, Inc. CM102-A+/102S+ Audio Controller (Turtle Beach Audio Advantage Micro II Virtual 5.1) does not allow me to control its volume.  If I attempt to do so using pavcontrol, it almost immediately loses connection with PA with an error.

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

# rpm -qa | grep pulse
pulseaudio-0.9.22-5.fc15.i686
alsa-plugins-pulseaudio-1.0.24-2.fc15.i686
wine-pulseaudio-1.3.24-1.fc15.i686
pulseaudio-module-bluetooth-0.9.22-5.fc15.i686
kde-settings-pulseaudio-4.6-10.fc15.noarch
pulseaudio-libs-0.9.22-5.fc15.i686
pulseaudio-utils-0.9.22-5.fc15.i686
pulseaudio-libs-glib2-0.9.22-5.fc15.i686
pulseaudio-module-x11-0.9.22-5.fc15.i686

# uname -a
Linux quorra 2.6.40.4-5.fc15.i686.PAE #1 SMP Tue Aug 30 14:43:52 UTC 2011 i686 i686 i386 GNU/Linux

How reproducible:

Always.

Steps to Reproduce:

Insert USB device.  Run pavcontrol.  Adjust volume of slider for device after assigning an audio stream to it from within pavcontrol.
  
Actual results:

An error bubbles up ->

pa_context_set_sink_volume_by_index(): failed: Bad state
Connection failed: Connection terminated

Expected results:

The audio should adjust normally.

Additional info:

# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 05a9:2640 OmniVision Technologies, Inc. OV2640 Webcam
Bus 003 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 006 Device 002: ID 045e:0025 Microsoft Corp. IntelliEye Mouse
Bus 007 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 007 Device 003: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
Bus 007 Device 004: ID 0a5c:4502 Broadcom Corp. Keyboard (Boot Interface Subclass)
Bus 007 Device 005: ID 0a5c:4503 Broadcom Corp. Mouse (Boot Interface Subclass)
Bus 005 Device 002: ID 0d8c:0103 C-Media Electronics, Inc. CM102-A+/102S+ Audio 
Controller

# grep -i alsa /var/log/messages
Oct 14 12:28:29 quorra kernel: [ 1764.415227] ALSA sound/usb/mixer.c:795 13:0: cannot get min/max values for control 2 (id 13)

Comment 1 Fedora End Of Life 2012-08-07 16:58:46 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping