usb-relay-hid
usb-relay-hid copied to clipboard
Use 2 board link to one control pc, they have the same ID
When I use 2 board in one pc & use this project ,the enum list two same ID,I dont know why ,Could you help me about this,thx
The code as follow
`root@acrn-HP-Compaq-8200-Elite-SFF-PC:/tmp/tempdir/usb-relay-hid/commandline# ls /dev/usb/
hiddev0 hiddev1
root@acrn-HP-Compaq-8200-Elite-SFF-PC:/tmp/tempdir/usb-relay-hid/commandline# ./hidusb-relay-cmd enum
Board ID=[HW554] State: 00 (hex) Board ID=[HW554] State: 00 (hex) `
Same here: Board ID=[BITFT] State: R1=OFF R2=OFF Board ID=[BITFT] State: R1=OFF R2=OFF
I took another look and noticed that the ID is the same when using lsusb. I suspect that is the root issue and looking into resolution.
lsusb output: Bus 001 Device 026: ID 16c0:05df Van Ooijen Technische Informatica HID device except mice, keyboards, and joysticks Bus 001 Device 004: ID 16c0:05df Van Ooijen Technische Informatica HID device except mice, keyboards, and joysticks
Hi,
Is there a way to use the serial number and then control the relay?
Also i tried to use the changeID, but it did not work as expected. Can anyone provide suggestions?
Thanks
See my comment here: https://github.com/pavel-a/usb-relay-hid/issues/40#issuecomment-1074173604. If I am not too late...