-
Notifications
You must be signed in to change notification settings - Fork 114
Standardize device object format with node-hid #51
Comments
Device path and device number is available via Why it is important? Actually, for linux and macOS we can get device path which uniquely identifies device on the bus. And For example: udevadm info -e
|
Standardize device object format with
node-hid
From a discussion with @lange ☝️ November 23, 2017 7:44 PM
Current state of things
Current
[email protected]
Current
[email protected]
Changes
Will require a major version bump!
locationId
path
property would cover this but would need to test if it remains the same across reboot<instance-specific-ID>
portion of the "Device instance ID/path", see Extract Serial Number from Device Instance ID/Path on Windows. #50 (comment)vendorId
productId
deviceName
toproduct
manufacturer
serialNumber
deviceAddress
❔node-hid
but still seems relevant to keeplsusb
gives IDs)path
macOS
:IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/XHC1@14/XHC1@14000000/HS12@14400000/Apple Internal Keyboard / Trackpad@14400000/Keyboard / Boot@1/AppleUSBTopCaseHIDDriver@14400000,1
Windows
:\\\\?\\hid#vid_046d&pid_c24e&mi_00#7&28c04a4b&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
Linux
:0001:0002:00
(not sure what this is from)release
(also known as the revision)<device-ID>
->&REV_XXX
portion of the "Device instance ID/path"), see Extract Serial Number from Device Instance ID/Path on Windows. #50 (comment)interface
<device-ID>
->&MI_XX
portion of the "Device instance ID/path")lsusb -v
node-hid
???To get detailed info about USB devices on your system
ioreg -p IOUSB -l -w 0
(from https://stackoverflow.com/a/29778245/796832)lsusb -v
The text was updated successfully, but these errors were encountered: