RE: dwc2: usb/ethernet dongle does not work

2014-07-29 Thread Paul Zimmerman
> From: linux-usb-ow...@vger.kernel.org > [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Dinh Nguyen > Sent: Monday, July 28, 2014 5:53 AM > > On Mon, 2014-07-28 at 15:05 +0800, Roy wrote: > > Hi Dinh: > > > > Do you think it might be a problem of a un-aligned DMA buffer > > address? W

Re: dwc2: usb/ethernet dongle does not work

2014-07-28 Thread Dinh Nguyen
Hi Roy, On Mon, 2014-07-28 at 15:05 +0800, Roy wrote: > Hi Dinh: > > Do you think it might be a problem of a un-aligned DMA buffer > address? We know that the usbnet driver submits lots of URBs with a > 2-byte aligned buffer address. But in Buffer DMA mode, the starting DMA > address must be

Re: dwc2: usb/ethernet dongle does not work

2014-07-28 Thread Roy
Hi Dinh: Do you think it might be a problem of a un-aligned DMA buffer address? We know that the usbnet driver submits lots of URBs with a 2-byte aligned buffer address. But in Buffer DMA mode, the starting DMA address must be DWORD-aligned, only if turn on Descriptor DMA mode this this 4-byte

Re: dwc2: usb/ethernet dongle does not work

2014-07-28 Thread Roy
Hi Dinh: Do you think it might be a problem of a un-aligned DMA buffer address? We know that the usbnet driver submits lots of URBs with a 2-byte aligned buffer address. But in Buffer DMA mode, the starting DMA address must be DWORD-aligned, only if turn on Descriptor DMA mode this 4-byte alig

Re: dwc2: usb/ethernet dongle does not work

2014-07-14 Thread Dinh Nguyen
Hi Paul, On 6/25/14, 1:24 PM, Paul Zimmerman wrote: >> From: Dinh Nguyen [mailto:dinh.li...@gmail.com] >> Sent: Wednesday, June 25, 2014 8:52 AM >> >> I was wondering if you have ever tested this driver with a USB/ethernet >> dongle? I'm using the apple usb/ethernet dongle, which is basically just

RE: dwc2: usb/ethernet dongle does not work

2014-06-25 Thread Paul Zimmerman
> From: Dinh Nguyen [mailto:dinh.li...@gmail.com] > Sent: Wednesday, June 25, 2014 8:52 AM > > I was wondering if you have ever tested this driver with a USB/ethernet > dongle? I'm using the apple usb/ethernet dongle, which is basically just > the ASIX AX88xxx Based Ethernet Adapter. From brief de

RE: dwc2: usb/ethernet dongle does not work

2014-06-25 Thread David Laight
From: Dinh Nguyen > I was wondering if you have ever tested this driver with a USB/ethernet > dongle? I'm using the apple usb/ethernet dongle, which is basically just > the ASIX AX88xxx Based Ethernet Adapter. From brief debugging, it > appears that Bulk and Interrupt endpoint data are getting corr