Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    how to read USB port

    How i can read data from USB port.
    for example i need to get the keystrokes from a USB keyboard.
    people having good idea in USB keyboards please help me


  2. #2
    The USB ports are serial ports which are "files" in the /dev directory.

    The names of the ports vary.

    If you want to read serial ports here is a
    discussion with good examples --

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts