File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ mkdir $GADGET_PATH/strings/0x409
17
17
echo 100000000d2386db > $GADGET_PATH /strings/0x409/serialnumber
18
18
echo " Samsung" > $GADGET_PATH /strings/0x409/manufacturer
19
19
echo " PI4 USB Device" > $GADGET_PATH /strings/0x409/product
20
- mkdir $GADGET_PATH /configs/c.2
21
- mkdir $GADGET_PATH /configs/c.2 /strings/0x409
22
- echo 500 > $GADGET_PATH /configs/c.2 /MaxPower
23
- echo " UVC" > $GADGET_PATH /configs/c.2 /strings/0x409/configuration
20
+ mkdir $GADGET_PATH /configs/c.1
21
+ mkdir $GADGET_PATH /configs/c.1 /strings/0x409
22
+ echo 500 > $GADGET_PATH /configs/c.1 /MaxPower
23
+ echo " UVC" > $GADGET_PATH /configs/c.1 /strings/0x409/configuration
24
24
25
25
mkdir $GADGET_PATH /functions/uvc.usb0
26
26
mkdir $GADGET_PATH /functions/acm.usb0
@@ -82,8 +82,8 @@ cd ../../class/hs
82
82
ln -s ../../header/h
83
83
cd ../../../../..
84
84
85
- ln -s $GADGET_PATH /functions/uvc.usb0 $GADGET_PATH /configs/c.2 /uvc.usb0
86
- ln -s $GADGET_PATH /functions/acm.usb0 $GADGET_PATH /configs/c.2 /acm.usb0
85
+ ln -s $GADGET_PATH /functions/uvc.usb0 $GADGET_PATH /configs/c.1 /uvc.usb0
86
+ ln -s $GADGET_PATH /functions/acm.usb0 $GADGET_PATH /configs/c.1 /acm.usb0
87
87
udevadm settle -t 5 || :
88
88
ls /sys/class/udc > $GADGET_PATH /UDC
89
89
You can’t perform that action at this time.
0 commit comments