Fails to detect YKUSH3 hub
terceiro opened this issue · 5 comments
dmesg says:
[340326.220983] usb 2-1.4: new SuperSpeed Gen 1 USB device number 8 using xhci_hcd
[340326.241297] usb 2-1.4: New USB device found, idVendor=0424, idProduct=5744, bcdDevice= 2.05
[340326.241302] usb 2-1.4: New USB device strings: Mfr=2, Product=3, SerialNumber=0
[340326.241304] usb 2-1.4: Product: USB5744
[340326.241307] usb 2-1.4: Manufacturer: Microchip Tech
[340326.245027] hub 2-1.4:1.0: USB hub found
[340326.245349] hub 2-1.4:1.0: 4 ports detected
[340326.440948] usb 1-1.4: new high-speed USB device number 44 using xhci_hcd
[340326.542001] usb 1-1.4: New USB device found, idVendor=0424, idProduct=2744, bcdDevice= 2.05
[340326.542006] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[340326.542009] usb 1-1.4: Product: USB2744
[340326.542011] usb 1-1.4: Manufacturer: Microchip Tech
[340326.543288] hub 1-1.4:1.0: USB hub found
[340326.543346] hub 1-1.4:1.0: 5 ports detected
[340327.272862] usb 1-1.4.4: new full-speed USB device number 45 using xhci_hcd
[340327.380682] usb 1-1.4.4: New USB device found, idVendor=04d8, idProduct=f11b, bcdDevice= 0.01
[340327.380688] usb 1-1.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[340327.380691] usb 1-1.4.4: Product: YKUSH3
[340327.380694] usb 1-1.4.4: Manufacturer: Yepkit Lda.
[340327.380696] usb 1-1.4.4: SerialNumber: YKU30631
However:
$ make
g++ -o bin/ykushcmd src/yktrl.o src/commandParser.o src/ykushxs/ykushxs.o src/ykush/ykush.o src/ykush2/ykush2.o src/ykush3/ykush3.o src/yk_usb_device.o src/help/ykush_help.o src/utils/command_parser.o src/utils/string2val.o src/usbhid/usbhid.o -lusb-1.0
$ ./bin/ykushcmd -l
Attached YKUSH Boards:
No YKUSH boards found.
$ sudo ./bin/ykushcmd -l
Attached YKUSH Boards:
No YKUSH boards found.
This is the latest code from the master branch.
FWIW pykush detects and operates it just fine
Hi,
for YKUSH3 ykushcmd requires the board prefix.
Please try the following command to list YKUSH3 attached boards:
$ sudo ykushcmd ykush3 -l
Best Regards
ah, ok!
I noticed that this syntax is not valid in the latest release (1.1.0). any chance of making a new release (so that e.g. distributions can pick it up)?
also, this is not very clearly documented. I mean the examples in the reference do include the board name, but that is not explicitly explained.
Hello,
we are updating the ykushcmd documentation and this feedback has been incorporated. The new documentation release will highlight this point of the board name prefix.
Best regards.