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

From: Johannes Berg
Date: Mon Jan 26 2009 - 06:35:53 EST


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: signature.asc
Description: This is a digitally signed message part