Gentoo Archives: gentoo-user

From: Kevin O'Gorman <kogorman@×××××.com>
To: gentoo-user@l.g.o
Subject: SOLVED: Re: [gentoo-user] Re: Gentoo decapitated
Date: Sun, 16 May 2010 23:40:21
Message-Id: AANLkTimiW_mDsYA7_bHgiV9ESk__RaY_ukdOmGO2e6g5@mail.gmail.com
1 On Sun, May 16, 2010 at 11:25 AM, walt <w41ter@×××××.com> wrote:
2
3 > On 05/16/2010 08:43 AM, Kevin O'Gorman wrote:
4 >
5 >> On Sun, May 16, 2010 at 12:11 AM, Mick <michaelkintzios@×××××.com<mailto:
6 >> michaelkintzios@×××××.com>> wrote:
7 >>
8 >> On Sunday 16 May 2010 02:24:10 Kevin O'Gorman wrote:
9 >> > On Wed, May 12, 2010 at 3:33 PM, Dale <rdalek1967@×××××.com<mailto:
10 >> rdalek1967@×××××.com>> wrote:
11 >> > > Mine has xf86-* drivers as well. OP, do you have your setting in
12 >> > > make.conf correctly? Mine looks like this:
13 >> > >
14 >> > > INPUT_DEVICES="keyboard mouse evdev"
15 >> > >
16 >> > > I do NOT use hal so your settings may need to be different but you
17 >> do
18 >> > > need the line tho.
19 >> > >
20 >> > > I have INPUT_DEVICES="evdev", and adding either of the others
21 >> makes X go
22 >> >
23 >> > back to not starting at all.
24 >>
25 >> That's right, you will also then need to install the appropriate x86
26 >> driver;
27 >> e.g. x11-drivers/xf86-input-mouse
28 >>
29 >>
30 >> You mean like this, the way it's always been? Or is there something more
31 >> specific I have to do?
32 >> treat src # eix x11-drivers/xf86-input-mouse
33 >> [I] x11-drivers/xf86-input-mouse
34 >> Available versions: 1.5.0{tbz2} {debug}
35 >> Installed versions: 1.5.0{tbz2}(09:38:05 PM 05/11/2010)(-debug)
36 >> Homepage: http://xorg.freedesktop.org/
37 >> Description: X.Org driver for mouse input devices
38 >>
39 >> treat src #
40 >>
41 >> BTW, the most recent boot started X without the mouse working, but these
42 >> two lines appear in /var/log/Xorg.0.log
43 >>
44 >> line 44-47: (==) |-->Input Device "evdev"
45 >> (==) |-->Input Device "<default keyboard>"
46 >> (==) The core pointer device wasn't specified explicitly in
47 >> the layout.
48 >> Using the first mouse device.
49 >>
50 >>
51 >> line 457: (==) MACH64(0): Silken mouse enabled
52 >>
53 >> (MACH64 is my video card)
54 >> (My mouse is a Microsoft optical with a USB cord that I use with a PS/2
55 >> adapter and a KVM switch, which works with Live disks. I have no idea what
56 >> Silken is)
57 >>
58 >>
59 >> These are the only lines with the word "mouse" in them.
60 >>
61 >
62 > I just did the experiment of building xorg-server with the hal useflag
63 > *off*, and
64 > found that neither keyboard nor mouse worked until I restored the two
65 > InputDevice
66 > sections that I commented out when I switched to evdev+hal:
67 >
68 > Section "ServerLayout"
69 > Identifier "X.org Configured"
70 > Screen 0 "Screen0" 0 0
71 > Option "AIGLX" "false"
72 > InputDevice "Mouse0" "CorePointer" <------ restored these two
73 > lines
74 > InputDevice "Keyboard0" "CoreKeyboard" <-------
75 > EndSection
76 >
77 > Section "InputDevice"
78 > Identifier "Keyboard0"
79 > Driver "evdev"
80 > Option "Device" "/dev/input/event3"
81 > EndSection
82 >
83 > Section "InputDevice"
84 > Identifier "Mouse0"
85 > Driver "evdev"
86 > Option "Protocol" "auto"
87 > Option "Device" "/dev/input/event4"
88 > Option "Emulate3Buttons" "True"
89 > EndSection
90 >
91 > Note those "Device" entries. I found those devices in /dev/input/by-path/:
92 >
93 > $ls -l /dev/input/by-path/
94 > lrwxrwxrwx 1 root root 9 2010-05-16 10:40
95 > platform-i8042-serio-0-event-kbd -> ../event3
96 > lrwxrwxrwx 1 root root 9 2010-05-16 10:40
97 > platform-i8042-serio-1-event-mouse -> ../event4
98 > lrwxrwxrwx 1 root root 9 2010-05-16 10:40 platform-i8042-serio-1-mouse ->
99 > ../mouse0
100 >
101 > "evdev" uses "event-devices", hence the name. I don't use the mouse0
102 > device at
103 > all but I'm guessing I would if I used the "mouse" driver instead of
104 > "evdev".
105 >
106 > Starting with xorg-server-1.8 the mouse and keyboard Inputdevice sections
107 > are no
108 > longer needed (not sure about synaptics, though), because the server uses
109 > evdev
110 > automatically (no manual configuration like cited above) and ignores hal
111 > completely.
112 >
113 > Using the evdev driver alone, and xorg-server built without hal, I get
114 > this:
115 >
116 > (**) Option "CorePointer"
117 > (**) Mouse0: always reports core events
118 > (**) Mouse0: Device: "/dev/input/event4"
119 > (II) Mouse0: Found 9 mouse buttons
120 > (II) Mouse0: Found scroll wheel(s)
121 > (II) Mouse0: Found relative axes
122 > (II) Mouse0: Found x and y relative axes
123 > (II) Mouse0: Configuring as mouse
124 > (**) Option "Emulate3Buttons" "True"
125 > (II) Mouse0: Forcing middle mouse button emulation on.
126 > (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
127 > (**) Mouse0: (accel) keeping acceleration scheme 1
128 > (**) Mouse0: (accel) acceleration profile 0
129 > (II) Mouse0: initialized for relative axes.
130 > (**) Option "CoreKeyboard"
131 > (**) Keyboard0: always reports core events
132 > (**) Keyboard0: Device: "/dev/input/event3"
133 > (II) Keyboard0: Found keys
134 > (II) Keyboard0: Configuring as keyboard
135 > (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
136 > (**) Option "xkb_rules" "evdev"
137 > (**) Option "xkb_model" "evdev"
138 > (**) Option "xkb_layout" "us"
139 >
140 >
141 >
142 >
143 GENIUS. It worked! That which has been dead for 2 weeks is risen!
144
145 Many thanks.
146
147 --
148 Kevin O'Gorman, PhD

Replies

Subject Author
[gentoo-user] Re: SOLVED: Re: Re: Gentoo decapitated walt <w41ter@×××××.com>