linux driver for (ID 0665:5161) Cypress Semiconductor USB to Serial

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi all,

i am using a  power inverter with an integrated Cypress Semiconductor USB to Serial interface thats found as an HID device in Rasbian/ Linux. I am gettig crasy here and didnt found any solution how to mapp to a tyyusb or ARm or what ever ...

I think i need an driver who mapping the device first to a serial port.

All i can see is:

Bus 001 Device 004: ID 0665:5161 Cypress Semiconductor USB to Serial

and:

2.034918] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:06:0f:13

[    2.129262] usb 1-1.2: new low-speed USB device number 4 using dwc_otg

[    2.297863] usb 1-1.2: New USB device found, idVendor=0665, idProduct=5161

[    2.297884] usb 1-1.2: New USB device strings: Mfr=3, Product=1, SerialNumber=0

[    2.312837] hid-generic 0003:0665:5161.0001: hiddev0,hidraw0: USB HID v1.11 Device [HID 0665:5161] on usb-3f980000.usb-1.2/input0

I hope there is an linux driver or any how to do avaible to get this usb device on running

regards

0 Likes
1 Solution

Hello Jose Ramos,

- The VID/PID that is mentioned does not belong to Cypress in the first place. Kindly, verify if this is the default VID/PID of the device that comes up in the USB-Serial Configuration Utility.

Best regards,

Srinath S

View solution in original post

0 Likes
5 Replies
SrinathS_16
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello,

To list the devices that belong to UART-CDC class, enter the following command in the terminal

ls /dev/ttyACM*

This command lists all the UART devices connected to the host PC.

Best regards,

Srinath S

0 Likes
Anonymous
Not applicable

Yes, i know , but only the device is an serial device. But as i sayed, its detected as an HID Device. I am not able to find the device in dev\ttyACM or what ever ... isnt in use.

What i see is that:

[   82.073725] hid-generic 0003:0665:5161.0004: hiddev0,hidraw2: USB HID v1.11 Device [HID 0665:5161] on usb-3f980000.usb-1.4/input0

It is an HID device and not an serial device , otherwise it would mapped to dev/tty... but it isn´t

Thats why i ask 🙂

0 Likes

Hello,

Connect the USB-Serial device to a Windows OS and use the Cypress USB Serial Configuration Utility to identify the device configuration.

If it does not belong to CDC class, make sure it is configured as a CDC Class device.

Best regards,

Srinath S

0 Likes
Anonymous
Not applicable

Hello,

Do you resolve this?

I'm on the same situation. I'm trying to find the SDK for the same device.

I found this link using python but I will prefer to use the driver.

Reverse Engineering a Cypress USB to Serial driver

PS: I don't test yet the python script.

Thanks,

0 Likes

Hello Jose Ramos,

- The VID/PID that is mentioned does not belong to Cypress in the first place. Kindly, verify if this is the default VID/PID of the device that comes up in the USB-Serial Configuration Utility.

Best regards,

Srinath S

0 Likes