All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: "Philip Müller" <philm@manjaro.org>,
	"stable@vger.kernel.org" <stable@vger.kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: [Regression] 6.8 - i2c_hid_acpi: probe of i2c-XXX0001:00 failed with error -110
Date: Wed, 27 Mar 2024 11:31:07 +0100	[thread overview]
Message-ID: <2ae8b161-b0e6-404a-afab-3822b8b223f4@redhat.com> (raw)
In-Reply-To: <a587f3f3-e0d5-4779-80a4-a9f7110b0bd2@manjaro.org>

Hi Philip,

On 3/19/24 5:52 AM, Philip Müller wrote:
> On 18/03/2024 17:58, Philip Müller wrote:
>> I'm currently developing on the OrangePi Neo-01, which ships with two similar touchpads using the Synaptics driver. On 6.7.10 those two devices get detected normally. On 6.8.1 it seems to error out.
>>
>> I either get none, or at best only one of those two devices.
>>
>> i2c_hid_acpi: probe of i2c-XXX0001:00 failed with error -110
>> i2c_hid_acpi: probe of i2c-XXX0002:00 failed with error -110
>>
>> what would be the best way to debug this?
>>
> 
> I found the regression in commit aa69d6974185e9f7a552ba982540a38e34f69690
> HID: i2c-hid: Switch i2c_hid_parse() to goto style error handling

I just checked that patch and I don't see anyway how that can create
this regression. I assume you did a git bisect ? 

Did you try the last commit in the tree before that commit got added
and verified that that one works where as building a kernel from commit
aa69d6974185e9f itself does not work ?

> When I use the commit before I can rmmod and modprobe in a batch script using a loop without erroring out to -110. Attached the testing script and dmesg log snippets
> 
> #!/bin/bash
> for ((n=0;n<5;n++))
> do
> sudo rmmod i2c_hid_acpi
> sleep 1
> sudo modprobe i2c_hid_acpi --force-vermagic
> sleep 2
> done

Ok, so you did try the commit before and that did work. Are you
sure that aa69d6974185e9f was not actually the last working
commit ?

AFAICT aa69d6974185e9f makes no functional changes, except for
actually propagating the error from i2c_hid_read_register()
rather then hardcoding -EIO. But that should not matter...

Note that commit aa69d6974185e9f is part of a series and
I would not be surprised if some other commit in that series
is causing your problem, but aa69d6974185e9f itself seems
rather harmless.

Regards,

Hans



  parent reply	other threads:[~2024-03-27 10:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-18 10:58 [Regression] 6.8 - i2c_hid_acpi: probe of i2c-XXX0001:00 failed with error -110 Philip Müller
2024-03-19  4:52 ` Philip Müller
2024-03-22 11:01   ` Linux regression tracking (Thorsten Leemhuis)
2024-03-27 10:31   ` Hans de Goede [this message]
2024-03-27 15:47     ` Philip Müller
2024-03-27 17:45       ` Hans de Goede
2024-03-29  3:40         ` Philip Müller
2024-04-01  6:20           ` Linux regression tracking (Thorsten Leemhuis)
2024-04-01  6:43             ` Philip Müller
2024-04-01 10:09               ` Philip Müller
2024-04-01 10:18                 ` Linux regression tracking (Thorsten Leemhuis)
2024-04-02  8:52           ` Hans de Goede
2024-04-02  9:20             ` Philip Müller

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=2ae8b161-b0e6-404a-afab-3822b8b223f4@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=philm@manjaro.org \
    --cc=stable@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.