Gadget: HID permissions
This commit is contained in:
@@ -102,3 +102,8 @@ ln -s functions/mass_storage.cdrom1 configs/c.1/
|
||||
|
||||
echo "Turn on gadget"
|
||||
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
|
||||
|
Reference in New Issue
Block a user