updates
This commit is contained in:
parent
37cc00dfc0
commit
2058014ac6
@ -42,11 +42,8 @@ mkdir -p "$G/functions/hid.usb0"
|
||||
echo 1 >"$G/functions/hid.usb0/protocol"
|
||||
echo 1 >"$G/functions/hid.usb0/subclass"
|
||||
echo 8 >"$G/functions/hid.usb0/report_length"
|
||||
cat >"$G/functions/hid.usb0/report_desc" <<'EOF'
|
||||
05 01 09 06 a1 01 05 07 19 e0 29 e7 15 00 25 01 75 01 95 08 81 02
|
||||
95 01 75 08 81 01 95 05 75 01 05 08 19 01 29 05 91 02 95 01 75 03
|
||||
91 01 95 06 75 08 15 00 25 65 05 07 19 00 29 65 81 00 c0
|
||||
EOF
|
||||
printf '\x05\x01\x09\x06\xa1\x01\x05\x07\x19\xe0\x29\xe7\x15\x00\x25\x01\x75\x01\x95\x08\x81\x02\x95\x01\x75\x08\x81\x01\x95\x05\x75\x01\x05\x08\x19\x01\x29\x05\x91\x02\x95\x01\x75\x03\x91\x01\x95\x06\x75\x08\x15\x00\x25\x65\x05\x07\x19\x00\x29\x65\x81\x00\xc0' \
|
||||
> "$G/functions/hid.usb0/report_desc"
|
||||
|
||||
# # -- UAC2 Audio
|
||||
# mkdir -p $G/functions/uac2.usb0
|
||||
@ -55,9 +52,9 @@ EOF
|
||||
# echo 2 > $G/functions/uac2.usb0/p_chmask
|
||||
|
||||
# -- Config
|
||||
mkdir -p $G/configs/c.1/strings/0x409
|
||||
echo 'Kbd only' >"$G/configs/c.1/strings/0x409/configuration"
|
||||
echo 250 > $G/configs/c.1/MaxPower
|
||||
mkdir -p "$G/configs/c.1/strings/0x409"
|
||||
echo 500 > "$G/configs/c.1/MaxPower"
|
||||
echo "Config 1" > "$G/configs/c.1/strings/0x409/configuration"
|
||||
|
||||
# -- Bindings
|
||||
ln -s $G/functions/hid.usb0 $G/configs/c.1/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user