liyujie
2025-08-28 b3810562527858a3b3d98ffa6e9c9c5b0f4a9a8e
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