On Tue, 2004-09-28 at 19:05 +0200, Duncan Sands wrote: > > It appears to confirm my belief that the userspace program is doing > > _precisely_ what both Duncan's and my kernel versions do.... nothing but > > the bulk transfer. I've already triple-checked the endpoints and the > > data. We show a CRC on the data and print the length. I've even done a > > hex dump of the start and end of the data in my paranoia. > > Doesn't the user-space program do a usb_set_configuration? (It used to). > Maybe that resets the device. > > Just a passing thought,
/* pusb_set_configuration() triggers hotplug. All previous interfaces are removed and all new interfaces are added. In our example, it makes 6 calls to usb.agent (tested on 2.6.5). Both in 2.4 and 2.6 kernels, there is an initial call to pusb_set_interface() to set the default interface before calling hotplug. So, all call to pusb_set_interface() are useless since there is only one interface. */ #if 0 if (pusb_set_configuration(fdusb, 1) < 0) { report(0, REPORT_ERROR, "pusb_set_configuration 1"); return(-1); } #endif I believe that comment is true even with s/calling hotplug/calling the udsl_usb_probe() routine/ -- dwmw2 ------------------------------------------------------- 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