[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

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 to only

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 Subject: Re: [Bulk] Re: [Bugme

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 Wednesday 09 May 2007, Li Yang wrote

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 +config USB_EHCI_FSL +

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 controller driver Leo, +static void

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 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]; Schmid Bruce-R62923;

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 Freescale high-speed USB SOC device

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 Freescale high-speed USB

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]USB: add Freescale high-speed USB

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

2007-03-19 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 serial response on USB_CDC_REQ_SET_LINE_CODING

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 serial response on USB_CDC_REQ_SET_LINE_CODING

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-speed USB SOC device

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 CONFIG_PPC32? +#undef

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

2006-09-05 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 it!

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 was asking

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

2006-07-20 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: [linux-usb-devel] [PATCH] Add

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 MPC8349 PB platform support On Jul

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

2006-07-20 Thread Li Yang-r58472
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] On Jul 14, 2006, at 6:58 AM, Li Yang wrote

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

2006-07-19 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 [snip] Well, I think

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

2006-07-18 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 USB to MPC8349 PB platform

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 On Jul 17, 2006, at 3:17 PM

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 To:

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 To: Li Yang-r58472 Cc

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

2006-04-04 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 having the

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. If u have experience in developing EHCI

[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 am, Li Yang-r58472 wrote: While I dug

[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

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

2006-02-28 Thread Li Yang-r58472
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.sourceforge.net Subject: Re

[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 pm, Li Yang-r58472 wrote: Thanks

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

2006-02-28 Thread Li Yang-r58472
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 only scenario that's completely spelled out in the specs. One other really useful aspect of OTG is power

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

2005-12-19 Thread Li Yang-r58472
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 Support hi leo

[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

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

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

2005-10-11 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,

[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_devices.c

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 2005, Li Yang-r58472 wrote: Ok

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

2005-07-14 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 2005, Li Yang-r58472 wrote: Hi

[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

[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