Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1575092 > unrolled thread

Re: [PATCH 00/10] Add binding from PS/2 to SMBus for Synaptics and Elan

Started byDmitry Torokhov <dmitry.torokhov@gmail.com>
First post2017-02-06 20:30 +0100
Last post2017-02-06 20:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 00/10] Add binding from PS/2 to SMBus for Synaptics and  Elan Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-02-06 20:30 +0100

#1575092 — Re: [PATCH 00/10] Add binding from PS/2 to SMBus for Synaptics and Elan

FromDmitry Torokhov <dmitry.torokhov@gmail.com>
Date2017-02-06 20:30 +0100
SubjectRe: [PATCH 00/10] Add binding from PS/2 to SMBus for Synaptics and Elan
Message-ID<t7X98-Lb-27@gated-at.bofh.it>
Hi Benjamin,

On Mon, Jan 30, 2017 at 02:05:39PM +0100, Benjamin Tissoires wrote:
> Hi Dmitri,
> 
> On Tue, Jan 10, 2017 at 5:11 PM, Benjamin Tissoires
> <benjamin.tissoires@redhat.com> wrote:
> > Hi,
> >
> > Well, this is the last series which enables RMI4 over SMBus for the Thinkpad
> > t*40, t*50, t*60 series. Few comments on the patches:
> >
> > patches 1 to 3 allows the re-routing of the trackstick buttons from the touchpad
> >   to the trackstick
> > patch 4 to 7 allow rmi_smbus to actually control the PS/2 node to not resume and
> >   mess up the configuration after a resume
> > patch 8 was originally sent as a RMI4 specific driver, but I came to realise
> >   that Elan could also benefit from the same driver
> 
> Any comments on the first 8 patches?

I think that by trying to "unwind" unsuccessful SMbus initialization you
make the code much more complicated and fragile. I think we should
select a path (PS/2 or SMbus) and commit to it. If we commit to SMBus
then we need to communicate that fact to psmouse core so that it does
not create input devices or psmouse attributes, and "short-circuit" the
reconnect() routines to simply ignore requests and always report
success.

Thanks.

-- 
Dmitry

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web