Re: [PATCH resend] Input: psmouse - Fix a synaptics protocol detection mistake

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 03, 2010 at 02:56:33PM +0000, Daniel Drake wrote:
> For configurations where synaptics hardware is present but the synaptics
> extensions support is not compiled in, the mouse is reprobed and a new
> device is allocated on every suspend/resume.
> 
> During probe, psmouse_switch_protocol() calls psmouse_extensions() with
> set_properties=1. This calls the dummy synaptics_init() which returns an
> error code, instructing us not to use the synaptics extensions.
> 
> During resume, psmouse_reconnect() calls psmouse_extensions() with
> set_properties=0. This caused PSMOUSE_SYNAPTICS to be returned as the
> supported extensions, and as this is a different result from earlier it
> then causes psmouse_reconnect() to fail and a full reprobe happens.
> 
> Fix this by tweaking the set_properties=0 codepath in psmouse_extensions()
> to be more careful about offering PSMOUSE_SYNAPTICS extensions.
> 
> Signed-off-by: Daniel Drake <dsd@xxxxxxxxxx>

Applied, thank you Daniel.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux