Re: i2c_hid: Could not register for interrupt, irq = -1 on Thinkpad Tablet 10

2015-02-03 Thread Mika Westerberg
On Tue, Feb 03, 2015 at 04:53:14PM +0800, Sébastien Bourdeauducq wrote: On 02/02/2015 11:57 PM, Mika Westerberg wrote: Maybe the interrupt should be level sensitive and enabled only after certain parts of the device initialization have taken place. The device should respond to reset by

Re: i2c_hid: Could not register for interrupt, irq = -1 on Thinkpad Tablet 10

2015-02-02 Thread Mika Westerberg
On Mon, Feb 02, 2015 at 09:19:51PM +0800, Sebastien Bourdeauducq wrote: On Monday, February 02, 2015 06:00 PM, Mika Westerberg wrote: With this patch and IRQF_TRIGGER_LOW | IRQF_ONESHOT, I get an interrupt flood and the kernel disables the interrupt line. I have reverted it to

Re: i2c_hid: Could not register for interrupt, irq = -1 on Thinkpad Tablet 10

2015-02-02 Thread Sebastien Bourdeauducq
On Monday, February 02, 2015 06:00 PM, Mika Westerberg wrote: With this patch and IRQF_TRIGGER_LOW | IRQF_ONESHOT, I get an interrupt flood and the kernel disables the interrupt line. I have reverted it to IRQF_TRIGGER_FALLING | IRQF_ONESHOT, and the i2c_hid initialization completes

Re: i2c_hid: Could not register for interrupt, irq = -1 on Thinkpad Tablet 10

2015-02-02 Thread Mika Westerberg
On Sun, Feb 01, 2015 at 11:27:09AM +0800, Sebastien Bourdeauducq wrote: Hi, On Sunday, February 01, 2015 04:39 AM, Benjamin Tissoires wrote: Mika sent a patch recently which should solve your problem. Can you give a try to the following patch? https://patchwork.kernel.org/patch/5709961/

Re: i2c_hid: Could not register for interrupt, irq = -1 on Thinkpad Tablet 10

2015-02-02 Thread Sébastien Bourdeauducq
On 02/02/2015 09:48 PM, Mika Westerberg wrote: On Mon, Feb 02, 2015 at 09:19:51PM +0800, Sebastien Bourdeauducq wrote: With this computer nothing is normal. Every single component except the CPU, display and USB has major issues under Linux. We need to get one here then. Can you point me to

Re: i2c_hid: Could not register for interrupt, irq = -1 on Thinkpad Tablet 10

2015-02-02 Thread Benjamin Tissoires
On Mon, Feb 2, 2015 at 10:32 AM, Sébastien Bourdeauducq s...@m-labs.hk wrote: On 02/02/2015 09:48 PM, Mika Westerberg wrote: On Mon, Feb 02, 2015 at 09:19:51PM +0800, Sebastien Bourdeauducq wrote: With this computer nothing is normal. Every single component except the CPU, display and USB has

Re: i2c_hid: Could not register for interrupt, irq = -1 on Thinkpad Tablet 10

2015-02-02 Thread Sébastien Bourdeauducq
On 02/02/2015 11:42 PM, Benjamin Tissoires wrote: There has been a patch floating around last year which tried to pull all the available reports after the IRQ was triggered. I rejected it for the sake of not breaking existing devices, but maybe your device needs it.

Re: i2c_hid: Could not register for interrupt, irq = -1 on Thinkpad Tablet 10

2015-02-02 Thread Mika Westerberg
On Mon, Feb 02, 2015 at 11:32:19PM +0800, Sébastien Bourdeauducq wrote: On 02/02/2015 09:48 PM, Mika Westerberg wrote: On Mon, Feb 02, 2015 at 09:19:51PM +0800, Sebastien Bourdeauducq wrote: With this computer nothing is normal. Every single component except the CPU, display and USB has

Re: i2c_hid: Could not register for interrupt, irq = -1 on Thinkpad Tablet 10

2015-01-31 Thread Benjamin Tissoires
Hi, On Sat, Jan 31, 2015 at 10:01 AM, Sebastien Bourdeauducq s...@m-labs.hk wrote: Hi, among the many problems that the Baytrail-based Thinkpad Tablet 10 has under Linux, the built-in Wacom digitizer does not work. I get the following messages in the kernel log (with i2c_hid.debug=1): [

Re: i2c_hid: Could not register for interrupt, irq = -1 on Thinkpad Tablet 10

2015-01-31 Thread Sebastien Bourdeauducq
Hi, On Sunday, February 01, 2015 04:39 AM, Benjamin Tissoires wrote: Mika sent a patch recently which should solve your problem. Can you give a try to the following patch? https://patchwork.kernel.org/patch/5709961/ With this patch and IRQF_TRIGGER_LOW | IRQF_ONESHOT, I get an interrupt