Sie sind auf Seite 1von 16

mini-HOWTO 3

Geoff Short, geoff@kipper.york.ac.uk


v1.33, 31 1998
3
Linux.
______________________________________________________________________
Table of Contents
1.
2.
3.
4.
5.
6. 3-
7.
8. gpm
9.
10. XF86Config Xconfig
11. Cables, extensions and adaptors
12.
13.
14.
15.

______________________________________________________________________
1.

.

,
.
2.

http://kipper.york.ac.uk/mouse.html
http://jf.gee.kyoto-u.ac.jp/JF/JF-

ftp/euc/3-Button-Mouse.euc;
http://www.freenix.fr/linux/HOWTO/mini/3-Button-Mouse.html.
-
LDP mirrors.
X
3 .
.
3
Microsoft,
X windows. (
3
$1.14!)

:
Microsoft 2-.
MouseSystems 3-.


,
3-.
,
. , RedHat
mouseconfig . ,
RH5.0 bug mouseconfig,
patches.
3.

.
- /dev/ttyS0
(COM1 DOS) /dev/ttyS1 (COM2). ( ttyS0
9 , ttyS1 25 ,
.)
/dev/cua,
ttyS,
. link /dev/mouse
. , ttyS0:
ln -s /dev/ttyS0 /dev/mouse

4.
, ,
`2/3'. `PC/MS'.
`2' Microsoft 2 ,
`3' MouseSystems 3 . `PC/MS'

. `MS'
Microsoft, `PC' MouseSystems.
`PC' ps/2 ,
MouseSystems . ,
`3' `PC', MouseSystems
XConfigs ( )
3 .

5.
, ,
.
,
Microsoft. Xconfigs
Microsoft ( ``Xconfig section'')
.
,
Microsoft, .
configs, man config
.
`` '' .
X,
.
,
(
) .
, Xconfig
`` Xconfig'' .
3 ,
. ,
.

6. 3-

Mouse Systems, .
Mouse Systems,
.
,
(
).
,
Mouse Systems.
, .

.
,

.
,
!

(

, RS232 ).
echo "*n" >
/dev/mouse,
.
Mouse Systems, Microsoft.
X.
Bob Nichols (rnichols@interaccess.com)
c ,
echo "*n" ( ).

http://kipper.york.ac.uk/src/fix-mouse.c
`ClearDTR' Xconfig
Mouse Systems.
, (
) .
, ,
.
jumper .
jumper
`MS/PC' `` '' .

2 & 3 ,
. :
----------| o | o | o | SW1
----------1 2 3

1-2 2-3,
. ,
,
.

MouseSystems, Peter
Benie (pjb1008@chiark.chu.cam.ac.uk).
,
,
.
. ,
. ChordMiddle
XF86Config .


Brian Craft (bcboy@pyramid.bio.brandeis.edu).
16 Z8350, 18
HM8350A. ,
, .
Pin 3
----Open
GND
Vdd

Mode
---Default Microsoft. Mouse Systems if a button is held on power-up.
Always Mouse System.
Always Microsoft.

(Pins are numbered as follows:)

pin1
pin2
pin3

pin8

____
-| \/ |-|
|-|
|-|
|-|
|-|
|-|
|-|____|-

( Hans-Christoph Wirth,
Juergen Exner, de.comp.os.linux.hardware) 3 gnd,
MouseSystems.

Peter Fredriksson (peterf@lysator.liu.se)


SYSGRATION SYS2005, 3 Gnd
MouseSystem.
Uli Drescher (ud@digi.ruhr.de)
HN8348A; Ben Ketcham (bketcham@anvilite.murkworks.net)
HM8348A ( 9 Gnd).
Urban Widmark (ubbe@ts.umu.se)
EC3567A1, 8 .
.
Timo T Metsala (metsala@cc.helsinki.fi)
HT6510A 3 , 9 Gnd.
HT6513A. Holtek
HT6513B HT6513F - , 8 Gnd.

Robert Romanowski (robin@cs.tu-berlin.de) 3 8 (Gnd) EM83701BP.


Robert Kaiser (rkaiser@sysgo.de) 3 - Gnd
EC3576A1.
Sean Cross (secross@whidbey.com) 2 - 7
(Gnd) HM8370GP.
Peter Fox (fox@roestock.demon.co.uk) 3 8 HM8348A.
Jon Klein (jbklein@mindspring.com) 3 - 9
UA5212S.
,

: Mathias Katzer.

------- R ---------O------ + Supply


| ----- |
|
C = 100nF capacitor
|
| E
|
R = 100kOhm
|
__ /
|
T = BC557 transistor
|
/ \
O
| B | #V | T
/
|-----|-# |
/
Left button switch of the mouse
|
| #\ |
O
|
\__/
|
--\ C
|
--- C
------O----------> (to somewhere deep inside the mouse)
|
### Ground

MUS2S -

;
+, npn- BC547 ; R
C .
, .
Microsoft ,
X .
7.


, Microsoft Intellimouse
. ,
.
http://www.inria.fr/koala/colas/mouse-wheel-scroll/
X
.
, X
,
. ,
Intellimouse XFree 3.3.1 .
8. gpm
gpm
.
linux,
/etc/rc.d/rc.local.
(1.13 )
sunsite.unc.edu.
gpm :
gpm -t ms
gpm -t msc
gpm -t help

Microsoft MouseSystems ,
. gpm
MouseSystems, -3 flag,
DTR , -o dtr flag:
gpm -3 -o dtr -t msc
gpm
Microsoft.
( 1.0 (?))
. ,
gpm -R tag, :
gpm -R -t ms
gpm
, /dev/gpmdata,
.
MouseSystems.
Xconfig /dev/mouse
, gpm

X.
-
X ,
.

gpm X
(gustafso@math.utah.edu)

gpm
X,
.
X
gpm, X
xmodmap -e "pointer = 1 3 2"
,
2- 3- .
gpm X,
-B , ..:
gpm -t msc -B 132

9.
,
,
.
PS/2,
.
gpm X /dev/ttyS0 ( )
.
,
gpm -M .
man gpm. , XFree
3.3.1 ,
XInput. -
XF86Config .

10. XF86Config Xconfig


X
.
/etc/Xconfig, /etc/XF86Config /usr/X11/lib/X11/XF86Config.
X -
.
XF86Config Xconfig, .

Microsoft
XF86config:
Section "Pointer"
Protocol "microsoft"
Device "/dev/mouse"
EndSection

Xconfig:
#
# Mouse definition and related parameters
#
Microsoft
"/dev/mouse"

Microsoft
XF86config:
Section "Pointer"
Protocol "microsoft"
Device "/dev/mouse"
Emulate3Buttons
EndSection

Xconfig:

#
# Mouse definition and related parameters
#
Microsoft
"/dev/mouse"
Emulate3Buttons

MouseSystems

XF86config:
Section "Pointer"
Protocol "mousesystems"
Device "/dev/mouse"
ClearDTR
# These two lines probably won't be needed,
ClearRTS
# try without first and then just the DTR
EndSection

Xconfig:
#
#
#
MouseSystems
"/dev/mouse"
ClearDTR
# These two lines probably won't be needed,
ClearRTS
# try without first and then just the DTR

Microsoft gpm -R
XF86config:
Section "Pointer"
Protocol "MouseSystems"
Device "/dev/gpmdata"
EndSection

Xconfig:
#
# Mouse definition and related parameters
#
MouseSystems
"/dev/gpmdata"

11. Cables, extensions and adaptors



: TxD RxD , RTS / DTR
, . ,
: 9-
25- TxD
3

2 RxD
4

2
20 Gnd

3 RTS
5

4 DTR
7


9- 25- , .

12.
X ,
getty ,
modem .
IRQ.

windows X.
X .

.
setserial,
/etc/rc.d/rc.serial. man setserial
-HOWTO .
, setserial
/dev/mouse uart 16550 16550a
. ( ,
16c550AF).
ClearDTR flag ,
RTS/CTS handshaking :
stty -crtscts < /dev/mouse
( UART 16450/Pentium Vladimir Geogjaev geogjaev@wave.sio.rssi.ru)
Logitech ChordMiddle
.
Emulate3Buttons
/dev/mouse config. ClearDTR
ClearRTS Xconfig . Logitech
ChordMiddle -

. (: chang@platform.com)
: xmodmap

. ..: xmodmap -e "pointer = 3 2 1"
.
- 1 & 2.
: xset m
. .. xset m 2
2. man .
:
,

.
S3,
xvidtune. Invert_VCLK/InvertVCLK,
EarlySC. Bill Lavender
(lavender@MCS.COM) Simon Hargrave. XF86Config,
:

Subsection "Display"
Modes
"1024x768" "800x600" "640x480" "1280x1024"
Invert_VCLK "*" 1
...

`' , .
, .
Logitech Bob Nichols
(rnichols@interaccess.com)

.

(.. root) ,
-
X Xconfig.
X .

, config.
linear, nolinear
, PCI, tgui_pci_write_off
tgui_pci_read_off. (
Trident Card.)
,
, "sw_cursor"
config.

,
.
, .
Microsoft .
``Microsoft Serial Mouse 2.1A''
,
. gpm 1.13
2.1A,
pnp. ( ``gpm section''
.) ``Microsoft Intellimouse''
, XFree
3.3 .
13.
,

.

, .

- ,
!
.
Mouse Systems,
( !) ClearDTR
ClearRTS config.
WiN, Office World .
- Microsoft/MouseSystems.
Agiler 2900
- Microsoft/MouseSystems.
SYSGRATION SYS2005 .
Sicos,
, ClearDTR & Clear RTS config.
Index 10 ,
3 , :-)
Artec
-, `ClearDTR'
config, `ClearRTS'
3 DynaPoint.
-, `ClearDTR'
`ClearRTS' Xconfig.
3 Genius Easymouse
Mouseman
ChordMiddle. Roderick Johnstone
(rmj@ast.cam.ac.uk)
Truemouse, Taiwan
, `ClearDTR' config. ( Tim
MacEachern)
Champ
PC,
MouseSystems . ( tnugent@gucis.cit.gu.edu.au)
MicroSpeed
-.
Venus ($7)
jumper 2 3
. ( mhoward@mth.com )
Saturn
, MouseSystems
3-. ( grant@oj.rsmas.miami.edu .)
Manhattan.
`MS AM' / `PC AT', MS
gpm -R. ( komanec@umel.fee.vutbr.cz).
Inland.
`PC/MS', . (
http://ptsg.eecs.berkeley.edu/~venkates).
qMouse (3-), FCC ID E6qmouse X31.
$10. `gpm -t msc -r 20'.
jumper MouseSystems 3-.
X. echo "*n" > /dev/mouse.
Mitsumi (2-), FCC ID EW4ECM-S3101.
$12. X gpm,
-. ( gustafso@math.utah.edu)
PC Accessories CompUSA $10.
PC/MS . . (

steveb@communique.net)
First - 7.79 Tempo.
Microsoft/MouseSystems,
. , .
, echo '*n' . `gpm -R' . (
peterk@henhouse.demon.co.uk)
3- Trust.
- , MouseSystems
`PC' . gpm Microsoft.
Chic 410
ms
gpm -R . Stephen M. Weiss (steve@esc.ie.lehigh.edu)
3- KeyMouse.
ClearDTR ClearRTS Xconfig; `-o dtr'
gpm. ( EZ4PHIL@aol.com)
Qtronix keyboard `Scorpio 60'
MouseSystems. (
hwe@uebemc.siemens.de)
Tecra 720 laptop
glidepoint /dev/cua0; stick /dev/psaux.
( apollo@anl.gov)
Anubis
,
X . ( Joel Crisp)
Yakumo No.1900
gpm -R -t ms X. ( Oliver Schwank)
Genius `Easy Trak' Trackball
Microsoft , Mouseman Xconfig
. ( VTanger@aol.com.)
Highscreen Mouse Pro
` ' alfonso@univaq.it.
Logitech CA
X MMseries, 2400 Baud,
150 SampleRate. ( Logitech CC, CE,
C7 & C9 mice). ( vkochend@nyx.net.)
A4-Tech
, DTR X gpm.
( deane@gooroos.com)
Vertech
Microsoft/Mousesystems,
. ( duncan@fs3.ph.man.ac.uk.)
Boeder M-7 ``Bit Star'' ( M M13)
Mousesystems
. ( mailto:sjt@tappin.force9.co.uk.)
Mouse Systems ``'' (
/)
2/3 - 3
MouseSystems , & .
ClearRTS/DTR. ( parker1@airmail.net.)
Radio Shack 3-
26-8432, Tandy 20 .
Mousesystems ClearDTR. ( Sherilyn@sidaway.demon.co.uk.)
Dexxa
Microsoft Xconfig,
ChordMiddle . (
mailto:slevy@ncsa.uiuc.edu.)
Belkin 3
Sears (\$10), -o rts gpm
( ClearRTS X) PC.
( mailto:mmicek@csz.com.)

14.
Mouse Systems http://www.mousesystems.com/.
Windows
Linux HOWTO sunsite
.
, http://sunsite.unc.edu/mdw/linux.html

http://www.4QD.co.uk/faq/meece.html.
Xconfig XF86Config
man ,
X windows Xfree86 HOWTO. ,
XFree86 FAQ http://www.XFree86.org/.
gpm man ,
Darin Ernst http://www.castle.net/Xnotebook/mouse.txt.


http://www.hut.fi/Misc/Electronics/pc/interface.html#mouse
15.

linux newsgroups.
, .
, :
Microsoft 3
.
X Mouse
Systems.

MouseSystems.

X.
.

Das könnte Ihnen auch gefallen