That part I understand.  The only issue with set_interface() is that
usb_reset_device() calls it.

The bigger problem is usb-uhci crashing (bad pointer deref in an
interrupt handler) when I do a reset in my probe() routine.

-Mark

Roman Weissgaerber wrote:
> 
> "Mark S. Mathews" wrote:
> >
> > Hi Folks,
> >
> > I'm currently working on adding USB support to linux-wlan-ng for the
> > Intersil Prism 2.x wireless LAN adapters and I'm having a few
> > difficulties.
> >
> > First and foremost, it seems that the device refuses to drop into it's
> > final, configured, mode of operation unless I do a reset first.  That's
> > been entertaining because the usb_reset_device() function attempts a
> > usb_set_interface() which the Prism2 device doesn't support.  I wound up
> > having to write a smaller, simpler version of reset_device().
> >
> 
> If the device has just one interface without alt interfaces then it
> needs not support the usb_set_interface() function and
> most likely stalls if you call it.
> 
> - Roman
> 
> > Has anyone ever seen a device behave like this before?
> >
> > I'm currently working against a stock 2.2.19 kernel with USB compiled as
> > modules.  One other thing I've noted is that usb-uhci.o crashes if I issue
> > a reset in the probe() function, uhci.o does not.
> >
> > If anyone has any suggestions on things to consider relating to this
> > problem, I'm all ears.
> >
> > Thanks,
> > -Mark
> >
> > PS: The final-configured mode thing is config#1, which consists of the
> > following endpoints:
> >
> > #1 - Bulk IN   (command responses and rx traffic)
> > #2 - Bulk OUT  (commands and tx traffic)
> > #3 - Interrupt IN
> >
> > When it fails, my URBs to endpoint #2 just hang there, the callback never
> > gets called.
> >
> > --
> >
> > Mark S. Mathews
> >
> > AbsoluteValue Systems      Web:    http://www.linux-wlan.com
> > 715-D North Drive          e-mail: [EMAIL PROTECTED]
> > Melbourne, FL 32934        Phone:  321.259.0737
> > USA                        Fax:    321.259.0286
> >
> > _______________________________________________
> > [EMAIL PROTECTED]
> > To unsubscribe, use the last form field at:
> > https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
> 
> _______________________________________________
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

-- 

Mark S. Mathews

AbsoluteValue Systems      Web:    http://www.linux-wlan.com
715-D North Drive          e-mail: [EMAIL PROTECTED]
Melbourne, FL 32934        Phone:  321.259.0737
USA                        Fax:    321.259.0286

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to