> 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:
> 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; ps2dev, ¶m[0], PSMOUSE_ CMD_SETRATE) ; ps2dev, ¶m[1], PSMOUSE_ CMD_SETRATE) ;
param[1]=0x28;
ps2_command(
ps2_command(
return 0;
}
The Windows driver for latitude E6x30 probably check the DMI