From ab4c9e2de4c3684e07dc35634e96921f4d4d2406 Mon Sep 17 00:00:00 2001 From: Doug Brown Date: Sun, 25 Jul 2021 16:46:35 -0700 Subject: [PATCH] Fix hardcoded VID and PID in simulation script I forgot to use the actual shell variables; this will fix that issue. --- hal/pc/setup_usb_simulation.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hal/pc/setup_usb_simulation.sh b/hal/pc/setup_usb_simulation.sh index d957076..91c5c10 100755 --- a/hal/pc/setup_usb_simulation.sh +++ b/hal/pc/setup_usb_simulation.sh @@ -88,8 +88,8 @@ start_gadget() { # Create the gadget and configure it mkdir "$CONFIGFS_DIR/usb_gadget/$NEWGADGET" cd "$CONFIGFS_DIR/usb_gadget/$NEWGADGET" - echo 0x16d0 > idVendor - echo 0x06aa > idProduct + echo $SIMMPROGRAMMER_VID > idVendor + echo $SIMMPROGRAMMER_PID > idProduct mkdir strings/0x0409 echo "Doug Brown" > strings/0x0409/manufacturer echo "Mac ROM SIMM Programmer" > strings/0x0409/product