LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Touchpad recognized as an ImPS/2 Generic Wheel Mouse (https://www.linuxquestions.org/questions/slackware-14/touchpad-recognized-as-an-imps-2-generic-wheel-mouse-4175675292/)

JYCoret 05-15-2020 03:45 AM

Touchpad recognized as an ImPS/2 Generic Wheel Mouse
 
Hi, I just installed Slackware 14.2 and completed all updates through slackpkg. Now I usually have double tap over TouchPad set to middle click and when I tried to set this up through synclient it will not recognise my TouchPad.

I tried copying /usr/share/X11/xorg.conf.d/50-synaptics.conf to /etc/X11/xorg.conf.d but this did not do anything.

Here is the output of synclient. All commands are run as root.
Code:

#synclient -l
Couldn't find synaptics properties. No synaptics driver loaded?

So I checked how the system recognizes the TouchPad and got this:
Code:

#cat /proc/bus/input/devices
.
.
.
I: Bus=0011 Vendor=0002 Product=0005 Version=0000
N: Name="ImPS/2 Generic Wheel Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input8
U: Uniq=
H: Handlers=mouse0 event7
B: PROP=1
B: EV=7
B: KEY=70000 0 0 0 0
B: REL=103
.
.
.

Code:

#xinput --list
â¡ Virtual core pointer                        id=2    [master pointer  (3)]
â  â³ Virtual core XTEST pointer              id=4    [slave  pointer  (2)]
â  â³ ImPS/2 Generic Wheel Mouse              id=12  [slave  pointer  (2)]
⣠Virtual core keyboard                        id=3    [master keyboard (2)]
    â³ Virtual core XTEST keyboard              id=5    [slave  keyboard (3)]
    â³ Power Button                            id=6    [slave  keyboard (3)]
    â³ Video Bus                                id=7    [slave  keyboard (3)]
    â³ Power Button                            id=8    [slave  keyboard (3)]
    â³ Sleep Button                            id=9    [slave  keyboard (3)]
    â³ Integrated Webcam                        id=10  [slave  keyboard (3)]
    â³ AT Translated Set 2 keyboard            id=11  [slave  keyboard (3)]
    â³ Dell WMI hotkeys                        id=13  [slave  keyboard (3)]
    â³ Speakup                                  id=14  [slave  keyboard (3)]

Can someone help me resolve this. Thanks.

ferrari 05-15-2020 07:29 PM

Post the output from
Code:

dmesg | egrep "input|i8042"
Laptop make/model details might also be useful.

JYCoret 05-16-2020 02:52 AM

Code:

#dmesg | egrep "input|i8042"
[    4.050075] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[    4.051613] i8042: Warning: Keylock active
[    4.054206] serio: i8042 KBD port at 0x60,0x64 irq 1
[    4.055339] serio: i8042 AUX port at 0x60,0x64 irq 12
[    4.061099] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[    4.078188] input: Speakup as /devices/virtual/input/input2
[    8.385794] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input3
[    8.390521] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input4
[    8.393989] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input5
[    8.397687] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input6
[  10.608506] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input7
[  11.246786] input: Dell WMI hotkeys as /devices/virtual/input/input8
[  12.084338] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input9
[  13.717756] input: Integrated Webcam as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input10
[  15.325842] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[  15.461811] input: HDA Intel PCH Headphone Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input11
[  15.463167] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input12
[  15.464522] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input13
[  15.466323] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input14

The laptop is a dell inspiron 15 5000 series p75f001

ferrari 05-16-2020 03:54 AM

Quote:

Originally Posted by JYCoret (Post 6123747)
The laptop is a dell inspiron 5000 series p75f001

Ok...a recent model. The kernel does not yet support the touchpad device...
Code:

[  10.608506] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input7

JYCoret 05-16-2020 04:01 AM

Oh I see. Thanks.

ferrari 05-16-2020 04:02 AM

A guide that shows how one would go about building a more recent kernel from https://www.kernel.org/

https://edersoncorbari.github.io/tut...-build-kernel/

JYCoret 05-16-2020 04:05 AM

Could slackware current be an option here?

ferrari 05-16-2020 04:13 AM

I'm not a SL user, but I guess so.

abga 05-16-2020 05:10 AM

@JYCoret

I was about to suggest that the touchpad could be connected on i2c and that the kernel provided by Slackware 14.2 is not recognizing it properly, but ferrari already clarified that.

You could try & use the kernel from Slackware -current and still stay on Slackware 14.2
Adapt the instructions for the actual kernel version(s):
https://www.linuxquestions.org/quest...ml#post6053120

JYCoret 05-16-2020 05:24 AM

Okay thanks will give this a go.

JYCoret 05-16-2020 09:33 AM

Installed the latest kernel-modules and kernel-huge from Slackware current and it resolves one problem. My touchpad is now being recognised as a touchpad! Great!

But there is some fine tuning required, which I have no idea how to do! Two things I noticed:

Windows key is no more mapped to it, ksuperkey does not work and when pressed while in a terminal I have "p" written.

Also from the touchpad all single clicks are read as left click, even on the bottom right which should be right click. Can you help me correct this.

Synclient output:

Code:

# synclient -l
Parameter settings:
    LeftEdge                = 480
    RightEdge              = 2720
    TopEdge                = 345
    BottomEdge              = 1959
    FingerLow              = 12
    FingerHigh              = 15
    MaxTapTime              = 180
    MaxTapMove              = 173
    MaxDoubleTapTime        = 100
    SingleTapTimeout        = 180
    ClickTime              = 100
    EmulateMidButtonTime    = 0
    EmulateTwoFingerMinZ    = 141
    EmulateTwoFingerMinW    = 7
    VertScrollDelta        = 78
    HorizScrollDelta        = 78
    VertEdgeScroll          = 0
    HorizEdgeScroll        = 0
    CornerCoasting          = 0
    VertTwoFingerScroll    = 1
    HorizTwoFingerScroll    = 0
    MinSpeed                = 1
    MaxSpeed                = 1.75
    AccelFactor            = 0.0507228
    TouchpadOff            = 0
    LockedDrags            = 0
    LockedDragTimeout      = 5000
    RTCornerButton          = 0
    RBCornerButton          = 0
    LTCornerButton          = 0
    LBCornerButton          = 0
    TapButton1              = 1
    TapButton2              = 2
    TapButton3              = 3
    ClickFinger1            = 1
    ClickFinger2            = 3
    ClickFinger3            = 2
    CircularScrolling      = 0
    CircScrollDelta        = 0.1
    CircScrollTrigger      = 0
    CircularPad            = 0
    PalmDetect              = 0
    PalmMinWidth            = 10
    PalmMinZ                = 100
    CoastingSpeed          = 20
    CoastingFriction        = 50
    PressureMotionMinZ      = 15
    PressureMotionMaxZ      = 80
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    GrabEventDevice        = 0
    TapAndDragGesture      = 1
    AreaLeftEdge            = 0
    AreaRightEdge          = 0
    AreaTopEdge            = 0
    AreaBottomEdge          = 0
    HorizHysteresis        = 19
    VertHysteresis          = 19
    ClickPad                = 1
    RightButtonAreaLeft    = 0
    RightButtonAreaRight    = 0
    RightButtonAreaTop      = 0
    RightButtonAreaBottom  = 0
    MiddleButtonAreaLeft    = 0
    MiddleButtonAreaRight  = 0
    MiddleButtonAreaTop    = 0
    MiddleButtonAreaBottom  = 0


alekow 05-16-2020 01:59 PM

Hi,

You need to edit your /etc/X11/xorg.conf.d/50-synaptics.conf

Mine looks like this:

Code:

Section "InputClass"
        Identifier "touchpad"
        Driver "synaptics"
        MatchDevicePath "/dev/input/event*"
        MatchIsTouchpad "on"
        Option "TapButton1" "1"
        Option "TapButton2" "2"
        Option "TapButton3" "3"
        Option "VertTwoFingerScroll" "on"
        Option "HorizTwoFingerScroll" "on"
        Option "VertEdgeScroll" "on"
        Option "HorizEdgeScroll" "off"
        Option "SoftButtonAreas"  "55% 0 82% 0 45% 54% 82% 0"
EndSection

Just edit it to your liking. You will find the explanation of the options in:
Code:

man synaptics

ferrari 05-16-2020 04:44 PM

Quote:

Originally Posted by JYCoret (Post 6123893)
Installed the latest kernel-modules and kernel-huge from Slackware current and it resolves one problem. My touchpad is now being recognised as a touchpad! Great!

Good to know. :)

JYCoret 05-17-2020 03:29 AM

Quote:

Originally Posted by alekow (Post 6123965)
You need to edit your [B]/etc/X11/xorg.conf.d/50-synaptics.conf

Thanks edited the file and everything is working fine except for the windows button but I can live without it!

Thanks all for your help.
Cheers

abga 05-17-2020 04:16 AM

@JYCoret

Happy to hear that the newer kernel resolves your problem.

If you plan to stay on Slackware 14.2 and continue using the kernel from -current, then you'll need to perform the kernel updates manually.

- from the Slackware 14.2 updates only update the kernel-headers-* package (important! don't use the headers from the -current kernel!)
https://mirror.de.leaseweb.net/slack...linux-4.4.217/

- then manually update the kernel-firmware-* , kernel-huge-* and kernel-modules-* from -current.
https://mirror.de.leaseweb.net/slack...slackware64/a/

- don't forget to execute /sbin/lilo (or any other bootloader you're using) to update the boot loader entries after kernel updates, or your system won't boot


All times are GMT -5. The time now is 04:56 AM.