* Wheel mice on thinkpad ps/2
@ 2001-08-01 9:13 Allan Sandfeld Jensen
2001-08-01 22:28 ` Thomas Hood
0 siblings, 1 reply; 4+ messages in thread
From: Allan Sandfeld Jensen @ 2001-08-01 9:13 UTC (permalink / raw)
To: linux-kernel; +Cc: linuxconsole-dev
Hi.
I've solved a long standing problem with using an extended mouse over the
ps/2 port on a thinkpad. (search deja, I found bugreports dating back to
1998, all unanswered)
I discovered there is a "smart" device called a trackpoint controller, that
accumulates movement from both the trackpoints and the external mouse.
Provided it understands the external mouse! (it only understand standard
mice) A quick hack is disabling the trackpoint controller by sending 0xe2
0x4e, but a more general solution would be to write a linux driver that
autodetected a trackpoint controller with external mouse and disabled it. In
that way it would be transparant to userspace drivers.
The easiest for my would be writing it into pc_keyb.c but that's not
appropiate. So where should I place the driver?
If I want advanced functionality, where I instead demultiplexes the
trackpoint and the external mouse into a /dev/psaux1 and -2, I need to take
over the aux interrupthandler. Otherwise I can just speak through the
standard psaux.
And what of the new input-class, should all inputdevices eventually move over
there, or just USB?
regards
-Allan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Wheel mice on thinkpad ps/2
2001-08-01 9:13 Wheel mice on thinkpad ps/2 Allan Sandfeld Jensen
@ 2001-08-01 22:28 ` Thomas Hood
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Hood @ 2001-08-01 22:28 UTC (permalink / raw)
To: linux-kernel, Allan Sandfeld Jensen
Allan Sandfeld Jensen wrote:
> I've solved a long standing problem with using an extended mouse over the
> ps/2 port on a thinkpad. (search deja, I found bugreports dating back to
> 1998, all unanswered)
> I discovered there is a "smart" device called a trackpoint controller, that
> accumulates movement from both the trackpoints and the external mouse.
> Provided it understands the external mouse! (it only understand standard
> mice) A quick hack is disabling the trackpoint controller by sending 0xe2
> 0x4e, but a more general solution would be to write a linux driver that
> autodetected a trackpoint controller with external mouse and disabled it. In
> that way it would be transparant to userspace drivers.
The TrackPoint can be auto-disabled using tools like PS2.EXE and
tpctl too. Unfortunately, the current Linux drivers do not
handle wheel data correctly. Vojtech Pavlik's new input drivers
(the ones that are already used for USB HIDs) do handle wheel data
correctly, but these will only go into Linux 2.5 I'm told.
More info at my site:
http://panopticon.csustan.edu/thood/tp600lnx.htm#secmouse
> The easiest for my would be writing it into pc_keyb.c but that's not
> appropiate. So where should I place the driver?
> If I want advanced functionality, where I instead demultiplexes the
> trackpoint and the external mouse into a /dev/psaux1 and -2, I need to take
> over the aux interrupthandler. Otherwise I can just speak through the
> standard psaux.
> And what of the new input-class, should all inputdevices eventually move over
> there, or just USB?
If you want to hack the existing drivers, perhaps you
should get in touch will Till Straumann, who has written
TrackPoint utilities for Linux:
http://www-hft.ee.TU-Berlin.DE/~strauman/tp4utils/
--
Thomas Hood
jdthood_AT_yahoo.co.uk
^ permalink raw reply [flat|nested] 4+ messages in thread
* Wheel mice on thinkpad ps/2
@ 2001-08-02 6:51 Allan Sandfeld Jensen
2001-08-02 14:10 ` James Simmons
0 siblings, 1 reply; 4+ messages in thread
From: Allan Sandfeld Jensen @ 2001-08-02 6:51 UTC (permalink / raw)
To: linux-kernel
I think this message didnt reach the mailing-list the first time, trying
again.
Sorry if you see this message twice.
---------- Forwarded Message ----------
Hi.
I've solved a long standing problem with using an extended mouse over the
ps/2 port on a thinkpad. (search deja, I found bugreports dating back to
1998, all unanswered)
I discovered there is a "smart" device called a trackpoint controller, that
accumulates movement from both the trackpoints and the external mouse.
Provided it understands the external mouse! (it only understand standard
mice) A quick hack is disabling the trackpoint controller by sending 0xe2
0x4e, but a more general solution would be to write a linux driver that
autodetected a trackpoint controller with external mouse and disabled it. In
that way it would be transparant to userspace drivers.
The easiest for my would be writing it into pc_keyb.c but that's not
appropiate. So where should I place the driver?
If I want advanced functionality, where I instead demultiplexes the
trackpoint and the external mouse into a /dev/psaux1 and -2, I need to take
over the aux interrupthandler. Otherwise I can just speak through the
standard psaux.
And what of the new input-class, should all inputdevices eventually move over
there, or just USB?
regards
-Allan
-------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-08-02 14:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-01 9:13 Wheel mice on thinkpad ps/2 Allan Sandfeld Jensen
2001-08-01 22:28 ` Thomas Hood
-- strict thread matches above, loose matches on Subject: below --
2001-08-02 6:51 Allan Sandfeld Jensen
2001-08-02 14:10 ` James Simmons
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox