* * *

Author Topic: Accessing USB  (Read 1416 times)

jcdammeyer

  • Newbie
  • Posts: 4
Accessing USB
« on: April 06, 2018, 03:30:49 am »
Under the Oracle VM Virtual Box in a terminal window the command lsusb returns what are supposed to be the USB ports with VID:PID numbers.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

These aren't what are actually on the PC running WIN-7 and the virtual box.

Under Raspian it returns the real VID:PID of the USB devices and also under Debian on a Beaglebone.

Under windows reading the registry can return the COM ports but the USB VID:PID is harder to get at.

What I'd like is an approach to get the USB VID:PID and description strings via Lazarus from any of the three target Operating systems.  And then of course be able to open a USB COM port and read/write form/to it.

Suggestions?
Thanks
John

indigo80

  • New member
  • *
  • Posts: 17

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus