Control: tag -1 - moreinfo

On Mon, 2014-08-25 at 11:15 +0300, أحمد المحمودي wrote:
> On Sun, Aug 24, 2014 at 10:53:52AM -0700, Ben Hutchings wrote:
> > Please can you send the output of this command, firstly when psmouse is
> > loaded with the 'proto=exps' parameter, and secondly when it is loaded
> > without the parameter:
> > 
> >     cat /sys/class/input/mouse?/device/uevent
> ---end quoted text---
> 
> with proto=exps, I only have /sys/class/input/mouse0/device/uevent:
> 
> PRODUCT=11/2/1/0
> NAME="PS/2 Generic Mouse"
> PHYS="isa0060/serio1/input0"
> PROP=0
> EV=7
> KEY=70000 0 0 0 0
> REL=3
> MODALIAS=input:b0011v0002p0001e0000-e0,1,2,k110,111,112,r0,1,amlsfw

This is a device that will emit mouse-like relative movement events and
button presses.  Presumably the touchpad firmware does mouse emulation
in this mode.

> without setting 'proto' parameter, I have two devices:
> 
> /sys/class/input/mouse0/device/uevent:
> PRODUCT=11/2/8/0
> NAME="ALPS PS/2 Device"
> PHYS="isa0060/serio1/input1"
> PROP=0
> EV=7
> KEY=70000 0 0 0 0
> REL=3
> MODALIAS=input:b0011v0002p0008e0000-e0,1,2,k110,111,112,r0,1,amlsfw

This is a device that will emit mouse-like relative movement events and
button presses.  I would guess that it doesn't emit any events in thise
mode.

> /sys/class/input/mouse1/device/uevent:
> PRODUCT=11/2/8/300
> NAME="AlpsPS/2 ALPS GlidePoint"
> PHYS="isa0060/serio1/input0"
> PROP=8
> EV=b
> KEY=e420 70000 0 0 0 0
> ABS=260800001000003
> MODALIAS=input:b0011v0002p0008e0300-e0,1,3,k110,111,112,145,14A,14D,14E,14F,ra0,1,18,2F,35,36,39,mlsfw

This is a device that will emit absolute touch events, i.e. the
touchpad's native mode.

The mousedev driver has bound to both of these devices, and for the
second it should track the absolute touch events and convert them into
mouse-like relative movement events and button presses.

Ben.

-- 
Ben Hutchings
All extremists should be taken out and shot.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to