Gentoo Archives: gentoo-amd64

From: Marko Obrovac <marko.obrovac@×××××.com>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re: Xorg and usb keyboard/mouse and some screen flickering :(
Date: Thu, 04 Mar 2010 19:04:03
Message-Id: ea5d4e0d1003041037h5342bd1eq6ccb6670909b61b1@mail.gmail.com
In Reply to: [gentoo-amd64] Re: Xorg and usb keyboard/mouse and some screen flickering :( by Marko Obrovac
1 Marko Obrovac
2 http://www.linkedin.com/in/doorman
3
4
5 On 3 March 2010 14:08, Marko Obrovac <marko.obrovac@×××××.com> wrote:
6
7 > On 2 March 2010 21:22, Marko Obrovac <marko.obrovac@×××××.com> wrote:
8 >
9 >> Hello people,
10 >>
11 >> I own an MSI laptop (GX-700) and today I bought an external monitor (LG
12 >> W2443) and a wireless keyboard/mouse combo (Trust) for it. However, I'm
13 >> having problems with all of them :(
14 >>
15 >> Firstly the keyboard/mouse issue. A few months ago I bought a wireless
16 >> mouse (also a Trust one), just plugged it in, started the system and
17 >> everything worked nicely. Now, I can't get the new keyboard/mouse combo to
18 >> work. I'm sure they're OK, because in the grub menu I can use the new
19 >> keyboard to select/edit/etc the boot stuff (i.e. I'm sure BIOS recognises
20 >> it). However, I can't seem to get it to work in Xorg... The thing that
21 >> strikes me the most is that the "old" mouse worked without a problem. Any
22 >> hints?
23 >>
24 >
25 > It seems like it's definitely a kernel "issue". I tried to start an
26 > interactive boot, but the kernel didn't respond to the "i" I hit (of course,
27 > hitting it on the laptop keyboard works like a charm). I read thoroughly
28 > http://www.gentoo.org/doc/en/usb-guide.xml and
29 > http://forums.gentoo.org/viewtopic.php?t=79, but all usb/hid configuration
30 > was already in place.
31 >
32
33 Finally I solved it :) I suspected something was wrong with the usbhid
34 module. So, out of curiosity, I booted up a live cd just to see whether its
35 kernel will properly initialise the combo. Of course, it did :) The rest was
36 easy - I found out the kernel had registered the combo as "Sunplus Wireless
37 Desktop" (and not Trust), so a quick look at the .config file revealed I
38 should enable sunplus hid support.
39
40 >
41 >
42 >> Secondly, the new monitor. I can see constant flickering on it. I'm sure
43 >> it's not the monitor's fault since I had similar issues with others as well
44 >> - that is to say, I'm quite convinced it has something to do with my graphic
45 >> card (nvidia geforce 8600m gt).
46 >>
47 >
48 > As for the flickering, I deducted it's a refresh rate issue. I lowered the
49 > resolution, increased the refresh rate and turned the resolution back to its
50 > maximum and the flickering "disappeared". However, nvidia-settings doesn't
51 > allow me to increase the frequency with the maximum resolution, which
52 > practically means I have to redo the steps mentioned every time I restart
53 > Xorg. Anybody knows how to get around this?
54 >
55
56 No luck on this point yet. But now that I can organise my desk I'll look
57 into it
58
59 >
60 >
61 >> I'm pasting the xorg.conf and /etc/make.conf files here as I'm not sure
62 >> the mailing list supports attachments.
63 >>
64 >> Any help is welcome,
65 >> Marko
66 >>
67 >>
68 >> XORG.CONF
69 >> =========
70 >> # nvidia-settings: X configuration file generated by nvidia-settings
71 >> # nvidia-settings: version 1.0 (root@moveable-basket) Wed Oct 21
72 >> 23:07:18 Local time zone must be set--see zic manual page 2009
73 >>
74 >> #Section "InputDevice"
75 >> # Identifier "Mouse0"
76 >> # #Driver "synaptics"
77 >> # Driver "mouse"
78 >> # Option "Protocol" "IMPS/2"
79 >> # #Option "Device" "/dev/input/mice"
80 >> # Option "ZAxisMapping" "4 5 6 7"
81 >> #EndSection
82 >>
83 >> Section "ServerLayout"
84 >>
85 >> Identifier "X.org Configured"
86 >> Screen 0 "Screen0" 0 0
87 >> InputDevice "Keyboard0"
88 >> InputDevice "Mouse0"
89 >> Option "BackingStore" "True"
90 >> # InputDevice "Mouse0" "CorePointer"
91 >> EndSection
92 >>
93 >> Section "Files"
94 >> ModulePath "/usr/lib64/xorg/modules"
95 >> FontPath "/usr/share/fonts/misc/"
96 >> FontPath "/usr/share/fonts/TTF/"
97 >> FontPath "/usr/share/fonts/OTF"
98 >> FontPath "/usr/share/fonts/Type1/"
99 >> FontPath "/usr/share/fonts/100dpi/"
100 >> FontPath "/usr/share/fonts/75dpi/"
101 >> EndSection
102 >>
103 >> Section "Module"
104 >>
105 >> #Load "dbe"
106 >> #Load "dri"
107 >> #Load "dri2"
108 >> #Load "extmod"
109 >> Load "glx"
110 >> #Load "record"
111 >> EndSection
112 >>
113 >> Section "ServerFlags"
114 >> Option "Xinerama" "0"
115 >> EndSection
116 >>
117 >> Section "InputDevice"
118 >> # generated from data in "/etc/conf.d/gpm"
119 >> Identifier "Mouse0"
120 >> Driver "evdev"
121 >> Option "Protocol"
122 >> Option "Device" "/dev/input/mice"
123 >> Option "Emulate3Buttons" "no"
124 >> Option "ZAxisMapping" "4 5"
125 >> EndSection
126 >>
127 >> Section "InputDevice"
128 >>
129 >> #Driver "kbd"
130 >> Identifier "Keyboard0"
131 >> Driver "evdev"
132 >> #Option "CoreKeyboard"
133 >> Option "XkbRules" "xrrg"
134 >> Option "XkbModel" "pc105"
135 >> Option "XkbLayout" "us,hr"
136 >> #Option "Device" "/dev/input/event6"
137 >> EndSection
138 >>
139 >> Section "Monitor"
140 >> Identifier "Monitor0"
141 >> VendorName "Unknown"
142 >> ModelName "LG W2443"
143 >> HorizSync 30.0 - 83.0
144 >> VertRefresh 56.0 - 75.0
145 >> EndSection
146 >>
147 >> Section "Device"
148 >> Identifier "Card0"
149 >> Driver "nvidia"
150 >> VendorName "nVidia Corporation"
151 >> BoardName "GeForce 8600M GT"
152 >> Option "RenderAccel" "True"
153 >> BusID "PCI:8:0:0"
154 >> EndSection
155 >>
156 >> Section "Device"
157 >> Identifier "Device0"
158 >> Driver "nvidia"
159 >> VendorName "NVIDIA Corporation"
160 >> BoardName "GeForce 8600M GT"
161 >> EndSection
162 >>
163 >> Section "Screen"
164 >> Identifier "Screen0"
165 >> Device "Device0"
166 >> Monitor "Monitor0"
167 >> DefaultDepth 24
168 >> Option "TwinView" "0"
169 >> Option "metamodes" "CRT: nvidia-auto-select +0+0"
170 >> SubSection "Display"
171 >> Modes "1920x1080"
172 >> Depth 16
173 >> EndSubSection
174 >> SubSection "Display"
175 >> Modes "1920x1080"
176 >> Depth 24
177 >> EndSubSection
178 >> EndSection
179 >>
180 >> #Section "Extensions"
181 >> # Option "Composite" "Enable"
182 >> #EndSection
183 >>
184 >>
185 >>
186 >> MAKE.CONF
187 >> ==========
188 >> # These settings were set by the catalyst build script that automatically
189 >> # built this stage.
190 >> # Please consult /usr/share/portage/config/make.conf.example for a more
191 >> # detailed example.
192 >> CFLAGS="-march=nocona -O2 -pipe"
193 >> CXXFLAGS="${CFLAGS}"
194 >> # WARNING: Changing your CHOST is not something that should be done
195 >> lightly.
196 >> # Please consult http://www.gentoo.org/doc/en/change-chost.xml before
197 >> changing.
198 >> CHOST="x86_64-pc-linux-gnu"
199 >> # These are the USE flags that were used in addition to what is provided
200 >> by the
201 >> # profile used for building.
202 >> #USE="mmx sse sse2"
203 >> USE="intel mmx sse sse2 bash-completion cddb cdparanoia cups dvb ffmpeg gd
204 >> gnuplot imagemagick jabber jingle lame latex lm_sensors mime msn multilib
205 >> ncurses networkmanager nptl nsplugin offensive pcmcia pcre perl plotutils
206 >> posix python readline smp sockets subversion suid symlink syslog threads v4l
207 >> v4l2 vim-syntax wifi wxwidgets xattr xcomposite xft xine xinetd yahoo -kde
208 >> -qt3 -qt4"
209 >> VIDEO_CARDS="nvidia"
210 >> ALSA_CARDS="hda-intel loopback virmidi"
211 >> INPUT_DEVICES="evdev keyboard mouse synaptics"
212 >> ACCEPT_LICENSE="*"
213 >>
214 >> MAKEOPTS="-j3"
215 >>
216 >> GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/
217 >> ftp://mirror.ovh.net/gentoo-distfiles/
218 >> http://mirror.ovh.net/gentoo-distfiles/
219 >> ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ "
220 >>
221 >> SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
222 >> source /usr/local/portage/layman/make.conf
223 >>
224 >
225 >