Hi,

For about a month I'm having a strange issue with the USB audio. I did
maybe 1 or 2 updates of -CURRENT during this time, but not sure when it
has started exactly as it does not show up immediately.

The issue is: I have a set of USB speakers which I use as the main
output.

After a few days of uptime (this time it was 3), the audio simply
disconnects.

In dmesg it looks like:

ugen0.4: <Generic Philips SPA 20/93> at usbus0 (disconnected)
umass0: at uhub0, port 9, addr 3 (disconnected)
da0 at umass-sim0 bus 0 scbus6 target 0 lun 0
da0: <Generic Masstorage 1.00>  s/n 20220701093627 detached
(da0:umass-sim0:0:0:0): Periph destroyed
umass0: detached
uaudio0: at uhub0, port 9, addr 3 (disconnected)
pcm2: detached
uaudio0: detached
usbhid1: at uhub0, port 9, addr 3 (disconnected)
hcons0: detached
hidbus1: detached
usbhid1: detached

At this point, things appear quite strange. If I reconnect this device,
it's not detected anymore, complete silence. Moreover, if I connect
other USB devices, there are ignored by the system (no output in dmesg).

The system has a builtin audio, but when this happens, switching to it
does not help:

> cat /dev/sndstat
Installed devices:
pcm0: <Realtek ALC897 (Rear Analog)> (play/rec) default
pcm1: <Realtek ALC897 (Analog)> (play/rec)
No devices installed from userspace.

But I get no audio when I try to test it with e.g. 'mpv -ao oss'.

That could be a hardware issue, but feels more like a bug in the
USB/sound subsystem? Any ideas how to debug that?

I'm running -CURRENT @ 0010c4b8a020dbeb81e61b71117d1caae9b044cc now.

Roman

Reply via email to