Re: [PATCH v17 2/3] usb: USB Type-C connector class

2017-04-27 Thread Rajaram R
On Tue, Apr 25, 2017 at 7:40 PM, Guenter Roeck <li...@roeck-us.net> wrote: > On 04/25/2017 01:26 AM, Rajaram R wrote: >> >> On Mon, Apr 24, 2017 at 11:20 PM, Badhri Jagan Sridharan >> <bad...@google.com> wrote: >>> >>> On Sat, Apr 22, 2017

Re: [PATCH v17 2/3] usb: USB Type-C connector class

2017-04-25 Thread Rajaram R
On Mon, Apr 24, 2017 at 11:20 PM, Badhri Jagan Sridharan <bad...@google.com> wrote: > On Sat, Apr 22, 2017 at 2:23 AM, Rajaram R <rajaram.officem...@gmail.com> > wrote: >> On Fri, Apr 21, 2017 at 10:13 PM, Guenter Roeck <li...@roeck-us.net> wrote: >>> O

Re: [PATCH v17 2/3] usb: USB Type-C connector class

2017-04-22 Thread Rajaram R
On Fri, Apr 21, 2017 at 10:13 PM, Guenter Roeck <li...@roeck-us.net> wrote: > On Fri, Apr 21, 2017 at 07:57:52PM +0530, Rajaram R wrote: >> On Fri, Apr 21, 2017 at 1:16 AM, Badhri Jagan Sridharan >> <bad...@google.com> wrote: >> > Thanks for the responses :) &g

Re: [PATCH v17 2/3] usb: USB Type-C connector class

2017-04-21 Thread Rajaram R
On Fri, Apr 21, 2017 at 1:16 AM, Badhri Jagan Sridharan wrote: > Thanks for the responses :) > > So seems like we have a plan. > > In Type-C connector class the checks for TYPEC_PWR_MODE_PD > and pd_revision for both the port and the partner will be removed in >

Re: [PATCHv3 1/2] usb: USB Type-C connector class

2016-06-29 Thread Rajaram R
On Wed, Jun 29, 2016 at 4:00 PM, Heikki Krogerus <heikki.kroge...@linux.intel.com> wrote: > On Wed, Jun 29, 2016 at 02:21:10PM +0530, Rajaram R wrote: >> On Mon, Jun 27, 2016 at 5:43 PM, Heikki Krogerus >> <heikki.kroge...@linux.intel.com> wrote: >> > Hi, >

Re: [PATCHv3 1/2] usb: USB Type-C connector class

2016-06-29 Thread Rajaram R
On Mon, Jun 27, 2016 at 5:43 PM, Heikki Krogerus <heikki.kroge...@linux.intel.com> wrote: > Hi, > > On Mon, Jun 27, 2016 at 03:51:08PM +0530, Rajaram R wrote: >> May be I am missing user or usage of the driver.. I see this driver is >> providing limited informati

Re: USB host port {,performance} issues with Beaglebone

2016-03-07 Thread Rajaram R
Victor On Tue, Mar 8, 2016 at 9:05 AM, Victor Dodon wrote: > > Hi all, > > I have some performance issues with the host port on a Beaglebone > board. I tested with kernel 3.8.13, 3.14.55 and 4.1.18 and the issue > still persists. Running a fio test with 64k random reads

Re: [PATCH 2/3] usb: type-c: USB Type-C Connector System Software Interface

2016-02-18 Thread Rajaram R
On Thu, Feb 18, 2016 at 4:17 PM, Heikki Krogerus <heikki.kroge...@linux.intel.com> wrote: > On Thu, Feb 18, 2016 at 04:07:54PM +0530, Rajaram R wrote: >> On Wed, Feb 17, 2016 at 7:58 PM, Heikki Krogerus >> <heikki.kroge...@linux.intel.com> wrote: >> > On W

Re: [PATCH 2/3] usb: type-c: USB Type-C Connector System Software Interface

2016-02-18 Thread Rajaram R
On Wed, Feb 17, 2016 at 7:58 PM, Heikki Krogerus wrote: > On Wed, Feb 17, 2016 at 03:36:46PM +0200, Felipe Balbi wrote: >> >> Hi, >> >> Heikki Krogerus writes: >> > On Wed, Feb 17, 2016 at 11:36:52AM +0100, Oliver Neukum wrote: >>

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-02-17 Thread Rajaram R
On Tue, Feb 9, 2016 at 10:31 PM, Heikki Krogerus wrote: > Hi, > > The OS, or more precisely the user space, needs to be able to control > a few things regarding USB Type-C ports. The first thing that must be > allowed to be controlled is the data role. USB Type-C

Re: FX3 on Linux

2015-06-12 Thread Rajaram R
Please find reply inline On Fri, Jun 12, 2015 at 11:48 PM, philip.jos...@microchip.com wrote: Knowing that you have experts in USB 3.0 support for Linux, I am writing to your organization hoping that you may be able to offer some direction on a problem I have encountered. I am trying to

Re: disable VBUS?

2014-05-13 Thread Rajaram R
On Wed, May 14, 2014 at 6:04 AM, Grant emailgr...@gmail.com wrote: Can I disable VBUS while keeping the rest of USB functional for a device that does not require bus power? Can you please elaborate the question of why VBus should go off ? Is this question in the context of any new USB

Re: USB Device stops working after 200001 interrupts

2014-01-23 Thread Rajaram R
Josh Could you provide kernel logs (dmesg) which include logs from IR module ( http://lxr.free-electrons.com/source/drivers/media/rc/mceusb.c) Cheers On Wed, Jan 22, 2014 at 11:15 PM, Josh Bendavid joshbenda...@gmail.com wrote: I have a usb infrared remote receiver (Windows media center

Re: EG20T USB Gadget Performance

2014-01-14 Thread Rajaram R
On Tue, Jan 14, 2014 at 9:26 PM, Alan Ott a...@signal11.us wrote: On 01/14/2014 09:13 AM, Felipe Balbi wrote: On Mon, Jan 13, 2014 at 11:25:16PM -0500, Alan Ott wrote: On 01/13/2014 09:01 PM, Alan Stern wrote: On Mon, 13 Jan 2014, Felipe Balbi wrote: On Mon, Jan 13, 2014 at 03:20:31PM

Re: EG20T USB Gadget Performance

2014-01-13 Thread Rajaram R
Hi I guess it is something to do with the buffer size of the gadget driver. Could you please try change the buffer size to 16K and confirm if the delay is shifting ? In this case your delay should be after 31 transfers... === 66 static struct usb_zero_options gzero_options = { 67

Linux USB power delivery

2013-08-08 Thread Rajaram R
Hi All Can someone share thoughts if there is a work in progress or plan on USB power delivery support for Linux ? Rajaram -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: Kernel panic with Gadget CDC/ECM

2013-07-23 Thread Rajaram R
On Wed, Jul 24, 2013 at 7:08 AM, tong li fddllit...@gmail.com wrote: Hello, I run our board(not a common one) as a Gadget CDC/ECM device with linux-3.0.39. At the outset it is running normally when I plug it into HostPC(Ubuntu12.04),I test it with iperf. But if I leave it connected for a

Re: [RFC] ux500 dma short transfers on MUSB

2013-07-19 Thread Rajaram R
On Thu, Jul 11, 2013 at 10:44 PM, Sebastian Andrzej Siewior bige...@linutronix.de wrote: On 07/11/2013 06:58 PM, Greg KH wrote: following scenario: you attach an UART-TO-USB adapter to your musb port running ux500-dma code. The USB UARt driver queues 1x RX URB with the size of 256 bytes

Re: [RFC] ux500 dma short transfers on MUSB

2013-07-19 Thread Rajaram R
On Fri, Jul 19, 2013 at 1:36 PM, Sebastian Andrzej Siewior bige...@linutronix.de wrote: On 07/19/2013 09:59 AM, Rajaram R wrote: Okay. musb offloads the actual transfer to the DMA engine it is using. Once it does so, it relies on whatever comes back from dma engine regarding transfer complete

Re: [RFC] ux500 dma short transfers on MUSB

2013-07-19 Thread Rajaram R
On Fri, Jul 19, 2013 at 2:23 PM, Sebastian Andrzej Siewior bige...@linutronix.de wrote: On 07/19/2013 10:26 AM, Rajaram R wrote: We program the DMA only when we receive RX interrupt and when the length of data is known. When you submit URB for RX the flow would be something like

Re: [RFC] ux500 dma short transfers on MUSB

2013-07-19 Thread Rajaram R
On Fri, Jul 19, 2013 at 2:51 PM, Sebastian Andrzej Siewior bige...@linutronix.de wrote: On 07/19/2013 11:16 AM, Rajaram R wrote: That was work in progress. You may wish to look at this patch http://permalink.gmane.org/gmane.linux.usb.general/79858 If a device sends 513 bytes to a musb device

Re: [PATCH] usb: musb: ux500: fix 'musbid' undeclared error in ux500_remove()

2012-10-31 Thread Rajaram R
Hi On Tue, Oct 23, 2012 at 11:42 AM, Wei Yongjun weiyj...@gmail.com wrote: commit 65b3d52d02a558fbfe08e43688e15390c5ab3067 (usb: musb: add musb_ida for multi instance support) used musbid in ux500_remove() but nerver declared it. The above message doesnot match with your fix. You say

Re: [GIT PULL] USB fixes for v3.7-rc4

2012-10-31 Thread Rajaram R
Hi Felipie/Greg On Tue, Oct 30, 2012 at 6:17 PM, Felipe Balbi ba...@ti.com wrote: Hi Greg, Judging by how things are going, this is likely to be my last pull request for v3.7-rc cycle, unless someone finds a big regression which we really must fix during v3.7-rc. It's rather small; just a

Re: [PATCH] usb: musb: ux500: fix 'musbid' undeclared error in ux500_remove()

2012-10-31 Thread Rajaram R
On Wed, Oct 31, 2012 at 8:00 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Wed, Oct 31, 2012 at 07:45:53PM +0530, Rajaram R wrote: On Tue, Oct 23, 2012 at 11:42 AM, Wei Yongjun weiyj...@gmail.com wrote: commit 65b3d52d02a558fbfe08e43688e15390c5ab3067 (usb: musb: add musb_ida for multi

Re: [PATCH 2/2] USB: set hub's default autosuspend delay as 0

2012-09-20 Thread Rajaram R
On Thu, Sep 20, 2012 at 9:38 PM, Ming Lei ming@canonical.com wrote: On Thu, Sep 20, 2012 at 11:23 PM, Ming Lei ming@canonical.com wrote: I will try to study 'lsusb' to see if there is one problem and try to solve it. If what you concern is about accessing device via libusb, it

Re: [PATCH] usb: gadget: Add Interface Association Descriptor to ECM

2012-09-08 Thread Rajaram R
On Sat, Sep 8, 2012 at 3:34 AM, Linus Walleij linus.wall...@linaro.org wrote: On Fri, Sep 7, 2012 at 8:51 PM, Sebastian Andrzej Siewior sebast...@breakpoint.cc wrote: On Wed, Jan 25, 2012 at 11:02:03AM +0100, Linus Walleij wrote: static struct usb_descriptor_header *ecm_fs_function[] = {

Re: [PATCH 3/3] usb: musb: gadget: implement proper -reset handling

2012-08-16 Thread Rajaram R
On Thu, Aug 16, 2012 at 11:51 AM, Felipe Balbi ba...@ti.com wrote: After introducing the new -reset method on struct usb_gadget_driver, UDC drivers are required to implement proper handling for it. This patch adds proper -reset handling for musb driver. Signed-off-by: Felipe Balbi

Re: [PATCH RFC] usb: musb: use DMA mode 1 whenever possible

2012-08-07 Thread Rajaram R
Hi Robert/Felipie On Thu, Aug 2, 2012 at 1:41 PM, Roger Quadros rog...@ti.com wrote: Do not rely on any hints from gadget drivers and use DMA mode 1 whenever we expect more data than the endpoint's packet size and have not yet received a short packet. The last packet if short is always

Re: [PATCH RFC] usb: musb: use DMA mode 1 whenever possible

2012-08-07 Thread Rajaram R
On Tue, Aug 7, 2012 at 5:26 PM, Rajaram R rajaram.officem...@gmail.com wrote: Hi Robert/Felipie On Thu, Aug 2, 2012 at 1:41 PM, Roger Quadros rog...@ti.com wrote: Do not rely on any hints from gadget drivers and use DMA mode 1 whenever we expect more data than the endpoint's packet size

Re: [PATCH 1/2] usb: musb: use DMA mode 1 whenever possible

2012-08-07 Thread Rajaram R
On Tue, Aug 7, 2012 at 6:39 PM, Roger Quadros rog...@ti.com wrote: Do not rely on any hints from gadget drivers and use DMA mode 1 whenever we expect data of at least the endpoint's packet size and have not yet received a short packet. Could you please let us know what all combination this was

(Query): [PATCH v4 2/4] usb gadget: Configure endpoint according to gadget speed.

2012-07-26 Thread Rajaram R
Hi Felipe/Alan Any comments for the below query ? On Thu, Jul 12, 2012 at 4:53 PM, Rajaram R rajaram.officem...@gmail.com wrote: Hi On Thu, Nov 18, 2010 at 6:17 PM, Tatyana Brokhman tlin...@codeaurora.org wrote: Add config_ep_by_speed() to configure the endpoint according to the gadget

Re: usb : mass storage : short_not_ok for non usb3 udc

2012-07-25 Thread Rajaram R
, you probably should wrap the message before 80th column.) Signed-off-by: Balakumar Rajendran balakumar.rajend...@stericsson.com Signed-off-by: Rajaram R ragupathy.raja...@stericsson.com --- drivers/usb/gadget/f_mass_storage.c |9 + 1 files changed, 9 insertions(+), 0 deletions

Re: usb : mass storage : short_not_ok for non usb3 udc

2012-07-25 Thread Rajaram R
Hi Alan On Wed, Jul 25, 2012 at 9:07 PM, Alan Stern st...@rowland.harvard.edu wrote: On Wed, 25 Jul 2012, Rajaram R wrote: Hi On Wed, Jul 25, 2012 at 6:33 PM, Michal Nazarewicz min...@mina86.com wrote: On Wed, 25 Jul 2012 14:53:00 +0200, Rajaram REGUPATHY ragupathy.raja...@stericsson.com

Re: usb : mass storage : short_not_ok for non usb3 udc

2012-07-25 Thread Rajaram R
On Wed, Jul 25, 2012 at 10:51 PM, Alan Stern st...@rowland.harvard.edu wrote: On Wed, 25 Jul 2012, Rajaram R wrote: There's one thing I don't get. The message talks about musb but the code checks for non Super Speed devices. So maybe the code is correct, maybe it's

Re: [PATCH v4 2/4] usb gadget: Configure endpoint according to gadget speed.

2012-07-14 Thread Rajaram R
Hi Felipe/Tatyana Could you please comment ? On Thu, Jul 12, 2012 at 4:53 PM, Rajaram R rajaram.officem...@gmail.com wrote: Hi On Thu, Nov 18, 2010 at 6:17 PM, Tatyana Brokhman tlin...@codeaurora.org wrote: Add config_ep_by_speed() to configure the endpoint according to the gadget speed