You are not logged in.
Touchpad is working properly (scrolling and etc is working too), but it's not working after hibernation and doing everything from here doesn't help.
xinput outputs:
ETPS/2 Elantech Touchpad id=13 [slave pointer (2)]but after hibernation touchpad is missing here.
journalctl | grep -i touch outputs:
input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input8and journalctl doesn't output anything strange after hibernation.
Synclient says that it
Couldn't find synaptics properties. No synaptics driver loaded?All packages are up to date. I have this problem for several months since fresh install. So how do I fix it?
Sorry for broken English if it is.
Last edited by dummy0 (2016-01-24 18:47:32)
Offline
Does it work if you manually unload the touchpad driver, e.g.
# modprobe -r psmousefirst, then hibernate, resume and load it again?
The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.
Offline
Does it work if you manually unload the touchpad driver, e.g.
# modprobe -r psmousefirst, then hibernate, resume and load it again?
No, it's not working this way too. Everything else is the same.
Offline
Which module is the kernel using for the touchpad? "psmouse" or another?
How about suspend (instead of hibernate) /resume, same error or does it work then?
Have you set any special kernel parameters regarding ACPI for the laptop?
The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.
Offline
Which module is the kernel using for the touchpad? "psmouse" or another?
psmouse.
How about suspend (instead of hibernate) /resume, same error or does it work then?
Both suspend and hibernate causes it. xinput and journalctl outputs are same too.
Have you set any special kernel parameters regarding ACPI for the laptop?
No. It's been happening since fresh install.
Offline
Strike0 wrote:Which module is the kernel using for the touchpad? "psmouse" or another?
psmouse.
Ok, could be a BIOS or psmouse bug then. I bet you have checked, if a new BIOS is available and/or bugs are filed for your touchpad model.
Have you considered the X.org driver as culprit? Which errors does the X.org logfile throw after resume?
Does it make a difference, if you manually stop X from a console, check that the synaptics driver is unloaded, then hibernate/suspend and resume from console and start X again? If the touchpad works in this case, you can try the libinput driver instead of synaptics.
The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.
Offline
I bet you have checked, if a new BIOS is available and/or bugs are filed for your touchpad model.
I did updated BIOS before creating this thread.
Have you considered the X.org driver as culprit? Which errors does the X.org logfile throw after resume?
That's the output of log file after resuming:
(EE) ETPS/2 Elantech Touchpad: Read error 19
(II) config/udev: removing device ETPS/2 Elantech Touchpad
(II) UnloadModule: "synaptics"
(II) systemd-logind: releasing fd for 13:77I tried googling the error and it looks like no one solved it with this touchpad. I guess it's a bug.
Does it make a difference, if you manually stop X from a console, check that the synaptics driver is unloaded, then hibernate/suspend and resume from console and start X again? If the touchpad works in this case, you can try the libinput driver instead of synaptics.
No it doesn't make a difference, but I still tried using libinput instead and it doesn't help.
Offline
Alright, well you comprehensively tried a lot to get it running. One final straw I can think of: Does your notebook feature a function key to disable the touchpad? If yes (and the function key shortcut works in Linux), does it help to disable the touchpad before suspend with it?
Other than that I am out of ideas myself, you could of course try to get upstream feedback with a bug report. I don't know if Elantech has a channel for Linux support. If you are out-of-luck with them, perhaps try the kernel maintainers for psmouse for feedback. I think the below log excerpt is useful reference in this case to add to relevant dmesg and journalctl output.
Strike0 wrote:Have you considered the X.org driver as culprit? Which errors does the X.org logfile throw after resume?
That's the output of log file after resuming:
(EE) ETPS/2 Elantech Touchpad: Read error 19 (II) config/udev: removing device ETPS/2 Elantech Touchpad (II) UnloadModule: "synaptics" (II) systemd-logind: releasing fd for 13:77I tried googling the error and it looks like no one solved it with this touchpad. I guess it's a bug.
The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.
Offline
my notebook asus a455ld has this issue since a year ago and there is still no official patch.
Someone suggest me to compile kernel with custom patch given Here
maybe you can try yourself.
Offline
Someone suggest me to compile kernel with custom patch given Here
maybe you can try yourself.
Is this the correct patch? http://marc.info/?l=linux-input&m=144312209020616&w=2
I could not get it to apply cleanly to the 4.4.1 kernel with the usual
patch -Np1 -idiff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c
index 4541957..5ce3f89 100644
--- a/drivers/input/serio/i8042.c
+++ b/drivers/input/serio/i8042.c
@@ -25,6 +25,7 @@
#include <linux/i8042.h>
#include <linux/slab.h>
#include <linux/suspend.h>
+#include <linux/dmi.h>
#include <asm/io.h>
@@ -140,6 +141,7 @@ static bool i8042_aux_irq_registered;
static unsigned char i8042_suppress_kbd_ack;
static struct platform_device *i8042_platform_device;
static struct notifier_block i8042_kbd_bind_notifier_block;
+static bool i8042_noselftest;
static irqreturn_t i8042_interrupt(int irq, void *dev_id);
static bool (*i8042_platform_filter)(unsigned char data, unsigned char str,
@@ -891,6 +893,13 @@ static int i8042_controller_selftest(void)
int i = 0;
/*
+ * On some hardware just running the self test causes problems.
+ * In that case, don't run the test and just assume success.
+ */
+ if (i8042_noselftest)
+ return 0;
+
+ /*
* We try this 5 times; on some really fragile systems this does not
* take the first time...
*/
@@ -1547,6 +1556,17 @@ static int i8042_remove(struct platform_device *dev)
return 0;
}
+static const struct dmi_system_id i8042_dmi_noselftest_table[] __initconst = {
+ {
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "X455LAB"),
+ },
+ },
+ {}
+};
+
+
static struct platform_driver i8042_driver = {
.driver = {
.name = "i8042",
@@ -1568,6 +1588,8 @@ static int __init i8042_init(void)
int err;
dbg_init();
+ if (dmi_check_system(i8042_dmi_noselftest_table))
+ i8042_noselftest = true;
err = i8042_platform_init();
if (err)Applies cleanly and compiles.
Due to lack of hardware I can not test it.
Would also ensure that the strings being used in DMI_MATCH are correct before testing.
Offline
anggarasaja wrote:Someone suggest me to compile kernel with custom patch given Here
maybe you can try yourself.Is this the correct patch? http://marc.info/?l=linux-input&m=144312209020616&w=2
I could not get it to apply cleanly to the 4.4.1 kernel with the usualpatch -Np1 -idiff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c index 4541957..5ce3f89 100644 --- a/drivers/input/serio/i8042.c +++ b/drivers/input/serio/i8042.c @@ -25,6 +25,7 @@ #include <linux/i8042.h> #include <linux/slab.h> #include <linux/suspend.h> +#include <linux/dmi.h> #include <asm/io.h> @@ -140,6 +141,7 @@ static bool i8042_aux_irq_registered; static unsigned char i8042_suppress_kbd_ack; static struct platform_device *i8042_platform_device; static struct notifier_block i8042_kbd_bind_notifier_block; +static bool i8042_noselftest; static irqreturn_t i8042_interrupt(int irq, void *dev_id); static bool (*i8042_platform_filter)(unsigned char data, unsigned char str, @@ -891,6 +893,13 @@ static int i8042_controller_selftest(void) int i = 0; /* + * On some hardware just running the self test causes problems. + * In that case, don't run the test and just assume success. + */ + if (i8042_noselftest) + return 0; + + /* * We try this 5 times; on some really fragile systems this does not * take the first time... */ @@ -1547,6 +1556,17 @@ static int i8042_remove(struct platform_device *dev) return 0; } +static const struct dmi_system_id i8042_dmi_noselftest_table[] __initconst = { + { + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_PRODUCT_NAME, "X455LAB"), + }, + }, + {} +}; + + static struct platform_driver i8042_driver = { .driver = { .name = "i8042", @@ -1568,6 +1588,8 @@ static int __init i8042_init(void) int err; dbg_init(); + if (dmi_check_system(i8042_dmi_noselftest_table)) + i8042_noselftest = true; err = i8042_platform_init(); if (err)Applies cleanly and compiles.
Due to lack of hardware I can not test it.
Would also ensure that the strings being used in DMI_MATCH are correct before testing.
Both patches are not working on my ASUS K501LB if I just replace DMI_MATCH with the correct one. Not sure if I'm doing everything right.
$ sudo patch -Np1 -i patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c
|index 4541957..5ce3f89 100644
|--- a/drivers/input/serio/i8042.c
|+++ b/drivers/input/serio/i8042.c
--------------------------Offline
See Kernels/Arch_Build_System and Patching_in_ABS (Applying patches section).
You need to apply the patch to the kernel source preferably as part of a PKGBUILD. The above links document how to do that.
Edit:
If you need more additional help with building the package please provide the PKGBUILD for the linux package after you have amended it to use the patch and the output of the makepkg run that fails.
Last edited by loqs (2016-02-27 15:47:54)
Offline