Re: force USB_SPEED_FULL for device

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Fri, 27 Jul 2007, Gabriel Maganis wrote:

> > A more important question is: Why do you want to change
> > usb_device->speed from USB_SPEED_LOW to USB_SPEED_FULL?  Was there
> > something wrong with the USB_SPEED_LOW setting?
> >
> > Alan Stern
> >
> >
> 
> Hello Alan,
>     I would just like to know what response (if at all, garbage, or
> meaningful) it would give me if I send it a packet "at
> USB_SPEED_FULL". Do I also need to change some fields in the
> usb_device structure? I tried changing the ep0.desc.wMaxPacketSize to
> match a device configured at full speed but it didn't work also.

But why?  If you have a low-speed device like a keyboard and you send
it a packet at full-speed, the device won't be able to receive the
packet.  Hence it won't send a reply, at any speed.  There's no need to 
actually do a test; it can't possibly work.

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.