Re: usb resume errors

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

 



Hi,
Thanks for the response. We tried to add a Quirk for root hub and
Power Cycle & reset the PHY in suspend-resume.


There are my observations:
1) Some times - suspend-resume works. (Say the 4/10 times) without
re-enumeration of the
    device.
2) The rest of the times, The device re-enumerates.
    Whenever the device re-enumerates -  I see lots of "unable to
enumerate USB device on port 1" and finally the device
    re-enumerates.


Please advice.

Thanks,

Regards,
sriram

My serial console:
--------------------------
root@omap3:~# echo mem > /sys/power/state

PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
mmc2: card 0001 removed
Powerdomain (iva2_pwrdm) didn't enter target state 1
Could not enter target state in pm_suspend
regulator_check_voltage: operation not allowed for VMMC2
usb 1-2: reset high speed USB device using ehci-omap and address 2
usb 1-2.1: reset high speed USB device using ehci-omap and address 3
Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 3 chg 0004 evt 0000
done.

root@omap3:~#
root@omap3:~#
root@omap3:~# echo mem > /sys/power/state
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
Powerdomain (iva2_pwrdm) didn't enter target state 1
Could not enter target state in pm_suspend
regulator_check_voltage: operation not allowed for VMMC2
usb 1-2: reset high speed USB device using ehci-omap and address 2
usb 1-2.1: reset high speed USB device using ehci-omap and address 3
Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 3 chg 0004 evt 0000
done.
root@omap3:~#
root@omap3:~#
root@omap3:~# echo mem > /sys/power/state

PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
Powerdomain (iva2_pwrdm) didn't enter target state 1
Could not enter target state in pm_suspend
regulator_check_voltage: operation not allowed for VMMC2
usb 1-2: reset high speed USB device using ehci-omap and address 2
pm_op(): usb_dev_resume+0x0/0x18 returns -19
PM: Device 1-2.1 failed to resume: error -19
Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 3 chg 0004 evt 0000
done.
usb 1-2.1: USB disconnect, address 3
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: unable to enumerate USB device on port 1
usb 1-2.1: new high speed USB device using ehci-omap and address 31
usb 1-2.1: config 1 interface 0 altsetting 0 bulk endpoint 0x81 has invalid maxp
acket 64
usb 1-2.1: config 1 interface 1 altsetting 0 bulk endpoint 0x82 has invalid maxp
acket 64
usb 1-2.1: config 1 interface 4 altsetting 0 bulk endpoint 0x86 has invalid maxp
acket 64
usb 1-2.1: New USB device found, idVendor=0af0, idProduct=d035
usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-2.1: Product: Option GlobeTrotter
usb 1-2.1: Manufacturer: Option Wireless Technology
usb 1-2.1: configuration #1 chosen from 1 choice
hso0 (hso): not using net_device_ops yet

root@omap3:~# dmesg
>usb 1-2.1:1.4: uevent
hso 1-2.1:1.4: usb_probe_interface
hso 1-2.1:1.4: usb_probe_interface - got id
hso 1-2.1:1.4: HSO: Found Diagnostic port /dev/ttyHS3
drivers/usb/core/inode.c: creating file '003'
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on mmcblk0p3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) on device 179:3.
Freeing init memory: 152K
usb usb1: uevent
usb 1-0:1.0: uevent
usb 1-2: uevent
usb 1-2.1: uevent
usb 1-2.1:1.0: uevent
usb 1-2.1:1.1: uevent
usb 1-2.1:1.2: uevent
usb 1-2.1:1.3: uevent
usb 1-2.1:1.4: uevent
usb 1-2:1.0: uevent
usb usb2: uevent
usb 2-0:1.0: uevent
EXT2-fs warning (device mmcblk0p2): ext2_fill_super: mounting ext3 filesystem as
 ext2
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
end_request: I/O error, dev mtdblock1, sector 0
Buffer I/O error on device mtdblock1, logical block 0
end_request: I/O error, dev mtdblock1, sector 0
Buffer I/O error on device mtdblock1, logical block 0
PM: Syncing filesystems ... done.
PM: Preparing system for mem sleep
Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
PM: Entering mem sleep
Suspending console(s) (use no_console_suspend to debug)
hub 1-2:1.0: hub_suspend
usb 1-2: unlink qh256-0001/ffc00100 start 255 [1/0 us]
hub 2-0:1.0: hub_suspend
usb usb2: bus suspend
hub 1-0:1.0: hub_suspend
usb usb1: bus suspend
ehci-omap ehci-omap.0: suspend root hub
mmc2: card 0001 removed
Powerdomain (iva2_pwrdm) didn't enter target state 1
Could not enter target state in pm_suspend
usb usb1: usb resume
ehci-omap ehci-omap.0: resume root hub
regulator_check_voltage: operation not allowed for VMMC2
hub 1-0:1.0: hub_reset_resume
hub 1-0:1.0: enabling power on all ports
ehci-omap ehci-omap.0: GetStatus port 2 status 001803 POWER sig=j CSC CONNECT
hub 1-0:1.0: port 2: status 0501 change 0001
usb usb2: usb resume
hub 2-0:1.0: hub_reset_resume
hub 2-0:1.0: enabling power on all ports
usb 1-2: reset-resume
ehci-omap ehci-omap.0: port 2 high speed
ehci-omap ehci-omap.0: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT
usb 1-2: reset high speed USB device using ehci-omap and address 2
ehci-omap ehci-omap.0: port 2 high speed
ehci-omap ehci-omap.0: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT
usb 1-2: manual set_interface for iface 0, alt 0
hub 1-2:1.0: hub_reset_resume
hub 1-2:1.0: enabling power on all ports
hub 1-2:1.0: port 1: status 0101 change 0001
usb 1-2: link qh256-0001/ffc00100 start 255 [1/0 us]
usb 1-2.1: reset-resume
usb 1-2.1: reset high speed USB device using ehci-omap and address 3
PM: Finishing wakeup.
Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 3 chg 0004 evt 0000
hub 1-0:1.0: port 2, status 0503, change 0000, 480 Mb/s
hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
hub 1-2:1.0: state 7 ports 2 chg 0002 evt 0000
hub 1-2:1.0: port 1, status 0503, change 0000, 480 Mb/s
done.
PM: Syncing filesystems ... done.
PM: Preparing system for mem sleep
Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
PM: Entering mem sleep
Suspending console(s) (use no_console_suspend to debug)
hub 1-2:1.0: hub_suspend
usb 1-2: unlink qh256-0001/ffc00100 start 255 [1/0 us]
hub 2-0:1.0: hub_suspend
usb usb2: bus suspend
hub 1-0:1.0: hub_suspend
usb usb1: bus suspend
ehci-omap ehci-omap.0: suspend root hub
Powerdomain (iva2_pwrdm) didn't enter target state 1
Could not enter target state in pm_suspend
usb usb1: usb resume
ehci-omap ehci-omap.0: resume root hub
regulator_check_voltage: operation not allowed for VMMC2
hub 1-0:1.0: hub_reset_resume
hub 1-0:1.0: enabling power on all ports
ehci-omap ehci-omap.0: GetStatus port 2 status 001803 POWER sig=j CSC CONNECT
hub 1-0:1.0: port 2: status 0501 change 0001
usb usb2: usb resume
hub 2-0:1.0: hub_reset_resume
hub 2-0:1.0: enabling power on all ports
usb 1-2: reset-resume
ehci-omap ehci-omap.0: port 2 high speed
ehci-omap ehci-omap.0: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT
usb 1-2: reset high speed USB device using ehci-omap and address 2
ehci-omap ehci-omap.0: port 2 high speed
ehci-omap ehci-omap.0: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT
usb 1-2: manual set_interface for iface 0, alt 0
hub 1-2:1.0: hub_reset_resume
hub 1-2:1.0: enabling power on all ports
hub 1-2:1.0: port 1: status 0101 change 0001
usb 1-2: link qh256-0001/ffc00100 start 255 [1/0 us]
usb 1-2.1: reset-resume
usb 1-2.1: reset high speed USB device using ehci-omap and address 3
PM: Finishing wakeup.
Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 3 chg 0004 evt 0000
hub 1-0:1.0: port 2, status 0503, change 0000, 480 Mb/s
hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
hub 1-2:1.0: state 7 ports 2 chg 0002 evt 0000
hub 1-2:1.0: port 1, status 0503, change 0000, 480 Mb/s
done.
PM: Syncing filesystems ... done.
PM: Preparing system for mem sleep
Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
PM: Entering mem sleep
Suspending console(s) (use no_console_suspend to debug)
hub 1-2:1.0: hub_suspend
usb 1-2: unlink qh256-0001/ffc00100 start 255 [1/0 us]
hub 2-0:1.0: hub_suspend
usb usb2: bus suspend
hub 1-0:1.0: hub_suspend
usb usb1: bus suspend
ehci-omap ehci-omap.0: suspend root hub
Powerdomain (iva2_pwrdm) didn't enter target state 1
Could not enter target state in pm_suspend
usb usb1: usb resume
ehci-omap ehci-omap.0: resume root hub
regulator_check_voltage: operation not allowed for VMMC2
hub 1-0:1.0: hub_reset_resume
hub 1-0:1.0: enabling power on all ports
ehci-omap ehci-omap.0: GetStatus port 2 status 001803 POWER sig=j CSC CONNECT
hub 1-0:1.0: port 2: status 0501 change 0001
usb usb2: usb resume
hub 2-0:1.0: hub_reset_resume
hub 2-0:1.0: enabling power on all ports
usb 1-2: reset-resume
ehci-omap ehci-omap.0: port 2 high speed
ehci-omap ehci-omap.0: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT
usb 1-2: reset high speed USB device using ehci-omap and address 2
ehci-omap ehci-omap.0: port 2 high speed
ehci-omap ehci-omap.0: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT
usb 1-2: manual set_interface for iface 0, alt 0
hub 1-2:1.0: hub_reset_resume
hub 1-2:1.0: enabling power on all ports
hub 1-2:1.0: port 1: status 0101 change 0001
usb 1-2: link qh256-0001/ffc00100 start 255 [1/0 us]
usb 1-2.1: reset-resume
hub 1-2:1.0: logical disconnect on port 1
pm_op(): usb_dev_resume+0x0/0x18 returns -19
PM: Device 1-2.1 failed to resume: error -19
PM: Finishing wakeup.
Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 3 chg 0004 evt 0000
hub 1-0:1.0: port 2, status 0503, change 0000, 480 Mb/s
hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
hub 1-2:1.0: state 7 ports 2 chg 0002 evt 0002
done.
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
usb 1-2.1: USB disconnect, address 3
usb 1-2.1: unregistering device
usb 1-2.1: usb_disable_device nuking all URBs
usb 1-2.1: unregistering interface 1-2.1:1.0
usb 1-2.1:1.0: uevent
usb 1-2.1: unregistering interface 1-2.1:1.1
usb 1-2.1:1.1: uevent
usb 1-2.1: unregistering interface 1-2.1:1.2
usb 1-2.1:1.2: uevent
usb 1-2.1: unregistering interface 1-2.1:1.3
usb 1-2.1:1.3: uevent
usb 1-2.1: unregistering interface 1-2.1:1.4
usb 1-2.1:1.4: uevent
usb 1-2.1: uevent
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 1-2:1.0: unable to enumerate USB device on port 1
hub 1-2:1.0: state 7 ports 2 chg 0000 evt 0002
hub 1-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
usb 1-2.1: new high speed USB device using ehci-omap and address 31
usb 1-2.1: config 1 interface 0 altsetting 0 bulk endpoint 0x81 has invalid maxp
acket 64
usb 1-2.1: config 1 interface 1 altsetting 0 bulk endpoint 0x82 has invalid maxp
acket 64
usb 1-2.1: config 1 interface 4 altsetting 0 bulk endpoint 0x86 has invalid maxp
acket 64
usb 1-2.1: default language 0x0409
usb 1-2.1: New USB device found, idVendor=0af0, idProduct=d035
usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-2.1: Product: Option GlobeTrotter
usb 1-2.1: Manufacturer: Option Wireless Technology
usb 1-2.1: uevent
usb 1-2.1: usb_probe_device
usb 1-2.1: configuration #1 chosen from 1 choice
usb 1-2.1: adding 1-2.1:1.0 (config #1, interface 0)
usb 1-2.1:1.0: uevent
hso 1-2.1:1.0: usb_probe_interface
hso 1-2.1:1.0: usb_probe_interface - got id
hso 1-2.1:1.0: HSO: Found Application port /dev/ttyHS0
usb 1-2.1: adding 1-2.1:1.1 (config #1, interface 1)
usb 1-2.1:1.1: uevent
hso 1-2.1:1.1: usb_probe_interface
hso 1-2.1:1.1: usb_probe_interface - got id
hso 1-2.1:1.1: HSO: Found Control port /dev/ttyHS1
usb 1-2.1: adding 1-2.1:1.2 (config #1, interface 2)
usb 1-2.1:1.2: uevent
hso 1-2.1:1.2: usb_probe_interface
hso 1-2.1:1.2: usb_probe_interface - got id
hso 1-2.1:1.2: HSO: Found Modem port /dev/ttyHS2
usb 1-2.1: adding 1-2.1:1.3 (config #1, interface 3)
usb 1-2.1:1.3: uevent
hso 1-2.1:1.3: usb_probe_interface
hso 1-2.1:1.3: usb_probe_interface - got id
hso0 (hso): not using net_device_ops yet
hso 1-2.1:1.3: HSO: Found Network port hso0
usb 1-2.1: adding 1-2.1:1.4 (config #1, interface 4)
usb 1-2.1:1.4: uevent
hso 1-2.1:1.4: usb_probe_interface
hso 1-2.1:1.4: usb_probe_interface - got id
hso 1-2.1:1.4: HSO: Found Diagnostic port /dev/ttyHS3
drivers/usb/core/inode.c: creating file '031'
root@omap3:~#



On Sat, Mar 27, 2010 at 2:42 AM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> On Fri, 26 Mar 2010, Sriram V wrote:
>
>> I tried the following:
>>
>> 1) Added a Quirk for the root-hub for ehci host controller
>>       { USB_DEVICE(0x1d6b, 0x0002), .driver_info = USB_QUIRK_RESET_RESUME },
>>
>> 2) In suspend - I put PHY in reset by doing a making USB_PHY_RESET_GPIO = 0.
>> 3) In resume - I bring PHY out of reset in resume by doing a
>> USB_PHY_RESET_GPIO = 1.
>>
>> But, I still get the following prints and the devices get
>> re-enumerated and i am able to access them after resume.
>> pm_op(): usb_dev_resume+0x0/0x18 returns -19
>> PM: Device 1-2.1 failed to resume: error -19
>>
>> I also tried doing a reset for the hub and i get the same result.
>> Trying to figure out what is happening and why this error occurs.
>
> It would help to see a dmesg log showing the suspend and resume from a
> kernel built with CONFIG_USB_DEBUG enabled.
>
> Alan Stern
>
>
--
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