Community discussion forum

Reading raw data from USB port

Tags: c++ Turkey
  • 2 years ago

    Anyone please help.

    I am trying to read raw data from the USB port. For example, I want to get the HEX for the USB mouse. This will help me write a program to get data for more complicated devices or data from biometric sensors attached to the USB.

    Kindest regards,

    VB

  • 2 years ago

    To read the raw data from the USB port you will need to write a fully functional USB driver, or hook the host OS driver.

    From your post I cannot be sure which OS you are on, so I can't point you towards any real tutorials or other documentation that may be OS-specific.

    For writing your own USB driver to interface with USB devices, I can point you towards http://www.osdev.org/wiki/USB.

Post a reply

Enter your message below

Sign in or Join us (it's free).

Want to stay in touch with what's going on? Follow us on twitter!