Re: [linux-usb-devel] Re: ub patch to use add_timer

2004-08-24 Thread Jean Tourrilhes
On Tue, Aug 24, 2004 at 02:56:56PM -0700, Greg KH wrote: Heh, thanks, but no, it doesn't change my mind :) Jean got the irda-usb driver working just fine on OHCI controllers, so that proves that it doesn't need the timeout value. There was a time where usb-ohci did implement the

Re: [linux-usb-devel] Re: ub patch to use add_timer

2004-08-24 Thread Jean Tourrilhes
On Tue, Aug 24, 2004 at 05:34:21PM -0400, Alan Stern wrote: Jean: You might want to review some of the message in this thread on linux-usb-devel. I personally never had hope of impacting the USB API one way or another. I'm just glad that I managed to get ZERO_PACKET support in it. At

Re: [linux-usb-devel] Fw: [Bugme-new] [Bug 2779] New: panic scheduling in interrupt with tekram usb irda dongle

2004-05-27 Thread Jean Tourrilhes
On Fri, May 28, 2004 at 12:29:33AM +0200, Martin Diehl wrote: On Thu, 27 May 2004, Pete Zaitcev wrote: On Thu, 27 May 2004 03:00:30 -0700 Andrew Morton [EMAIL PROTECTED] wrote: This is 2.4.26, sleeping in a timer handler. [...] Trace; c0112b2b schedule_timeout+73/94 Trace;

[linux-usb-devel] Re: irda-usb driver, urb-timeout

2004-05-17 Thread Jean Tourrilhes
On Sun, May 16, 2004 at 04:44:51PM -0700, Greg KH wrote: On Sun, May 16, 2004 at 12:01:03PM -0400, Alan Stern wrote: While looking through the irda-usb driver, I found that it does several questionable things. Just because you don't understand the code doesn't make it automatically

[linux-usb-devel] Re: irda-usb driver, urb-timeout

2004-05-17 Thread Jean Tourrilhes
On Sun, May 16, 2004 at 10:44:00PM -0400, Alan Stern wrote: I'm not touching that; I don't know the first thing about the driver. There are no dates later than 2001 in the source, which makes me wonder if driver is actively maintained? The fact that this code written in 2001 still

[linux-usb-devel] Re: irda-usb driver, urb-timeout

2004-05-17 Thread Jean Tourrilhes
On Mon, May 17, 2004 at 02:37:50PM -0400, Alan Stern wrote: On Mon, 17 May 2004, Jean Tourrilhes wrote: Yes, but only if the URB is idle. Check what the status in question mean. I did check. You change urb-status when it is non-zero and not equal to -EINPROGRESS. So what

[linux-usb-devel] Re: irda-usb driver, urb-timeout

2004-05-17 Thread Jean Tourrilhes
On Mon, May 17, 2004 at 02:45:22PM -0400, Alan Stern wrote: Could you point out where is this comment ? The versions in the current 2.4.X and 2.6.X kernel mention explicitely that it works with all HCI. Sorry, my mistake. I misread this comment near the start of the file: *

[linux-usb-devel] Re: [Bluez-devel] [BUG] hci_usb + uhci vs. usb-uhci

2003-09-15 Thread Jean Tourrilhes
On Fri, Sep 12, 2003 at 06:32:51PM -0400, Johannes Erdfelt wrote: On Fri, Sep 12, 2003, Jean Tourrilhes [EMAIL PROTECTED] wrote: I just spent some time tracking a problem with hci_usb (BlueZ USB driver) and uhci. This happens on 2 different PCs with different hardware and 2.4.X kernels

[linux-usb-devel] [BUG] hci_usb + uhci vs. usb-uhci

2003-09-12 Thread Jean Tourrilhes
Hi, I just spent some time tracking a problem with hci_usb (BlueZ USB driver) and uhci. This happens on 2 different PCs with different hardware and 2.4.X kernels, I describe one here. UHCI Hardware : 00:07.2 USB Controller: Intel Corp. 82371AB PIIX4 USB (rev 01) BlueTooth

[linux-usb-devel] Re: [PATCH]memory leak in error path of irda-usb's probe

2003-07-16 Thread Jean Tourrilhes
On Thu, Jul 17, 2003 at 01:05:53AM +0200, Oliver Neukum wrote: Hi, if probe fails, allocated URBs and buffers must be freed. Regards Oliver Nice catch. However, you forgot about self-speed_urb. Thanks, I'll push a fixed version to Jeff with my next

Re: [linux-usb-devel] stir4200

2003-06-24 Thread Jean Tourrilhes
On Tue, Jun 24, 2003 at 08:50:23PM +0200, Martin Diehl wrote: On Tue, 24 Jun 2003, Tomek Grzejszczyk wrote: I'am trying to write driver for STIR4200 usb-irda bridge controller. I'am not writing it from scratch but rather modify current irda-usb driver from 2.4.20 kernel. Right now

Re: [linux-usb-devel] HCD testing with irda-usb

2002-06-10 Thread Jean Tourrilhes
On Mon, Jun 03, 2002 at 08:49:13PM -0700, Greg KH wrote: On Mon, Jun 03, 2002 at 07:17:49PM -0700, Jean Tourrilhes wrote: Hi, It seems that we should test the new USB code. So, I did a bit of testing with the various HCD drivers and the irda-usb dongle driver. Bad news

Re: [linux-usb-devel] HCD testing with irda-usb

2002-06-10 Thread Jean Tourrilhes
On Mon, Jun 10, 2002 at 05:42:38PM -0700, David Brownell wrote: Such symptoms have been seen before with the usb-ohci driver, so it's likely that something has just made them more likely. Am I right to conclude that Christopher Hoover was able to get that very same card working in a

Re: [linux-usb-devel] HCD testing with irda-usb

2002-06-10 Thread Jean Tourrilhes
On Mon, Jun 10, 2002 at 06:10:11PM -0700, Christopher Hoover wrote: No, I haven't tried my Opti card (yes, jt, I have my own now :-)) And when I gave you mine, I told you that the Opti did contain a hardware bug. I guess the cheapest at Fry's is the cheapest... I'm getting a little

[linux-usb-devel] HCD testing with irda-usb

2002-06-03 Thread Jean Tourrilhes
Hi, It seems that we should test the new USB code. So, I did a bit of testing with the various HCD drivers and the irda-usb dongle driver. Bad news. The agravating circonstances : o kernel 2.5.20 o one IrDA-USB dongle, irda-usb

Re: [linux-usb-devel] usb-irda uhci zero packet

2002-03-25 Thread Jean Tourrilhes
On Mon, Mar 25, 2002 at 10:20:10AM +0100, Martin Diehl wrote: On Mon, 25 Mar 2002, Martin Diehl wrote: Jean, this solves the host controller processing error - but irda-usb is still not happy with it, apparently a number of tx transfers are just hanging and the dongle doesn't work.

Re: [linux-usb-devel] usb-irda uhci zero packet

2002-03-25 Thread Jean Tourrilhes
On Mon, Mar 25, 2002 at 10:20:10AM +0100, Martin Diehl wrote: On Mon, 25 Mar 2002, Martin Diehl wrote: Jean, this solves the host controller processing error - but irda-usb is still not happy with it, apparently a number of tx transfers are just hanging and the dongle doesn't work.

[linux-usb-devel] 2 HCI on the same host ?

2002-03-22 Thread Jean Tourrilhes
Hi, For my testing, I've got a computer with both a UHCI and OHCI card. What I've noticed is that whenever I've got usb-uhci and usb-ohci active at the same time, I end up with a crash (Opps). It doesn't really matter because nowadays I make sure that only one HCI is active at a

Re: [linux-usb-devel] 2 HCI on the same host ?

2002-03-22 Thread Jean Tourrilhes
On Fri, Mar 22, 2002 at 07:27:19PM -0800, David Brownell wrote: Yes, it's supposed to be fine. I'm surprised you're seeing any kind of evident interaction at all. Less surprised once you mention SMP, though I'd suspect that as meaning you're just hitting bugs in one of the HC drivers.

[linux-usb-devel] usb-irda uhci zero packet

2002-03-22 Thread Jean Tourrilhes
Hi, I was quickly scanning the BlueZ mail archive and found a few comments regarding the support of Zero Packet with uhci.c. Johannes, that is mostly for you ;-) First, I never updated the comment on top of irda-usb because I never got it to work with uhci.c. I was

[linux-usb-devel] 2.5.6-pre2 - UHCI error

2002-03-05 Thread Jean Tourrilhes
Hi, Since I upgraded to 2.5.5, I can't make my UHCI card work. Currently, I'm using 2.5.6-pre2, still no go. Before that, I was using 2.5.3 and it was working fine. The UHCI is a VIA card. I'm only having a IrDA dongle on it (using irda-usb). Box is SMP PPro 150MHz.

Re: [linux-usb-devel] 2.5.6-pre2 - UHCI error

2002-03-05 Thread Jean Tourrilhes
On Tue, Mar 05, 2002 at 10:40:59AM -0800, Greg KH wrote: On Tue, Mar 05, 2002 at 01:41:41PM -0500, Johannes Erdfelt wrote: Hmm, I wonder if there might have been a change in the PCI DMA, or perhaps the URB allocation changes introduced a bug. Ah, that's it. include/net/irda/irda-usb.h

[linux-usb-devel] Re: [Linux-IrDA] Re: Re : problem with irda-usb

2001-12-13 Thread Jean Tourrilhes
On Thu, Dec 13, 2001 at 02:21:16PM +0200, Erez Doron wrote: .cs.UiT.No CC: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [Linux-IrDA] Re: Re : problem with irda-usb References: [EMAIL PROTECTED] [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding:

[linux-usb-devel] Re : problem with irda-usb

2001-12-12 Thread Jean Tourrilhes
Erez Doron wrote : hi i have linux rh-7.0 with kernel 2.4.16 I have installed KC-180-usb-irda and linux automatically identified it and insmod the appropriate modules, telling me to use /dev/usb/ttyUSB0. i tried to open minicom with different baud rates on /dev/usb/ttyUSB0 but got no date

Re: [linux-usb-devel] UHCI weirdness and crash...

2001-10-12 Thread Jean Tourrilhes
On Sat, Oct 13, 2001 at 12:55:41AM +0200, Martin Diehl wrote: On Thu, 11 Oct 2001, Jean Tourrilhes wrote: The good news is that your code works beautifully on my box for usb-ohci and usb-uhci. So, it will go out in the next rev os the driver (I also want to try with an XNTD dongle

Re: [linux-usb-devel] How to detect USB HCI in USB driver ?

2001-10-11 Thread Jean Tourrilhes
On Wed, Oct 10, 2001 at 09:30:01PM -0400, Johannes Erdfelt wrote: The real fix is not to workaround specific bugs, but to make all of the HCI's work the same way. Does this patch fix the problem for you? JE Hum, it start failing after : uhci.c: f000: host controller process

[linux-usb-devel] UHCI weirdness and crash...

2001-10-11 Thread Jean Tourrilhes
On Wed, Oct 10, 2001 at 09:30:01PM -0400, Johannes Erdfelt wrote: The real fix is not to workaround specific bugs, but to make all of the HCI's work the same way. Does this patch fix the problem for you? JE Sorry to bother you, but I wanted to give more details about the crash.

Re: [linux-usb-devel] UHCI weirdness and crash...

2001-10-11 Thread Jean Tourrilhes
On Thu, Oct 11, 2001 at 12:25:38PM -0700, Greg KH wrote: On Thu, Oct 11, 2001 at 12:00:57PM -0700, Jean Tourrilhes wrote: After the first packet sent to the dongle, things go very funky. I've got this weird error message and all my URB timeout. Then, when the uhci module is remove

Re: [linux-usb-devel] UHCI weirdness and crash...

2001-10-11 Thread Jean Tourrilhes
On Thu, Oct 11, 2001 at 02:38:28PM -0700, Greg KH wrote: On Thu, Oct 11, 2001 at 01:06:27PM -0700, Jean Tourrilhes wrote: It was. I put both the raw version and the ksymoops one in the log. Um, I might be slow today, but I don't see that. All I see is a raw oops, and something that looks

Re: [linux-usb-devel] UHCI weirdness and crash...

2001-10-11 Thread Jean Tourrilhes
On Fri, Oct 12, 2001 at 12:23:27AM +0200, Martin Diehl wrote: On Thu, 11 Oct 2001, Jean Tourrilhes wrote: Sorry to bother you, but I wanted to give more details about the crash. It took me a bit of trying to get my box to not instantly freeze. [...] After the first packet

Re: [linux-usb-devel] Re : [PATCH] Add support for USB IR serial driver

2001-10-10 Thread Jean Tourrilhes
On Tue, Oct 09, 2001 at 10:20:39PM -0700, Greg KH wrote: On Tue, Oct 09, 2001 at 10:20:11AM -0700, Jean Tourrilhes wrote: I just have a few comments... 1) There is more USB-IrDA devices than those you list in the driver, and most IrDA-USB devices don't follow the spec in some way

[linux-usb-devel] Re : [PATCH] Add support for USB IR serial driver

2001-10-09 Thread Jean Tourrilhes
Greg KH wrote : Hi, Here's a patch against 2.4.10-ac8 that adds a driver to enable a USB IrDA device as a simple serial device, like a serial IrDA device can be used. This is helpful for users that do not have a IrDA support on the other side of their Ir connection (like some embedded

[linux-usb-devel] Min USB RTT

2001-10-04 Thread Jean Tourrilhes
Hi, I've got a questions for the USB gurus... What is the minimum or typical round trip time of a USB bulk transfer ? (BTW, I'm not on the list...) Let's take an example... My driver has 2 bulk pipes, in and out. The transfer is assumed to be a single TD

Re: [linux-usb-devel] Min USB RTT

2001-10-04 Thread Jean Tourrilhes
On Thu, Oct 04, 2001 at 02:21:47PM -0400, Johannes Erdfelt wrote: Drivers are notified when transfers are done on frame boundaries. However, data may go over the wire quicker than that. And for Rx ? Are drivers also notified on frame boundary ? JE Jean

[linux-usb-devel] Re: Linux-IrDA and OHCI (patch attached)

2001-09-19 Thread Jean Tourrilhes
/drivers/usb/usb-ohci.c --- linux/drivers/usb/usb-ohci.u1.c Wed Sep 19 15:10:01 2001 +++ linux/drivers/usb/usb-ohci.cWed Sep 19 16:05:14 2001 @@ -12,6 +12,7 @@ * * History: * + * 2001/09/19 USB_ZERO_PACKET support (Jean Tourrilhes) * 2001/07/17 power management and pmac cleanup

Re: [linux-usb-devel] Long standing usb-uhci bug...

2001-09-17 Thread Jean Tourrilhes
On Mon, Sep 17, 2001 at 10:51:14AM +0200, Thomas Sailer wrote: Jean Tourrilhes schrieb: purb-timeout = MSECS_TO_JIFFIES(100); Although it doesn't explain your problems, this conversion seems bogus, as USB timeouts should be in USB frames, i.e. ms. Tom usb-uhci.c, uhci_check_timeouts

Re: [linux-usb-devel] Long standing usb-uhci bug...

2001-09-17 Thread Jean Tourrilhes
On Sat, Sep 15, 2001 at 05:00:42PM +0200, Georg Acher wrote: On Fri, Sep 14, 2001 at 06:09:52PM -0700, Jean Tourrilhes wrote: Questions : Why the completion handler is not called on timeout in this case ? Timeoutchecking is done by an UHCI interrupt, which is activated on demand

Re: [linux-usb-devel] USB chip timers? [was: Re: [patch] patch-2.4.2-irda1 (irda-usb)]

2001-03-07 Thread Jean Tourrilhes
On Wed, Feb 28, 2001 at 10:01:07AM +, Alan Cox wrote: we do this by using {u,m}delay, but we want to do this in a better way. Are there any timers in the USB subsystem that we could make use of? We will need a resolution in the 100us-1ms area. We have been thinking of sending The