USB Audio on RPi 5

Hello,

I am running version v15.1.0 on Raspberry Pi 5 with official TouchDisplay 2.

I am unable get USB audio working. I have AudioEngine2+ speakers with DAC built-in (Texas Instruments PCM2704 16-bit stereo audio DAC). I can see it under hardware page of devices in Emteria console. But no way to get it working.

Could you please give me some guidance on how to do it, I can only see 3 options in RPi settings:

3.5 mm jack (RPi 3/4) and Digital Audio
HDMI0
HDMI1

I have set it to first option with 16-bit audio quality.

Tagged:

Comments

  • edited January 16

    Just to update, I have tested the audio using the official bookworm OS from Pi, it just works out of the box. But can we please make it work on android as well ?

  • further update.
    logcat show the following

    logcat -b all | grep -i audioengine
    01-19 12:22:19.127     0     0 I usb 1-1 : Product: Audioengine 2+
    01-19 12:22:19.127     0     0 I usb 1-1 : Manufacturer: Audioengine
    01-19 12:22:19.252     0     0 I input   : Audioengine                      Audioengine 2+   as /devices/platform/axi/1000120000.pcie/1f00200000.usb/xhci-hcd.0/usb1/1-1/1-1:1.2/0003:08BB:2704.0001/input/input5
    01-19 12:22:19.252     0     0 I hid-generic 0003: 08BB:2704.0001: input,hidraw0: USB HID v1.00 Device [Audioengine                      Audioengine 2+  ] on usb-xhci-hcd.0-1/input2
    01-19 12:23:00.578   734   911 D EventHub: No input device configuration file found for device 'Audioengine                      Audioengine 2+  '.
    01-19 12:23:00.585   734   911 I EventHub: New device: id=3, fd=224, path='/dev/input/event4', name='Audioengine                      Audioengine 2+  ', classes=KEYBOARD | LIGHT | EXTERNAL, configuration='', keyLayout='/system/usr/keylayout/Generic.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false,
    01-19 12:23:00.677   734   911 I InputReader: Device added: id=4, eventHubId=3, name='Audioengine                      Audioengine 2+  ', descriptor='0638acc685d4d5aa454de1587363aaed8dddac2b',sources=KEYBOARD
    01-19 12:23:06.673   734  1036 D UsbHostManager: USB device attached: vidpid 08bb:2704 mfg/product/ver/serial Audioengine                     /Audioengine 2+  /1.00/null hasAudio/HID/Storage: true/true/false
    01-19 12:23:06.697   734  1036 D UsbHostManager: Added device UsbDevice[mName=/dev/bus/usb/001/002,mVendorId=2235,mProductId=9988,mClass=0,mSubclass=0,mProtocol=0,mManufacturerName=Audioengine                     ,mProductName=Audioengine 2+  ,mVersion=1.00,mSerialNumberReader=com.android.server.usb.UsbSerialReader@40f3796, mHasAudioPlayback=true, mHasAudioCapture=false, mHasMidi=false, mHasVideoCapture=false, mHasVideoPlayback=false, mConfigurations=[
    01-19 12:23:09.201   734  1036 I UsbAlsaManager: Ignore caching device as the type is NONE, device=UsbAlsaDevice: [card: 2, device: 0, name: USB-Audio - Audioengine 2+, hasOutput: true, hasInput: false]
    
  • @srini we don't suppport USB audio so far. Can you check which kernel modules are loaded in bookworm for the Audioengine?
    you can afterwards compare if they are included in our kernel: https://github.com/emteria/kernel_brcm_rpi/blob/v6.6.36/arch/arm64/configs/android_rpi5_defconfig

  • Thanks, not sure if the peripheral needs to be connected during initial boot (after flashing sd card), which I didn't do.
    I did the same this time with Android 14, it just worked.

Sign In or Register to comment.