Re: [linux-usb-devel] USB disconnect without driver disconnect called

2006-12-21 Thread matthieu castet
Hi Alan, Alan Stern wrote: On Sat, 9 Dec 2006, matthieu castet wrote: Alan Stern wrote: On Fri, 13 Oct 2006, matthieu castet wrote: Yes may be it depends of the usb device. I didn't see any problem with a usb mass storage. Can you try using the troublesome device on a different computer

Re: [linux-usb-devel] USB disconnect without driver disconnect called

2006-12-09 Thread matthieu castet
Alan Stern wrote: On Fri, 13 Oct 2006, matthieu castet wrote: Yes may be it depends of the usb device. I didn't see any problem with a usb mass storage. Can you try using the troublesome device on a different computer? Preferably with the same kind of motherboard? I tried the device

Re: [linux-usb-devel] What's the best way to load a firmware ?

2006-11-09 Thread matthieu castet
Hi, David Brownell wrote: For a device (eagle usb atm driver), I needed to patch it (to relax some memory checking), but I don't remember if I submit something. I don't recall seeing anything, although someone did point out recently that newer FX2 chips have 16K on-chip memory not 8K.

Re: [linux-usb-devel] What's the best way to load a firmware ?

2006-11-08 Thread Matthieu CASTET
Hi, On Tue, 07 Nov 2006 11:44:09 +0100, Oliver Neukum wrote: Am Dienstag, 7. November 2006 11:04 schrieb Laurent Pinchart: As I don't have much experience with firmware loading, I would like to ask other developers for their opinion. What should take care of loading the firmware ? The

Re: [linux-usb-devel] What's the best way to load a firmware ?

2006-11-08 Thread matthieu castet
David Brownell wrote: Use fxload. Keeping your driver as simple as possible is a good reason. May be, but fxload doesn't seem really maintained/used anymore. It certainly gets used, and ISTR every patch submitted in the past several years has been merged ... So maybe the project should make

Re: [linux-usb-devel] What's the best way to load a firmware ?

2006-11-08 Thread matthieu castet
David Brownell wrote: Exactly what's described in the 'Downloading Firmware with fxload' seection of the webpage referenced above. No new kernel code needed; it works out-of-the-box on some Linux distros, others may need grab the fxload package. Yes, but why use a custom userspace mechanism

Re: [linux-usb-devel] USB disconnect without driver disconnect called

2006-10-13 Thread matthieu castet
Hi, Alan Stern wrote: On Wed, 4 Oct 2006, matthieu castet wrote: By the way, the error messages in your log indicated some sort of problem with your EHCI USB controller. That's why the unexpected disconnections kept happening. It might even be a hardware problem. If it is, the patch

Re: [linux-usb-devel] USB disconnect without driver disconnect called

2006-10-13 Thread matthieu castet
Hi, Alan Stern wrote: On Fri, 13 Oct 2006, matthieu castet wrote: It seems to work fine with ohci. I was menaing usb 1, so uhci on this board. But I suppose it is the same conclusion. Maybe their controllers don't have the bug. That is, maybe it's a real malfunction rather than a design

Re: [linux-usb-devel] 2.6.19-rc1: known regressions (v2)

2006-10-08 Thread matthieu castet
: Ernst Herzberg [EMAIL PROTECTED] Handled-By : Matthieu Castet [EMAIL PROTECTED] Status : unknown Guilty : http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=e7ccdfec087f02930c5cdc81143d4a045ae8d361 Patch available at https://mail.gna.org/public

Re: [linux-usb-devel] [PATCH 105/129] USB: fix __must_check warnings in drivers/usb/atm/

2006-10-07 Thread Matthieu CASTET
Hi, On Wed, 27 Sep 2006 13:06:50 -0700, Greg KH wrote: From: Greg Kroah-Hartman [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/atm/ueagle-atm.c | 74 +++--- 1 files changed, 34 insertions(+), 40 deletions(-)

[linux-usb-devel] [PATCH 1/3] UEAGLE : comestic

2006-10-05 Thread matthieu castet
modem type (pots/isdn) - increase version number Signed-off-by: Matthieu CASTET [EMAIL PROTECTED] Commestic change : - dump firwmare version as soon as possible and export it on sysfs - hint about wrong cmv/dsp - Display a message to warn user when the modem is ready : it can help people

[linux-usb-devel] [PATCH 1/3] UEAGLE : be suspend friendly

2006-10-05 Thread matthieu castet
Hi, this patch avoid that the kernel thread block the suspend process. Some work is still need to recover after a resume. Signed-off-by: Matthieu CASTET [EMAIL PROTECTED] this patch avoid that the kernel thread block the suspend process. Some work is still need to recover after a resume

[linux-usb-devel] [PATCH 1/3] UEAGLE : use interruptible sleep

2006-10-05 Thread matthieu castet
Hi, this patch use wait_event_interruptible_timeout and msleep_interruptible beacause uninterruptible sleep (task state 'D') is counted as 1 towards load average, like running processes. Signed-off-by: Matthieu CASTET [EMAIL PROTECTED] use *_interruptible : Uninterruptible sleep (task

Re: [linux-usb-devel] USB disconnect without driver disconnect called

2006-10-02 Thread matthieu castet
Hi, Alan Stern wrote: You can start by turning on CONFIG_USB_DEBUG for your kernel and then posting a copy of the dmesg log showing what happens when one of those peculiar disconnects occurs. Post also a stack trace (Alt-SysRq-T); the khubd process is the one that matters most. I had

Re: [linux-usb-devel] USB disconnect without driver disconnect called

2006-10-01 Thread Matthieu CASTET
On Sun, 01 Oct 2006 13:07:36 +, Matthieu CASTET wrote: Hi, I am using 2.6.18 kernel.org linux kernel on a via ehci controller (1106:3104 (rev 82)). When using a wifi dongle (zd1211), sometimes the device disconnect for an unknown reason (there a usb 4-x: USB disconnect, address x

Re: [linux-usb-devel] [Ueagleatm-dev] usbatm_complete failures

2006-07-20 Thread matthieu castet
Hi, Duncan Sands wrote: Recently people have reported a bug affecting ADSL modems in the UHCI driver for 2.6.17. Perhaps it is related to your problem. This is likely a different problem, since it seems to be about isochronous urbs unlike the speedtouch modem problem. BTW, I believe we

[linux-usb-devel] Re: compile error when building multiple EHCI host controllers as modules

2006-03-28 Thread Matthieu CASTET
Hi, Le Fri, 24 Mar 2006 14:32:57 -0600, Kumar Gala a écrit : + +static int __init ehci_hcd_init(void) +{ + int retval = 0; + + pr_debug(%s: block sizes: qh %Zd qtd %Zd itd %Zd sitd %Zd\n, + hcd_name, + sizeof(struct ehci_qh), sizeof(struct ehci_qtd), +

[linux-usb-devel] [PATCH] UEAGLE : add iso support and commestic stuff

2006-01-13 Thread matthieu castet
Hi Greg, this patch mainly adds the support for isochronous pipe. There are also some cosmetic stuff (please tell me if you want them in a extra patch). This patch should apply cleanly on top of Duncan patches. Signed-off-by: Matthieu CASTET [EMAIL PROTECTED] Index: ueagle-atm.c

[linux-usb-devel] Re: [PATCH] Eagle and ADI 930 usb adsl modem driver

2005-11-07 Thread matthieu castet
Hi Greg, Greg KH wrote: Thanks, but does userspace will retry if it fails the first time ? The device needs the firmware quickly and after 3-5 seconds without it, it goes berserk. That sounds like a pretty broken device :) If it was only that (don't work in bulk mode with down rate 3Mbps

[linux-usb-devel] Re: [PATCH] Eagle and ADI 930 usb adsl modem driver

2005-11-07 Thread matthieu castet
Hi, here the corrected version of ueagle-atm. The comments of Adrew Morton and Greg KH have been applied. We also fix a bug in the check_dsp routine (reported on our mailling list) and kill some unsued code. Signed-off-by: Matthieu CASTET [EMAIL PROTECTED] diff -ruN -x '*.o*' -x '*.mod*' -x

[linux-usb-devel] Re: [PATCH] Eagle and ADI 930 usb adsl modem driver

2005-11-07 Thread matthieu castet
matthieu castet wrote: Hi, here the corrected version of ueagle-atm. The comments of Adrew Morton and Greg KH have been applied. We also fix a bug in the check_dsp routine (reported on our mailling list) and kill some unsued code. Signed-off-by: Matthieu CASTET [EMAIL PROTECTED] Could

[linux-usb-devel] Re: [PATCH] Eagle and ADI 930 usb adsl modem driver

2005-11-06 Thread matthieu castet
Hi Greg, matthieu castet wrote: + * + * This software is available to you under a choice of one of two + * licenses. You may choose to be licensed under the terms of the GNU + * General Public License (GPL) Version 2, available from the file + * COPYING in the main directory of this source

[linux-usb-devel] Re: [PATCH] Eagle and ADI 930 usb adsl modem driver

2005-11-02 Thread matthieu castet
Hi Greg, thanks for your review. Greg KH wrote: On Sun, Oct 30, 2005 at 12:37:41AM +0200, matthieu castet wrote: Please comment and consider for inclusion. I need a Signed-off-by: line in order to be able to add it. Care to redo things based on the comments you have had and resend

[linux-usb-devel] Re: [PATCH] Eagle and ADI 930 usb adsl modem driver

2005-11-02 Thread matthieu castet
matthieu castet wrote: Hi Greg, +/* + * sometime hotplug don't have time to give the firmware the + * first time, retry it. + */ +static int sleepy_request_firmware(const struct firmware **fw, +const char *name, struct device *dev) +{ +if (request_firmware(fw, name, dev) == 0

[linux-usb-devel] Re: [PATCH] Eagle and ADI 930 usb adsl modem driver

2005-11-01 Thread matthieu castet
Hi Andrew, thanks for the review. Andrew Morton wrote: matthieu castet [EMAIL PROTECTED] wrote: ... +static int request_cmvs(struct uea_softc *sc, +struct uea_cmvs **cmvs, const struct firmware **fw) +{ + int ret, size; + u8 *data; + char *file

[linux-usb-devel] Re: [PATCH] Eagle and ADI 930 usb adsl modem driver

2005-11-01 Thread matthieu castet
Hi Duncan, Duncan Sands wrote: Hi Andrew, this code looks like a 'orrible hack to work around a common problem with USB modem's of this type: if the modem is plugged in while the system boots, the driver may look for firmware before the filesystem No, it wasn't the problem, even when

[linux-usb-devel] [PATCH] Eagle and ADI 930 usb adsl modem driver

2005-10-29 Thread matthieu castet
/atm.old/ueagle-atm.c 1970-01-01 01:00:00.0 +0100 +++ linux-2.6.14/drivers/usb/atm/ueagle-atm.c 2005-10-30 00:36:37.0 +0200 @@ -0,0 +1,1607 @@ +/*- + * Copyright (c) 2003, 2004 + * Damien Bergamini [EMAIL PROTECTED]. All rights reserved. + * + * Copyright (c) 2005 Matthieu Castet [EMAIL

[linux-usb-devel] [RFC] Eagle and 930 driver

2005-07-27 Thread matthieu castet
+++ linux-2.6.13rc/drivers/usb/atm/ueagle-atm.c 2005-07-27 18:45:07.0 +0200 @@ -0,0 +1,1592 @@ +/*- + * Copyright (c) 2003, 2004 + * Damien Bergamini [EMAIL PROTECTED]. All rights reserved. + * + * Copyright (c) 2005 Matthieu Castet [EMAIL PROTECTED] + * + * This software is available to you

[linux-usb-devel] Re: [RFC] Eagle and 930 driver

2005-07-27 Thread matthieu castet
oops I forgot to ask you if you could CC ueagleatm-dev ML. thanks Matthieu --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven

[linux-usb-devel] device probe order

2005-06-29 Thread matthieu castet
Hi, I am writing a driver for an usb device, and I want to support multi-device. I want to allow some user configurations for the devices, so I use module options and module_param_array. I would like to know if the device are always probed in the same order if we don't plug/unplug device on

Re: [linux-usb-devel] device probe order

2005-06-29 Thread matthieu castet
Hi, Alan Stern wrote: On Wed, 29 Jun 2005, matthieu castet wrote: Hi, I am writing a driver for an usb device, and I want to support multi-device. I want to allow some user configurations for the devices, so I use module options and module_param_array. I would like to know if the device

[linux-usb-devel] short read for iso and uhci ?

2005-05-18 Thread matthieu castet
Hi, I use iso pipe for the incoming data of an usb adsl modem (eagle-usb). The problem is that all iso paquets that are empty (actual_length = 0) have -EILSEQ as status : in my test there is no empty paquets with a valid status (=0). When downloading at full speed there are no error. I tried