Linux USB to Serial driver | Cypress Semiconductor
Linux USB to Serial driver
I'm trying to get data via modbus from a Solar Inverter that uses a cypress USB to Serial chip.
Unfortunately the serial device is found as a HID device in linux:
[ 153.066048] usb 2-1: new low-speed USB device number 4 using uhci_hcd
[ 153.282100] usb 2-1: New USB device found, idVendor=0665, idProduct=5161
[ 153.282109] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 153.282115] usb 2-1: Product: USB to Serial
[ 153.282120] usb 2-1: Manufacturer: Cypress Semiconductor
[ 153.324362] generic-usb 0003:0665:5161.0006: hiddev0,hidraw0: USB HID v1.00 Device [Cypress Semiconductor USB to Serial] on usb-0000:00:1d.0-1/input0
The Inverter works fine with windows, there is a virtual com port automaticly created. However, I'm missing a /dev/ttyUSB0 or similar in linux, is there an official driver for linux that allows serial access? Do i need to block the HID Device? Are there any other methods of talking modbus via the HID device?
Many thanks in advance!