Debian Codegraph @

FREEBSD

raw
1 Antal Novak <[email protected]> sent these instructions for imwheel on FreeBSD,
2 plus a few patches...ENJOY! (slightly edited for content and to fit your screen)
3
4 I currenly have FreeBSD-3.0 (although this should work with 2.2.6, or even
5 earlier) and a Microsoft IntelliMouse PS/2.
6 I did the following to get it to work:
7
8 1) To run moused, use the -t sysmouse (NOT PS/2!!!) argument for a ps/2
9 mouse, or -t intellimouse for the serial version (note, i've never tried
10 the serial version, so i'm not *positive* it will work... I'd like some
11 feedback on this if possible)
12
13 2) Run imwheel using method #1 as described in the imwheel README.
14 However, your XF86Config *must* be set up as follows (since there is no
15 FreeBSD XFree86 support for IMPS/2 because it can't preinitialize the ps/2
16 port):
17
18 Section "Pointer"
19 Protocol "IntelliMouse"
20 Device "/dev/sysmouse"
21 ZAxisMapping 4 5
22 EndSection
23
24 You can add other options if you want; however, it is important that you use
25 the IntelliMouse protocol and read from /dev/sysmouse (this is the passthrough
26 device for moused). Basically, the way moused works is that you can use *ANY*
27 protocol for reading /dev/sysmouse. Therefore, since we can't use IMPS/2, we
28 simply use IntelliMouse, so X thinks it's a serial IntelliMouse, and everything
29 is passed through!
30
31 Oh yeah, one final note, gpm is NOT needed (nor will it even compile) on
32 FreeBSD.