RE: [PATCH] usb: gadget: uvc:change the UVC_NUM_REQUESTS value

2017-12-25 Thread Lipengcheng
Hi, > -Original Message- > From: Manu Gautam [mailto:mgau...@codeaurora.org] > Sent: Tuesday, December 26, 2017 1:01 PM > To: Lipengcheng; ba...@kernel.org > Cc: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > linux-usb@vger.kernel.org > Subject: Re

[PATCH] usb: gadget: uvc:change the UVC_NUM_REQUESTS value

2017-12-25 Thread Lipengcheng
The value is 4, it can cache four descriptors. When streaming_interval = 1, it can tolerate 500us. Some busy scenes, it may be more than 500us because cpu scheduling is not timely. There will have some problems. It is better set to eight. Signed-off-by: Pengcheng Li ---

[PATCH] usb: dwc3: gadget: decrease the queued_requests in removal

2017-12-24 Thread Lipengcheng
In removal requests, it is necessary to make the corresponding trb disable state (HWO = 1) and dep->queued_requests a corresponding reduction. It is better to use a alone funtion to disable trb (HWO = 0). Signed-off-by: Pengcheng Li --- drivers/usb/dwc3/gadget.c | 30

RE: [PATCH] usb: dwc3: gadget:Core consumes a trb software to fill a trb, in ISO

2017-12-24 Thread Lipengcheng
Hi, > -Original Message- > From: Felipe Balbi [mailto:ba...@kernel.org] > Sent: Friday, December 22, 2017 3:54 PM > To: Lipengcheng > Cc: linux-usb@vger.kernel.org; linux-ker...@vger.kernel.org; Lipengcheng > Subject: Re: [PATCH] usb: dwc3: gadget:Core consumes a tr

RE: [usb gadget]use dev_kfree_skb_irq instead of dev_kfree_skb

2017-12-22 Thread Lipengcheng
Hi, > -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Friday, December 22, 2017 3:50 PM > To: Lipengcheng > Cc: ba...@kernel.org; linux-usb@vger.kernel.org; linux-ker...@vger.kernel.org > Subject: Re: [usb gadget]use dev_kfree_skb_irq instea

[PATCH] usb: dwc3: gadget:Core consumes a trb software to fill a trb, in ISO

2017-12-21 Thread Lipengcheng
Iso transmission, the current process is that all trb(HWO=1) is handled. Then core generate DWC3_DEPEVT_XFERNOTREADY event, Software begin refill trb, this will produce 0 length package, the patch is to achieve the core consumes a trb, and then the software fill a trb. Normally, there will never

RE: EHCI

2017-03-17 Thread Lipengcheng
Hi, > -Original Message- > From: Alan Stern [mailto:st...@rowland.harvard.edu] > Sent: Saturday, March 18, 2017 12:44 AM > To: Lipengcheng > Cc: gre...@linuxfoundation.org; linux-usb@vger.kernel.org; > linux-ker...@vger.kernel.org > Subject: Re: EHCI > > On Fr

RE: [PATCH V2]usb: dwc2: Clear GUSBCFG.UsbTrdTim before setting

2016-10-21 Thread Lipengcheng
> -Original Message- > From: Felipe Balbi [mailto:felipe.ba...@linux.intel.com] > Sent: Monday, October 17, 2016 5:37 PM > To: Lipengcheng; johny...@synopsys.com > Cc: gre...@linuxfoundation.org; linux-usb@vger.kernel.org; > linux-ker...@vger.kernel.org; Xuej

RE: USB GADGET: have a question about usb2eth

2016-10-17 Thread Lipengcheng
> -Original Message- > From: Felipe Balbi [mailto:ba...@kernel.org] > Sent: Monday, October 17, 2016 5:29 PM > To: Lipengcheng; Peter Chen > Cc: gre...@linuxfoundation.org; linux-usb@vger.kernel.org; > linux-ker...@vger.kernel.org > Subject: RE: USB GADGET: have a q

RE: USB GADGET: have a question about usb2eth

2016-10-17 Thread Lipengcheng
October 17, 2016 9:56 AM > To: Lipengcheng > Cc: ba...@ti.com; gre...@linuxfoundation.org; linux-usb@vger.kernel.org; > linux-ker...@vger.kernel.org > Subject: Re: USB GADGET: have a question about usb2eth > > On Sat, Oct 15, 2016 at 09:19:33AM +, Lipengcheng wrote: >

USB GADGET: have a question about usb2eth

2016-10-15 Thread Lipengcheng
Hi, I have a question about usb2eth. In the function gen_ndis_set_resp of the rndis.c, the value of *params->filter may be 0x20 from the pc set command; Howerver the value is used cdc_filter = dev->port_usb->cdc_filter in the function eth_start_xmit of the u_ether.c. If we do not judge

Why is the max_sectors set the 240

2016-09-24 Thread Lipengcheng
Hi, Some special superspeed u3 disk connect xhci control. Then the u3 disk is read/write and has the Transfer error on endpoint (COMP_TX_ERR) error. However in the pc windows does not have the problem.By analysis, the windows is each transfer 64K size. The Linux is 120K size. In the scsiglue.c,

RE: usb device to ether is not identification in 64bit Windows OS

2016-09-18 Thread Lipengcheng
--Original Message- > From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] > Sent: Monday, September 19, 2016 12:46 AM > To: Lipengcheng > Cc: cor...@lwn.net; linux-usb@vger.kernel.org; linux-...@vger.kernel.org; > linux-ker...@vger.kernel.org > Subject:

usb device to ether is not identification in 64bit Windows OS

2016-09-18 Thread Lipengcheng
Hi, kernel version:4.8.0 file:Documentation / usb / linux.inf problem:PC windows is 32bit OS, using Ethernet gadget driver, it can be correct identification. But PC windows is 64bit OS, while modifying linux.inf file LinuxDevice parameters, it can not correct identification, the serial port can

RE: [PATCH] usb:solve resume usb device identification problem

2016-07-12 Thread Lipengcheng
> -Original Message- > From: Lu Baolu [mailto:baolu...@linux.intel.com] > Sent: Tuesday, July 12, 2016 10:24 AM > To: Lipengcheng; gre...@linuxfoundation.org; st...@rowland.harvard.edu; > chasemetzge...@gmail.com; mathias.ny...@linux.intel.com; > oneu...@suse.com; ju

RE: [PATCH] usb:solve resume usb device identification problem

2016-07-11 Thread Lipengcheng
Hi, > -Original Message- > From: Lu Baolu [mailto:baolu...@linux.intel.com] > Sent: Tuesday, July 12, 2016 8:42 AM > To: Lipengcheng; gre...@linuxfoundation.org; st...@rowland.harvard.edu; > chasemetzge...@gmail.com; mathias.ny...@linux.intel.com; > oneu...@suse.com; ju

RE: [PATCH] usb:solve resume usb device identification problem

2016-07-11 Thread Lipengcheng
Hi, > -Original Message- > From: Alan Stern [mailto:st...@rowland.harvard.edu] > Sent: Monday, July 11, 2016 10:51 PM > To: Lipengcheng > Cc: gre...@linuxfoundation.org; baolu...@linux.intel.com; > chasemetzge...@gmail.com; mathias.ny...@linux.intel.com; >

RE: ehci and ohci reset number doubt

2016-03-29 Thread Lipengcheng
: Friday, March 18, 2016 1:52 AM > To: Lipengcheng > Cc: ba...@ti.com; chasemetzge...@gmail.com; baolu...@linux.intel.com; > mj...@coreos.com; kbo...@gmail.com; jun...@freescale.com; > robert.schlabb...@gmx.net; linux-usb@vger.kernel.org > Subject: Re: ehci and ohci reset number do

RE: 答复: 答复: 答复: 答复: 【xhci】suspend and resume core dump problem

2016-03-29 Thread Lipengcheng
Regards, Pengcheng Li > -Original Message- > From: Lu Baolu [mailto:baolu...@linux.intel.com] > Sent: Friday, March 25, 2016 10:19 PM > To: Lipengcheng; Mathias Nyman; gre...@linuxfoundation.org > Cc: st...@rowland.harvard.edu; ba...@ti.com; chasemetzge...@gmail.com; > mj.

RE: 答复: 答复: 答复: 答复: 【xhci】suspend and resume core dump problem

2016-03-25 Thread Lipengcheng
+0x54/0x80) from [<80015100>] (ret_fast_syscall+0x0/0x30) Code: e30c0fb0 e59f12a8 e3470f90 e300234e (e5965018) ---[ end trace 719c467f2461e924 ]--- > -Original Message- > From: Lu Baolu [mailto:baolu...@linux.intel.com] > Sent: Thursday, March 24, 2016 10:37 AM > To

ehci and ohci reset number doubt

2016-03-19 Thread Lipengcheng
Hi, In the files of ohci-platform.c and ehci-platform.c, they have only a control reset. Can the files have one more controller reset? Our usb2 controller using a synopsis, need bus reset, root hub reset, utmi reset. The usb controller of reset and clock have the same number. Such as:

答复: Re:

2016-03-03 Thread Lipengcheng
Thank you very much for your reply, Your reply can solve our problems, thank you Best Regards, Pengcheng Li -邮件原件- 发件人: Matthew Dharm [mailto:mdharm-...@one-eyed-alien.net] 发送时间: 2016年3月3日 23:45 收件人: Lipengcheng 抄送: gre...@linuxfoundation.org; linux-usb@vger.kernel.org 主题: Re