8166ba27bd
- Count the number of this error. - When the error is detected for the first time, the psm driver will throw few data bytes (up to entire packet size) and see if it can get back to sync. - If the error still persists, the psm driver disable/enable the mouse and see if it works. - If the error still persists and the count goes up to 20, the psm driver reset and reinitialize the mouse. The counter is reset to zero. - It also discards an incomplete data packet when the interval between two consequtive bytes are longer than pre-defined timeout (2 seconds). The last byte which arrived late will be regarded as the first byte of a new packet. This is louie's idea. You may see the following error logs during the above operations: "psmintr: delay too long; resetting byte count" "psmintr: out of sync (%04x != %04x)" "psmintr: discard a byte (%d)" "psmintr: re-enable the mouse" "psmintr: reset the mouse" MFC after: 1 month |
||
---|---|---|
.. | ||
atkbd_isa.c | ||
atkbdc_isa.c | ||
atrtc.c | ||
fd.c | ||
fdreg.h | ||
isa_common.c | ||
isa_common.h | ||
isa_if.m | ||
isahint.c | ||
isareg.h | ||
isavar.h | ||
joy.c | ||
orm.c | ||
pnp.c | ||
pnpparse.c | ||
pnpreg.h | ||
pnpvar.h | ||
ppc.c | ||
ppcreg.h | ||
psm.c | ||
rtc.h | ||
sio.c | ||
sioreg.h | ||
syscons_isa.c | ||
vga_isa.c |