LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   EZ-USB driver in Linux (https://www.linuxquestions.org/questions/linux-kernel-70/ez-usb-driver-in-linux-868825/)

pieterparker17 03-15-2011 11:37 PM

EZ-USB driver in Linux
 
hello all
i need EZ-USB driver in Linux. can any one help 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. i dont know what to do about driver. any help/suggestion will be highly appreciated. waiting for response.
kind Regards

timetraveler 03-16-2011 12:11 AM

What's the device?
What happens when you plug into host with a recent linux kernel?

pieterparker17 03-16-2011 04:11 AM

This is a customized usb device. The driver is given for IC CY7C68001 in XP. i need the driver for this particular IC for linux.
When i run the exe file of my device in Linux, window prompt showing a message check for the device connections, which means that kernel is unable to load(response) the device. plz give me some help.
regards

cnxsoft 03-16-2011 08:08 AM

I've used EZ-USB devices based on Cypress USB chipset in emulator and USB video grabber (that I controlled via libusb) in the past, so it should be supported by Linux. You may want to show the messages displayed in the console when you connect your device.

corp769 03-17-2011 12:30 AM

From your other thread, I found this link, just for you:
http://www.linux-usb.org/ezusb/

Cheers,

Josh

pieterparker17 03-17-2011 12:47 AM

"" You may want to show the messages displayed in the console when you connect your device.""
what it means ? on running exe it simply displays ''check device connections''.
Infact the driver for IC CY7C68001 of Cypress semiconductor corporation is required. as i am a begginer in linux ,i dont know about libusb. kindly help me
regards

cnxsoft 03-17-2011 10:14 AM

Are you trying to run your program in Linux thru Wine ? Then you won't find a driver to do that. You'd better develop your application to run natively in Linux.

Do not run Wine and insert you device, go to a Linux Terminal and type dmesg, then copy/paste the output here to see if the device is recognized.

You could probably use libusb to control your device, but it might be easier to start with the link provide by corp769: http://www.linux-usb.org/ezusb/.

I used libusb, because I had to port a USB Video grabber program (using EZ-USB device) in Windows to Linux and I did not have any documentation or source. So I had to capture packets in Windows (with a USB Monitor) and replay them in Linux. It did that by writing a program using libusb API. If you want to go that route you can download the source and study the documentation & samples provided with the code.


All times are GMT -5. The time now is 08:51 AM.