Well the scenario is maybe specific to a RPi. The RPi does not have any kind of advanced power management, e.g. suspend or wake on lan capabilities. This itself is not a big problem as the power consumption is low and it can stay on all the time. But it also means that there is no USB power management either like its present on most x86 or maybe other SBCs. Which in turn means that USB DACs that mostly rely on such a behavior do not go to sleep or shutdown. Unfortunately I think that most/all DACs do not expose their display in any way to the Host, but yes basically it's about the display of the DAC which at least to me is annoying/distracting when not listening to music.
So my specific use case is that I have a RPi4 and attached to it is a Topping D10s via USB. When playing music it's nice to see the bitrate on the Display of the DAC but when I just watch TV or do something else it's rather distracting and I actually want the DAC to shutdown when it is not in use
If a generic approach (hooks) is feasible it would open a lot more possibilities for similar use cases, e.g. when pressing play in moode someone could power on their AVR via HDMI-CEC with a custom script.
So my specific use case is that I have a RPi4 and attached to it is a Topping D10s via USB. When playing music it's nice to see the bitrate on the Display of the DAC but when I just watch TV or do something else it's rather distracting and I actually want the DAC to shutdown when it is not in use
If a generic approach (hooks) is feasible it would open a lot more possibilities for similar use cases, e.g. when pressing play in moode someone could power on their AVR via HDMI-CEC with a custom script.