Hello, I'm pretty new to USB and linux usb drivers. I'm trying to port ARM based USB EHCI core driver to 2.4.27 kernel. I was able to hook up ehci driver. Here is the log:
usb_hcd_amba_probe: mapped base=c8016000 usb_hcd_amba_probe: interrupt request succeeded. usb.c: new USB bus registered, assigned bus number 1 ehci_hcd : ehci_start hcs_params 0x10011 dbg=0 ind cc=0 pcc=0 ordered ports=1 ehci_hcd : ehci_start hcc_params 0006 thresh 0 uframes 256/512/1024 park ehci_hcd : ...powerup ports... ehci_hcd : reset command 080b02 park=3 ithresh=8 period=1024 Reset HALT ehci_hcd : ...powerdown ports... ehci_hcd : init command 010b01 park=3 ithresh=1 period=1024 RUN hcd.c: 1 root hub device address 1 usb.c: kmalloc IF c0278700, numif 1 usb.c: new device strings: Mfr=3, Product=2, SerialNumber=1 usb.c: USB device number 1 default language ID 0x0 Manufacturer: Linux 2.4.27-vrs1-99999 ehci_hcd Product: USB EHCI 1.0 Host Controller (amba) SerialNumber: 1 hub.c: USB hub found hub.c: 1 port detected hub.c: standalone hub hub.c: individual port power switching hub.c: individual port over-current protection hub.c: Single TT hub.c: TT requires at most 8 FS bit times hub.c: Port indicators are not supported hub.c: power on to power good time: 20ms hub.c: hub controller current requirement: 0mA hub.c: port removable status: R hub.c: local power source is good hub.c: no over-current condition exists hub.c: enabling power on all ports usb.c: hub driver claimed interface c0278700 Now I connect the storage device( high speed). Its self powered and host controller does not provide power to devices connected. So I power on the device, the log I get is: ehci_hcd : GetStatus port 1 status 3c001002 POWER sig=se0 CSC hub.c: port 1, portstatus 100, change 1, 12 Mb/s hub.c: port 1 connection change hub.c: port 1, portstatus 100, change 1, 12 Mb/s My observation is: I got only CSC change( no CONNECT), in usb_hub_port_connect_chage() routine it clears CSC, and checks for CONNECT chanage in status, since its not set it bails out. My questions: 1. Am I missing some initializtion sequence? 2. Why its reporting as full speed device instead of high speed and no CONNECT bit is setting? I'm stuck on this from last few days. BTW it works fine in 2.6.14 based kernel. Any kind of help is appreciated. One more thing: I tried connected full speed mp3 player, its recognizes and fails some time on retreving configurations and after few seconds I get disconnected from device. Srini __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel