The "sleep" does not affect it.
It seems that the usb sound adapter not correct recognizing by the rpi kernel usb subsystem, sometimes the string got in lsub is shortend by whatever.
I will explain:
After some reboots, the USB Device-String changes, not the Device ID which is (my example) every time 0A92:0054.
If I successfully chosen the output in snd_config.php and doing some ore somtimes one reboot or complete shutoff und poweron cycle and the USB Device name changes, alwasy the HDMI is selected, so the playback runs into error.
Then I manually select the "other recognized" card 0, the playback will work perfectly.
After some reboots, the old Device Name is back and the Output selector is missing the previously configured "string", so the playback is switched to HDMI1
I would hack it with always choosing the first card entry filled in the snd_config.php but I'm not familiar with php to do that.
When it is displayed as Dr. DAC Nano lsusb shows
Bus 003 Device 002: ID 0a92:0054 EGO SYStems, Inc. Dr. DAC nano
Whet it is displayed as 0x92:0054
The Dr. DAC nano is missing in the string.
Perhaps it is possible to hack it to select always the alsa card0?
Many Thanks for you help in advance
Appendix:
The weired thing is, that this did not happen, when booting from SD Card....
Appendix2:
With another USB Sound device it is the same, also on another rpi5
It seems that the usb sound adapter not correct recognizing by the rpi kernel usb subsystem, sometimes the string got in lsub is shortend by whatever.
I will explain:
After some reboots, the USB Device-String changes, not the Device ID which is (my example) every time 0A92:0054.
If I successfully chosen the output in snd_config.php and doing some ore somtimes one reboot or complete shutoff und poweron cycle and the USB Device name changes, alwasy the HDMI is selected, so the playback runs into error.
Then I manually select the "other recognized" card 0, the playback will work perfectly.
After some reboots, the old Device Name is back and the Output selector is missing the previously configured "string", so the playback is switched to HDMI1
I would hack it with always choosing the first card entry filled in the snd_config.php but I'm not familiar with php to do that.
When it is displayed as Dr. DAC Nano lsusb shows
Bus 003 Device 002: ID 0a92:0054 EGO SYStems, Inc. Dr. DAC nano
Whet it is displayed as 0x92:0054
The Dr. DAC nano is missing in the string.
Perhaps it is possible to hack it to select always the alsa card0?
Many Thanks for you help in advance
Appendix:
The weired thing is, that this did not happen, when booting from SD Card....
Appendix2:
With another USB Sound device it is the same, also on another rpi5