Re: [PATCH][USBATM]: convert heavy init dances to kthread API

2008-02-11 Thread Duncan Sands
On Monday 11 February 2008 12:22:27 Pavel Emelyanov wrote: > Duncan Sands wrote: > > Hi Pavel, > > > >> Oh, I see. You're right - this race is possible... I'll fix that up > >> if this patch works. > > > > it seems to work fine. Thanks again for doing this! > > Oh, thanks for testing. What shou

Re: [PATCH] ehci-fsl: mpc834x config symbol is PPC_MPC834x, not MPC834x

2008-02-11 Thread David Brownell
On Monday 11 February 2008, Peter Korsgaard wrote: > The config symbol for mpc834x processors is CONFIG_PPC_MPC834x, > not CONFIG_MPC834x. > > Signed-off-by: Peter Korsgaard <[EMAIL PROTECTED]> Acked-by: David Brownell <[EMAIL PROTECTED]> > --- a/drivers/usb/host/Kconfig > +++ b/drivers/usb/hos

Re: [RFC/PATCH] make usbnet work with rndis_host

2008-02-11 Thread David Brownell
On Monday 11 February 2008, Jean-Christophe Dubois wrote: > > This is kind of strange as my smartphone interface does look something like > you describe. One interface with interrupt only and another one with in/out > (see below). Does this mean my device should be supported by another (CDC) >

RE: DMAR EHCI failures

2008-02-11 Thread Raj, Ashok
Thought someone replied to this, Basically graphics drivers don't use DMA apis for translation at the moment, hence when we turn on translation we will get faults since IOMMU would not be able to translate. The workaround used to do two things. 1. IF this is dedicated DMAR for igfx, then we ju

RE: Some Questions about QHD

2008-02-11 Thread Pandita, Vikram
>Sent: Monday, February 11, 2008 8:51 PM >> Dear all: > >> 2. What is the "device address" used for in QH? > >There is no "device address" field in a QH -- at least, there isn't in >uhci-hcd or ehci-hcd. Maybe other controller drivers do have such a >field. I have a doubt - Referring to ehci sp

Yakumo Delta, ipaq and endpoints

2008-02-11 Thread matthias geissert
The Yakumo Delta PDA does not work with kernel 2.6.24. There is a patch for kerbel 2.6.23 and below ( I think this patch is from the synce project). This patch adds the option ttyUSB to the ipaq module. Applying this patch I can easily sync with the Yakumo Delta. The problem is that the Yakumo De

[PATCH] usb: serial: move zte MF330 from sierra to option

2008-02-11 Thread Kevin Lloyd
From: Kevin Lloyd <[EMAIL PROTECTED]> Moves the Onda H600/ZTE MF33 device from the sierra driver to the option driver. Signed-off-by: Kevin Lloyd <[EMAIL PROTECTED]> --- drivers/usb/serial/sierra.c | 1 - drivers/usb/serial/option.c | 2 + 2 files changed, 2 insertions(+), 1 deletion(-) ---

Re: [2.6.24 REGRESSION] BUG: Soft lockup - with VFS

2008-02-11 Thread Pete Zaitcev
On Tue, 12 Feb 2008 10:46:12 +0900, FUJITA Tomonori <[EMAIL PROTECTED]> wrote: > On a serious note, it seems that two scatter lists per request leaded > to this bug. Can the scatter list in struct ub_request be removed? Good question. It's an eyesore to be sure. The duplication exists for the sak

Re: [PATCH 01/05] cypress_m8: Feature buffer fixes

2008-02-11 Thread Randy Dunlap
On Mon, 11 Feb 2008 10:02:52 -0600 (CST) Mike Isely wrote: > On Mon, 11 Feb 2008, Randy Dunlap wrote: > > > On Sun, 10 Feb 2008 20:23:14 -0600 (CST) Mike Isely wrote: > > > > > > > > cypress_m8: Feature buffer fixes > > > > > > From: Mike Isely <[EMAIL PROTECTED]> > > > > > > Don't hardcode t

Re: [PATCH 01/05] cypress_m8: Feature buffer fixes

2008-02-11 Thread Mike Isely
On Mon, 11 Feb 2008, Randy Dunlap wrote: > On Sun, 10 Feb 2008 20:23:14 -0600 (CST) Mike Isely wrote: > > > > > cypress_m8: Feature buffer fixes > > > > From: Mike Isely <[EMAIL PROTECTED]> > > > > Don't hardcode the feature buffer size; use sizeof() instead. That > > way we can easily specif

[PATCH]fix usb open suspend race

2008-02-11 Thread Oliver Neukum
Hi, this fixes a race between open and disconnect in the CDC ACM driver. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Regards Oliver --- linux-2.6/drivers/usb/class/cdc-acm.c.alt 2008-02-11 15:10:48.0 +0100 +++ linux-2.6/drivers/usb/class/cdc-acm.c

Re: Belkin USB Host-to-Host cable with Prolific 25A1 chip in it under Linux

2008-02-11 Thread tony_gibbs
Dear Dave and Greg, Thank you for your mails, Dave, and the quality of your code, which has made it possible for me to follow it and modify it. I can recommend and sign-off on your EHCI_HCD buggy devices maxPacketSize patch, because it made the devices work under usbnet at the EHCI_HCD end. I am

[PATCH] ehci-fsl: mpc834x config symbol is PPC_MPC834x, not MPC834x

2008-02-11 Thread Peter Korsgaard
The config symbol for mpc834x processors is CONFIG_PPC_MPC834x, not CONFIG_MPC834x. Signed-off-by: Peter Korsgaard <[EMAIL PROTECTED]> diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index d97b16b..2dd0544 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -7

Re: [PATCH][USBATM]: convert heavy init dances to kthread API

2008-02-11 Thread Pavel Emelyanov
Duncan Sands wrote: > Hi Pavel, > >> Oh, I see. You're right - this race is possible... I'll fix that up >> if this patch works. > > it seems to work fine. Thanks again for doing this! Oh, thanks for testing. What should I do next to get this into mainline? Send it to Andrew with you in Cc, or

Re: [RFC/PATCH] make usbnet work with rndis_host

2008-02-11 Thread Jean-Christophe Dubois
On Tuesday 12 February 2008 04:07:00 David Brownell wrote: > > So here is the new proposal. > > Which presumably works for your device ... yest it does. > it's looks mostly > OK, other than what scripts/checkpatch.pl will say and the added > > whitespace, but: > > + /* now we need to comput

Re: [RFC/PATCH] make usbnet work with rndis_host

2008-02-11 Thread Jean-Christophe Dubois
On Saturday 09 February 2008 13:44:22 David Brownell wrote: > > > > > In the end it seems to me that dev->in, dev->out and dev->maxpacket are > > generic enough values to be computed in one place whatever driver (bind() > > or not) attach to usbnet. > > > > Plus, as I noted, in the case of CDC-de

Re: [patch/rfc 2.6.25-rc0] EHCI unlinking

2008-02-11 Thread David Brownell
On Sunday 10 February 2008, Alan Stern wrote: > On Sun, 10 Feb 2008, David Brownell wrote:\ > > We can't avoid the IAAD/IIA mechanism, since that's the only way to > > unlink -- short of disabling the async schedule, waiting for that to > > finish, taking the endpoints out of the ring, then re-enab

Re: [RFC/PATCH] make usbnet work with rndis_host

2008-02-11 Thread David Brownell
On Monday 11 February 2008, Jean-Christophe Dubois wrote: > On Saturday 09 February 2008 10:51:06 David Brownell wrote: > > So I'd rather see a one-line fix to the RNDIS host code, instead of > > this more elaborate approach.  Could you give that a try? > > So here is the new proposal. Which pres

Re: [PATCH 01/05] cypress_m8: Feature buffer fixes

2008-02-11 Thread Randy Dunlap
On Sun, 10 Feb 2008 20:23:14 -0600 (CST) Mike Isely wrote: > > cypress_m8: Feature buffer fixes > > From: Mike Isely <[EMAIL PROTECTED]> > > Don't hardcode the feature buffer size; use sizeof() instead. That > way we can easily specify the size in a single spot. Speaking of the > feature buff

Re: Some Questions about QHD

2008-02-11 Thread Alan Stern
On Mon, 11 Feb 2008, vichy wrote: > Dear all: > My questions are list below: > 1. Each QHD is assigned to 1 endpoints, right? > Ex: if some device has 3 endpoints, 0,1 and 2, and there must at least 3 > QHDs. What is a QHD? Do you really mean QH? Each QH is assigned to one endpoint. > 2. Wha

Re: [2.6.24 REGRESSION] BUG: Soft lockup - with VFS

2008-02-11 Thread FUJITA Tomonori
On Fri, 8 Feb 2008 23:46:19 -0800 Pete Zaitcev <[EMAIL PROTECTED]> wrote: > On Tue, 5 Feb 2008 14:05:06 -0800, Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > > http://students.zipernowsky.hu/~oliverp/kernel/regression_2624/ > > > I think ub.c is basically abandoned in favour of usb-storage. >

Some Questions about QHD

2008-02-11 Thread vichy
Dear all: My questions are list below: 1. Each QHD is assigned to 1 endpoints, right? Ex: if some device has 3 endpoints, 0,1 and 2, and there must at least 3 QHDs. 2. What is the "device address" used for in QH? I cannot find any information about "device address" in device descriptor at chapt

Re: Some Questions about QHD

2008-02-11 Thread David Brownell
On Monday 11 February 2008, Alan Stern wrote: > > 2. What is the "device address" used for in QH? > > There is no "device address" field in a QH -- at least, there isn't in > uhci-hcd or ehci-hcd. Maybe other controller drivers do have such a > field. There *is* a device address field in EHCI,

[patch 2.6.25-rc1] usb: ehci minor SOC bus glue fixes

2008-02-11 Thread David Brownell
Various minor fixes to some SOC bus glue for EHCI: - Remove a bogus copyright (by "me"!) which someone added to the FSL driver, and an irrelevant comment. - Un-break MODULE_ALIAS() directives after platform_bus hotplugging acquired a backwards-incompatible change. (Which didn't fix ANY

[PATCH] Usbatm: convert heavy init dances to kthread API

2008-02-11 Thread Pavel Emelyanov
This is an attempt to kill two birds with one stone. First, we kill one more user of kernel_thread, which is scheduled for removal. Second - we kill one of the last users of kill_proc - the function which is also to be removed, because it uses a pid_t which is not safe now. Signed-off-by: Pavel E

Re: [RFC/PATCH] make usbnet work with rndis_host

2008-02-11 Thread Jean-Christophe Dubois
On Saturday 09 February 2008 10:51:06 David Brownell wrote: > So I'd rather see a one-line fix to the RNDIS host code, instead of > this more elaborate approach.  Could you give that a try? So here is the new proposal. Signed-off-by: Jean-Christophe Dubois <[EMAIL PROTECTED]> --- diff -ruN linux

Re: [PATCH] Usbatm: convert heavy init dances to kthread API

2008-02-11 Thread Duncan Sands
> Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> > Tested-by: Duncan Sands <[EMAIL PROTECTED]> Signed-off-by: Duncan Sands <[EMAIL PROTECTED]> Thanks again for doing this! Best wishes, Duncan. - To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to

Re: [RFC/PATCH] make usbnet work with rndis_host

2008-02-11 Thread David Brownell
On Monday 11 February 2008, Jean-Christophe Dubois wrote: > On Saturday 09 February 2008 13:44:22 David Brownell wrote: > > > > Plus, as I noted, in the case of CDC-derived devices it *can't* compute > > those values before bind(). > > For my education, could you please elaborate a bit on why the

Re: [RFC/PATCH] make usbnet work with rndis_host

2008-02-11 Thread Jean-Christophe Dubois
On Monday 11 February 2008 11:53:12 David Brownell wrote: > They use two interfaces (and potentially more): > >   - Control ... the one passed to probe(), possibly with one interrupt >     endpoint used to send status to the host.  Descriptors are coupled >     to this interface, including the "uni

RE: Some Questions about QHD

2008-02-11 Thread Alan Stern
On Mon, 11 Feb 2008, Pandita, Vikram wrote: > >> 2. What is the "device address" used for in QH? > > > >There is no "device address" field in a QH -- at least, there isn't in > >uhci-hcd or ehci-hcd. Maybe other controller drivers do have such a > >field. > > I have a doubt - > Referring to ehc