pxa270 - USB low speed devices - Maybe the USB cable is bad?

Girish <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization picopeta
Message-ID <[email protected]>
Dear All,
    I am working on pxq270 board. Its up with linux-2.6.20. Currently I 
am working on USB modules. For Full speed
devices ohci driver is able to detect and attach the proper driver. But 
for low speed devices its giving "*hub 1-0:1.0: Cannot enable port 1.  
Maybe the USB cable is bad?"* error. I have gone through the mailing 
list found no relevent solutions. The device (USB keyboard) works fine 
with Normal PC (linux-2.6.16).

dmesg:
kobject ohci_hcd: registering. parent: <NULL>, set: module
kobject drivers: registering. parent: ohci_hcd, set: <NULL>
kobject_uevent_env
fill_kobj_path: path = '/module/ohci_hcd/drivers'
kobject_uevent_env
fill_kobj_path: path = '/module/ohci_hcd'
2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver 
(pxa27x)<7>block sizes: ed 64 td 64
bus platform: add driver pxa27x-ohci
kobject pxa27x-ohci: registering. parent: <NULL>, set: drivers
kobject_uevent_env
fill_kobj_path: path = '/bus/platform/drivers/pxa27x-ohci'
platform: Matched Device pxa27x-ohci with Driver pxa27x-ohci
platform: Probing driver pxa27x-ohci with device pxa27x-ohci
In ohci_hcd_pxa27x_drv_probeSetting GPIOs for Powerup and LED
pxa27x-ohci pxa27x-ohci: PXA27x OHCI
CLASS: registering class device: ID = 'usb_host1'
kobject usb_host1: registering. parent: usb_host, set: class_obj
kobject_uevent_env
fill_kobj_path: path = '/class/usb_host/usb_host1'
class_uevent - name = usb_host1
fill_kobj_path: path = '/devices/platform/pxa27x-ohci'
class_device_create_uevent called for usb_host1
#Calling ....... /sbin/hotplug usb_host
drivers/usb/core/inode.c: creating file 'devices'
drivers/usb/core/inode.c: creating file '001'
pxa27x-ohci pxa27x-ohci: new USB bus registered, assigned bus number 1
pxa27x-ohci pxa27x-ohci: irq 3, io mem 0x4c000000
pxa27x-ohci pxa27x-ohci: ohci_pxa27x_start, ohci:c70080c4<7>pxa27x-ohci 
pxa27x-ohci: created debug files
pxa27x-ohci pxa27x-ohci: resetting from state 'reset', control = 0x0
pxa27x-ohci pxa27x-ohci: OHCI controller state
pxa27x-ohci pxa27x-ohci: OHCI 1.0, NO legacy support registers
pxa27x-ohci pxa27x-ohci: control 0x083 HCFS=operational CBSR=3
pxa27x-ohci pxa27x-ohci: cmdstatus 0x00000 SOC=0
pxa27x-ohci pxa27x-ohci: intrstatus 0x00000004 SF
pxa27x-ohci pxa27x-ohci: intrenable 0x8000005a MIE RHSC UE RD WDH
pxa27x-ohci pxa27x-ohci: hcca frame #0009
pxa27x-ohci pxa27x-ohci: roothub.a 04001202 POTPGT=4 NOCP NPS NDP=2(2)
pxa27x-ohci pxa27x-ohci: roothub.b 00000000 PPCM=0000 DR=0000
pxa27x-ohci pxa27x-ohci: roothub.status 00008000 DRWE
pxa27x-ohci pxa27x-ohci: roothub.portstatus [0] 0x00010301 CSC LSDA PPS CCS
pxa27x-ohci pxa27x-ohci: roothub.portstatus [1] 0x00000100 PPS
usb usb1: default language 0x0409
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: PXA27x OHCI
usb usb1: Manufacturer: Linux 2.6.20 ohci_hcd
usb usb1: SerialNumber: pxa27x
DEV: registering device: ID = 'usb1'
kobject usb1: registering. parent: pxa27x-ohci, set: devices
PM: Adding info for usb:usb1
bus usb: add device usb1
kobject_uevent_env
fill_kobj_path: path = '/devices/platform/pxa27x-ohci/usb1'
usb usb1: uevent
usb: Matched Device usb1 with Driver usb
usb: Probing driver usb with device usb1
usb usb1: usb_probe_device
device class 'usb_endpoint': registering
subsystem usb_endpoint: registering
kobject usb_endpoint: registering. parent: <NULL>, set: class
DEV: registering device: ID = 'usbdev1.1_ep00'
kobject usbdev1.1_ep00: registering. parent: usb_endpoint, set: devices
PM: Adding info for No Bus:usbdev1.1_ep00
kobject_uevent_env
fill_kobj_path: path = '/class/usb_endpoint/usbdev1.1_ep00'
usb usb1: configuration #1 chosen from 1 choice
usb usb1: adding 1-0:1.0 (config #1, interface 0)
DEV: registering device: ID = '1-0:1.0'
kobject 1-0:1.0: registering. parent: usb1, set: devices
PM: Adding info for usb:1-0:1.0
bus usb: add device 1-0:1.0
kobject_uevent_env
fill_kobj_path: path = '/devices/platform/pxa27x-ohci/usb1/1-0:1.0'
usb 1-0:1.0: uevent
usb: Matched Device 1-0:1.0 with Driver hub
usb: Probing driver hub with device 1-0:1.0
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
hub 1-0:1.0: standalone hub
hub 1-0:1.0: no power switching (usb 1.0)
hub 1-0:1.0: no over-current protection
hub 1-0:1.0: power on to power good time: 8ms
hub 1-0:1.0: local power source is good
hub 1-0:1.0: trying to enable port power on non-switchable hub
hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0000
bound device '1-0:1.0' to driver 'hub'
usb: Bound Device 1-0:1.0 to Driver hub
DEV: registering device: ID = 'usbdev1.1_ep81'
kobject usbdev1.1_ep81: registering. parent: usb_endpoint, set: devices
PM: Adding info for No Bus:usbdev1.1_ep81
kobject_uevent_env
fill_kobj_path: path = '/class/usb_endpoint/usbdev1.1_ep81'
CLASS: registering class device: ID = 'usbdev1.1'
kobject usbdev1.1: registering. parent: usb_device, set: class_obj
kobject_uevent_env
fill_kobj_path: path = '/class/usb_device/usbdev1.1'
class_uevent - name = usbdev1.1
fill_kobj_path: path = '/devices/platform/pxa27x-ohci/usb1'
class_device_create_uevent called for usbdev1.1
drivers/usb/core/inode.c: creating file '001'
bound device 'usb1' to driver 'usb'
usb: Bound Device usb1 to Driver usb
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00010301 
CSC LSDA PPS CCS
hub 1-0:1.0: port 1, status 0301, change 0001, 1.5 Mb/s
bound device 'pxa27x-ohci' to driver 'pxa27x-ohci'
platform: Bound Device pxa27x-ohci to Driver pxa27x-ohci
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x301
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 50ms
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 200ms
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 200ms
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 200ms
hub 1-0:1.0: port_wait_reset: err = -16
hub 1-0:1.0: port 1 not enabled, trying reset again...
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 200ms
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 200ms
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 200ms
hub 1-0:1.0: port_wait_reset: err = -16
hub 1-0:1.0: port 1 not enabled, trying reset again...
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 200ms
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 200ms
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 200ms
hub 1-0:1.0: port_wait_reset: err = -16
hub 1-0:1.0: port 1 not enabled, trying reset again...
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 200ms
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 200ms
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 200ms
hub 1-0:1.0: port_wait_reset: err = -16
hub 1-0:1.0: port 1 not enabled, trying reset again...
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 200ms
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 200ms
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 200ms
hub 1-0:1.0: port_wait_reset: err = -16
hub 1-0:1.0: port 1 not enabled, trying reset again...
*hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?*
kobject <NULL>: cleaning up
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 50ms
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 200ms
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 200ms
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 200ms
hub 1-0:1.0: port_wait_reset: err = -16
hub 1-0:1.0: port 1 not enabled, trying reset again...
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 200ms
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 200ms
pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 
PRSC PESC LSDA PPS CCS
hub 1-0:1.0: port 1 not reset yet, waiting 200ms
hub 1-0:1.0: port_wait_reset: err = -16
hub 1-0:1.0: port 1 not enabled, trying reset again...


-- 

----------------------------------------------------------------------
"When Ability Ends; Faith Begins....

Girish A J ([email protected]) 
Associate - Systems,		     Ph: (80) 2361 8184-86   Ext 135
PicoPeta Simputers Pvt Ltd.        Fax:(80) 2361 7568
146 5th Cross, RMV Extension,     
Bangalore - 560 080.               
URL  http://www.picopeta.com
-------------------------------------------------------------------------- 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[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.