Hi Andrej, thanks for doing this - it must have been a lot of work. > >If you have vmware, you could do the following: turn on the usbfs_snoop > >parameter (see devio.c - 2.6 kernels only); run windows on your linux box > >inside vmware; set things up so vmware controls your modem; install the > >windows driver; download your evil file into windows. If the modem works > >fine, then that shows that there is no problem with the linux usb core - > >there is a problem with the linux driver(s). What's more, you will have a > >complete record of everything the windows driver did. If it doesn't work, > >then that's interesting too! > > > > > OK, I get vmware to work on my gateway machine (btw. it was veeery slow > - well 133Mhz :) ). > Installed win98se on virtual machine, installed speedtouch drivers etc. > I was able to download > 2MB 0x00-stuffed file smoothly. But downloading 0xFF-stuffed file failed > just as it did under pure > Linux. Well, I'm not quite sure if it's good news or bad :) . But at > least we can be sure that linux > driver is innocent in this case. BTW. I ran vmware on 2.4 kernel so > there was no logging enabled. > When I find more time I compile 2.6 kernel with usb_snoop support so we > can see what's going on > behind scenes.
Yes, that would be very helpful. I guess it is good news because it looks like you can reproduce a bug in the usb core at will - it should be possible to squash it as long as you have the courage to continue :) > >PS: Tell the windows driver not to use the isochronous endpoint. > > > > > Hmm, I don't know how to do this (it never asked me) but Alcatel diag > utility shows that usb uses > bulk endpoint so I guess this is OK. Yes, it is OK. The problem with isochronous endpoints is that vmware doesn't support them (at least it didn't a few years ago when I last had a look). > P.S.: I don't know if this is related to the problem but I had problem > to get modem to work on virtual host > under vmware. When I plugged modem the firmware upload began. Everything > went OK, but when modem > tried to synchronize it froze (USB led on and DSL led off or both leds > on). The diag utility showed yellow icon > (synchronizing with DSL line). I had to repeatedly plug the modem in for > a few times before it was successfully > synchronized. Maybe it's just an issue of virtual computer (as I wrote, > everything went very slow so maybe some > timeouts occured ...). Did you get any evil messages in your (linux) system logs (an Oops for example)? Thanks a lot, Duncan. ------------------------------------------------------- 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-users
