Hello.
I am making a device driver for USB printer and I am using zero.c for this
driver.
However, I have some problems.

In zero.c, source_sink_complete() handles usb_request, and buf in
usb_request has datas sent by host.
Because I want datas received from host to be a file, so I think that, in
source_sink_complete(),
openning a file, writting some data on it and closing that file are all
that I have to do.
However, all datas are not in a file. Some datas are in a file, but others
are not.
And, amount of datas in a file are various each times.

What is a problem?
Please advise to me about that problem.



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to