From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Kim Phillips <kim@kimphillips.com>,
Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: linux-kernel@vger.kernel.org, Paul Menzel <pmenzel@molgen.mpg.de>,
linux-input@vger.kernel.org
Subject: Re: [PATCH] Input: synaptics - add PNP IDs for Dell XPS models to forcepad
Date: Mon, 14 Jan 2019 10:40:12 -0800 [thread overview]
Message-ID: <20190114184012.GC117329@dtor-ws> (raw)
In-Reply-To: <22e2d619-0622-1816-2057-c9005288b46b@kimphillips.com>
On Sat, Jan 12, 2019 at 04:04:36PM -0600, Kim Phillips wrote:
> On 1/11/19 7:40 PM, Dmitry Torokhov wrote:
> > Hi Kim,
>
> Hi Dmitry,
>
> > On Fri, Jan 11, 2019 at 02:54:30PM -0600, Kim Phillips wrote:
> >> This patch is the result of seeing this message:
> >>
> >> psmouse serio1: synaptics: Your touchpad (PNP: DLL087c PNP0f13) says it can support a different bus. If i2c-hid and hid-rmi are not used, you might want to try setting psmouse.synaptics_intertouch to 1 and report this to linux-input@vger.kernel.org.
> >>
> >> If I set psmouse.synaptics_intertouch=1, or add the PNP ID to
> >> smbus_pnp_ids, the touchpad continues to work, and the above message
> >> goes away, but we now get:
> >>
> >> psmouse serio1: synaptics: Trying to set up SMBus access
> >> psmouse serio1: synaptics: SMbus companion is not ready yet
> >>
> >> With this patch applied, i.e., the PNP IDs are added to the forcepad
> >> array, the touchpad continues to work and all of the above messages
> >> disappear.
> >
> > Are you sure the touchpad in XPSes is a forcepad (i.e. it does not have
> > physical button underneath it)? As far as I know there were only couple
> > of HP laptops with forcepads and when switching to RMI mode forcepads
> > need F21 handler that we do not currently have in the kernel.
>
> I see, no, I'm not sure, but assuming you're right, the IDs
> should be added to the smbus array instead, after fixing
> the SMbus "companion not ready" problem? Pointers for that and
> the below interrupts when touchpad idle after resume, welcome.
>
> Also, the link to get the RMI4 spec in
> Documentation/devicetree/bindings/input/rmi4/rmi_2d_sensor.txt
> is broken. Any pointers for that also appreciated.
OK, sorting it all out some more:
- because we do not have support for F21 necessary for forcepads adding
APIC ID to forcepad list actuallty disables SMbus companion mode, that
is why you no longer see "companion not ready" messages vs. setting
psmouse.synaptics_intertouch=1 module parameter.
- this does not really matter as your touchpad ends up being driven by
i2c-hid and hid-multitouch drivers, and that is how we wait it to
work, as we do not want to deviate from behavior on Windows since OEM
tested it (the device and firmware) in tha configuration.
- we need to figure out issue with interrupts on resume, maybe Benjamin
have seen it?
Thanks.
--
Dmitry
next prev parent reply other threads:[~2019-01-14 18:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-11 20:54 [PATCH] Input: synaptics - add PNP IDs for Dell XPS models to forcepad Kim Phillips
2019-01-12 1:40 ` Dmitry Torokhov
2019-01-12 22:04 ` Kim Phillips
2019-01-14 18:40 ` Dmitry Torokhov [this message]
2019-01-15 8:57 ` Benjamin Tissoires
2019-01-15 10:12 ` Paul Menzel
2019-01-16 4:59 ` Kim Phillips
2019-01-17 8:13 ` Benjamin Tissoires
2019-01-21 23:10 ` Kim Phillips
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=20190114184012.GC117329@dtor-ws \
--to=dmitry.torokhov@gmail.com \
--cc=benjamin.tissoires@redhat.com \
--cc=kim@kimphillips.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pmenzel@molgen.mpg.de \
/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).