Carles Pina i Estany wrote:
On Aug/01/2005, [EMAIL PROTECTED] wrote:
I would like to communicate from Linux (device driver) to Windows
(host) using USB serial (without load acm=1 option in module).
(I have to do in this way)

That's too bad then.  I don't think you can make it talk to
Windows very easily without using the ACM mode.

David is correct, as best I know.  The usbser.sys driver for Windows
is an ACM driver, and it expects to talk to an ACM device.  The ACM
gadget serial device has different USB descriptors than the non-ACM
one.  My guess is that Windows usbser.sys won't recognize the gadget
USB serial device without acm=1.

I am not an expert in this topic, but without "use_acm=1" it should be
like a usual serial port, no?

Yes, but each USB serial device has its own protocol and needs
a Windows driver written specifically to talk to it.

And the driver for Windows it seems that is using
ACM, but I am not sure.

Yes, with Windows usbser.sys you should use ACM.

Althouth, I have been searching and doing some tests. I have done
something... using this driver:
http://www.ramelectronics.net/download/BF-810/XP/wd_pl2303/

from this web page:

http://www.ramelectronics.net/html/usb_serial.htm

And modifing VendorID and ProductID from .inf file, the "Serial Port" is
recognized without problems.

So you modified another USB serial driver to talk to the gadget USB
serial device?  That seems quite possible.

And I can send characters (using hypterminal) to my application! But for
some reason, I cannot send characters from Net2280 PC to my host... but
tomorow I will try again, I am not in the place where I have Net2280
computer.

The trouble is that you need a Windows device driver specifically
written to talk to the non-acm gadget USB serial device.  It is
a simple interface -- just bulk in/bulk out -- so you might be
able to find a driver that will work.

By the way, why can't you use acm=1?

-- Al



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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