usb-relay-hid icon indicating copy to clipboard operation
usb-relay-hid copied to clipboard

Use 2 board link to one control pc, they have the same ID

Open colabearwd opened this issue 6 years ago • 3 comments

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) `

colabearwd avatar Oct 19 '18 01:10 colabearwd

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

bakedbot avatar Jan 06 '19 15:01 bakedbot

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

hem0409 avatar Jan 14 '20 21:01 hem0409

See my comment here: https://github.com/pavel-a/usb-relay-hid/issues/40#issuecomment-1074173604. If I am not too late...

pavolgaj avatar Mar 21 '22 17:03 pavolgaj