genode/repos/libports/src/lib/libusb
Christian Prochaska 8dd391371c libusb: show "device is plugged" message only when plugged
Fixes #3399
2019-06-13 12:17:31 +02:00
..
README libports: add libusb 2016-11-08 15:26:28 +01:00
config.h libports: add libusb 2016-11-08 15:26:28 +01:00
genode_usb_raw.cc libusb: show "device is plugged" message only when plugged 2019-06-13 12:17:31 +02:00
libusb.patch libports: add libusb 2016-11-08 15:26:28 +01:00

README

Currently, libusb supports a single USB device, which it requests from the USB
driver with the 'usb_device' label.

The policy of the USB driver configures the actual device to be provided to
the application using libusb:

<config>
	<raw>
		<policy label="application -> usb_device" vendor_id="0xXXXX" product_id="0xXXXX"/>
	</raw>
</config>

See also the README file of the USB driver for additional policy attributes.