ccid_host: Migrate to OpenMoko USB VID/PID
We used 0x2342 just for internal testing. Let's use a proper
unique allocation even for the FunctionFS version of the code.
Change-Id: Idbaf173b0ec1fd80885f26b3df24a4412913c100
diff --git a/ccid_host/README.linux-dummy_hcd-ffs b/ccid_host/README.linux-dummy_hcd-ffs
index 2b98eff..29c6584 100644
--- a/ccid_host/README.linux-dummy_hcd-ffs
+++ b/ccid_host/README.linux-dummy_hcd-ffs
@@ -55,7 +55,7 @@
----
usb 3-1: new full-speed USB device number 8 using dummy_hcd
-usb 3-1: New USB device found, idVendor=2342, idProduct=2342, bcdDevice= 4.19
+usb 3-1: New USB device found, idVendor=1d50, idProduct=615f, bcdDevice= 4.19
usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-1: Product: sysmoOCTSIM
usb 3-1: Manufacturer: sysmocom GmbH
@@ -76,7 +76,7 @@
<string>0x08C3</string>
<string>0x15E1</string>
<string>0x062D</string>
-+ <string>0x2342</string>
++ <string>0x1D50</string>
</array>
<key>ifdProductID</key>
@@ -84,7 +84,7 @@
<string>0x0402</string>
<string>0x2007</string>
<string>0x0001</string>
-+ <string>0x2342</string>
++ <string>0x615F</string>
</array>
<key>ifdFriendlyName</key>
diff --git a/ccid_host/create_ccid_gadget.sh b/ccid_host/create_ccid_gadget.sh
index aafb152..d17b3cc 100755
--- a/ccid_host/create_ccid_gadget.sh
+++ b/ccid_host/create_ccid_gadget.sh
@@ -23,8 +23,8 @@
[ -d $gadgetdir ] || mkdir $gadgetdir || die "Cannot create $gadgetdir. Permission problem?"
set -e -x
cd $gadgetdir
-echo 0x2342 > idVendor
-echo 0x2342 > idProduct
+echo 0x1d50 > idVendor
+echo 0x615f > idProduct
[ -d strings/0x409 ] || mkdir strings/0x409
echo 2342 > strings/0x409/serialnumber
echo "sysmocom GmbH" > strings/0x409/manufacturer