Gadget: HID permissions
This commit is contained in:
parent
06519e7009
commit
3563b19073
@ -102,3 +102,8 @@ ln -s functions/mass_storage.cdrom1 configs/c.1/
|
|||||||
|
|
||||||
echo "Turn on gadget"
|
echo "Turn on gadget"
|
||||||
ls /sys/class/udc > UDC
|
ls /sys/class/udc > UDC
|
||||||
|
|
||||||
|
echo "Change permissions"
|
||||||
|
chgrp input /dev/hidg0; chmod 660 /dev/hidg0
|
||||||
|
chgrp input /dev/hidg1; chmod 660 /dev/hidg1
|
||||||
|
chgrp input /dev/hidg2; chmod 660 /dev/hidg2
|
||||||
|
Loading…
Reference in New Issue
Block a user