USB-Serial bridge controller CY7C65211 recognized as thermometer (04b4:0002) instead of serial port in Linux - KBA236143
This error occurs because the Linux kernel which is being used has a built-in HID driver called “Cytherm” - Cypress USB thermometer driver in the kernel. Therefore, whenever you connect the CY7C65211 device, instead of binding to the Communication Device Class (CDC) Abstract Control Model (ACM) driver, it displays the device as an HID device binding to the Cytherm driver.
Figure 1 Error in Linux
To fix this issue when this device is being used in Linux environment, change the PID of the device using the USB-Serial Configuration Utility available in the USB-Serial Software Development Kit (SDK).
Note: USB-Serial Configuration Utility is supported only on Windows.
Do the following to change the PID for CY7C65211 using USB-Serial Configuration Utility:
- Open USB-Serial Configuration Utility (C:\Program Files (x86)\Cypress\USB-Serial SDK\bin\ USB Serial Configuration Utility.exe).
Note: Only USB-Serial Configuration Utility versions 188.8.131.52 and 184.108.40.206 allow changing the PID for CY7C65211.
- Right-click the USB Serial Configuration Utility.exe file and create a shortcut to this file.
Allow to let Windows OS to copy the shortcut to the Desktop folder. This is required only if the file explorer is opened without administrator privilege.
- Right-click the newly created shortcut and select Properties. Locate the target as shown in Figure 2.
Figure 2 Add command line argument
- Add the following string in the target field and click OK. See Figure 2:
This helps to pass the -.enablePIDChange command-line argument to the GUI utility and adds an option for changing the PID when the utility is launched.
- Double-click the shortcut created to launch USB-Serial Configuration Utility.
USB-Serial Configuration Utility displays the connected USB-Serial device.
- On the Select Target pane, click Connect as shown in Figure 3. Note that the PID is listed as ‘0x0002’.
Figure 3 USB-Serial device home page
- Select Change PID as shown in Figure 4.
Figure 4 Change the PIDNote that the PID of the device is changed from ‘0x0002’ to ‘0x00FB’.
- Click Program and wait for the “Program Succeed” status.
- Connect the device to the Linux system. Note that the device is enumerated as “Cypress Semiconductor Corp.”