lin
2025-07-30 fcd736bf35fd93b563e9bbf594f2aa7b62028cc9
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
 
# Script to compare the USB ID list from linux-usb
# with the internal list of libmtp.
 
WGET=`which wget`
if [ "x$WGET" != "x" ]; then
    wget -O usb.ids http://www.linux-usb.org/usb.ids
    examples/hotplug -i > usb.ids-libmtp
    echo "OK now compare usb.ids and usb.ids-libmtp..."
else
    echo "Could not sync to linux-usb USB ID list. No WGET."
fi