Add USB to qemu* templates (aka enable usb controller within target)

Description

lsusb fails with

"unable to initialize libusb: -99"

otherwise

Environment

None

Activity

Show:

Kevin Hilman 
October 6, 2018 at 6:05 PM

Merged into uptream releng-sripts

Jan-Simon Moeller 
October 1, 2018 at 1:02 PM

Please add to the templates in releng ... tnx.

Corentin Labbe 
October 1, 2018 at 12:58 PM

This is done in job template by adding in the context:
  extra_options:
  - -device
  - piix3-usb-uhci

Final example:

context:
  arch: x86_64
  cpu: qemu64
  extra_options:
  - -device
  - piix3-usb-uhci

 

Note that there are several possible USB emulated host

Fixed

Details

Assignee

Reporter

Labels

Contract ID

Components

Priority

Created October 1, 2018 at 10:47 AM
Updated October 9, 2018 at 2:52 PM
Resolved October 8, 2018 at 8:41 AM