From 7ec9e02cbfde5da5a89eab496ca66d773ebe2c71 Mon Sep 17 00:00:00 2001
From: Robert Ly <usb-device>. In general, use vendor and product ID if you want to filter
for a specific device and use class, subclass, and protocol if you want to filter for a group
- of USB devices, such as mass storage devices or digital cameras.
vendor-idIn this case, the following resource file should be saved in
- res/xml/device_filter.xml and specifies that any USB device with the corresponding
- vendor ID and product ID should be filtered. These IDs are specific to the device and are
- specified by the device's manufacturer:
res/xml/device_filter.xml and specifies that any USB device with the specified
+ attributes should be filtered:
<?xml version="1.0" encoding="utf-8"?> <resources> - <usb-device vendor-id="1234" product-id="5678" /> + <usb-device vendor-id="1234" product-id="5678" class="255" subclass="66" protocol="1" /> </resources>