Re: imx21-hcd bugs, device descriptor read/64, error -110

"Midhun Agnihotram" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Hi,
   I have gone through the function. It reads the root hub A register
and masks it with a hex for AMD. So the masking should not apply to
i.MX 21.
   When I read the register on my own, it reads as 0. Then I tried to
print the address of the root hub A register by
&ohci->regs->roothub.a. This prints an address which is different than
the address in the ref manual of i.MX. So I might be reading from the
wrong address.
  How do I make sure that the address is correct?

Thanks,
Midhun.

On 8/16/07, Alan Stern <[email protected]> wrote:
> On Thu, 16 Aug 2007, Midhun Agnihotram wrote:
>
> > Sorry for incomplete mail.
> >
> > >    I have looked for ohci->num_ports in ohci-hub.c It seems it is
> > > getting populated in ohci-hcd.c as
> > >
> > > ohci->num_ports = roothub_a(ohci) & RH_A_NDP;
> >
> >      But I could not find definition for roothub_a(). RH_A_NDP is 0xFF
> > in my case. So what is this roothub_a() method?
>
> It is defined in ohci.h.
>
> Alan Stern
>
>


-- 
Thanks,
Midhun.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.