* [parisc-linux] [PATCH] Fix HIL Mouse driver for 2.6
@ 2004-08-26 4:54 Stuart Brady
2004-08-26 7:07 ` Helge Deller
0 siblings, 1 reply; 2+ messages in thread
From: Stuart Brady @ 2004-08-26 4:54 UTC (permalink / raw)
To: parisc-linux
Hi,
This patch makes the HIL pointer driver work in 2.6. I have tested
it with both gpm and xfree86.
IIUC, users of PS/2 mice with HIL hubs should use the psmouse driver
(CONFIG_MOUSE_PS2) instead. CONFIG_MOUSE_HIL is not needed for this.
The hil_ptr driver is for genuine HIL mice. To compile it you need
CONFIG_MOUSE_HIL. CONFIG_MOUSE_PS2 is not needed for HIL mice.
Index: drivers/input/mouse/hil_ptr.c
===================================================================
RCS file: /var/cvs/linux-2.6/drivers/input/mouse/hil_ptr.c,v
retrieving revision 1.8
diff -u -r1.8 hil_ptr.c
--- drivers/input/mouse/hil_ptr.c 6 Jan 2004 22:31:59 -0000 1.8
+++ drivers/input/mouse/hil_ptr.c 26 Aug 2004 03:58:11 -0000
@@ -176,6 +176,7 @@
btn = ptr->btnmap[btn];
input_report_key(dev, btn, !up);
}
+ input_sync(dev);
out:
ptr->idx4 = 0;
up(&ptr->sem);
@@ -284,6 +285,7 @@
up(&(ptr->sem));
+ init_input_dev(&ptr->dev);
did = ptr->idd[0];
idd = ptr->idd + 1;
txt = "unknown";
--
Stuart Brady
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [parisc-linux] [PATCH] Fix HIL Mouse driver for 2.6
2004-08-26 4:54 [parisc-linux] [PATCH] Fix HIL Mouse driver for 2.6 Stuart Brady
@ 2004-08-26 7:07 ` Helge Deller
0 siblings, 0 replies; 2+ messages in thread
From: Helge Deller @ 2004-08-26 7:07 UTC (permalink / raw)
To: parisc-linux
Hi Stuart,
I've applied both patches you sent to the parisc linux CVS tree.
Thanks a lot,
Helge
PS: I didn't tested them yet, but will try to do so later today....
On Thursday 26 August 2004 06:54, Stuart Brady wrote:
> This patch makes the HIL pointer driver work in 2.6. I have tested
> it with both gpm and xfree86.
>
> IIUC, users of PS/2 mice with HIL hubs should use the psmouse driver
> (CONFIG_MOUSE_PS2) instead. CONFIG_MOUSE_HIL is not needed for this.
>
> The hil_ptr driver is for genuine HIL mice. To compile it you need
> CONFIG_MOUSE_HIL. CONFIG_MOUSE_PS2 is not needed for HIL mice.
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-08-26 7:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-26 4:54 [parisc-linux] [PATCH] Fix HIL Mouse driver for 2.6 Stuart Brady
2004-08-26 7:07 ` Helge Deller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox