UBS power management and some ehci issues (DM3730, Beagleboard XM)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, 

I want to decrease power and to start using usb power management on linux kernel 
2.6.37 (from TI Argo project) for DM3730 (Cortex A8) - hardware used for 
prototyping is omap3evm or Beagleboard XM. I have connected HS usb device with 
autoidle turn on.

Is a good idea to turn on autoidle in root hub? This question is asked because 
of some issues related with ehci port. The device is suspended and root hub too 
but as can be seen below, resume fail and port is lost until board reset.
  

[ 286.073822] ehci-omap ehci-omap.0: port 2 resume error -110
[ 286.079711] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 286.126007] usb 1-2: USB disconnect, address 2
[ 286.132537] sierra ttyUSB0: Sierra USB modem converter now disconnected from 
ttyUSB0
[ 286.141815] sierra 1-2:1.0: device disconnected
[ 286.149200] sierra ttyUSB1: Sierra USB modem converter now disconnected from 
ttyUSB1
[ 286.158325] sierra 1-2:1.1: device disconnected
[ 286.175659] sierra ttyUSB2: Sierra USB modem converter now disconnected from 
ttyUSB2
[ 286.188385] sierra 1-2:1.3: device disconnected
[ 286.197418] sierra_net 1-2:1.7: wwan0: unregister 'sierra_net' usb-ehci-
omap.0-2, Sierra Wireless USB-to-WWAN Modem


[ 286.220672] hub 1-0:1.0: cannot reset port 2 (err = -32)
[ 286.226287] hub 1-0:1.0: cannot reset port 2 (err = -32)
[ 286.231903] hub 1-0:1.0: cannot reset port 2 (err = -32)
[ 286.237518] hub 1-0:1.0: cannot reset port 2 (err = -32)
[ 286.243133] hub 1-0:1.0: cannot reset port 2 (err = -32)
[ 286.248718] hub 1-0:1.0: Cannot enable port 2. Maybe the USB cable is bad?

The same things several times and:

[ 286.354736] hub 1-0:1.0: Cannot enable port 2. Maybe the USB cable is bad?
[ 286.362060] ehci-omap ehci-omap.0: port 2 cannot be enabled
[ 286.367919] ehci-omap ehci-omap.0: Maybe your device is not a high speed 
device?
[ 286.375671] ehci-omap ehci-omap.0: USB host (EHCI) controller does not support 
full speed or low speed device on it's root port.
[ 286.387817] ehci-omap ehci-omap.0: Please connect full/low speed device via a 
high speed hub.
[ 286.396759] hub 1-0:1.0: unable to enumerate USB device on port 2
[ 286.405761] ehci-omap ehci-omap.0: port 2 resume error -110
[ 286.411621] hub 1-0:1.0: hub_port_status failed (err = -32)

At this moment I know that something really wrong took place in usbhost 
controller but I can't figure out what exactly. The bigger part of the log is 
about some kind workaround - but I won't work because port (I suppese host 
controller) is dead.

I know that there are some issues with USB PHY SMSC USB3320 used on the board 
but in processor errata there is written that they are related with silicon 
version 1.0 only.

I've seen commit 354ab8567ae3107a8cbe7228c3181990ba598aac titled
"Fix OMAP EHCI suspend/resume failure (i693)" but it's made for higher kernel 
and I don't recognize the clock sources used there.

Has this issue been ever fixed in any kernel version?


Regards,
Karl


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux