Re: ADM851X USB-LAN-Adapter driver



On Nov 29, 8:26 pm, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
no instrument no spam DOT com> wrote:
It looks to me like your adapter might not be working correctly. It would
be worthwhile to try another one of the same type, if you haven't already.

If the hardware is eliminated and you are running on the same board that the
Windows CE 4.2 driver worked with, then there's something wrong with your
driver. I don't have any insight as to what, specifically, would be wrong.
Are those last couple of messages generated by you or the USB host
controller driver? I'd start with breakpoints where the transfers are
supposed to occur and see which one(s) fail and why. Your USB sniffer will
probably help here, too.

Paul T.

"Percy" <prabl...@xxxxxxxxx> wrote in message

news:7cee7933-2bd3-4a05-8670-ca8914161e38@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



Hi Paul,

Thanks for reply.
These are the debug messages which we get on Hyper terminal after
connecting adapter.

LM_ResetAdapter: EP1Ctrl=0x4
LM_ResetAdapter: Reserved(0x1D)=0x0
LM_ResetAdapter: USBStatus=0x0
LM_ResetAdapter: USBStatus=0x0
LM_ResetAdapter: TxStatus-2=0x40
LM_ResetAdapter: RxStatus=0x0
LM_ResetAdapter: RxLostPktHigh=0x0
LM_ResetAdapter: RxLostPktLow=0x0
LM_ResetAdapter: IntPHYCtrl=0x2
LM_ResetAdapter: GPIO[5:4]=0x0
LM_ResetAdapter: GPIO[1:0]=0x27
LM_ResetAdapter: GPIO[3:2]=0x27
LM_ResetAdapter: MII test_mode=0x2
NDISPWR:: BIND notification for adapter [LANNDS1]
UM_CheckLinkStatus: LinkStatus=5
LRCCE: rx incomplete !, RxFree=18, RxPkt=0
LQRP: LM_ReceiveCompleteCE fail !
MIRP: LQRP Failed !, RxFree=18, RxPkt=0
Issue Tx Bulk Transfer fail !
Send Fail !, TxDescLeft=39

It will stop here at this stage, Please let me know what I need to
change, I have increased USB host controller memory.

Thanks,
Percy

On Nov 28, 9:43 pm, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
no instrument no spam DOT com> wrote:
Turn on all debugging messages, particularly for USB, and see what the
last
thing that shows up is. Set a breakpoint there in the kernel debugger
and
trace...

Paul T.

"Percy" <prabl...@xxxxxxxxx> wrote in message

news:4da2689b-1da1-4e91-8425-3e81e36ed2cd@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Hi ALL,

I'm working on ADM851X USB-LAN-Adapter driver, PXA255, WinCE 5.0.
I'm porting this driver from 4.2 to 5.0 with same Hardware.
Device will detect Adapter, but it will hang some where, and we can't
browse.
where may be the fault, please help me with suggestions.

Thanks
Percy- Hide quoted text -

- Show quoted text -

I totally agree with Paul.
I have faced this problem earlier and in your case as per the messages
it clearly seams
to be some problem with the hardware.
Try with another hardware sample.

Mike


.



Relevant Pages

  • Re: ADM851X USB-LAN-Adapter driver
    ... no instrument no spam DOT com> wrote: ... Windows CE 4.2 driver worked with, then there's something wrong with your ... LQRP: LM_ReceiveCompleteCE fail! ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Ether3-8 and Universal Boot problem.
    ... Which will fail when it tries to access the hardware, because the podule is ... So the 8 bit driver is definitely needed. ...
    (comp.sys.acorn.networking)
  • Re: How could a dud floppy crash linux?
    ... > I've had a bunch of badly formatted floppies that sometimes fail to ... Any driver expects certain behavior of its hardware. ... nobody has thought about, and do things that nobody has thought of. ...
    (comp.os.linux.misc)
  • Re: Ether3-8 and Universal Boot problem.
    ... But that's presumably because he's now told it to load the 16 bit driver. ... Which will fail when it tries to access the hardware, because the podule is ...
    (comp.sys.acorn.networking)
  • [opensuse] openSUSE 10.3 not detecting SATA HD
    ... the sata_sis driver. ... I've tried turning off ACPI in bios and acpi=off which ... openSUSE 10.2 and all my hardware is working fine. ... info.product = 'USB Raw Device Access' ...
    (SuSE)