Comment 280 for bug 606238

Revision history for this message
Florin9doi (florin9doi) wrote : Re: synaptic touchpad not recognized on dell latitude e6510 and others

> It would be nice to tidy up this set of patches, in particular:
> (1) make the v5 and v6 init sequences more readable
> (2) differentiate between the various models (this applies to the models whose E7 report says 0x73 0x03 00x0a).

alps_hw_init_v6 can be reduced at following commands:

static int alps_hw_init_v6(struct psmouse *psmouse)
{
 struct ps2dev *ps2dev = &psmouse->ps2dev;
 unsigned char param[2];

 ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETSTREAM);

 param[0]=0x64;
 param[1]=0x28;
 ps2_command(ps2dev, &param[0], PSMOUSE_CMD_SETRATE);
 ps2_command(ps2dev, &param[1], PSMOUSE_CMD_SETRATE);

 return 0;
}

The Windows driver for latitude E6x30 probably check the DMI