Cypress Semiconductor Usb To Serial Linux Driver

Hi, I would like to use my Linux PC to connect to my Zedboard. However, I can't seem to find a driver for the UART. It's visible using lsusb: lsusb -s 1:6 Bus 001 Device 006: ID 04b4:0008 Cypress Semiconductor Corp. Cypress delivers the complete library and driver stack for USB-Serial Bridge Controller devices, in order to easily integrate USB interface into any embedded application. The Software Development Kit (SDK) comes with configuration tool (Windows only), drivers (Windows only), libraries and application examples.

Pre-requisites

  1. libusb 1.0.9 (or higher) is required for compilation and functioning of theAPIs in the library.

  2. GNU Make, the GCC toolchain, and CMake are used for the build process.

Building the library and the test utility

  1. Make a build directory and cd to it. Example: mkdir build && cd build

  2. Run cmake on the source directory and then make. Example:cmake ./ && make

    The dispatcher is the module that gives control of the CPU to the process selected by the short-term scheduler. Cpu scheduling round robin program.

  3. Run sudo make install to install the header file, libraries, and testutility into PREFIX (/usr/local/ by default).

  4. If you're on Linux, you might need to run ldconfig now.

  5. You can now launch the application and communication with the CypressUSB-Serial DVK in vendor mode.

Note

Refer to the CyUSBSerial API documentation for descriptions of all thevendor mode APIs. The header file of the library is in./include/CyUSBSerial.h.

2006-10-31 23:57:42 UTC
Greetings,
i have a UPS drive (Ippon Smart Power Pro 2000) which has a usb and a
serial interface, but my mainboard doesn't have an external serial port,
and i'd like to manage the UPS via the USB port.
the USB interface is based on Cypress Semiconductor chip - here is the
output from 'lsusb -v':
Bus 006 Device 026: ID 0665:5161
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0665
idProduct 0x5161
bcdDevice 0.02
iManufacturer 1 Cypress Semiconductor
iProduct 2 USB to Serial
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 3
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 4 Sample HID
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 27
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 32
Device Status: 0x0000
(Bus Powered)
i loaded the cypress_m8 module via 'modprobe cypress_m8', but when i
plug in the USB cable, i don't get any serial device node created in
/dev/usb/ (which is supposed to happen?).
when i plug in the USB cable, i get these messages in the dmesg output:
usb 6-2: new low speed USB device using uhci_hcd and address 28
usb 6-2: configuration #1 chosen from 1 choice
usbcore: registered new driver hiddev
hiddev96: USB HID v1.00 Device [Cypress Semiconductor USB to Serial] on usb-0000:00:1d.1-2
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
i.e. the usbhid module gets loaded and it gets control over the USB
port (instead of thecypress_m8 driver), and creates the device node
/dev/usb/hiddev0
if i disable the usbhid module (rename usbhid.ko to usbhid.ko_ to
prevent it from auto-loading), i just get this:
usb 6-1: new low speed USB device using uhci_hcd and address 29
usb 6-1: configuration #1 chosen from 1 choice
and no device node is created.
my question is - could the cypress_m8 driver (or other driver) be used
with this controller (device id is 0665:5161) to make it look as a
plain serial device?
Best,
v.
P.S. please Cc me your reply..
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-***@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel