1 |
On 05/14/10 00:47, walt wrote: |
2 |
> On 05/13/2010 03:22 AM, Amit Dor-Shifer wrote: |
3 |
>> |
4 |
>> |
5 |
>> On 05/13/10 00:54, walt wrote: |
6 |
>>> On 05/12/2010 05:25 AM, Amit Dor-Shifer wrote: |
7 |
>>>> Hi all. |
8 |
>>>> After updating world, xorg-1.5.3-r6 to 1.7.6 among others, I'm now |
9 |
>>>> faced with a/m issue. |
10 |
>>>> 1. left ctrl key works fine, so does the down arrow key on the numpad. |
11 |
>>>> 2. Seems like the "down" key generates a double sequence: both the |
12 |
>>>> "down" event and a newline. |
13 |
>>>> I've no idea how to proceed w/this. Any clues would be appreciated. |
14 |
>>> |
15 |
>>> With every version of X11, the amount of stuff in xorg.conf gets less, |
16 |
>>> as part of the xorg design. I can see from your xorg.log that you have |
17 |
>>> things in xorg.conf that shouldn't be there any longer. Specifically, |
18 |
>>> you seem to be using the keyboard and mouse drivers *and* evdev at the |
19 |
>>> same time, which is wrong -- evdev has replaced the mouse and keyboard |
20 |
>>> drivers, and you don't need an "Input device" section for either of |
21 |
>>> them |
22 |
>>> now. |
23 |
> |
24 |
> I should have said *I* don't need an Input device section any more :) |
25 |
> |
26 |
> Actually I moved some of my custom stuff from xorg.conf to the hal config |
27 |
> files -- but hal is deprecated now and I should it back to xorg.conf |
28 |
> again. |
29 |
> Thanks for the reminder. |
30 |
> |
31 |
>>> I suggest you generate a new xorg.conf by running "X -configure" and |
32 |
>>> use the result as a good place to add a few custom things like these: |
33 |
>>> (**) Option "xkb_layout" "en_US,ru" |
34 |
>>> (**) Option "xkb_variant" ",winkeys" |
35 |
>>> (**) Option "xkb_options" "grp:shift_toggle,grp_led:scroll" |
36 |
>>> |
37 |
>>> |
38 |
>> Thanks. X -configure solved it. |
39 |
>> As long as we're at the subject:Those options you're mentioning, |
40 |
>> would they go under the ""Keyboard0" device? |
41 |
>> I Added some options there: |
42 |
>> Section "InputDevice" |
43 |
>> Identifier "Keyboard0" |
44 |
> Driver "kbd" <******* "kbd" driver is obsolete, use "evdev" or just |
45 |
> delete this line |
46 |
Simply deleting this line causes X to fail startup: |
47 |
<Xorg.0.log> |
48 |
(==) Using config file: "/etc/X11/xorg.conf" |
49 |
Data incomplete in file /etc/X11/xorg.conf |
50 |
InputDevice section "Keyboard0" must have a Driver line. |
51 |
(EE) Problem parsing the config file |
52 |
(EE) Error parsing the config file |
53 |
</Xorg.0.log> |
54 |
|
55 |
Explicitly setting Driver to "evdev" (to both mouse and keyboard |
56 |
sections) doesn't fix the unexplained messages in Xorg.0.log. At least X |
57 |
manages to start, though. |
58 |
> |
59 |
> Depending on your configuration, there may be some font and/or |
60 |
> keyboard stuff in your own |
61 |
> home directory. You may need to search or grep some subdirectories to |
62 |
> find it if it's not |
63 |
> obvious. |
64 |
Found nothing so-far... |
65 |
|
66 |
I'm now noticing another problem: X's CPU usage sky-rockets when using |
67 |
input devices. Especially mouse: If I move my pointer around the screen, |
68 |
hovering over some windows in the process, I get >50% CPU in 'top'. |
69 |
|
70 |
Amit |