mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-22 13:37:19 +00:00
fix usb direct mac addr
This commit is contained in:
parent
1b7cd9a60b
commit
8583700ee4
@ -59,6 +59,7 @@ ENABLE_USB_STORAGE="false"
|
|||||||
ENABLE_EXT4="false"
|
ENABLE_EXT4="false"
|
||||||
ENABLE_CIFS="false"
|
ENABLE_CIFS="false"
|
||||||
DISABLE_FW_UPGRADE="false"
|
DISABLE_FW_UPGRADE="false"
|
||||||
|
SILENT_PROMPTS="false"
|
||||||
|
|
||||||
#####DEBUG#####
|
#####DEBUG#####
|
||||||
DEBUG_ENABLED="false"
|
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/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/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/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
|
sleep 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user