Re: since 2.6.29-rc: apple infrared keeps system awake?

From: Jiri Kosina
Date: Mon Jan 26 2009 - 06:26:12 EST


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?

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).

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/