Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 984 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 984 Bytes

Introduction

This project was based on a problem where lengthy login credentials had to be entered manually into a system quite frequently

Major subproblems

  • How to connect to the computer? Raspberry pi act as a USB gadget/HID.
  • How to detect USB host connection? File changes in /sys/class/udc/
  • How to send keystrokes to host device? Write to /dev/hidg0
  • What to write in order for host to understand keystrokes? Refer to USB HID Scan codes and send correct bytes

#Notes made when developing

How to install

  1. Copy files to /root
  2. Run enableKernelModules.sh