Find the answer to your Linux question:
Results 1 to 2 of 2
Hi 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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Posts
    5

    how to read USB port


    Hi
    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

    -vicky

  2. #2
    Linux Newbie
    Join Date
    Oct 2004
    Posts
    158
    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 --

    http://www.easysw.com/~mike/serial/

Posting Permissions

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