Re: About Philips ISP1761 hcd driver.
Alan Stern <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 12 Sep 2007, deverchang wrote: > Hello all, > > As the driver for isp1761 on sourceforge can't be used with latest linux > kernels due to some usb structure changed, I am trying to port it to > kernel 2.6.19, which is my working kernel copy. > > After read usb2.0 spec and isp1761 datasheet manual. I know there is > a root hub internal in isp1761. On ISP1761_4.pdf page14, it states: > > "The internal Hi-speed USB hub is enumerateed using a sequence similar > to a standard > Hi-speed USB hub enumeration sequence." > > I have read many hcd driver in directory /kernel-2.6.19/driver/usb/host/. > Almost all the host controller driver control root hub through xxx_hob_control() > function, and in that function, the control operation (such PORT_POWER, > PORT_ENABLE) to root hub is done through register interface access. > > But I think isp1761 is quite differenct from those driver in kernel in > root hub controlling > ways, the root hub of ISP1761 should be accessed by normal usb transactions > through TD (Transfer Descriptor). And it seems isp1761 didn't provide > a way to control > its downstream facing port through normal register ways. I don't know > if my study is right. > > I need someone to give me some hint on how to write a hub_control() function. > And is there some reference code for this kind of usb controller. I > have blocked by > this problem for several weeks. In order to overcome this I have read > usb2.0 spec > a several hundrud pages document. > > Another puzzle is how can the isp1761 driver on sourceforge enumerate > the root hub. > Super man please help me, it's urgent! > > Isp1761 documents > http://www.nxp.com/#/homepage/cb=[type=product,path=/50803/53481/47803,final=ISP1761_4]|[13] > whose driver for kernel 2.6.9 > http://sourceforge.net/projects/isp176x-hcd I just took a quick look at the isp176x-hcd source from Sourceforge. It has a pehci_rh_control() function. Why don't you use the same approach in your driver? And shouldn't you email your questions to the people who wrote the Sourceforge driver? After all, it's reasonable to assume they know more about your difficulties than anybody else does. Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel