Re: update pms driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alexandr Shadchin
Date: Tuesday, October 5, 2010 - 8:15 am

Hi!

Try new diff. Fix for me (Lenovo X201)
1) reboot and login (text-mode)
2) wsmoused
3) the behavior is as if I'm holding down Enter 

Also found a new bug:
wsmoused + X don't work (suspend/resume)

1) wsmoused
2) startx
3) suspend/resume
4) in X mouse don't work
5) suspend/resume
6) in X mouse work

this error does not pms driver. Check the job pms driver separately:
1) wsmoused only
2) X only
 
-- 
Alexandr Shadchin

Index: pms.c
===================================================================
RCS file: /cvs/src/sys/dev/pckbc/pms.c,v
retrieving revision 1.7
diff -u -p -r1.7 pms.c
--- pms.c	2 Oct 2010 00:28:57 -0000	1.7
+++ pms.c	5 Oct 2010 05:54:01 -0000
@@ -243,7 +243,8 @@ pms_change_state(struct pms_softc *sc, i
 
 		pckbc_slot_enable(sc->sc_kbctag, sc->sc_kbcslot, 1);
 
-		pckbc_flush(sc->sc_kbctag, sc->sc_kbcslot);
+		if (sc->poll)
+			pckbc_flush(sc->sc_kbctag, sc->sc_kbcslot);
 
 		cmd[0] = PMS_RESET;
 		res = pms_cmd(sc, cmd, 1, resp, 2);
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: update pms driver, Alexandr Shadchin, (Tue Oct 5, 8:15 am)
Re: update pms driver, Nicholas Marriott, (Tue Oct 5, 10:27 am)
Re: update pms driver, Alexandr Shadchin, (Thu Oct 7, 12:21 pm)
Re: update pms driver, Alexandr Shadchin, (Thu Oct 7, 12:28 pm)
Re: update pms driver, Ian Darwin, (Thu Oct 7, 1:40 pm)
Re: update pms driver, Kenneth R Westerback, (Tue Oct 12, 12:56 pm)
Re: update pms driver, Nicholas Marriott, (Sat Oct 16, 2:46 am)
Re: update pms driver, Alexandr Shadchin, (Sat Oct 16, 5:36 am)
Re: update pms driver, Nicholas Marriott, (Sat Oct 16, 7:42 am)
Re: update pms driver, Alexandr Shadchin, (Sat Oct 16, 8:00 am)
Re: update pms driver, Alexandr Shadchin, (Sun Oct 17, 4:38 am)
Re: update pms driver, Nicholas Marriott, (Mon Oct 18, 11:21 am)
Re: update pms driver, Alexandr Shadchin, (Tue Oct 19, 7:44 am)
Re: update pms driver, Miod Vallat, (Tue Oct 19, 1:03 pm)
Re: update pms driver, Kenneth R Westerback, (Tue Oct 19, 5:39 pm)
Re: update pms driver, Alexandr Shadchin, (Tue Oct 19, 11:59 pm)
Re: update pms driver, Nicholas Marriott, (Sat Oct 30, 5:34 pm)
Re: update pms driver, Alexandr Shadchin, (Sat Nov 6, 11:45 am)
Re: update pms driver, Alexandr Shadchin, (Wed Nov 17, 12:11 pm)
Re: update pms driver, Nicholas Marriott, (Mon Nov 22, 2:44 pm)
Re: update pms driver, Alexandr Shadchin, (Tue Nov 23, 4:10 am)
Re: update pms driver, Nicholas Marriott, (Mon Nov 29, 1:58 pm)
Re: update pms driver, Alexandr Shadchin, (Mon Nov 29, 2:43 pm)
Re: update pms driver, Nicholas Marriott, (Mon Nov 29, 3:08 pm)
Re: update pms driver, Kevin Chadwick, (Tue Nov 30, 5:16 am)
Re: update pms driver, Alexandr Shadchin, (Tue Nov 30, 9:33 am)
Re: update pms driver, Mark Kettenis, (Wed Dec 1, 3:33 am)
Re: update pms driver, Alexandr Shadchin, (Wed Dec 1, 5:14 am)
Re: update pms driver, Nicholas Marriott, (Mon Dec 6, 10:42 am)