Make sure your Raspberry Pi running Batocera is powered on and connected to the network.
Note the Batocera IP address (e.g., 192.168.1.73).
On another computer, open PuTTY (on Windows) or Terminal (on macOS/Linux).
In PuTTY, enter the IP address (e.g., 192.168.1.73) under “Host Name” and click Open.
When prompted with:
login as:
type:
root
When prompted for a password, type:
linux
(Note: No characters will appear while typing the password. This is normal.)
Run the following command:
mount -o remount,rw /boot
Run:
nano /boot/config.txt
Go to the last line then add:
dtoverlay=hifiberry-dacplus,save dtoverlay=dwc2,dr_mode=host
Press Ctrl + O, then Enter to save the file.
Press Ctrl + X to exit the editor.
Run:
reboot
Press the Start button on your controller to open the Main Menu.
Navigate to System Settings.
Set Audio Output to:
AUDIO ADAPTER(UNITEK Y-247A)ANALOG STEREO
Set Audio Profile to:
USB AUDIO DEVICE ANALOG STEREO OUTPUT + MONO INPUT
The USB AUDIO device should now be working correctly.