On 7/27/07, Alan Stern <[EMAIL PROTECTED]> wrote:
> On Fri, 27 Jul 2007, Gabriel Maganis wrote:
>
> > On 7/27/07, Pete Zaitcev <[EMAIL PROTECTED]> wrote:
> > > On Fri, 27 Jul 2007 11:29:07 -0700, "Gabriel Maganis" <[EMAIL PROTECTED]> 
> > > wrote:
> > >
> > > >     Thanks for the help below. I am trying to answer "what will the
> > > > keyboard send me if I send it a packet configured over
> > > > USB_SPEED_FULL?". Simply setting usb_device->speed to USB_SPEED_FULL
> > > > doesn't work as the packet does not even get sent by the
> > > > subsystem/hcd.
> > >
> > > How do you know that the packet is not sent?
> > >
> > > The EPROTO you are getting is what happens when packet IS sent and
> > > gets no reply.
> > >
> > > -- Pete
> > >
> > > P.S. Gmail is not a valid excuse for top-posting.
> > >
> >
> > I have one of those protocol analyzers in between and it doesn't see
> > anything. I tried to look for where the EPROTO is being returned from
> > but grep -r doesn give me relevant results. I also looked at the
> > sanity checks in submit_urb but I don't think any are doing anything
> > about the speed. Would you know which file would contain the "lowest
> > level" routine that sends the packets?
>
> 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.

Thanks,
Gabriel

-------------------------------------------------------------------------
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/
_______________________________________________
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