M350b版本

This commit is contained in:
xin
2026-01-08 16:00:08 +08:00
parent 7396728ea7
commit a76d4b77e9
213 changed files with 8883 additions and 7196579 deletions

View File

@ -73,8 +73,10 @@ cd "${GADGET_ROOT}" || { echo "ERROR: Failed to cd to ${GADGET_ROOT}. Exiting.";
# 4. 设置设备描述符 (参考官网脚本的值)
echo "Setting device descriptors..."
echo 0x0955 > idVendor # Linux Foundation (官网脚本值)
echo 0x7020 > idProduct # Multifunction Composite Gadget (官网脚本中 RNDIS 启用时使用的值)
#echo 0x0955 > idVendor # Linux Foundation (官网脚本值)
#echo 0x7020 > idProduct # Multifunction Composite Gadget (官网脚本中 RNDIS 启用时使用的值)
echo 0x2CA3 > idVendor # Linux Foundation (官网脚本值)
echo 0xF003 > idProduct # Multifunction Composite Gadget (官网脚本中 RNDIS 启用时使用的值)
echo 0x0001 > bcdDevice # v1.0.0
echo 0x0200 > bcdUSB # USB2