Gentoo Archives: gentoo-user

From: Willie Wong <wwong@××××××××××××××.EDU>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Gentoo decapitated
Date: Sun, 16 May 2010 22:30:41
Message-Id: 20100516222958.GA17961@math.princeton.edu
In Reply to: Re: [gentoo-user] Gentoo decapitated by Kevin O'Gorman
1 On Sun, May 16, 2010 at 01:16:34PM -0700, Kevin O'Gorman wrote:
2 > > > These are the only lines with the word "mouse" in them.
3 > >
4 > > Kevin, what I would try first is to set INPUT_DEVICES="evdev mouse" in your
5 > > /etc/make.conf, then emerge x11-drivers/xf86-input-mouse and finally
6 > > reboot.
7 > > Unless your mouse needs some special driver it will just work.
8
9 The advice is to set the appropriate flag in /etc/make.conf
10 NOT what you are doing below to /etc/X11/xorg.conf
11
12 > ----------------------------------------------------------------
13 >
14 > So I tried the same thing with two statements
15 >
16 > Section "ServerLayout"
17 > Identifier "X.org Configured"
18 > Screen 0 "Screen0" 0 0
19 > #InputDevice "Mouse0" "CorePointer"
20 > #InputDevice "Keyboard0" "CoreKeyboard"
21 > InputDevice "evdev"
22 > InputDevice "mouse"
23 > EndSection
24 >
25
26 That is not exactly the right syntax for Xorg.conf
27 If you are using an xorg.conf and not just using evdev/hal, then you
28 should probably have something more like this in your configuration
29 file:
30
31 Section "ServerLayout"
32 Identifier "X.org Configured"
33 Screen 0 "Screen0" 0 0
34 InputDevice "Mouse0" "CorePointer"
35 InputDevice "Keyboard0" "CoreKeyboard"
36 EndSection
37
38 Section "InputDevice"
39 Identifier "Keyboard0"
40 Driver "kbd"
41 EndSection
42
43 Section "InputDevice"
44 Identifier "Mouse0"
45 Driver "mouse"
46 Option "Protocol" "auto"
47 Option "Device" "/dev/input/mouse1"
48 EndSection
49
50 ...plus other things. In the InputDevice section for Mouse0, note the
51 Option that sets the Device to /dev/input/mouse1. You will have to set
52 that to the appropriate path to the pointer device. It will most
53 likely by somewhere in /dev/input/ (often just mouse0 or mice, I have
54 a separate touchscreen device so mine is at mouse1). If you do not
55 have a mouse device listed in /dev/input, then you need to check
56 either your kernel configurations or your udev configurations.
57
58 For more about the proper syntax in xorg.conf, try "man xorg.conf".
59
60 If you are unsure about how to write your xorg.conf file, post its
61 full contents to the list and we'll take a look at it.
62
63 Cheers,
64
65 W
66 --
67 Willie W. Wong wwong@××××××××××××××.edu
68 Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire
69 et vice versa ~~~ I. Newton