From: Johannes Berg <johannes@sipsolutions.net>
To: Jiri Kosina <jkosina@suse.cz>
Cc: Linux Kernel list <linux-kernel@vger.kernel.org>,
Matthew Garrett <mjg@redhat.com>,
Samuel Ortiz <sameo@openedhand.com>
Subject: Re: since 2.6.29-rc: apple infrared keeps system awake?
Date: Mon, 26 Jan 2009 12:35:32 +0100 [thread overview]
Message-ID: <1232969733.20525.4.camel@johannes.local> (raw)
In-Reply-To: <alpine.LNX.1.10.0901261220150.5377@jikos.suse.cz>
[-- Attachment #1: Type: text/plain, Size: 1582 bytes --]
On Mon, 2009-01-26 at 12:25 +0100, Jiri Kosina wrote:
> On Mon, 26 Jan 2009, Johannes Berg wrote:
>
> > > > Ever since 2.6.29-rc, I see this in powertop on my macbook5,1:
> > > > Top causes for wakeups:
> > > > 24.1% ( 27.8) USB device usb1 : OHCI Host Controller (Linux 2.6.29-rc2-wl-di
> > > > 21.5% ( 24.8) <interrupt> : ohci_hcd:usb1
> > > > 14.5% ( 16.7) USB device 1-5 : IR Receiver (Apple Computer, Inc.)
> > > > which is way way more than what it used to be, I never saw the IR
> > > > receiver before. I could bisect, but wondered if somebody had seen this
> > >
> > > What driver is bound to this device? (what is the product ID?).
> > None, oddly, it seems. At least listing input devices doesn't seem to
> > show it.
> > Bus 003 Device 002: ID 05ac:8242 Apple, Inc.
>
> This should be driven by hid-apple/usbhid. Could you please look into
> /sys/bus/usb/devices for this device and check where does the 'driver'
> symlink point to?
driver -> ../../../../../bus/usb/drivers/usb
3-5:1.0/driver -> ../../../../../../bus/usb/drivers/usbhid
> Also, for this device, we force a creation of hiddev node, so it's
> possible (and, in fact, probable), that some lirc process has the node
> open and wakes it up periodically? (I think there is a macmini lirc
> userspace driver, please check whether it has the hiddev node open).
Nope.
Is it possible that I was just in an environment where there was lots of
random infrared traffic that the device picked up? Is it possible to
disable it completely?
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2009-01-26 11:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-22 14:49 Johannes Berg
2009-01-26 10:52 ` Jiri Kosina
2009-01-26 11:15 ` Johannes Berg
2009-01-26 11:25 ` Jiri Kosina
2009-01-26 11:35 ` Johannes Berg [this message]
2009-01-27 13:18 ` Jiri Kosina
2009-01-28 10:27 ` Johannes Berg
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=1232969733.20525.4.camel@johannes.local \
--to=johannes@sipsolutions.net \
--cc=jkosina@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=mjg@redhat.com \
--cc=sameo@openedhand.com \
/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
all inboxes | Powered by JetHome®