From: Maxim Levitsky <maximlevitsky@gmail.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: "linux-pm@lists.linux-foundation.org"
<linux-pm@lists.linux-foundation.org>
Subject: Re: [REGRESSION] usb devices don't wake up the system
Date: Thu, 01 Jul 2010 03:28:41 +0300 [thread overview]
Message-ID: <1277944121.3994.1.camel@localhost.localdomain> (raw)
In-Reply-To: <201007010140.08158.rjw@sisk.pl>
On Thu, 2010-07-01 at 01:40 +0200, Rafael J. Wysocki wrote:
> On Thursday, July 01, 2010, Maxim Levitsky wrote:
> > Hi,
> >
> >
> > This is my desktop, and I don't use it much.
> > I updated the kernel from 2.6.33 to 2.6.35-rc3, and my usb mouse (usb
> > 1.1 of course) doesn't wake the system anymore.
>
> Please wait for 2.6.35-rc4 to appear and see if there's any difference.
Why should I?
I always compile from git.
Just pulled Linus' tree, and nothing changed.
Best regards,
Maxim Levitsky
>
> > I used (and still do) to enable wakeup via /proc/acpi/wakeup.
> >
> >
> > maxim@MAIN:~$ cat bin/system/wake_all
> > #! /bin/bash
> >
> > echo "UHC1" > /proc/acpi/wakeup # ICH8 UHCI1
> > echo "UHC2" > /proc/acpi/wakeup # ICH8 UHCI2
> > echo "UHC3" > /proc/acpi/wakeup # ICH8 UHCI3
> > echo "UHC4" > /proc/acpi/wakeup # ICH8 UHCI4
> > echo "UHC5" > /proc/acpi/wakeup # ICH8 UHCI5
> >
> > echo "ILAN" > /proc/acpi/wakeup # ICH8 internal (lan/azal//EHCI)
> > echo "P32" > /proc/acpi/wakeup # ICH8 external (PCI/PCI express)
> > echo "UAR1" > /proc/acpi/wakeup # SUPERIO (UART/Sleep button)
>
> That shouldn't be necessary.
>
> > I checked, and it looks like power/wakeup attributes are enabled:
> >
> > root@MAIN:/sys/bus/pci/devices/0000:00:1d.0# cat power/wakeup
> > enabled
> > root@MAIN:/sys/bus/pci/devices/0000:00:1d.0# cd usb5/
> > root@MAIN:/sys/bus/pci/devices/0000:00:1d.0/usb5# cat power/wakeup
> > enabled
> > root@MAIN:/sys/bus/pci/devices/0000:00:1d.0/usb5# cd 5-1/
> > root@MAIN:/sys/bus/pci/devices/0000:00:1d.0/usb5/5-1# cat power/wakeup
> > enabled <--- this I set manually to enabled, didn't help
> > root@MAIN:/sys/bus/pci/devices/0000:00:1d.0/usb5/5-1# cat id
> > idProduct idVendor
> > root@MAIN:/sys/bus/pci/devices/0000:00:1d.0/usb5/5-1# cat idVendor
> > 1241
> > root@MAIN:/sys/bus/pci/devices/0000:00:1d.0/usb5/5-1# lsusb
> > Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> > Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> > Bus 005 Device 003: ID 06a3:ff52 Saitek PLC Cyborg 3D Rumble Force Joystick
> > Bus 005 Device 002: ID 1241:1166 Belkin MI-2150 Trust Mouse
> > Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> > Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> > Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> > Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> > root@MAIN:/sys/bus/pci/devices/0000:00:1d.0/usb5/5-1#
> >
> > maxim@MAIN:~$ cat /proc/acpi/wakeup
> > Device S-state Status Sysfs node
> > SLPB S4 *enabled
> > P32 S4 *enabled pci:0000:00:1e.0
> > UAR1 S4 *enabled pnp:00:0a
> > ILAN S4 *enabled pci:0000:00:19.0
> > PEGP S4 *enabled
> > PEX0 S4 *enabled pci:0000:00:1c.0
> > PEX1 S4 *enabled pci:0000:00:1c.1
> > PEX2 S4 *enabled pci:0000:00:1c.2
> > PEX3 S4 *enabled pci:0000:00:1c.3
> > PEX4 S4 *enabled pci:0000:00:1c.4
> > PEX5 S4 *enabled
> > UHC1 S3 *enabled pci:0000:00:1d.0
> > UHC2 S3 *enabled pci:0000:00:1d.1
> > UHC3 S3 *enabled pci:0000:00:1d.2
> > UHC4 S3 *enabled
> > EHCI S3 *enabled pci:0000:00:1d.7
> > EHC2 S3 *enabled pci:0000:00:1a.7
> > UH42 S3 *enabled pci:0000:00:1a.0
> > UHC5 S3 *enabled pci:0000:00:1a.1
> > AZAL S3 *enabled pci:0000:00:1b.0
> >
> >
> > maxim@MAIN:~$ lsusb -t
> > /: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
> > /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
> > /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
> > |__ Port 1: Dev 2, If 0, Class=HID, Driver=usbhid, 1.5M
> > |__ Port 2: Dev 3, If 0, Class=HID, Driver=usbhid, 1.5M
> > /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
> > /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
> > /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/6p, 480M
> > /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/4p, 480M
> >
> >
> >
> > I don't have much time now for testing, but will try my best to do so.
>
> Rafael
next prev parent reply other threads:[~2010-07-01 0:28 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-30 23:31 [REGRESSION] usb devices don't wake up the system Maxim Levitsky
2010-06-30 23:40 ` Rafael J. Wysocki
2010-07-01 0:28 ` Maxim Levitsky [this message]
2010-07-01 14:42 ` Alan Stern
2010-07-01 18:58 ` Rafael J. Wysocki
2010-07-01 20:44 ` Maxim Levitsky
2010-07-01 21:07 ` Rafael J. Wysocki
2010-07-03 22:41 ` Maxim Levitsky
2010-07-03 22:42 ` Maxim Levitsky
2010-07-03 23:27 ` Rafael J. Wysocki
2010-07-04 12:51 ` Alan Stern
2010-07-04 15:44 ` Maxim Levitsky
2010-07-06 15:17 ` Alan Stern
2010-07-06 16:51 ` Maxim Levitsky
2010-07-06 17:07 ` Alan Stern
2010-07-06 20:51 ` Maxim Levitsky
2010-07-06 23:05 ` Rafael J. Wysocki
2010-07-07 15:33 ` Alan Stern
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=1277944121.3994.1.camel@localhost.localdomain \
--to=maximlevitsky@gmail.com \
--cc=linux-pm@lists.linux-foundation.org \
--cc=rjw@sisk.pl \
/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