Re: [linux-usb-devel] usb toggle mechanism

2003-07-02 Thread Alexander Dreweke
David Brownell wrote: Alexander Dreweke wrote: Oh, ok I've forgot to give you one more information, I'm programming a HC driver for an operating system. So I have to take care of such things. :o) So now my question makes a bit more sense i hope For Linux? No for the Jx OS. It's a OS which is tot

Re: [linux-usb-devel] usb toggle mechanism

2003-07-02 Thread Alan Stern
On Tue, 1 Jul 2003, David Brownell wrote: > Alexander Dreweke wrote: > > > Oh, ok I've forgot to give you one more information, I'm programming a > > HC driver for an operating system. So I have to take care of such > > things. :o) So now my question makes a bit more sense i hope > > For Linux

Re: [linux-usb-devel] usb toggle mechanism

2003-07-01 Thread David Brownell
Alexander Dreweke wrote: Oh, ok I've forgot to give you one more information, I'm programming a HC driver for an operating system. So I have to take care of such things. :o) So now my question makes a bit more sense i hope For Linux? Does the device drive have to take care of resetting the end

Re: [linux-usb-devel] usb toggle mechanism

2003-07-01 Thread Alexander Dreweke
Ok. With maintain the toggle bit i mean i have to have a boolean variable and when it's true then i set the toggle bit in the actual transfer descriptor. Or how does the controller know when to set this bit? You don't have to maintain any toggle bits. The host controller driver does so for yo

Re: [linux-usb-devel] usb toggle mechanism

2003-07-01 Thread Alan Stern
On Tue, 1 Jul 2003, Alexander Dreweke wrote: > >>4: I must maintain the toggle bit for each established pipe (beside for > >>the iso). > > 1 - 3 are correct. 4 is misleading: _You_ don't have to maintain > > anything; the host controller driver automatically takes care of that for > > you. > > O

Re: [linux-usb-devel] usb toggle mechanism

2003-07-01 Thread Alexander Dreweke
4: I must maintain the toggle bit for each established pipe (beside for the iso). 1 - 3 are correct. 4 is misleading: _You_ don't have to maintain anything; the host controller driver automatically takes care of that for you. Ok. With maintain the toggle bit i mean i have to have a boolean variab

Re: [linux-usb-devel] usb toggle mechanism

2003-07-01 Thread Alan Stern
On Tue, 1 Jul 2003, Alexander Dreweke wrote: > Hi, > > I'm trying to understand the data-toggle mechanism but I find the spec a > little bit confusing. Could someone please explain me the details? > > What I (believe to) know at the moment is: > 1: If the toggle-bit in a transfer-descriptor is s

[linux-usb-devel] usb toggle mechanism

2003-07-01 Thread Alexander Dreweke
Hi, I'm trying to understand the data-toggle mechanism but I find the spec a little bit confusing. Could someone please explain me the details? What I (believe to) know at the moment is: 1: If the toggle-bit in a transfer-descriptor is set, then the data1-pid is used, if it isn't set then data0-pi