Re: [linux-usb-devel] interrrupt URB's

2002-12-04 Thread Greg KH
On Wed, Dec 04, 2002 at 10:46:05AM +0200, Heinrich du Toit wrote: > > Why did they remove the statement "typedef struct urb * purb_t; " in > kernel 2.4.20 ?? Because stupid typedefs like that are evil, and not proper kernel coding style :) thanks, greg k-h ---

Re: [linux-usb-devel] interrrupt URB's

2002-12-04 Thread Heinrich du Toit
I upgraded to 2.4.20... no change. And the uhci driver even locks up the system sometimes when usb-uhci doesn't ;-) But I found a trick. I now unlink the send URB in the recieve_complete function. This way it does get done. And by just unlinking the 1 the whole send reviece process seems to stop

Re: [linux-usb-devel] interrrupt URB's

2002-12-03 Thread David Brownell
Sounds like a bug in whatever host controller driver you're using. Unlinking an interrupt urb in its completion function is supposed to work just fine. Does it still happen on 2.4.20? If this is with UHCI hardware, did you try the other driver? I have kernel 2.4.19 still... Should I upgrade?

Re: [linux-usb-devel] interrrupt URB's

2002-12-02 Thread Heinrich du Toit
Sorry me again. Ok I'll shutup after this. Just wanna let you know that my previous e-mail is wrong. unlinking the send doesn't help! It all continues in a happy send recieve loop! --- This SF.net email is sponsored by: Get the new Palm Tun

Re: [linux-usb-devel] interrrupt URB's

2002-12-02 Thread Heinrich du Toit
Hello again Ok I've done abit of research/testing If I only unlink the URB used for sending data.. Then sending stops. And recieve also.. sicne the device first wants to send data before it can recieve data. But when I also unlink the URB used for recieving data.. Then all of a sudden everythin

Re: [linux-usb-devel] interrrupt URB's

2002-12-02 Thread Heinrich du Toit
David Brownell wrote: Heinrich du Toit wrote: Anyways from what I can find out the max bandwidth of my USB is 12Mbit/s And each device communicates at 1.6Mbit/s This means after I plugged in the 7th device (theoritcally) the bandwidth are full. And from then on things start to slow down or s

Re: [linux-usb-devel] interrrupt URB's

2002-12-02 Thread David Brownell
Heinrich du Toit wrote: Anyways from what I can find out the max bandwidth of my USB is 12Mbit/s And each device communicates at 1.6Mbit/s This means after I plugged in the 7th device (theoritcally) the bandwidth are full. And from then on things start to slow down or seomthing like that. Hmm,

[linux-usb-devel] interrrupt URB's

2002-12-02 Thread Heinrich du Toit
Hello again. Ok you know my storie by now :-) Anyways from what I can find out the max bandwidth of my USB is 12Mbit/s And each device communicates at 1.6Mbit/s This means after I plugged in the 7th device (theoritcally) the bandwidth are full. And from then on things start to slow down or seom