Bug 92753

Summary: Audinst HUD-mx2 autodetected incorrectly
Product: PulseAudio Reporter: Alex B <alex.teorver>
Component: modulesAssignee: pulseaudio-bugs
Status: RESOLVED MOVED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: alexander, lennart
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Alex B 2015-10-31 11:39:36 UTC
For some reason it is two devices

aplay -l:
card 2: HUDmx2 [Audinst HUD-mx2], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 2: HUDmx2 [Audinst HUD-mx2], device 1: USB Audio [USB Audio #1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


"device 1" should be used to play sound, but PulseAudio detects only "device 0".

Loading module manually helps and everything works fine:
pacmd load-module module-alsa-sink device=hw:2,1

ArchLinux, Linux 4.2.5, systemd 227, pulseaudio 7.1

As far as I know it is not regression and device never was autodetected correctly.

lsusb output:
"Bus 005 Device 006: ID 040d:340f VIA Technologies, Inc. "
Comment 2 Alex B 2015-10-31 18:17:20 UTC
(In reply to Raymond from comment #1)
> https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/
> usb?id=5ee20bc792467d7d612157e0a9962765aa943b08

Does not help. Also commit message explicitly says that cards without capture streams should be unaffected by this change.
Comment 3 Alex B 2015-10-31 18:19:07 UTC
Using this profile seems fix issue for me:

[General]
auto-profiles = yes

[Mapping analog-stereo]
device-strings = front:%f hw:%f,1,0
channel-map = left,right
paths-output = analog-output
priority = 10

Not sure if it is best solution.
Comment 5 Alex B 2015-11-02 19:04:02 UTC
(In reply to Raymond from comment #4)
> http://git.alsa-project.org/?p=alsa-lib.git;a=blob;f=src/conf/cards/USB-
> Audio.conf;hb=HEAD

Yep. Seems it is right place. Syntax is too obscure though.
Will try to figure something.
Comment 6 Alexander Tsoy 2017-08-11 12:39:41 UTC
I've sent a patch for the kernel driver:
http://mailman.alsa-project.org/pipermail/alsa-devel/2017-August/123802.html
Comment 7 GitLab Migration User 2018-07-30 09:54:30 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/113.

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.