darrylb123/usbrelay

Relay serial number contains undefined character

shimi25 opened this issue · 4 comments

Hi ,
I've compiled the code successfully.
However , when I'm addressing the relay with the sudo usbrelay -d command I'm getting a character in the serial number and in the port numbers that I don't know how to use. The serial I'm getting is : serial_number: ▒QMBS
Here is a screen shot :

image

Someone has any idea how to solve this ?

Thanks ,

Shimon.

Thank you Darryl !

Change the serial. You can use the device usbrelay /dev/hidraw0_0=ABCDE Check out the doco Darryl

On Tue, 7 Nov 2023, 11:08 pm Shimon Bitton, @.> wrote: Hi , I've compiled the code successfully. However , when I'm addressing the relay with the sudo usbrelay -d command I'm getting a character in the serial number and in the port numbers that I don't know how to use. The serial I'm getting is : serial_number: ▒QMBS Here is a screen shot : [image: image] https://user-images.githubusercontent.com/33287232/281048341-f423c9ab-3455-44a2-b9b7-07714be1f7a2.png Someone has any idea how to solve this ? Thanks , Shimon. — Reply to this email directly, view it on GitHub <#107>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTSUVPTZFE3CFKUIGSERL3YDIXE3AVCNFSM6AAAAAA7BFFMJSVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE4DCMZRGQ3TMOA . You are receiving this because you are subscribed to this thread.Message ID: @.>

hi Darry, the log says that:
Invalid relay specification: /dev/hidraw3=D0010

CMD: usbrelay /dev/hidraw3_0=D0010
now its ok