From: Jiri Slaby <jirislaby@gmail.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: linux-kernel@vger.kernel.org, mm-commits@vger.kernel.org,
Greg KH <gregkh@suse.de>, USB list <linux-usb@vger.kernel.org>,
linux-input@vger.kernel.org, Oliver Neukum <oliver@neukum.org>
Subject: Re: dead USB devices after resume [mmotm 2009-02-10-16-35]
Date: Fri, 13 Feb 2009 11:40:04 +0100 [thread overview]
Message-ID: <49954E04.6090008@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0902111009260.3056-100000@iolanthe.rowland.org>
On 02/11/2009 04:53 PM, Alan Stern wrote:
> On Wed, 11 Feb 2009, Jiri Slaby wrote:
>
>> On 02/11/2009 01:36 AM, akpm@linux-foundation.org wrote:
>>> The mm-of-the-moment snapshot 2009-02-10-16-35 has been uploaded
>> Hi,
>>
>> when I resume from suspend, USB mouse and kbd are not responding anymore, no
>> LEDs, nothing. I need to unplug and replug to get it working. This is a
>> regression since mmotm based on 2.6.29-rc2 which is fine.
>>
>> Any ideas before I start bisection?
>
> In theory the lack of S4 support shouldn't cause this to happen.
>
> You might want to build a kernel with CONFIG_USB_DEBUG enabled. The
> extra debugging information should help find the problem.
Here comes the resume part (including unplug, replug). I suspect auto-suspend?
usb usb1: usb resume
ehci_hcd 0000:00:1a.7: resume root hub
hub 1-0:1.0: hub_resume
usb usb2: usb resume
ehci_hcd 0000:00:1d.7: resume root hub
hub 2-0:1.0: hub_resume
usb usb6: usb resume
usb usb6: wakeup_rh
hub 6-0:1.0: hub_reset_resume
hub 6-0:1.0: trying to enable port power on non-switchable hub
uhci_hcd 0000:00:1d.0: port 1 portsc 009b,00
hub 6-0:1.0: port 1: status 0101 change 0003
usb 6-1: finish reset-resume
usb 6-1: reset full speed USB device using uhci_hcd and address 2
usb 6-1: ep0 maxpacket = 8
usb 6-1: manual set_interface for iface 0, alt 0
hub 6-1:1.0: hub_reset_resume
hub 6-1:1.0: enabling power on all ports
hub 6-1:1.0: port 1: status 0101 change 0001
hub 6-1:1.0: port 2: status 0301 change 0001
uhci_hcd 0000:00:1d.0: reserve dev 2 ep81-INT, period 128, phase 0, 12 us
usb 6-1.1: finish reset-resume
usb 6-1.1: reset full speed USB device using uhci_hcd and address 3
usb 6-1.1: ep0 maxpacket = 8
usb 6-1.1: manual set_interface for iface 0, alt 0
usb 6-1.1: manual set_interface for iface 1, alt 0
usb 6-1.2: finish reset-resume
usb 6-1.2: reset low speed USB device using uhci_hcd and address 4
usb 6-1.2: manual set_interface for iface 0, alt 0
Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0000
hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0000
hub 6-0:1.0: state 7 ports 2 chg 0002 evt 0002
hub 6-0:1.0: port 1, status 0103, change 0000, 12 Mb/s
hub 6-1:1.0: state 7 ports 3 chg 0006 evt 0004
done.
hub 6-1:1.0: port 1, status 0103, change 0000, 12 Mb/s
hub 6-1:1.0: port 2, status 0303, change 0000, 1.5 Mb/s
hub 1-0:1.0: hub_suspend
usb usb1: bus auto-suspend
ehci_hcd 0000:00:1a.7: suspend root hub
hub 2-0:1.0: hub_suspend
usb usb2: bus auto-suspend
ehci_hcd 0000:00:1d.7: suspend root hub
hub 6-0:1.0: state 7 ports 2 chg 0000 evt 0002
uhci_hcd 0000:00:1d.0: port 1 portsc 008a,00
hub 6-0:1.0: port 1, status 0100, change 0003, 12 Mb/s
usb 6-1: USB disconnect, address 2
usb 6-1.1: USB disconnect, address 3
usb 6-1.1: unregistering device
usb 6-1.1: usb_disable_device nuking all URBs
usb 6-1.1: unregistering interface 6-1.1:1.0
usb 6-1.1:1.0: uevent
usb 6-1.1: unregistering interface 6-1.1:1.1
usb 6-1.1:1.1: uevent
usb 6-1.1: uevent
usb 6-1.2: USB disconnect, address 4
usb 6-1.2: unregistering device
usb 6-1.2: usb_disable_device nuking all URBs
usb 6-1.2: unregistering interface 6-1.2:1.0
usb 6-1.2:1.0: uevent
usb 6-1.2: uevent
usb 6-1: unregistering device
usb 6-1: usb_disable_device nuking all URBs
uhci_hcd 0000:00:1d.0: shutdown urb ffff88007c8ca540 ep1in-intr
uhci_hcd 0000:00:1d.0: release dev 2 ep81-INT, period 128, phase 0, 12 us
usb 6-1: unregistering interface 6-1:1.0
usb 6-1:1.0: uevent
usb 6-1: uevent
hub 6-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
usb usb2: usb resume
ehci_hcd 0000:00:1d.7: resume root hub
ehci_hcd 0000:00:1d.7: port 1 full speed --> companion
ehci_hcd 0000:00:1d.7: GetStatus port 1 status 003801 POWER OWNER sig=j CONNECT
hub 2-0:1.0: hub_resume
ehci_hcd 0000:00:1d.7: GetStatus port 1 status 003002 POWER OWNER sig=se0 CSC
hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0000
hub 6-0:1.0: state 7 ports 2 chg 0000 evt 0002
uhci_hcd 0000:00:1d.0: port 1 portsc 0093,00
hub 6-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 6-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
usb 6-1: new full speed USB device using uhci_hcd and address 5
usb 6-1: ep0 maxpacket = 8
usb 6-1: default language 0x0409
usb 6-1: New USB device found, idVendor=04b4, idProduct=2050
usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 6-1: Product: GBella Corporation DV Keyboard
usb 6-1: Manufacturer: Bella Corporation
usb 6-1: uevent
usb 6-1: usb_probe_device
usb 6-1: configuration #1 chosen from 1 choice
usb 6-1: adding 6-1:1.0 (config #1, interface 0)
usb 6-1:1.0: uevent
hub 6-1:1.0: usb_probe_interface
hub 6-1:1.0: usb_probe_interface - got id
hub 6-1:1.0: USB hub found
hub 6-1:1.0: 3 ports detected
hub 6-1:1.0: compound device; port removable status: FRR
hub 6-1:1.0: individual port power switching
hub 6-1:1.0: individual port over-current protection
hub 6-1:1.0: power on to power good time: 100ms
hub 6-1:1.0: hub controller current requirement: 25mA
hub 6-1:1.0: 100mA bus power budget for each child
hub 6-1:1.0: local power source is good
hub 6-1:1.0: enabling power on all ports
/home/l/latest/xxx/drivers/usb/core/inode.c: creating file '005'
hub 6-0:1.0: state 7 ports 2 chg 0000 evt 0002
hub 6-1:1.0: port 1: status 0101 change 0001
hub 6-1:1.0: port 2: status 0301 change 0001
uhci_hcd 0000:00:1d.0: reserve dev 5 ep81-INT, period 128, phase 0, 12 us
hub 6-1:1.0: state 7 ports 3 chg 0006 evt 0000
hub 6-1:1.0: port 1, status 0101, change 0000, 12 Mb/s
usb 6-1.1: new full speed USB device using uhci_hcd and address 6
usb 6-1.1: ep0 maxpacket = 8
usb 6-1.1: skipped 1 descriptor after interface
usb 6-1.1: skipped 1 descriptor after interface
usb 6-1.1: default language 0x0409
usb 6-1.1: New USB device found, idVendor=0458, idProduct=004c
usb 6-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 6-1.1: Product: USB Keyboard
usb 6-1.1: Manufacturer: ABBHOME
usb 6-1.1: uevent
usb 6-1.1: usb_probe_device
usb 6-1.1: configuration #1 chosen from 1 choice
usb 6-1.1: adding 6-1.1:1.0 (config #1, interface 0)
usb 6-1.1:1.0: uevent
usbhid 6-1.1:1.0: usb_probe_interface
usbhid 6-1.1:1.0: usb_probe_interface - got id
input: ABBHOME USB Keyboard as
/devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1.1/6-1.1:1.0/input/input13
uhci_hcd 0000:00:1d.0: reserve dev 6 ep81-INT, period 8, phase 4, 17 us
generic-usb 0003:0458:004C.0004: input: USB HID v1.10 Keyboard [ABBHOME USB
Keyboard] on usb-0000:00:1d.0-1.1/input0
usb 6-1.1: adding 6-1.1:1.1 (config #1, interface 1)
usb 6-1.1:1.1: uevent
usbhid 6-1.1:1.1: usb_probe_interface
usbhid 6-1.1:1.1: usb_probe_interface - got id
input: ABBHOME USB Keyboard as
/devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1.1/6-1.1:1.1/input/input14
uhci_hcd 0000:00:1d.0: reserve dev 6 ep82-INT, period 8, phase 4, 17 us
generic-usb 0003:0458:004C.0005: input: USB HID v1.10 Mouse [ABBHOME USB
Keyboard] on usb-0000:00:1d.0-1.1/input1
/home/l/latest/xxx/drivers/usb/core/inode.c: creating file '006'
hub 6-1:1.0: 425mA power budget left
hub 6-1:1.0: port 2, status 0301, change 0000, 1.5 Mb/s
usb 6-1.2: new low speed USB device using uhci_hcd and address 7
usb 6-1.2: skipped 1 descriptor after interface
usb 6-1.2: default language 0x0409
usb 6-1.2: New USB device found, idVendor=045e, idProduct=00f0
usb 6-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 6-1.2: Product: Microsoft � Laser Mouse 6000
usb 6-1.2: Manufacturer: Microsoft Corporation
usb 6-1.2: uevent
usb 6-1.2: usb_probe_device
usb 6-1.2: configuration #1 chosen from 1 choice
usb 6-1.2: adding 6-1.2:1.0 (config #1, interface 0)
usb 6-1.2:1.0: uevent
usbhid 6-1.2:1.0: usb_probe_interface
usbhid 6-1.2:1.0: usb_probe_interface - got id
input: Microsoft Corporation Microsoft � Laser Mouse 6000 as
/devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1.2/6-1.2:1.0/input/input15
uhci_hcd 0000:00:1d.0: reserve dev 7 ep81-INT, period 8, phase 4, 93 us
generic-usb 0003:045E:00F0.0006: input: USB HID v1.11 Mouse [Microsoft
Corporation Microsoft � Laser Mouse 6000] on usb-0000:00:1d.0-1.2/input0
/home/l/latest/xxx/drivers/usb/core/inode.c: creating file '007'
hub 6-1:1.0: 325mA power budget left
hub 6-1:1.0: state 7 ports 3 chg 0000 evt 0004
hub 2-0:1.0: hub_suspend
usb usb2: bus auto-suspend
ehci_hcd 0000:00:1d.7: suspend root hub
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-02-13 10:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200902110036.n1B0aBZs013975@imap1.linux-foundation.org>
2009-02-11 8:44 ` dead USB devices after resume [mmotm 2009-02-10-16-35] Jiri Slaby
2009-02-11 9:44 ` Rafael J. Wysocki
[not found] ` <200902111044.57869.rjw-KKrjLPT3xs0@public.gmane.org>
2009-02-11 9:54 ` Jiri Slaby
[not found] ` <4992A040.6080302-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-02-11 13:38 ` Jiri Slaby
[not found] ` <4992D4C3.3050108-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-02-11 21:49 ` Rafael J. Wysocki
[not found] ` <49928FDB.5020007-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-02-11 15:53 ` Alan Stern
2009-02-13 10:40 ` Jiri Slaby [this message]
2009-02-13 15:26 ` Alan Stern
2009-02-16 13:50 ` Jiri Slaby
[not found] ` <49996F43.2070801-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-02-16 19:58 ` Alan Stern
2009-02-13 18:19 ` Jiri Kosina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49954E04.6090008@gmail.com \
--to=jirislaby@gmail.com \
--cc=gregkh@suse.de \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mm-commits@vger.kernel.org \
--cc=oliver@neukum.org \
--cc=stern@rowland.harvard.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).