S
spartid
Guest
Hello everyone,
Having freshly installed FreeBSD for the first time, I enjoy it a lot. The only problem I get is that my Elantech touchpad can't work properly. So, this is what I have:
- FreeBSD 11.2-RELEASE
- Laptop: Why! 650SZ
1) I installed x11/libsynaptics, x11-drivers/xf86-input-synaptics. devel/libevdev and x11-drivers/xf86-input-evdev are installed as well.
2) in /etc/rc.conf
2) in /boot/loader.conf
But this is the output of
It seems that my touchpad is recognised, but because the capability bits can't be read, Xorg falls back to the Generic PS/2 Mouse model.
So I searched through the Web about that. I found the psm(4) driver source code, which says the following about the Elantech touchpad:
I'm not really sure what else to provide...
I'm sorry but I'm not (yet) able to program in C. What I understand is the following: if the values passed in the function
Cheers,
spartid
Having freshly installed FreeBSD for the first time, I enjoy it a lot. The only problem I get is that my Elantech touchpad can't work properly. So, this is what I have:
- FreeBSD 11.2-RELEASE
- Laptop: Why! 650SZ
1) I installed x11/libsynaptics, x11-drivers/xf86-input-synaptics. devel/libevdev and x11-drivers/xf86-input-evdev are installed as well.
2) in /etc/rc.conf
Code:
dbus_enable="YES"
hald_enable="YES"
moused_enable="NO"
2) in /boot/loader.conf
Code:
hw.psm.elantech_support="1"
debug.psm.loglevel="2"
But this is the output of
dmesg -a
:
Code:
... snipped...
psm: status 45 0f 02
Elantech touchpad hardware v.3 firmware v.0x450f02
psm: SEND_AUX_DEV_STATUS return code: 00fa
psm: status 00 01 14
Failed to read capability bits
... snipped...
psm: status 00 02 64
psm: <PS/2 Mouse> flags 0x2000 irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 Mouse, device ID 0-00, 3 buttons
psm0: config: 00002000, flags 00000008, packet size: 3
psm0: syncmask: c0, syncbits: 00
It seems that my touchpad is recognised, but because the capability bits can't be read, Xorg falls back to the Generic PS/2 Mouse model.
So I searched through the Web about that. I found the psm(4) driver source code, which says the following about the Elantech touchpad:
Code:
}
/* Get the Touchpad model information. */
elanhw.hwversion = hwversion;
elanhw.issemimt = hwversion == 2;
elanhw.isclickpad = (resp[1] & 0x10) != 0;
elanhw.hascrc = (resp[1] & 0x40) != 0;
elanhw.haspressure = elanhw.fwversion >= 0x020800;
/* Read the capability bits. */
if (elantech_cmd(kbdc, hwversion, ELANTECH_CAPABILITIES, resp) != 0) {
printf(" Failed to read capability bits\n");
return (FALSE);
}
I'm not really sure what else to provide...
I'm sorry but I'm not (yet) able to program in C. What I understand is the following: if the values passed in the function
elantech_cmd
are different from 0, then the capability bits can't be read, which is the case for me. So, there comes my questions : what do I have to do if I want the capability bits to be read ? What did I do wrong whith my configuration ?Cheers,
spartid