Server 1.11.x versus evdev?
Hi list, I'm still using server 1.9.x because I've had keyboard and mouse problems with 1.10.x and 1.11.x. I just discovered the workaround with recent servers is to turn off AutoAddDevices, but what that actually does is fall back to the old kbd and mouse drivers instead of using evdev. My xorg log doesn't even mention looking for evdev, although I definitely have evdev 2.6.0 installed. Is that version maybe too old to work with the latest server? My xorg.conf is empty except for turning off "AutoAddDevices". I haven't yet tried using "InputClass" entries for keyboard and mouse, but I thought that wasn't needed any longer for very basic hardware. What am I overlooking? Thanks for any clues. ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Recent linux kernel bug causing problem for xkbcomp
Hi team. I'm trying to debug a recent commit to Linus's git repo that causes startx to halt with a complaint that it can't write a .xkm file to /var/lib/xkb. I'm assuming that the message is from xkbcomp, but I can't find where in the startx process that xkbcomp is run, or what else might produce such an error message. I'd like to reproduce the error by running xkbcomp manually so I can track it down. Even vague and generic hints might be helpful :) Thanks! ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Emulate3Buttons not honored
On 07/26/2011 03:13 PM, Peter Hutterer wrote: > On Tue, Jul 26, 2011 at 05:48:12PM -0400, K Vanw wrote: >> On Mon, Jul 25, 2011 at 11:03 PM, Peter Hutterer >> wrote: >>> On Mon, Jul 25, 2011 at 09:41:34PM -0400, K Vanw wrote: > [...] As you can see, the Middle Button Emulation is not set. but "xinput set-prop 10 270 1" will set it correctly. So how do I get this set via an xorg.conf.d file? >>> >>> try starting a plain X server without a desktop environment. does it work >>> then? >> >> Interesting. I was using the Gnome wm, but switched to good old >> fluxbox and it worked fine (also works without a wm as Peter >> suggested). That is, it correctly set Emulate3Buttons from my >> xorg.conf.d file. So the question is, why/how is gnome turning it off? >> Not really an X11 question, but maybe someone here knows. > > gsettings set org.gnome.settings-daemon.peripherals.mouse > middle-button-enabled true Months later I found the same problem and eventually discovered that the little-documented dconf-editor gui allows you to set that flag by clicking a checkbox. I can only hope the gnome devs are going to migrate that checkbox to the place it should already be :( ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Option Emulate3Buttons not working for my BT mouse
On 06/20/2014 06:48 AM, Łukasz Maśko wrote: > Hello. > I've recently bought a BT mouse for my laptop. I've paired it with my > komputer and it works. More-less. It has only 2 physical buttons and I miss > the middle button, therefore I wish to use the Emulate3Buttons option. But... > it does not work. I've created the following config file: > > Section "InputClass" > Identifier "MoGo Mouse BT" > Driver "evdev" > Option "Buttons" "2" > Option "Emulate3Buttons" "on" > MatchProduct"MoGo" > MatchIsPointer "On" > MatchDevicePath "/dev/input/event*" > EndSection > > When I connect the mouse, Xorg responds like this: > > [ 66808.538] (II) config/udev: Adding input device MoGo Mouse BT > (/dev/input/mouse3) > [ 66808.538] (II) No input driver specified, ignoring this device. > [ 66808.538] (II) This device may have been added with another device file. > [ 66808.539] (II) config/udev: Adding input device MoGo Mouse BT > (/dev/input/event13) > [ 66808.539] (**) MoGo Mouse BT: Applying InputClass "evdev pointer catchall" > [ 66808.539] (**) MoGo Mouse BT: Applying InputClass "MoGo Mouse BT" > [ 66808.539] (II) Using input driver 'evdev' for 'MoGo Mouse BT' > [ 66808.539] (**) MoGo Mouse BT: always reports core events > [ 66808.539] (**) evdev: MoGo Mouse BT: Device: "/dev/input/event13" > [ 66808.539] (--) evdev: MoGo Mouse BT: Vendor 0xa5c Product 0x2004 > [ 66808.539] (--) evdev: MoGo Mouse BT: Found 3 mouse buttons > [ 66808.539] (--) evdev: MoGo Mouse BT: Found scroll wheel(s) > [ 66808.539] (--) evdev: MoGo Mouse BT: Found relative axes > [ 66808.539] (--) evdev: MoGo Mouse BT: Found x and y relative axes > [ 66808.539] (--) evdev: MoGo Mouse BT: Found absolute axes > [ 66808.539] (--) evdev: MoGo Mouse BT: Found absolute multitouch axes > [ 66808.539] (II) evdev: MoGo Mouse BT: Forcing absolute x/y axes to exist. > [ 66808.539] (II) evdev: MoGo Mouse BT: Configuring as mouse > [ 66808.540] (II) evdev: MoGo Mouse BT: Adding scrollwheel support > [ 66808.540] (**) Option "Emulate3Buttons" "on" > [ 66808.540] (**) evdev: MoGo Mouse BT: YAxisMapping: buttons 4 and 5 > [ 66808.540] (**) evdev: MoGo Mouse BT: EmulateWheelButton: 4, > EmulateWheelInertia: 10, EmulateWheelTimeout: 200 > [ 66808.540] (**) Option "config_info" > "udev:/sys/devices/pci:00/:00:1d.7/usb1/1-2/1-2.4/1-2.4:1.0/bluetooth/hci0/hci0:46/0005:0A5C:2004.0024/input/input77/event13" > > > [ 66808.540] (II) XINPUT: Adding extended input device "MoGo Mouse BT" (type: > MOUSE, id 15) > [ 66808.540] (II) evdev: MoGo Mouse BT: initialized for relative axes. > > [ 66808.540] (WW) evdev: MoGo Mouse BT: ignoring absolute axes. > > [ 66808.540] (**) MoGo Mouse BT: (accel) keeping acceleration scheme 1 > > [ 66808.540] (**) MoGo Mouse BT: (accel) acceleration profile 0 > > [ 66808.540] (**) MoGo Mouse BT: (accel) acceleration factor: 2.000 > > [ 66808.540] (**) MoGo Mouse BT: (accel) acceleration threshold: 4 > > It seems to see the Emulate3Buttons option, but it seems not to obey the > Buttons option. The mouse has no scroll wheel, it has 2 physical buttons and > the 3rd one must be emulated. But... it does not work. At the sime time, it > works for instance for a DualPoint Stick, which I have. If it is important, I > also often use an external, wired mouse, which has additional 3 buttos and a > scroll wheel and it works correctly. To clarify: the mouse has *no* scrollwheel or trackball, and only *2* physical buttons, right? Seems odd then that the logs talk about buttons 4 and 5. Have you tried xev to see what button numbers it reports? ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s
Re: Option Emulate3Buttons not working for my BT mouse
On 06/20/2014 11:10 PM, Łukasz Maśko wrote: > Dnia piątek, 20 czerwca 2014 14:52:19 walt pisze: > [...] >> To clarify: the mouse has *no* scrollwheel or trackball, and only *2* >> physical buttons, right? Seems odd then that the logs talk about buttons 4 >> and 5. > > That's exactly it. Only 2 physical buttons, but evdev recognizes it as 5 > button mouse with a scroll wheel. I wish it had, but more buttons but no. > >> Have you tried xev to see what button numbers it reports? > > If I got it correctly - xev reports left button as button #1, right button as > button #3. Pressing both buttons simultaneously generates just sequence of > buttons 1 and 3 pressed one after another. Okay, that's what I'd expect from a 2-button mouse. I suggest trying Option "EmulateWheelButton" "2" in your xorg.conf. That (I think) should allow you to scroll by holding down both buttons. Using button 1 might be more natural, but I suspect it would also break click-and-drag. ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s
Re: Option Emulate3Buttons not working for my BT mouse
On 06/20/2014 06:48 AM, Łukasz Maśko wrote: > I've recently bought a BT mouse for my laptop. I've paired it with my > komputer and it works. More-less. It has only 2 physical buttons and I miss > the middle button, therefore I wish to use the Emulate3Buttons option. But... > it does not work. I've created the following config file: > > Section "InputClass" > Identifier "MoGo Mouse BT" > Driver "evdev" > Option "Buttons" "2" > Option "Emulate3Buttons" "on" > MatchProduct"MoGo" > MatchIsPointer "On" > MatchDevicePath "/dev/input/event*" > EndSection Now that I think about it, I've never used the "Buttons" option and I'm not sure why anyone would need it. Evdev should be able to get that information from the mouse. I'd try removing that option. ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s
Re: Strange issue with fglrx/opengl
On 03/14/2015 08:24 AM, Dwayne Rightler wrote: > glxinfo/glxgears does not work from my user account: > > darkomen@darkomen-desktop:~$ glxinfo > name of display: :0 > Error: couldn't find RGB GLX visual or fbconfig > > darkomen@darkomen-desktop:~$ glxgears > Error: couldn't get an RGB, Double-buffered visual > > > If I give local permissions and su to root it works as root: > > darkomen@darkomen-desktop:~$ xhost +local: I'm guessing you already know more about X than I do (I didn't know about xhost until just now :) but here is what I do when I'm stumped: I keep an unprivileged user named "tester" with almost nothing in his home directory: i.e. no .local or .config or .cache or .dconf/.gconf directories, etc. If something works when I'm logged in as "tester" but not as me, I start copying the subdirectories in "tester"'s home directory one by one into my own home directory until the broken feature starts working again. (Of course, I move my own subdirectories out of the way before I do this.) The last few times this has happened to me, the problem was some sort of strangeness in my ~/.config/dconf/user file. ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s