linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Stefan Schweizer" <genstef@gentoo.org>
To: Oliver Neukum <oliver@neukum.org>
Cc: Alan Stern <stern@rowland.harvard.edu>,
	linux-usb@vger.kernel.org, linux-input@vger.kernel.org
Subject: Re: suspend
Date: Sat, 5 Apr 2008 11:15:55 +0200	[thread overview]
Message-ID: <e79639220804050215j42829de7iab99b51e85683a53@mail.gmail.com> (raw)
In-Reply-To: <200804051000.26661.oliver@neukum.org>

On Sat, Apr 5, 2008 at 10:00 AM, Oliver Neukum <oliver@neukum.org> wrote:
>  Ok, please locate the directory for your touchpad in sysfs and post all
>  files in the power subdirectory.

The kernel documentation says that "auto" is default for level. Why is
it "on" here? Simple startup line to make it right:

        for i in $(find /sys | grep power/level); do echo auto > "$i"; done

But still no extra info in dmesg :(

# ls /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-2/power/
autosuspend  level  persist  wakeup


power # for i in *; do echo $i: $(<$i); done
autosuspend: 2
level: on
persist: 1
wakeup: enabled


2-2 #  for i in *; do echo $i: $(<$i); done
2-2:1.0:
2-2:1.1:
2-2:1.2:
authorized: 1
bcdDevice: 0064
bConfigurationValue: 1
bDeviceClass: 00
bDeviceProtocol: 00
bDeviceSubClass: 00
bmAttributes: a0
bMaxPacketSize0: 8
bMaxPower: 40mA
bNumConfigurations: 1
bNumInterfaces: 3
busnum: 2
configuration:
"  !"Y�  !"��▒d T�  !
dev: 189:136
devnum: 9
driver:
ep_00:
idProduct: 0218
idVendor: 05ac
manufacturer: Apple Computer
maxchild: 0
power:
product: Apple Internal Keyboard / Trackpad
quirks: 0x0
speed: 12
subsystem:
uevent: MAJOR=189 MINOR=136 DEVTYPE=usb_device DRIVER=usb
DEVICE=/proc/bus/usb/002/009 PRODUCT=5ac/218/64 TYPE=0/0/0 BUSNUM=002
DEVNUM=009
urbnum: 3615
usb_endpoint:
version: 2.00

Regards,
Stefan

  reply	other threads:[~2008-04-05  9:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <dd18b0c30804012331oc548416k113e492d7dc9c189@mail.gmail.com>
     [not found] ` <200804031029.26635.oliver@neukum.org>
     [not found]   ` <e79639220804030153q46fa82c7jb79bedbe88b30df7@mail.gmail.com>
     [not found]     ` <e79639220804030153q46fa82c7jb79bedbe88b30df7-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-04-03 10:31       ` suspend Oliver Neukum
     [not found]         ` <200804031231.19193.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>
2008-04-03 15:44           ` suspend Stefan Schweizer
2008-04-03 20:42             ` suspend Oliver Neukum
     [not found]               ` <200804032242.36493.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>
2008-04-03 21:41                 ` suspend Alan Stern
2008-04-03 22:06                   ` suspend Stefan Schweizer
2008-04-04  8:59                     ` suspend Oliver Neukum
2008-04-04  9:20                       ` suspend Stefan Schweizer
     [not found]                         ` <e79639220804040220g560e94b4l418724ff1653780d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-04-04 11:36                           ` suspend Oliver Neukum
2008-04-04 22:40                             ` suspend Stefan Schweizer
2008-04-05  8:00                               ` suspend Oliver Neukum
2008-04-05  9:15                                 ` Stefan Schweizer [this message]
     [not found]                                   ` <e79639220804050215j42829de7iab99b51e85683a53-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-04-05  9:12                                     ` suspend Oliver Neukum
2008-04-05 14:13                                 ` suspend Alan Stern
2008-04-03 10:58     ` suspend Oliver Neukum
2008-04-03 14:14       ` suspend Stefan Schweizer
2008-04-03 21:07         ` suspend Oliver Neukum

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=e79639220804050215j42829de7iab99b51e85683a53@mail.gmail.com \
    --to=genstef@gentoo.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-usb@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).