Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
colabearwd opened this issue Oct 19, 2018 · 3 comments
Open

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

colabearwd opened this issue Oct 19, 2018 · 3 comments

Comments

@colabearwd
Copy link

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

@bakedbot
Copy link

bakedbot commented Jan 6, 2019

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

@hem0409
Copy link

hem0409 commented Jan 14, 2020

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

@pavolgaj
Copy link

See my comment here: #40 (comment). If I am not too late...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants