Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > EZ-USB driver in Linux

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



EZ-USB driver in Linux
Moderator:
RSKV

Post Reply
Follow this topic



EZ-USB driver in Linux

uzair posted on 15 Mar 2011 9:58 PM PST
Member
4 Forum Posts

Hello all
         I need EZ-USB driver in Linux. Can any one help me in this regard . I have EZ-USB driver in XP ,but i want to port my device from windows to Linux. I have run my application successfully in Linux using WINE but need EZ-USB driver for this. The EZ-USB IC is from CYPRESS.  I dont know what to do about driver. Any help/suggestion will be highly appreciated. Waiting for response.

Regards




Re: EZ-USB driver in Linux

posted on 24 Mar 2011 11:25 PM PST
Senior Member
11 Forum Posts

 uzair,

 

Cypress no longer supports new development with EZUSB.sys. We have transitioned over to CYUSB.sys.



Re: EZ-USB driver in Linux

uzair posted on 01 Apr 2011 11:35 PM PST
Member
4 Forum Posts

Hello,

Thanks for your guidence. But my problem is that I have a EZ-USB-SX2 (IC CY7C68001 of Cypress)based device .The driver for this particular IC based device was given from Cypress Semiconductor  for Windows XP OS.  which is working properly on XP.


Now i want to run it on Linux. I have searched for its driver for Linux,but have not found it yet. Most of the search results and links are for EZ-USB FX2, while my device is SX2.

  FX2 is a microcontroller based IC, while SX2 didnt have a Microcontroller. It is different from FX2(CY7C68013). Now what should i do ?? Please help me to solve this problem. I'll be very thankful to you.
Kind regards



Re: EZ-USB driver in Linux

aasi posted on 03 Apr 2011 10:32 PM PST
Cypress Employee
1090 Forum Posts

uzair,

On the driver side there won't be differentiation between SX2 and FX2. The device just sees USB packets irrespective of the driver it is connected to.

For linux, there are quite a few open source drivers. You'll most probably have to develop to over one of them.

Regards,

Anand



Re: EZ-USB driver in Linux

Ali posted on 14 Apr 2011 02:30 AM PST
Senior Member
11 Forum Posts

 I use libusb, and move the driver work into the actual software instead.

If you didn't want to do this, you could write your own kernel driver, or just use libusb and a daemon instead.



Re: EZ-USB driver in Linux

uzair posted on 05 May 2011 11:47 PM PST
Member
4 Forum Posts

@ALI ,

 have you worked on lib usb ? i need your further help regarding libusb.

  could you please send me your email id, so that i can easily communicate with you.   i'll be very thankful to you.

Best Regards

Uzair 



Re: EZ-USB driver in Linux

Ali posted on 05 May 2011 02:20 PM PST
Senior Member
11 Forum Posts

 What programming language will you be using for the host software?

Libusb is a C API, I suggest you read its documentation here.

It covers there library init, device finding, and communication.

I prefer to use a scripting language whilst testing (I use ruby, along with the ruby-usb bindings, though python and PyUSB are very similar).

For some example C++ code, look here






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20