Yepkit/ykush

ykush xs device disappears

Closed this issue · 4 comments

Hello,

we've been using ykush xs devices in out automation for few months but sometime they disappear from the host without any message in the dmesg.
In order to make them work again, we need to re-plug them to make them visible to Linux.
We are using Debian Stretch 9.8.

The device is plugged but both ykush and lsusb see the device

root@hostname:~# ykushcmd ykushxs -l


Attached YKUSH XS Boards:

No YKUSH XS boards found.

root@hostname:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 8087:0a2b Intel Corp.
Bus 001 Device 083: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 081: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 013: ID 0403:6010 Future Technology Devices International, Ltd FT2232C Dual USB-UART/FIFO IC
Bus 001 Device 010: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 001 Device 078: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@hostname:~# 

After re-plugging the device:

root@hostname:~# ykushcmd ykushxs -l


Attached YKUSH XS Boards:
1. Board found with serial number: YKa0946


root@hostname:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 8087:0a2b Intel Corp.
Bus 001 Device 083: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 081: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 013: ID 0403:6010 Future Technology Devices International, Ltd FT2232C Dual USB-UART/FIFO IC
Bus 001 Device 096: ID 04d8:f0cd Microchip Technology, Inc.
Bus 001 Device 095: ID 0424:2422 Standard Microsystems Corp.
Bus 001 Device 010: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 001 Device 078: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@hostname:~# 

That's the dmesg

[Mon Nov 11 15:42:21 2019] usb 1-4.3.2: new full-speed USB device number 96 using xhci_hcd
[Mon Nov 11 15:42:21 2019] usb 1-4.3.2: New USB device found, idVendor=04d8, idProduct=f0cd
[Mon Nov 11 15:42:21 2019] usb 1-4.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Mon Nov 11 15:42:21 2019] usb 1-4.3.2: Product: YKUSH XS                   
[Mon Nov 11 15:42:21 2019] usb 1-4.3.2: Manufacturer: Yepkit Lda.            
[Mon Nov 11 15:42:21 2019] usb 1-4.3.2: SerialNumber: YKa0946        
[Mon Nov 11 15:42:21 2019] hid-generic 0003:04D8:F0CD.00B7: hiddev0,hidraw0: USB HID v1.11 Device [Yepkit Lda. YKUSH XS] on usb-0000:00:14.0-4.3.2/input0

I'll update the ticket when the device disappears again.

Rebooting the whole host with the ykush devices plugged in doesn't help at all. The devices actually need to be physically unplegged and re-plugged to make them work again.
Well, this is not ideal in an automation environment.

yep1 commented

Hello,
does this issue persists?
Also have you tried with more that one USB cable?
Thanks.

Hello, since January I moved team. I'm not able to answer to your question hence closing the issue.