Bug#927173: udev: wrong device name when booting
JB
julienbenjamin at protonmail.com
Thu Apr 18 16:36:56 BST 2019
Long story short, my USB DAC was listed at index 0 within the list of pulseaudio sinks.
-> when in good state:
$ pacmd list-sinks
2 sink(s) available.
index: 0
name: <alsa_output.usb-HiFimeDIY_Audio_SA9023_USB_Audio-01.iec958-stereo>
....
So, I usually set it as the default output sink:
$ pacmd set-default-sink 0
I thought it might worked as workaround using the index; I reached out to the pulseaudio team to know more. The previous command is actually using the index to retrieve the sink name and store it as the reference for the default sink.
At this point, they stressed on how pulseaudio retrieved the sink name through alsa. Therefore, I discovered that the alsa name what, as well not the proper one (using `cat /proc/asound/cards`) after some (re)boots.
-> when in good state:
$ cat /proc/asound/cards
...
2 [Audio ]: USB-Audio - SA9023 USB Audio
HiFimeDIY Audio SA9023 USB Audio at usb-0000:00:14.0-3, full speed
I reached out to the alsa team, just to be sure, they told me what I already suspected, that alsa was just handling device names given by udev.
Some people on the udev IRC channel were puzzled as well, thought it was a good time to report the problem.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, April 18, 2019 5:06 PM, Michael Biebl <biebl at debian.org> wrote:
> Am 18.04.19 um 17:03 schrieb JB:
>
> > I managed to track this bug down to udev,
>
> How?
>
>
> --------
>
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?
More information about the Pkg-systemd-maintainers
mailing list