Enumerating devices in ubuntu via VMware by using "hidtest-hidraw" or "hidtest-libusb", I cannot find all devices, but I can find it on Windows.
linux$ ./hidtest-hidraw
hidapi test/example tool. Compiled with hidapi version 0.15.0, runtime version 0.15.0.
Compile-time version matches runtime version of hidapi.
Device Found
type: 0e0f 0003
path: /dev/hidraw0
serial_number:
Manufacturer: VMware
Product: VMware Virtual USB Mouse
Release: 103
Interface: 0
Usage (page): 0x2 (0x1)
Bus type: 1 (USB)
I can't open the device " 0404:0280 NCR Corp. 7360 NCR FastLane I/O Board 20171129@1333".
Report Descriptor: Unable to open device by path
In addition, the OS outputs the devices with command "lsusb":
wenxian@wenxian-VMware-Virtual-Platform:~/Test/Hid_Cross_platform/hidapi-master/linux$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 003 Device 004: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 003 Device 005: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 003 Device 007: ID 0404:0280 NCR Corp. 7360 NCR FastLane I/O Board 20171129@1333
Bus 003 Device 008: ID 0404:034c NCR Corp. CP2105 Dual USB to UART Bridge Controller
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Enumerating devices in ubuntu via VMware by using "hidtest-hidraw" or "hidtest-libusb", I cannot find all devices, but I can find it on Windows.
linux$ ./hidtest-hidraw hidapi test/example tool. Compiled with hidapi version 0.15.0, runtime version 0.15.0. Compile-time version matches runtime version of hidapi.
Device Found type: 0e0f 0003 path: /dev/hidraw0 serial_number: Manufacturer: VMware Product: VMware Virtual USB Mouse Release: 103 Interface: 0 Usage (page): 0x2 (0x1) Bus type: 1 (USB)
I can't open the device " 0404:0280 NCR Corp. 7360 NCR FastLane I/O Board 20171129@1333". Report Descriptor: Unable to open device by path
In addition, the OS outputs the devices with command "lsusb":
wenxian@wenxian-VMware-Virtual-Platform:~/Test/Hid_Cross_platform/hidapi-master/linux$ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 002: ID 0e0f:0002 VMware, Inc. Virtual USB Hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse Bus 003 Device 004: ID 0e0f:0002 VMware, Inc. Virtual USB Hub Bus 003 Device 005: ID 0e0f:0002 VMware, Inc. Virtual USB Hub Bus 003 Device 007: ID 0404:0280 NCR Corp. 7360 NCR FastLane I/O Board 20171129@1333 Bus 003 Device 008: ID 0404:034c NCR Corp. CP2105 Dual USB to UART Bridge Controller Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub