Skip to content

Instantly share code, notes, and snippets.

@waltercool
Last active August 12, 2020 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save waltercool/cc614ffb4ff726ce843222480b6f4eba to your computer and use it in GitHub Desktop.
Save waltercool/cc614ffb4ff726ce843222480b6f4eba to your computer and use it in GitHub Desktop.
Qemu helper
How to connect USB through debug console
device_add usb-host,vendorid=0xL33T,productid=0xDEMO,id=whatever
(Obtain values from L33T and DEMO with lsusb)
Make sure to provide QEMU access to /dev/bus/usb/X/Y, take X and Y from dmesg values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment