Emulator USB passthrough guide

This page describes how to enable Bluetooth peripherals with USB passthrough for the AAOS emulator.

Use The Asus USB-BT400 Bluetooth 4.0 USB adapter to set up the USB passthrough connection. This applies for Android 13 and higher.

  1. Connect the dongle to the Linux host machine.
  2. To confirm the device functions as intended, run the lsusb command. Values for the VendorId(0x0b05) and ProductId (0x17cb) of the Asus BT-400 adapter are displayed.

    $ lsusb
    
    Bus 001 Device 010: ID 0b05:17cb ASUSTek Computer, Inc. Broadcom BCM20702A0 Bluetooth
    
  3. Launch the emulator with the usb-passthrough information.

    $ emulator -cores 4 -memory 6144 -usb-passthrough vendorid=0x0b05,productid=0x17cb
    

The dongles tested are:

Other dongles may work, however, not tested.