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

From: Johannes Berg
Date: Mon Jan 26 2009 - 06:15:30 EST


On Mon, 2009-01-26 at 11:52 +0100, Jiri Kosina wrote:
> On Thu, 22 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
> > before?
>
> 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.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x05ac Apple, Inc.
idProduct 0x8242
bcdDevice 0.16
iManufacturer 1 Apple Computer, Inc.
iProduct 2 IR Receiver
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 1 Apple Computer, Inc.
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 42
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)


johannes

Attachment: signature.asc
Description: This is a digitally signed message part