#9008 NORM Not Tri: B4, touchpad suddenly stops working
Zarro Boogs per Child
bugtracker at laptop.org
Mon Nov 24 13:42:37 EST 2008
#9008: B4, touchpad suddenly stops working
-----------------------------------+----------------------------------------
Reporter: HoboPrimate | Owner: dsaxena
Type: defect | Status: new
Priority: normal | Milestone: Not Triaged
Component: kernel | Version: not specified
Resolution: | Keywords:
Next_action: never set | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
-----------------------------------+----------------------------------------
Comment(by pgf):
Replying to [comment:3 dsaxena]:
>
> My guess from looking at the code is that we're running into this path
in hgpk_force_recalibrate():
>
{{{
> /*
> * XXX: If a finger is down during this delay, recalibration
will
> * detect capacitance incorrectly. This is a hardware bug, and
> * we may need to work around that here.
> */
>
> if (ps2_command(ps2dev, NULL, PSMOUSE_CMD_ENABLE))
> return -1;
>
}}}
>
> If we return -1 here, {{{psmouse->state}}} is left as
{{{PSMOUSE_INITIALIZING}}} and the psmouse interrupt handler will discard
all packets. An X restart will not fix this b/c it does not cause the
driver to rebind to the device and reinitialize this.
>
i think the same is true if we fail any of the immediately previous steps
in the recalibration command itself.
what's the right fix? just set it to PSMOUSE_ACTIVATED, and assume we'll
recalibrate shortly, i suppose?
--
Ticket URL: <http://dev.laptop.org/ticket/9008#comment:6>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list