Re: [linux-usb-devel] send data on "packet level"

2007-08-08 Thread Alan Stern
On Wed, 8 Aug 2007, Gabriel Maganis wrote: > Correct. I was hoping disabling preemption can keep those things > somewhat constant but looking at the list you gave, it seems the time > to travel over the cable is negligible. I am trying to see if a USB > extension cable can increase the time from m

Re: [linux-usb-devel] send data on "packet level"

2007-08-08 Thread Gabriel Maganis
On 8/8/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Wed, 8 Aug 2007, Gabriel Maganis wrote: > > > My goal was to run a benchmark on how long the packets took to go from > > my computer to the usb device. I tried to do it like "start = > > timenow(); usb_control_msg(); end = timenow();" but the re

Re: [linux-usb-devel] send data on "packet level"

2007-08-08 Thread Alan Stern
On Tue, 7 Aug 2007, Gabriel Maganis wrote: > I see. So the most I have access to from software are on the > transaction level like you described before i.e. a SETUP transaction > which is actually a SETUP packet followed by a DATA packet then an ACK > packet? And I can't even do so unless I hack t

Re: [linux-usb-devel] send data on "packet level"

2007-08-07 Thread Gabriel Maganis
On 8/7/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Tue, 7 Aug 2007, Gabriel Maganis wrote: > > > On 8/7/07, Alan Stern <[EMAIL PROTECTED]> wrote: > > > On Mon, 6 Aug 2007, Gabriel Maganis wrote: > > > > > > > Hello, > > > > How could one communicate with usb devices on the packet level > > >

Re: [linux-usb-devel] send data on "packet level"

2007-08-07 Thread Alan Stern
On Tue, 7 Aug 2007, Gabriel Maganis wrote: > On 8/7/07, Alan Stern <[EMAIL PROTECTED]> wrote: > > On Mon, 6 Aug 2007, Gabriel Maganis wrote: > > > > > Hello, > > > How could one communicate with usb devices on the packet level > > > i.e. chapter 8 of the usb spec instead of the device requests

Re: [linux-usb-devel] send data on "packet level"

2007-08-07 Thread Alan Stern
On Mon, 6 Aug 2007, Gabriel Maganis wrote: > Hello, > How could one communicate with usb devices on the packet level > i.e. chapter 8 of the usb spec instead of the device requests in > chapter 9? I'd like to be able to send SETUP packets or DATA0 packets > and get the ACK coming from the devi

[linux-usb-devel] send data on "packet level"

2007-08-06 Thread Gabriel Maganis
Hello, How could one communicate with usb devices on the packet level i.e. chapter 8 of the usb spec instead of the device requests in chapter 9? I'd like to be able to send SETUP packets or DATA0 packets and get the ACK coming from the devices versus a GET_DESCRIPTOR request over the control p