On Sat, Nov 04, 2006 at 07:24:14PM +0100, Till Harbaum wrote:
> Hi,
> 
> Am Samstag, 4. November 2006 18:51 schrieb David Brownell:
> > On Saturday 04 November 2006 9:04 am, Alan Stern wrote:
> > > [libusb can send control messages with appropriate USB_RECIP_* values]
> > >
> > > There is no way to prevent libusb from being used to send these kinds of
> > > messages.  If they interfere with the proper operation of the device,
> > > that's an indication the device wasn't designed very carefully.
> >
> > Read that last as:  "that indicates the device design is buggy".  :)
> Hmm, please explain this a little further since i am the one who built the
> device and i can still change these things.
> 
> My device does all its communication via its control endpoint. Is this already
> a bad idea?

Yes.  If it requires a state machine for that control endpoint.

> This is a device based on a software bitbanginf usb on an avr
> microcontroller and doing it this way since this makes the firmware
> significant easier. I have implemented these as vendor specific
> control messages.
> 
> Is this a bad in idea in general?

Probably, but if you can handle any type of control message at any time,
then you should be fine.

This really sounds like a bug in your firmware, perhaps you should
create some more endpoints and use them instead :)

good luck,

greg k-h

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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