Hi! On Aug/01/2005, Al Borchers wrote: > 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
ok, i didn't know... > 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 think that i tested using use_acm=1 but it was not working too... i will try again; but if usbser.sys is for ACM devices, i shouldn't use it -read at the end of mail) > >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. ok, i understand it. I thought that it was more standard (just send data to some USB descriptor, without matter which device it was there...) > >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. ok... > >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. yes, i have done it > >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? because the reason to do it is to connect a embedded linux that is only able to use kernel 2.4.20, and it seems that 2.4.20 with the patch for this device (Freescale MX.21) has the USB Serial Device but not ACM option :-( With the driver that i adapted i can send but not receive (or it seems it). I will to fix... Thank you very much for your attention! -- Carles Pina i Estany GPG id: 0x8CBDAE64 http://pinux.info ------------------------------------------------------- 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 _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
