Mic Setup
This commit is contained in:
parent
54301bb3c8
commit
85939496f6
@ -127,17 +127,17 @@ ln -s "$U" "$G/configs/c.1/"
|
|||||||
# mkdir -p $U/os_desc
|
# mkdir -p $U/os_desc
|
||||||
|
|
||||||
# ---------- optional Microsoft OS descriptors ----------------------
|
# ---------- optional Microsoft OS descriptors ----------------------
|
||||||
if [ -e "$G/os_desc/use" ]; then
|
# if [ -e "$G/os_desc/use" ]; then
|
||||||
echo 1 >"$G/os_desc/use"
|
# echo 1 >"$G/os_desc/use"
|
||||||
echo 0xcd >"$G/os_desc/b_vendor_code"
|
# echo 0xcd >"$G/os_desc/b_vendor_code"
|
||||||
echo "MSFT100" >"$G/os_desc/qw_sign"
|
# echo "MSFT100" >"$G/os_desc/qw_sign"
|
||||||
|
|
||||||
ln -s "$G/configs/c.1" "$G/os_desc" # creates $G/os_desc/conf
|
# ln -s "$G/configs/c.1" "$G/os_desc" # creates $G/os_desc/conf
|
||||||
|
|
||||||
echo "Lesavka Keyboard" >"$G/functions/hid.usb0/os_desc/interface"
|
# echo "Lesavka Keyboard" >"$G/functions/hid.usb0/os_desc/interface"
|
||||||
echo "Lesavka Mouse" >"$G/functions/hid.usb1/os_desc/interface"
|
# echo "Lesavka Mouse" >"$G/functions/hid.usb1/os_desc/interface"
|
||||||
echo "Lesavka Mic+Spkr" >"$U/os_desc/interface"
|
# echo "Lesavka Mic+Spkr" >"$U/os_desc/interface"
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
#──────────────────────────────────────────────────
|
#──────────────────────────────────────────────────
|
||||||
# 4. Bind gadget
|
# 4. Bind gadget
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user