document what it does and tested boards
[linux-usb-otg] / install.sh
1 #!/bin/sh
2
3 cp usb-otg.service /etc/systemd/system/
4 systemctl enable usb-otg
5 systemctl enable serial-getty@ttyGS0
6 systemctl status usb-otg
7 systemctl status serial-getty@ttyGS0
8
9 # allow root login from gadget serial port
10 grep ttyGS0 /etc/securetty || echo -e "# usb gadget serial\n/dev/ttyGS0\n" >> /etc/securetty
11
12 make hid_gadget_test