I used fxload to upload the firmware.
The piece of code I have is the interface that
communicates with the ezusb loaded with the firmware.
It's the windows source code. It uses the function
"DeviceIoControl" to communicate with the device.
I'd like to know how to replace this call with libusb
ones.

--- Greg KH <[EMAIL PROTECTED]> wrote:
> On Wed, Mar 09, 2005 at 08:45:58AM +0100, C?dric
> FINANCE wrote:
> > Hello,
> > 
> > 
> >    I'm trying to write a driver for an usb device.
> It's a cartridge 
> > flasher based on a ezusb microcontroller. I talked
> with the developer 
> > and he gave me the firmware and a piece of code. I
> uploaded the firmware 
> > and managed to find the device with the libusb.
> But then I don't know 
> > how to translate the windows call
> "DeviceIoControl". I hope you can help 
> > me with that.
> 
> What's wrong with using the existing fxload program
> to do this from
> userspace?  It works just fine with the ezusb
> devices.
> 
> thanks,
> 
> greg k-h
> 
> 
>
-------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT
> Products from real users.
> Discover which products truly live up to the hype.
> Start reading now.
>
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> linux-usb-devel@lists.sourceforge.net
> To unsubscribe, use the last form field at:
>
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
> 


        

        
                
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to