Is there any method to distinguish what hifiberry hardware is mounted on the raspi ? *Before* loading any drivers/modules.
The idea is to load the right modules on boot and patch the mpd/alsa configs depending on the hardware.
I have 'several' hifiberrys up an running and would like to 'automagically' modify the config files on installation.
maybe some i2c tools ?
How to distinguish which hifiberry device is mounted ?