Hi. I use RPi4 with Hifiberry Dac2 Pro with 7 inch Touchscreen and Rotary Encoder (5 pins).
After resolving the problem with auto load of eeprom overlay I got one more problem:
Rotary Encoder works after first use (plugin installed, settings done) but comes off after restart. I can manualy enable it changing something in settings and saving it but just wonder why it wont work itself if plugin is on?
Using 26 and 6 GPIOs for volume only + pwr supply from 3v3 (pin 1) and Ground (pin 6) pins - everything from Hifiberry DAC.