linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: Benjamin Tissoires <benjamin.tissoires@redhat.com>,
	Jiri Kosina <jikos@kernel.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>, linux-input@vger.kernel.org
Subject: Re: [PATCH 0/2] HID: i2c-hid: Do not register i2c_hid_driver on devices with a CHPN0001 touchscreen
Date: Tue, 27 Jun 2017 15:13:57 +0200	[thread overview]
Message-ID: <6f7c4390-085d-2b22-cbf7-733ee2404307@redhat.com> (raw)
In-Reply-To: <20170627124845.GD26073@mail.corp.redhat.com>

Hi,

On 06/27/2017 02:48 PM, Benjamin Tissoires wrote:
> On Jun 27 2017 or thereabouts, Jiri Kosina wrote:
>> On Sun, 18 Jun 2017, Hans de Goede wrote:
>>
>>> Hi Jiri, Benjamin,
>>>
>>> As discussed with myself in the linux-input thread about adding
>>> icn8505 (ACPI HID CHPN0001) devices to the icn8313 driver:
>>> https://www.spinics.net/lists/linux-input/msg51916.html
>>>
>>> Unfortunately the ACPI node for this non HID compatible device has an
>>> ACPI CID (compatility ID) of PNP0C50 causing the i2c-hid driver to bind,
>>> which leads to the touchscreen not working (see the second patch
>>> commit message for details).
>>>
>>> Although these 2 patches are not really pretty I believe they are the
>>> best way to fix this.
>>>
>>> Note that even if I do add firmware upload support to the icn8318 driver,
>>> we still have the issue left of i2c-hid doing a
>>> dev_err(dev, "hid_descr_cmd failed") which is also undesirable.
>>>
>>> A normal system bootup should have no output for "dmesg --level=err",
>>> this is esp. important for the flickerfree boot experience both Fedora
>>> and Ubuntu have been working towards. Any _err kernel messages will
>>> cause the splash screen to drop back to text-mode breaking the
>>> flickerfree experience. So to silence that error we would need to
>>> blacklist the CHPN0001 ACPI HID somewhere in the i2c-hid driver
>>> anyways.
>>
>> Benjamin, as i2c-hid is mainly your playground, would you mind (n)Acking
>> this? :)
>>
> 
> Sorry, I should have replied here too.
> 
> I still maintain: http://www.spinics.net/lists/linux-input/msg51961.html
> So unless we have some new elements, I am NAcking this patch.

I was planning on implementing the suggested match stuff right away so I
did not answer you, but I did not find the time. So let me at least reply
now :)

I agree that the match callback solution you propose in the mail you
linked is better then my initial fix for this, so I will implement that
and then we will so how that is received.

Regards,

Hans

      reply	other threads:[~2017-06-27 13:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-18 10:14 [PATCH 0/2] HID: i2c-hid: Do not register i2c_hid_driver on devices with a CHPN0001 touchscreen Hans de Goede
2017-06-18 10:14 ` [PATCH 1/2] HID: i2c-hid: Expand module_i2c_driver macro Hans de Goede
2017-06-18 10:14 ` [PATCH 2/2] HID: i2c-hid: Do not register i2c_hid_driver on devices with CHPN0001 touchscreen Hans de Goede
2017-06-27 12:26 ` [PATCH 0/2] HID: i2c-hid: Do not register i2c_hid_driver on devices with a " Jiri Kosina
2017-06-27 12:48   ` Benjamin Tissoires
2017-06-27 13:13     ` Hans de Goede [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6f7c4390-085d-2b22-cbf7-733ee2404307@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=benjamin.tissoires@redhat.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=jikos@kernel.org \
    --cc=linux-input@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).