oem_uvcc: update usb_config.sh to fix uvc+uac1+rndis on windows
Change-Id: I441712c74ade5f66cc6e3b43c2196ca04651bfdc Signed-off-by: Mark Huang <huangjc@rock-chips.com>
This commit is contained in:
@ -227,16 +227,18 @@ uac2)
|
|||||||
echo "config uvc and uac2..."
|
echo "config uvc and uac2..."
|
||||||
;;
|
;;
|
||||||
uac1_rndis)
|
uac1_rndis)
|
||||||
uac_device_config uac1
|
#uac_device_config uac1
|
||||||
mkdir /sys/kernel/config/usb_gadget/rockchip/functions/rndis.gs0
|
mkdir /sys/kernel/config/usb_gadget/rockchip/functions/rndis.gs0
|
||||||
ln -s ${USB_FUNCTIONS_DIR}/rndis.gs0 ${USB_CONFIGS_DIR}/f3
|
ln -s ${USB_FUNCTIONS_DIR}/rndis.gs0 ${USB_CONFIGS_DIR}/f3
|
||||||
|
uac_device_config uac1
|
||||||
echo "uvc_uac1_rndis" > ${USB_CONFIGS_DIR}/strings/0x409/configuration
|
echo "uvc_uac1_rndis" > ${USB_CONFIGS_DIR}/strings/0x409/configuration
|
||||||
echo "config uvc and uac1 rndis..."
|
echo "config uvc and uac1 rndis..."
|
||||||
;;
|
;;
|
||||||
uac2_rndis)
|
uac2_rndis)
|
||||||
uac_device_config uac2
|
#uac_device_config uac2
|
||||||
mkdir /sys/kernel/config/usb_gadget/rockchip/functions/rndis.gs0
|
mkdir /sys/kernel/config/usb_gadget/rockchip/functions/rndis.gs0
|
||||||
ln -s ${USB_FUNCTIONS_DIR}/rndis.gs0 ${USB_CONFIGS_DIR}/f3
|
ln -s ${USB_FUNCTIONS_DIR}/rndis.gs0 ${USB_CONFIGS_DIR}/f3
|
||||||
|
uac_device_config uac2
|
||||||
echo "uvc_uac2_rndis" > ${USB_CONFIGS_DIR}/strings/0x409/configuration
|
echo "uvc_uac2_rndis" > ${USB_CONFIGS_DIR}/strings/0x409/configuration
|
||||||
echo "config uvc and uac2 rndis..."
|
echo "config uvc and uac2 rndis..."
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user