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 @@ at which point your 'dmesg' should print something along the lines of ---- 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 @@ to the /etc/libccid_Info.plist with a diff like this: 0x08C3 0x15E1 0x062D -+ 0x2342 ++ 0x1D50 ifdProductID @@ -84,7 +84,7 @@ to the /etc/libccid_Info.plist with a diff like this: 0x0402 0x2007 0x0001 -+ 0x2342 ++ 0x615F ifdFriendlyName 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 @@ gadgetdir="$GADGET_CONFIGFS/$GADGET_NAME" [ -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 diff --git a/contrib/ccid-control.c b/contrib/ccid-control.c index 378828a..d28ddfc 100644 --- a/contrib/ccid-control.c +++ b/contrib/ccid-control.c @@ -26,8 +26,8 @@ #include static libusb_context *g_uctx; -static uint16_t g_vendor_id = 0x2342; -static uint16_t g_product_id = 0x2342; +static uint16_t g_vendor_id = 0x1d50; +static uint16_t g_product_id = 0x615f; static uint8_t g_interface = 0; #define GET_CLOCK_FREQS 0x02