Synaptics probe problem on Acer Travelmate 3004WTMi

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

 



Hi Vojtech,

I've got a problem with my Acer Travelmate 3004WTMi Laptop: vanilla 2.6
does not detect the synaptics touchpad.

The problem lies within psmouse_probe: after the PSMOUSE_CMD_GETID
command, param[0] contains 0xfa, and not one of the expected values. If
I just ignore this and continue, the synaptics pad is detected and
everything works ok.

Tom


static int psmouse_probe(struct psmouse *psmouse)
 642 {
 643         struct ps2dev *ps2dev = &psmouse->ps2dev;
 644         unsigned char param[2];
 645 
 646 /*
 647  * First, we check if it's a mouse. It should send 0x00 or 0x03
 648  * in case of an IntelliMouse in 4-byte mode or 0x04 for IM
Explorer.
 649  * Sunrex K8561 IR Keyboard/Mouse reports 0xff on second and
subsequent
 650  * ID queries, probably due to a firmware bug.
 651  */
 652 
 653         param[0] = 0xa5;
 654         if (ps2_command(ps2dev, param, PSMOUSE_CMD_GETID))
 655                 return -1;
 656 
 657         if (param[0] != 0x00 && param[0] != 0x03 &&
 658             param[0] != 0x04 && param[0] != 0xff)
 659                 return -1;
 660 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux