From 8583700ee400518c254314524f2cd498a970aa57 Mon Sep 17 00:00:00 2001 From: Alfonso Gamboa Date: Fri, 20 May 2022 00:10:44 -0700 Subject: [PATCH] fix usb direct mac addr --- SD_ROOT/wz_mini/run_mmc.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SD_ROOT/wz_mini/run_mmc.sh b/SD_ROOT/wz_mini/run_mmc.sh index 37d60df..6a534d5 100755 --- a/SD_ROOT/wz_mini/run_mmc.sh +++ b/SD_ROOT/wz_mini/run_mmc.sh @@ -59,6 +59,7 @@ ENABLE_USB_STORAGE="false" ENABLE_EXT4="false" ENABLE_CIFS="false" DISABLE_FW_UPGRADE="false" +SILENT_PROMPTS="false" #####DEBUG##### DEBUG_ENABLED="false" @@ -265,7 +266,7 @@ if [[ "$ENABLE_USB_DIRECT" == "true" ]]; then insmod /opt/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/usb/gadget/libcomposite.ko insmod /opt/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/usb/gadget/u_ether.ko insmod /opt/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/usb/gadget/usb_f_ncm.ko - insmod /opt/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/usb/gadget/g_ncm.ko iManufacturer=wz_mini_ncm host_addr=$USB_DIRECT_MAC_ADDR + insmod /opt/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/usb/gadget/g_ncm.ko iManufacturer=wz_mini_ncm dev_addr=$USB_DIRECT_MAC_ADDR sleep 1