Bug 48730 - pulseaudio does not set volume on left channel correctly with Sonica Theater USB sound card
Summary: pulseaudio does not set volume on left channel correctly with Sonica Theater ...
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: daemon (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-15 04:52 UTC by Martin Steigerwald
Modified: 2018-07-30 10:21 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
pulseaudio -vvvvv log of starting pulseaudio, plugging in Sonica Theater and unplugging it (416.41 KB, text/x-log)
2012-04-15 04:52 UTC, Martin Steigerwald
Details
lsusb -v with the Sonica Theater sound card attached (75.00 KB, text/plain)
2012-04-15 04:52 UTC, Martin Steigerwald
Details

Description Martin Steigerwald 2012-04-15 04:52:04 UTC
Created attachment 60009 [details]
pulseaudio -vvvvv log of starting pulseaudio, plugging in Sonica Theater and unplugging it

When I plug in the USB Sonica Theater and Pulseaudio recognized instead of the bailing out with "usb_set_interface failed" message I get the following situation regarding volume acording to alsamixer:

- left channel: 0
- right channel: 79

Expected results:

Both channels at 79 or something like that.

I reported this on Pulseaudio mailing list already:

[pulseaudio-discuss] usb sound card: PCM has 8 channels, thats too much & cannot submit datapipe for urb 0

I think its due to:

> Nov 19 21:47:05 merkaba pulseaudio[1666]: [pulseaudio] alsa-mixer.c:
> Volume element PCM has 8 channels. That's too much! I can't handle
> that! Nov 19 21:47:05 merkaba kernel: [   53.498439] cannot submit
> datapipe for urb 0, error -28: not enough bandwidth

As Tanu Kaskinen requested I now did a pulseaudio -vvvvv log that I will attach.

The sound card involved is:

martin@shambhala:~> lsusb   
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 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 003 Device 003: ID 0763:2007 Midiman M-Audio Sonica Theater


(lsusb-v I will attach as well).

Thanks,
Martin
Comment 1 Martin Steigerwald 2012-04-15 04:52:34 UTC
Created attachment 60010 [details]
lsusb -v with the Sonica Theater sound card attached
Comment 2 Martin Steigerwald 2012-04-15 05:00:37 UTC
This is on a ThinkPad T42 with:

martin@shambhala:~> apt-show-versions | egrep "(gstreamer|pulseaudio|phonon)"
gstreamer0.10-alsa/wheezy uptodate 0.10.36-1
gstreamer0.10-ffmpeg/wheezy uptodate 0.10.13-2
gstreamer0.10-fluendo-mp3/wheezy uptodate 0.10.15.debian-1
gstreamer0.10-gconf/wheezy uptodate 0.10.31-1
gstreamer0.10-gnomevfs/wheezy uptodate 0.10.36-1
gstreamer0.10-nice/wheezy uptodate 0.1.1-2
gstreamer0.10-plugins-bad/wheezy uptodate 0.10.23-1
gstreamer0.10-plugins-base/wheezy uptodate 0.10.36-1
gstreamer0.10-plugins-good/wheezy uptodate 0.10.31-1
gstreamer0.10-plugins-ugly/wheezy uptodate 0.10.19-1
gstreamer0.10-pulseaudio/wheezy uptodate 0.10.31-1
gstreamer0.10-x/wheezy uptodate 0.10.36-1
libgstreamer-plugins-bad0.10-0/wheezy uptodate 0.10.23-1
libgstreamer-plugins-base0.10-0/wheezy uptodate 0.10.36-1
libgstreamer0.10-0/wheezy uptodate 0.10.36-1
libphonon4/wheezy uptodate 4:4.6.0.0-1
phonon/wheezy uptodate 4:4.6.0.0-1
phonon-backend-gstreamer/wheezy uptodate 4:4.6.0.0-1
phonon-backend-vlc/wheezy uptodate 0.5.0-1
pulseaudio/wheezy uptodate 1.1-3+b1
pulseaudio-module-x11/wheezy uptodate 1.1-3+b1
pulseaudio-utils/wheezy uptodate 1.1-3+b1

But it happens on my Amarok-T23 and my work T520 as well.
Comment 3 Martin Steigerwald 2012-04-15 05:30:08 UTC
I have now for the first time see this without Pulseaudio. On the T23 after plugging back the Sonica Theater to it. But at least it doesn´t seem to show up after suspend/resume cycle or reboot.

So this actually might be an ALSA issue or at least related to an ALSA issue. Can you tell more from the logs?
Comment 4 Martin Steigerwald 2012-04-15 06:58:16 UTC
It might also be a bug that Phonon, its gstreamer backend or gstreamer itself shares with PulseAudio. I remember that I had a time where I never had this issue: AFAIR that was with the Xine backend of Phonon which is now deprecated and removed from Debian Testing.

alsamixer -c1 sees the following channels:

- PCM front: two volume controls (left/right) - this is the one relevant for me
- PCM back: two volume controls
- PCM middle: one volume control
- PCM bass: one volume control
- PCM sides: two volume controls

without any additional ALSA configuration that is.

I only use stereo. But officially it is a 7.1 surround card, but my receiver only handles stereo.

And I correct a wrong left volume setting via alsamixer as well, thus it seems to work in ALSA.
Comment 5 GitLab Migration User 2018-07-30 10:21:18 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/369.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.