Re: [PATCH 6/6] Input: ALPS - mix trackstick and external PS/2 mouse data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 15, 2015 at 09:34:51PM +0100, Pali Rohár wrote:
> On Wednesday 14 January 2015 23:55:54 Dmitry Torokhov wrote:
> > From: Pali Rohár <pali.rohar@xxxxxxxxx>
> > 
> > Previously dev2 device was used for both external PS/2 mouse
> > and internal trackstick device (if available). This change
> > introduces dev3 device which is used for external PS/2 mouse
> > data and dev2 is now used only for trackstick.
> > 
> > In case that trackstick is not present dev2 is not created, so
> > userspace does not see non existent device in system.
> > 
> > Because laptops with ALPS devices often do not use i8042
> > active multiplexing all data (from touchpad, trackstick and
> > external PS/2 mouse) come to one port.  So it is not possible
> > to know if external PS/2 mouse is connected or not. In most
> > cases external PS/2 mouse is not connected so driver will
> > create dev3 input device after first bare PS/2 packet will be
> > received. So there will not be "ghost" input device.
> > 
> > This change also helps in identifying possible problems in
> > future if driver decides to report 6-bytes trackstick packets
> > as 3-bytes bare PS/2 (data will be reported to dev3 instead
> > dev2).
> > 
> > Signed-off-by: Pali Rohár <pali.rohar@xxxxxxxxx>
> > Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> 
> Subject should be: "do *not* mix" or "prevent mix"

Right, I'll adjust it.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux