Re: [PATCH] HID: i2c-hid: add ACPI support

2013-01-09 Thread Mika Westerberg
On Wed, Jan 09, 2013 at 11:38:24AM +0100, Benjamin Tissoires wrote: > > > > If they have reset GPIO or something like that, how else we should we > > handle this if not in the driver? The i2c-hid core doesn't know for what > > purpose a given GPIO line is. > > But the hid protocol aims at reducing

Re: [PATCH] HID: i2c-hid: add ACPI support

2013-01-09 Thread Benjamin Tissoires
On Wed, Jan 9, 2013 at 10:28 AM, Mika Westerberg wrote: > On Tue, Jan 08, 2013 at 10:55:59PM +0100, Benjamin Tissoires wrote: >> On Tue, Jan 8, 2013 at 7:09 PM, Mika Westerberg >> wrote: >> > On Tue, Jan 08, 2013 at 02:51:53PM +0100, Benjamin Tissoires wrote: >> >> Hi Mika, >> >> >> >> On Tue, Ja

Re: [PATCH] HID: i2c-hid: add ACPI support

2013-01-09 Thread Mika Westerberg
On Tue, Jan 08, 2013 at 10:55:59PM +0100, Benjamin Tissoires wrote: > On Tue, Jan 8, 2013 at 7:09 PM, Mika Westerberg > wrote: > > On Tue, Jan 08, 2013 at 02:51:53PM +0100, Benjamin Tissoires wrote: > >> Hi Mika, > >> > >> On Tue, Jan 8, 2013 at 2:05 PM, Mika Westerberg > >> wrote: > >> > The HID

Re: [PATCH] HID: i2c-hid: add ACPI support

2013-01-08 Thread Benjamin Tissoires
On Tue, Jan 8, 2013 at 7:09 PM, Mika Westerberg wrote: > On Tue, Jan 08, 2013 at 02:51:53PM +0100, Benjamin Tissoires wrote: >> Hi Mika, >> >> On Tue, Jan 8, 2013 at 2:05 PM, Mika Westerberg >> wrote: >> > The HID over I2C protocol specification states that when the device is >> > enumerated from

Re: [PATCH] HID: i2c-hid: add ACPI support

2013-01-08 Thread Mika Westerberg
On Tue, Jan 08, 2013 at 02:51:53PM +0100, Benjamin Tissoires wrote: > Hi Mika, > > On Tue, Jan 8, 2013 at 2:05 PM, Mika Westerberg > wrote: > > The HID over I2C protocol specification states that when the device is > > enumerated from ACPI the HID descriptor address can be obtained by > > executi

Re: [PATCH] HID: i2c-hid: add ACPI support

2013-01-08 Thread Benjamin Tissoires
Hi Mika, On Tue, Jan 8, 2013 at 2:05 PM, Mika Westerberg wrote: > The HID over I2C protocol specification states that when the device is > enumerated from ACPI the HID descriptor address can be obtained by > executing "_DSM" for the device with function 1. Enable this. Hehe, funny thing, I worke