The officially official Devuan Forum!

You are not logged in.

#1 2024-06-05 16:32:23

semil
Member
Registered: 2023-08-05
Posts: 23  

GPM and Synaptics touchpad features

In https://raw.githubusercontent.com/telmi … .synaptics , there are tapping, scrolling, and so forth.

Does anyone have this working?

Offline

#2 2024-06-06 03:09:13

aluma
Member
Registered: 2022-10-26
Posts: 646  

Re: GPM and Synaptics touchpad features

Works without problems on 3 laptops.

Offline

#3 2024-06-06 12:26:02

Altoid
Member
Registered: 2017-05-07
Posts: 1,581  

Re: GPM and Synaptics touchpad features

Hello:

semil wrote:

... anyone have this working?

Yes, I don't like it so I don't use it much, but it works.

This on an Asus 1000HE running Devuan Beowulf on a backported kernel:

~$ uname -a
Linux eee-dev 5.10.0-0.deb10.16-686-pae #1 SMP Debian 5.10.127-2-bpo10+1 (2022-07-28) i686 GNU/Linux

My dmesg printout says this:

~$ sudo dmesg | grep -i serio1
3 --- snip ---
4 [    6.186975] psmouse serio1: elantech: assuming hardware version 2 (with firmware version 0x020030)
5 [    6.285227] psmouse serio1: elantech: Synaptics capabilities query result 0x00, 0x02, 0x64.
6 [    6.371781] psmouse serio1: elantech: Elan sample query result 00, 03, 64
7 [    6.595103] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input2
8 --- snip ---

Run sudo dmesg | grep -i synaptics, sudo dmesg | grep -i elantech and see what you get in the printout.

You may also want to consider posting (some?) information about the hardware and Devuan release you are using so that you can get more help.

Best,

A.

Offline

#4 2024-06-06 13:37:00

semil
Member
Registered: 2023-08-05
Posts: 23  

Re: GPM and Synaptics touchpad features

Sure, I just didn’t want to engage in a time-consuming post if the answer was that it hasn’t worked in 15 years, which seemed quite likely with the state of GPM. This is daedalus on a thinkpad x201.

Linux semil 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux
[    3.416876] psmouse serio1: synaptics: queried max coordinates: x [..5888], y [..4810]
[    3.496504] psmouse serio1: synaptics: Touchpad model: 1, fw: 7.4, id: 0x1e0b1, caps: 0xd047b1/0xb40000/0xa0000/0x0, board id: 0, fw id: 615624
[    3.496650] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
[    3.546599] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input2

Did you have to do any GPM configuration to get the Synaptics features, or did it Just Work?

Offline

#5 2024-06-06 14:52:25

Altoid
Member
Registered: 2017-05-07
Posts: 1,581  

Re: GPM and Synaptics touchpad features

Hello:

semil wrote:

... have to do any GPM configuration ...

Sorry, I misunderstood your question. ie: I thought the trackpad was not working at all.

I don't use GPM.

But from what I gather, it does need a bit of configuration to get it to work, albeit with varied results.

HTH.

Best,

A.

Offline

#6 2024-06-06 15:39:30

aluma
Member
Registered: 2022-10-26
Posts: 646  

Re: GPM and Synaptics touchpad features

@semil
The xserver-xorg-input-synaptics package, in which the /usr/bin/synclient program will show the current settings.
You can change it by editing the settings file manually or using the GUI that is available in some DEs.
I have a thinkpad x201 with daedalus, everything works, I repeat.

Offline

#7 2024-06-06 16:53:34

semil
Member
Registered: 2023-08-05
Posts: 23  

Re: GPM and Synaptics touchpad features

To be clear, you have taken some settings shown by synclient and put them in a gpm configuration file such as /etc/gpm-syn.conf, and, as a result, on the console, the touchpad now does more than simply move the mouse around?

Offline

#8 2024-06-06 17:11:10

aluma
Member
Registered: 2022-10-26
Posts: 646  

Re: GPM and Synaptics touchpad features

For example, I needed vertical and horizontal scrolling with one finger.
By default, vertical is two and horizontal is disabled.

Only the settings in 70-synaptics.conf or by default somewhere in /usr/lib, I apologize, I’m writing from another computer and don’t remember the exact link. This can be seen in the files of the package I mentioned.

The recording format, for example "Option "VertEdgeScroll" "1"", will be prompted by synclient.

Offline

#9 2024-06-06 19:18:02

semil
Member
Registered: 2023-08-05
Posts: 23  

Re: GPM and Synaptics touchpad features

I have the feeling that you’re talking purely about configuring the touchpad under X11 and not about gpm and the console at all, but I’m not quite certain.

Offline

#10 2024-06-07 06:42:15

aluma
Member
Registered: 2022-10-26
Posts: 646  

Re: GPM and Synaptics touchpad features

Yes, this was all about graphics mode (runlevel 2).
If you open a virtual terminal (ctl-alt-F1) from this level, then the touchpad works, at least the mc file manager can be controlled.

If I go to runlevel 1 with the

telinit 1

  command, neither the mouse nor the touchpad works, although I enabled the gpm service at this level.

Last edited by aluma (2024-06-07 07:09:35)

Offline

#11 2024-06-07 16:37:54

semil
Member
Registered: 2023-08-05
Posts: 23  

Re: GPM and Synaptics touchpad features

Right, the basic functionality of mouse motion works on the console, but the more advanced functions that I mentioned and linked to in my initial post, such as tapping, I haven’t managed to get working, and that was what I wanted to find out about.

Not that it’s terribly important, but I’m accustomed to tapping when in X, so on the console I reflexively tap first, see that nothing happened, and then use the physical button.

Offline

#12 2024-06-07 17:22:14

aluma
Member
Registered: 2022-10-26
Posts: 646  

Re: GPM and Synaptics touchpad features

I practically never work in a virtual terminal, I haven’t touched the gpm settings, but double-clicking (tap the touchpad twice)  on the folder name in mc opens it.

Last edited by aluma (2024-06-07 17:25:00)

Offline

#13 2024-06-07 22:00:41

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,251  

Re: GPM and Synaptics touchpad features

@semil, whan I just now installed gpm and tried it on a console, it happily responded to tapping as clicking. It's missing out on other fancy stuff that I've set up on synclient for X11 but it handls single, double tripple taps well.

Have you verified that /etc/gpm.conf says device=/dev/input/mice (and type=exps2) ?

Offline

#14 2024-06-08 15:46:37

semil
Member
Registered: 2023-08-05
Posts: 23  

Re: GPM and Synaptics touchpad features

Oh, I’m sorry, I said it wrong. This is such muscle memory for me that I fail to notice what I’m doing in order to describe it properly.

Yes, tapping is working for clicks.

Really what I don’t have is when you tap and then drag your finger in order to select an arbitrary amount of text, like what I get from holding the left mouse button and moving the mouse. That’s consistently what I want to do on console, and selecting words and lines is less common for me.

Offline

#15 2024-06-09 06:56:11

aluma
Member
Registered: 2022-10-26
Posts: 646  

Re: GPM and Synaptics touchpad features

Thinkpad x201 has a middle button, when pressed it should paste the contents of the clipboard (selected text, for example).
You don't have to drag the entire test, just put the cursor in the right place.

But habit of course takes precedence smile

Last edited by aluma (2024-06-09 07:06:21)

Offline

#16 2024-06-09 16:40:11

semil
Member
Registered: 2023-08-05
Posts: 23  

Re: GPM and Synaptics touchpad features

What I’m saying is it’s common for me to want to copy an arbitrary amount of text, so with the trackpoint, I move the cursor to the correct place, press and hold the left mouse button, and move the trackpoint to select my text. And when in X, on the touchpad, I’ll tap and drag to select an arbitrary amount of text. But on the console, I’ll attempt to tap and drag, but all that happens is a left click that does nothing because I’m probably just in the shell, followed by mouse motion.

Offline

Board footer