[linux-usb-devel] [PATCH] fsl_usb2_udc: fix bug in processing setup requests

2007-08-07 Thread Li Yang
ectly passed to gadget layer. Signed-off-by: Kim Liu <[EMAIL PROTECTED]> Signed-off-by: Li Yang <[EMAIL PROTECTED]> Cc: David Brownell <[EMAIL PROTECTED]> --- drivers/usb/gadget/fsl_usb2_udc.c | 77 +++- 1 files changed, 41 insertions(+), 36 del

[linux-usb-devel] How to get the MCCI windows USB driver?

2007-08-01 Thread Li Yang-r58472
Hi Dave, We are using Ethernet gadget to communicate with Windows host with RNDIS mode. We tried to use NFS on the simulated network, but keep getting "no response" error when transmitting big files. As you mentioned in the ether.c that RNDIS mode is buggy, it's better to use host driver from

Re: [linux-usb-devel] looking for Lineo USB device stack

2007-07-12 Thread Li Yang-r58472
Hi Stan, This is the quoted message from a colleague worked for Lineo. "I do not remember a uclinux bsp for 2.4.23 that supported usb serial and ethernet. If they know of a specific bsp that had the usb functionality that they want we could possibly find it for them. -- Coray" - Leo > -O

[linux-usb-devel] [PATCH] fsl_usb2_udc: fix bug for portsc bit masking

2007-06-19 Thread Li Yang
Fix a bug that PORT_TYPE and PORT_WIDTH aren't masked correctly in portsc. Signed-off-by: Christopher Cason <[EMAIL PROTECTED]> Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- drivers/usb/gadget/fsl_usb2_udc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --

[linux-usb-devel] [PATCH] fsl_usb2_udc: replace deprecated irq flag

2007-06-07 Thread Li Yang
Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- drivers/usb/gadget/fsl_usb2_udc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/gadget/fsl_usb2_udc.c b/drivers/usb/gadget/fsl_usb2_udc.c index d5d7689..bb90a1d 100644 --- a/drivers/usb/gadget/fsl_usb2

[linux-usb-devel] [PATCH] USB: ehci_fsl update for MPC831x support

2007-06-07 Thread Li Yang
x27;t enable OTG protocol support. Signed-off-by: Li Yang <[EMAIL PROTECTED]> Cc: David Brownell <[EMAIL PROTECTED]> --- Respin to apply on 2.6.22-rc4. Address David's comment on Kconfig. Greg, Please replace the patch in your queue named usb-ehci_fsl-update-for-mpc831x-support.pa

[linux-usb-devel] [PATCH] fsl_usb2_udc: Get max ep number from DCCPARAMS register

2007-06-06 Thread Li Yang
Currently the driver is expecting max ep number in platform data which isn't passing this information. This patch fix the problem by reading it from DCCPARAMS(Device Controller Capability Parameters) register. The change also need some reordering of the probe code. Signed-off-by: Li

Re: [linux-usb-devel] USB Host at full speed

2007-05-29 Thread Li Yang-r58472
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Tuesday, May 29, 2007 5:11 PM > To: [EMAIL PROTECTED] > Subject: USB Host at full speed > > Hello ALL, > > I m currently trying to force the USB host controller from MPC8349

Re: [linux-usb-devel] [Bulk] Re: [Bugme-new] [Bug 7482] New: usb ehci driver crash on system with more tahn 256MByte memory

2007-05-21 Thread Li Yang
Here is the patch to fix it. From: Li Yang <[EMAIL PROTECTED]> Date: Mon, 21 May 2007 13:08:57 +0800 Subject: [PATCH] ehci-fsl: fix cache coherency problem on system with large memory The patch fix bug http://bugzilla.kernel.org/show_bug.cgi?id=7482. It sets USB snooping on 4G spa

Re: [linux-usb-devel] [Bulk] Re: [Bugme-new] [Bug 7482] New: usb ehci driver crash on system with more tahn 256MByte memory

2007-05-18 Thread Li Yang-r58472
> -Original Message- > From: David Brownell [mailto:[EMAIL PROTECTED] > Sent: Friday, May 18, 2007 6:49 PM > To: Andrew Morton > Cc: Stefan Meyer; linux-usb-devel@lists.sourceforge.net; Alan Stern; Greg KH; > [EMAIL PROTECTED]; Natalie Protasevich; Li Yang-r58472 > S

[linux-usb-devel] [PATCH v2] ehci_fsl update for MPC831x support

2007-05-11 Thread Li Yang
x27;t enable OTG protocol support. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- Select USB_EHCI_ROOT_HUB_TT when USB_EHCI_FSL is selected. drivers/usb/host/Kconfig|7 +++ drivers/usb/host/ehci-fsl.c | 10 +++--- drivers/usb/host/ehci-hcd.c |2 +- 3 files changed, 15 inser

Re: [linux-usb-devel] [PATCH] ehci_fsl update for MPC831x support

2007-05-11 Thread Li Yang-r58472
> > > diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig > > > index 6271187..8da3185 100644 > > > --- a/drivers/usb/host/Kconfig > > > +++ b/drivers/usb/host/Kconfig > > > @@ -72,6 +72,12 @@ config USB_EHCI_BIG_ENDIAN_MMIO > > > depends on USB_EHCI_HCD > > > default n > > > > > >

Re: [linux-usb-devel] [PATCH] ehci_fsl update for MPC831x support

2007-05-11 Thread Li Yang-r58472
> -Original Message- > From: David Brownell [mailto:[EMAIL PROTECTED] > Sent: Friday, May 11, 2007 4:03 PM > To: Li Yang-r58472 > Cc: [EMAIL PROTECTED]; linux-usb-devel@lists.sourceforge.net > Subject: Re: [PATCH] ehci_fsl update for MPC831x support > > On Wednes

[linux-usb-devel] [PATCH] ehci_fsl update for MPC831x support

2007-05-09 Thread Li Yang
x27;t enable OTG protocol support. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- drivers/usb/host/Kconfig|6 ++ drivers/usb/host/ehci-fsl.c | 10 +++--- drivers/usb/host/ehci-hcd.c |2 +- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/drivers/usb/host/Kconfi

[linux-usb-devel] [PATCH 2/2]fsl_usb2_udc: Read endpoint number from DCCPARAMS register

2007-04-27 Thread Li Yang
This patch changes udc to use endpoint number from Device Controller Capability Parameters register instead of being passed from platform code. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- drivers/usb/gadget/fsl_usb2_udc.c | 59 +--- drivers/usb/

[linux-usb-devel] [PATCH 1/2] fsl_usb2_udc: Fix UMTI_WIDE support and a compile warning

2007-04-27 Thread Li Yang
Change PORT_WIDTH bit for UMTI_WIDE mode and fix a compile warning introduced in last revision. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- drivers/usb/gadget/fsl_usb2_udc.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadget/fsl_usb2_ud

Re: [linux-usb-devel] [resend PATCH v2 1/3]USB: add Freescale high-speed USB SOC device controller driver

2007-04-26 Thread Li Yang-r58472
> -Original Message- > From: Timur Tabi [mailto:[EMAIL PROTECTED] > Sent: Friday, April 27, 2007 5:26 AM > To: Li Yang-r58472 > Cc: linux-usb-devel@lists.sourceforge.net > Subject: Re: [resend PATCH v2 1/3]USB: add Freescale high-speed USB SOC device > contr

Re: [linux-usb-devel] [PATCH v2 1/3]USB: add Freescale high-speed USB SOC device controller driver

2007-04-20 Thread Li Yang-r58472
Sorry, please ignore this patch. I forgot to change the free_buffer function. - Leo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Li Yang > Sent: Friday, April 20, 2007 3:52 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED]; S

[linux-usb-devel] [PATCH v2 3/3]USB: update MAINAINERS and CREDITS

2007-04-20 Thread Li Yang
Add MAINAINERS and CREDITS entry for Freescale Highspeed USB device driver. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- CREDITS |8 MAINTAINERS |7 +++ 2 files changed, 15 insertions(+), 0 deletions(-) diff --git a/CREDITS b/CREDITS index 6bd8ab8..276ae8c

[linux-usb-devel] [PATCH v2 2/3]USB: update gadget files for fsl_usb2_udc driver

2007-04-20 Thread Li Yang
Update gadget_chip.c, ether.c for newly added Freescale Highspeed USB device driver. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- drivers/usb/gadget/ether.c|3 +++ drivers/usb/gadget/gadget_chips.h |8 2 files changed, 11 insertions(+), 0 deletions(-) diff -

Re: [linux-usb-devel] [PATCH 1/3]USB: add Freescale high-speed USB SOC device controller driver

2007-04-20 Thread Li Yang-r58472
> > I mean if usb_ep_alloc_buffer() is required and only used in allocating > > buffer to be processed by ep_queue() and done(). We can choose to use > > one of the ways you mentioned above, not both. In this case, I preferred > > to choose the second way for better performance. > > But it's not

Re: [linux-usb-devel] [PATCH 1/3]USB: add Freescale high-speed USB SOC device controller driver

2007-04-19 Thread Li Yang-r58472
> -Original Message- > From: David Brownell [mailto:[EMAIL PROTECTED] > Sent: Friday, April 20, 2007 12:53 PM > To: Li Yang-r58472 > Cc: linux-usb-devel@lists.sourceforge.net; [EMAIL PROTECTED]; Schmid > Bruce-R62923 > Subject: Re: [linux-usb-devel] [PATCH 1/3]US

Re: [linux-usb-devel] [PATCH 1/3]USB: add Freescale high-speed USB SOC device controller driver

2007-04-19 Thread Li Yang-r58472
> -Original Message- > From: David Brownell [mailto:[EMAIL PROTECTED] > Sent: Friday, April 20, 2007 11:20 AM > To: linux-usb-devel@lists.sourceforge.net > Cc: Li Yang-r58472; [EMAIL PROTECTED]; Schmid Bruce-R62923 > Subject: Re: [linux-usb-devel] [PATCH 1/3]USB: add Fr

Re: [linux-usb-devel] [PATCH 1/3]USB: add Freescale high-speed USB SOC device controller driver

2007-04-19 Thread Li Yang-r58472
Hi Dave, > -Original Message- > From: David Brownell [mailto:[EMAIL PROTECTED] > Sent: Friday, April 20, 2007 2:24 AM > To: Li Yang-r58472 > Cc: [EMAIL PROTECTED]; linux-usb-devel@lists.sourceforge.net; Schmid > Bruce-R62923 > Subject: Re: [PATCH 1/3]USB: add Freesca

[linux-usb-devel] [PATCH 3/3]USB: update MAINAINERS and CREDITS

2007-04-19 Thread Li Yang
Add MAINAINERS and CREDITS entry for Freescale Highspeed USB device driver. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- CREDITS |8 MAINTAINERS |7 +++ 2 files changed, 15 insertions(+), 0 deletions(-) diff --git a/CREDITS b/CREDITS index 6bd8ab8..276ae8c

[linux-usb-devel] [PATCH 2/3]USB: update gadget files for fsl_usb2_udc driver

2007-04-19 Thread Li Yang
Update Kconfig, Makefile, gadget_chip.c, ether.c for newly added Freescale Highspeed USB device driver. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- drivers/usb/gadget/Kconfig| 21 + drivers/usb/gadget/Makefile |1 + drivers/usb/gadget/e

Re: [linux-usb-devel] [PATCH] Fix gadget serial response on USB_CDC_REQ_SET_LINE_CODING

2007-03-18 Thread Li Yang-r58472
> -Original Message- > From: David Brownell [mailto:[EMAIL PROTECTED] > Sent: Monday, March 19, 2007 3:03 PM > To: Li Yang-r58472 > Cc: linux-usb-devel@lists.sourceforge.net; [EMAIL PROTECTED] > Subject: Re: [linux-usb-devel] [PATCH] Fix gadget

Re: [linux-usb-devel] [PATCH] Fix gadget serial response on USB_CDC_REQ_SET_LINE_CODING

2007-03-18 Thread Li Yang-r58472
> -Original Message- > From: David Brownell [mailto:[EMAIL PROTECTED] > Sent: Saturday, March 17, 2007 6:38 AM > To: linux-usb-devel@lists.sourceforge.net > Cc: Li Yang-r58472; [EMAIL PROTECTED] > Subject: Re: [linux-usb-devel] [PATCH] Fix gadget

[linux-usb-devel] [PATCH] Fix gadget serial response on USB_CDC_REQ_SET_LINE_CODING

2007-03-14 Thread Li Yang
igned-off-by: Li Yang <[EMAIL PROTECTED]> --- diff --git a/drivers/usb/gadget/serial.c b/drivers/usb/gadget/serial.c index e552668..0911bc4 100644 --- a/drivers/usb/gadget/serial.c +++ b/drivers/usb/gadget/serial.c @@ -1692,14 +1692,7 @@ static int gs_setup_class(struct usb_gadget *gadget,

Re: [linux-usb-devel] [PATCH 1/2] USB: add Freescale high-speed USB SOC device controller driver

2007-02-07 Thread Li Yang-r58472
> >>> +static int fsl_udc_suspend(struct platform_device *pdev, > > pm_message_t state); > >>> +static int fsl_udc_resume(struct platform_device *pdev); > >>> +static void fsl_ep_fifo_flush(struct usb_ep *_ep); > >>> + > >>> +#ifdef CONFIG_PPC32 > >> > >> Any reason we need to protect these with CO

Re: [linux-usb-devel] [PATCH 1/2] USB: add Freescale high-speed USB SOC device controller driver

2007-02-07 Thread Li Yang-r58472
> -Original Message- > From: Kumar Gala [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 08, 2007 7:57 AM > To: Li Yang-r58472 > Cc: [EMAIL PROTECTED]; Schmid Bruce-R62923; > linux-usb-devel@lists.sourceforge.net > Subject: Re: [PATCH 1/2] USB: add Freescale high

[linux-usb-devel] [PATCH 2/2] USB: add OTG mode support to Freescale EHCI driver

2007-02-05 Thread Li Yang
Add FSL_USB2_DR_OTG mode support to ehci-fsl driver. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- drivers/usb/host/ehci-fsl.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index 1a915e9..8d90017

Re: [linux-usb-devel] newbie : usb otg

2006-09-04 Thread Li Yang-r58472
> Hi, > I want to make flash as a usb device by using USB OTG. and > my BSP's kernel version is 2.4.20. > it only support network function driver and mouse function > driver, no usb mass storage function driver . > > can anyone show me some document about otg protocol or same > sample about

Re: [linux-usb-devel] Host USB on MPC8247

2006-07-31 Thread Li Yang-r58472
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Uros Borovsak > Sent: Monday, July 31, 2006 4:14 PM > To: [EMAIL PROTECTED] > Subject: Re: Host USB on MPC8247 > > Thanks for reply, > > I made a mistake while typing the message. > > In reality I w

Re: [linux-usb-devel] [PATCH] Fix Freescale high-speed USB hostdependency

2006-07-20 Thread Li Yang
On 7/20/06, Kumar Gala <[EMAIL PROTECTED]> wrote: > > On Jul 20, 2006, at 8:36 AM, Li Yang wrote: > > > On 7/20/06, Kumar Gala <[EMAIL PROTECTED]> wrote: > >> > >> On Jul 20, 2006, at 6:42 AM, Li Yang-r58472 wrote: > >> > >> >

Re: [linux-usb-devel] [PATCH] Fix Freescale high-speed USB hostdependency

2006-07-20 Thread Li Yang
On 7/20/06, Kumar Gala <[EMAIL PROTECTED]> wrote: > > On Jul 20, 2006, at 6:42 AM, Li Yang-r58472 wrote: > > > Another one in header file. > > > > --- > > diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h > > index 679c1cd..8da2774 10064

Re: [linux-usb-devel] [PATCH] Fix Freescale high-speed USB hostdependency

2006-07-20 Thread Li Yang-r58472
Sent: Friday, July 14, 2006 9:52 PM > To: Li Yang-r58472 > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; > linux-usb-devel@lists.sourceforge.net > Subject: Re: [linux-usb-devel] [PATCH] Fix Freescale high-speed USB hostdependency > > Acked-by: Kumar Gala <[EMAIL PROTECTED]> >

Re: [linux-usb-devel] [PATCH] Add USB to MPC8349 PB platform support

2006-07-20 Thread Li Yang-r58472
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Kumar > Gala > Sent: Thursday, July 20, 2006 4:09 AM > To: Li Yang-r58472 > Cc: [EMAIL PROTECTED]; linux-usb-devel@lists.sourceforge.net > Subject: Re: [PATCH] Add USB to MPC

Re: [linux-usb-devel] [PATCH] Add USB to MPC8349 PB platform support

2006-07-19 Thread Li Yang-r58472
> -Original Message- > From: Pete Zaitcev [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 20, 2006 3:19 AM > To: Li Yang-r58472 > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; > linux-usb-devel@lists.sourceforge.net; [EMAIL PROTECTED] > Subject: Re: [li

Re: [linux-usb-devel] [PATCH] Add USB to MPC8349 PB platform support

2006-07-19 Thread Li Yang
On 7/19/06, Dan Malek <[EMAIL PROTECTED]> wrote: > > On Jul 19, 2006, at 9:14 AM, Kumar Gala wrote: > > > This is an incorrect assumption. Its more often that people dont > > post their ports to the Linux kernel for acceptance. We will > > accept any port that is willing to work with the communit

Re: [linux-usb-devel] [PATCH] Add USB to MPC8349 PB platform support

2006-07-18 Thread Li Yang-r58472
> -Original Message- > From: Kumar Gala [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 18, 2006 9:53 PM > To: Li Yang-r58472 > Cc: Dan Malek; [EMAIL PROTECTED]; linux-usb-devel@lists.sourceforge.net > Subject: Re: [PATCH] Add USB to MPC8349 PB platform support > >

Re: [linux-usb-devel] [PATCH] Add USB to MPC8349 PB platform support

2006-07-18 Thread Li Yang-r58472
> -Original Message- > From: Kumar Gala [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 18, 2006 5:39 AM > To: Dan Malek > Cc: Li Yang-r58472; [EMAIL PROTECTED]; linux-usb-devel@lists.sourceforge.net > Subject: Re: [PATCH] Add USB to MPC8349 PB platform support > >

Re: [linux-usb-devel] [PATCH] Add USB to MPC8349 PB platform support

2006-07-17 Thread Li Yang-r58472
> -Original Message- > From: David Brownell [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 18, 2006 6:58 AM > To: linux-usb-devel@lists.sourceforge.net > Cc: Hollis Blanchard; Kumar Gala; [EMAIL PROTECTED]; Li Yang-r58472 > Subject: Re: [linux-usb-devel] [PATCH] Add

Re: [linux-usb-devel] [PATCH] Add USB to MPC8349 PB platform support

2006-07-14 Thread Li Yang
hange the mode(MPH/DR), which requires a re-burn of bootloader. It's better that we make sure it's correctly configured here. > > - k > > On Jul 14, 2006, at 6:52 AM, Li Yang wrote: > > > This adds USB platform support to MPC8349 PB. It works with the > > fsl_usb2

[linux-usb-devel] [PATCH] Fix Freescale high-speed USB host dependency

2006-07-14 Thread Li Yang
The high-speed USB SOC only exists on MPC834x family not MPC83xx family. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- drivers/usb/host/ehci-hcd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 7

[linux-usb-devel] [PATCH] Add USB to MPC8349 PB platform support

2006-07-14 Thread Li Yang
This adds USB platform support to MPC8349 PB. It works with the fsl_usb2_udc driver. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- arch/powerpc/platforms/83xx/Kconfig | 4 ++ arch/powerpc/platforms/83xx/mpc834x_sys.c | 72 + arch/powerpc/platform

RE: [linux-usb-devel] USB OTG ISR Registration

2006-04-27 Thread Li Yang-r58472
No, I didn't use SA_INTERRUPT. I don't see the necessity of masking interrupts. We can use spin_lock to protect critical regions. Best Regards, Leo > -Original Message- > From: Sujith Sankar [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 27, 2006 5:02 PM > T

RE: [linux-usb-devel] USB OTG ISR Registration

2006-04-27 Thread Li Yang-r58472
Actually we had done a driver for ARC OTG controller, which is still not very stable. We used shared interrupt handlers. Best Regards, Leo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Sujith > Sankar > Sent: Thursday, April 27, 2006 4:47 PM >

Re: [linux-usb-devel] EHCI - OTG Transceiver (ULPI ) Issues

2006-04-04 Thread Li Yang-r58472
> -Original Message- > From: rakesh kn [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 04, 2006 3:59 PM > To: Li Yang-r58472 > Subject: Re: [linux-usb-devel] EHCI - OTG Transceiver (ULPI ) Issues > > Hi Leo, > Thanks for ur reply. It was informative. >

RE: [linux-usb-devel] EHCI - OTG Transceiver (ULPI ) Issues

2006-04-03 Thread Li Yang-r58472
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of rakesh kn > Sent: Tuesday, April 04, 2006 12:12 PM > To: linux-usb-devel@lists.sourceforge.net > Subject: [linux-usb-devel] EHCI - OTG Transceiver (ULPI ) Issues > > H i > > ARC controller Core is havi

[linux-usb-devel] RE: OTG HNP problem with EHCI

2006-03-09 Thread Li Yang-r58472
> -Original Message- > From: David Brownell [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 09, 2006 2:05 AM > To: Li Yang-r58472 > Cc: linux-usb-devel@lists.sourceforge.net > Subject: Re: OTG HNP problem with EHCI > > On Wednesday 08 March 2006 5:12

[linux-usb-devel] OTG HNP problem with EHCI

2006-03-08 Thread Li Yang-r58472
Hi, While I dug deeper in the HNP process with EHCI host, I found there is a conflict. The OTG spec defines that, in HNP, default-a device always supplies the vbus power even in peripheral mode. And thus default-b device will work in host mode with port power off. Here is the problem, if I d

RE: [linux-usb-devel] Re: Question about OTG operations

2006-02-28 Thread Li Yang-r58472
OTG operations > > >On Tuesday 28 February 2006 7:44 pm, Li Yang-r58472 wrote: > > > Thanks Dave, > > > > > > So the current application of HNP is only to correct wrongly connected > >cable? > > > >That's not what I said, but it _is_ the onl

[linux-usb-devel] RE: Question about OTG operations

2006-02-28 Thread Li Yang-r58472
> -Original Message- > From: David Brownell [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 01, 2006 12:59 PM > To: Li Yang-r58472 > Cc: linux-usb-devel@lists.sourceforge.net > Subject: Re: Question about OTG operations > > On Tuesday 28 February 2006 7:44

[linux-usb-devel] RE: Question about OTG operations

2006-02-28 Thread Li Yang-r58472
at do you think of the future of USB OTG? How can we drive it from the software point of view? Best Regards, Leo > -Original Message- > From: David Brownell [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 01, 2006 6:04 AM > To: Li Yang-r58472 > Cc: linux-usb-devel@lists

[linux-usb-devel] [PATCH] MPC8349 MDS USB HOST support

2005-12-19 Thread Li Yang-r58472
Hi, Here is the patch we have in Freescale released BSP. I post it here in case anyone may need it without the BSP. It's for kernel 2.6.11, and won't have big problem for newer kernel, I think. The patch is not done by myself, and maybe submitted later formally after merge with OTG and clean

RE: [linux-usb-devel] Freescale MPC83XX USB Host Support

2005-12-19 Thread Li Yang-r58472
u to get a whole Freescale BSP. Best Regards, Leo -Original Message- From: KRONSTORFER Horst [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 7:46 PM To: Li Yang-r58472 Cc: linux-usb-devel@lists.sourceforge.net Subject: RE: [linux-usb-devel] Freescale MPC83XX USB Host Suppo

RE: [linux-usb-devel] Freescale MPC83XX USB Host Support

2005-12-15 Thread Li Yang-r58472
The USB host support for MPC8349 is already done and included in freescale released BSP. But the patch is not submitted to the community yet. However, MPC836x use totally different USB controller and doesn't have a working Linux driver now. I don't know which one you refer to by using MPC83xx

[linux-usb-devel] Help on OTG driver architecture

2005-10-10 Thread Li Yang-r58472
Hi all, As there is not too much document and reference code available around, I have some confusion regarding OTG driver architecture in Linux. Here is my understanding. Please correct me if I am wrong, and more clarification is appreciated. There will be three separate drivers: host, clien

[linux-usb-devel] [PATCH] Fix MPC8349 USB memory mapping

2005-08-04 Thread Li Yang-r58472
Hi, The memory mappings for MPC8349 USB MPH and DR modules were reversed. Signed-off-by: Li Yang <[EMAIL PROTECTED]> Signed-off-by: Jiang Bo <[EMAIL PROTECTED]> --- --- arch/ppc/syslib/mpc83xx_devices.c.orig 2005-08-04 16:37:20.0 +0800 +++ arch/ppc/syslib/mpc83xx_devi

RE: [linux-usb-devel] question about mass storage gadget

2005-07-15 Thread Li Yang-r58472
> -Original Message- > From: Alan Stern [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 14, 2005 10:01 PM > To: Li Yang-r58472 > Cc: linux-usb-devel@lists.sourceforge.net > Subject: RE: [linux-usb-devel] question about mass storage gadget > > On Thu, 14 Jul 20

RE: [linux-usb-devel] question about mass storage gadget

2005-07-13 Thread Li Yang-r58472
> -Original Message- > From: Alan Stern [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 13, 2005 10:21 PM > To: Li Yang-r58472 > Cc: linux-usb-devel@lists.sourceforge.net > Subject: Re: [linux-usb-devel] question about mass storage gadget > > On Wed, 13 Jul 20

[linux-usb-devel] question about mass storage gadget

2005-07-12 Thread Li Yang-r58472
Hi,   While I was working on a device controller driver tested with mass storage, I got a question regarding on the stall condition.  For mass storage device, the driver stalls the bulk-in ep when there is an error processing CBW.  Then the host will send clear_feature to clear the halt conditio

[linux-usb-devel] Max usb_request length?

2005-06-24 Thread Li Yang-r58472
Hi, I tried to get my hands on USB gadget driver recently, but there are things I can't figure out through documents I can get. There is a length field in the usb_request structure. It is filled by upper gadget layer (fs, serial, etc.). However, I can't find maximum limit for this field, or