Comment 153 for bug 582809

Revision history for this message
David Härdeman (davidhardeman) wrote :

Alexander,

I'd need to first find the time and then take the laptop from my wife long enough to recompile and reload the psmouse driver, so it'll take some time to get you some dmesg output.

Meanwhile, if psmouse::synaptics isn't showing up, there's only three reasons I can think of:

a) You're not loading your patched psmouse module

b) The MOUSE_PS2_SYNAPTICS_LED option wasn't set when you compiled it

c) The patched module fails to recognize your hardware as LED-capable (which isn't unlikely given some of the comments in the patch)

What you could do is first to remove these lines from the SuSE patch:

+#ifdef CONFIG_MOUSE_PS2_SYNAPTICS_LED

and

+#else
+#define synaptics_init_led(ps) 0
+#define synaptics_free_led(ps) do {} while (0)
+#define synaptics_sync_led(ps) do {} while (0)
+#endif

Then try sprinkling a few printk's around the LED detection in psmouse. I'd suggest you add

    printk(KERN_INFO "synaptics: checking for LED control\n");

just before

    if (!priv->ext_cap_0c || SYN_CAP_PRODUCT_ID(priv->ext_cap) != 0xe4)
        return 0;

in synaptics_init_led()

That way, you'll get a message when LED detection is attempted and another one if successful.

If you only get the first message, the detection fails, you could then try to hardcode it by commenting out the above two lines in synaptics_init_led().