lkml.org 
[lkml]   [2005]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectSynaptics probe problem on Acer Travelmate 3004WTMi
    From
    Date
    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 majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-07-14 02:12    [W:0.033 / U:125.656 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site