Re: Mouse button problems using Logitech NX80
Dne ponedeljek 17. novembra 2008 je Peter Hutterer napisal(a): please file a bug report, because the information is getting spread across too many emails now and I'm losing track. Done. :) xf86-input-evdev 2.0.99.3 and HAL mouse button mapping (and HWheel) problem: https://bugs.freedesktop.org/show_bug.cgi?id=18596 xf86-input-synaptics (0.15.2 and 0.99.1) and HAL ignores all settings in .fdi: https://bugs.freedesktop.org/show_bug.cgi?id=18597 Cheers, Matija -- gsm: +386 41 849 552 e-mail: [EMAIL PROTECTED] www: http://matija.suklje.name aim: hookofsilver icq: 110183360 jabber/g-talk: [EMAIL PROTECTED] msn: [EMAIL PROTECTED] yahoo: matija_suklje GPG/PGP fingerprint: FB64 FFAF B8DA 5AB5 B18A 98B8 2B68 0B51 0549 D278 signature.asc Description: This is a digitally signed message part. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Mouse button problems using Logitech NX80
On Sat, Nov 15, 2008 at 10:38:33PM +0100, Matija Šuklje wrote: New problems: * button mapping for the mouse now works neither in KDE, nor KDM nor Fluxbox * 'xev' now doesn't even recognise the HWheel buttons (evtest does though) * synaptics driver using HAL ignores pretty much all the options (which also makes the 4-side scroll-buttons misbehave — 'xev' reports scroll up as '1', down as '3', left as '2', right as '8') please file a bug report, because the information is getting spread across too many emails now and I'm losing track. synaptics and evdev are two different drivers, so you probably have to file two separate bugs. Don't forget to attach your Xorg.log. Oh, and no pastebin links from bugzilla please, makes it harder to find all the stuff. Cheers, Peter ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Mouse button problems using Logitech NX80
Dne torek 11. novembra 2008 je Dan Nicholson napisal(a): Most likely this is because X is adding devices from HAL and skipping the settings in xorg.conf. The way to solve this is to put your input configuration in an fdi file and comment out the settings in xorg.conf. OK, I've switched all my mouse and touchpad settings to HAL's .fdi files and commented them out in 'xorg.conf'. Solved: * hotplugging works! :D * both my new and old mouse get proper resolution out-of-the-box (they have different resolutions) Not solved: * button mapping for the mouse still doesn't work (see below) New problems: * button mapping for the mouse now works neither in KDE, nor KDM nor Fluxbox * 'xev' now doesn't even recognise the HWheel buttons (evtest does though) * synaptics driver using HAL ignores pretty much all the options (which also makes the 4-side scroll-buttons misbehave — 'xev' reports scroll up as '1', down as '3', left as '2', right as '8') Notice: * is it normal that the touchpad doesn't get its own /dev/input/by-id/* file(s)? I decided to pastebin the additional info, because a) I don't know what this lists policy is concerning attachments and b) too long e-mails are a pain to read ;) The 9-buttoned mouse with VWheel an HWheel — 'logitech-usb-reciever.fdi': http://paste.uni.cc/19415 The mouse's 'evtest' output when testing all the buttons and wheels: http://paste.uni.cc/19416 The touchpad with two buttons and a 4-side scrollbutton — 'synaptics.fdi': http://paste.uni.cc/19419 The touchpad's 'evtest' output when testing all the buttons (LMB, RMB, scroll buttons: up, down, left right): http://paste.uni.cc/19417 And this is the relevant 'hal-device' output (at least what I think is relevant): http://paste.uni.cc/19420 Cheers, Matija -- gsm: +386 41 849 552 e-mail: [EMAIL PROTECTED] www: http://matija.suklje.name aim: hookofsilver icq: 110183360 jabber/g-talk: [EMAIL PROTECTED] msn: [EMAIL PROTECTED] yahoo: matija_suklje GPG/PGP fingerprint: FB64 FFAF B8DA 5AB5 B18A 98B8 2B68 0B51 0549 D278 signature.asc Description: This is a digitally signed message part. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Mouse button problems using Logitech NX80
Dne sreda 12. novembra 2008 je Peter Hutterer napisal(a): there's a chance that this is done automatically to accommodate for the left-handed/right-handed mouse setting. IIRC gnome does something similar. I suspect this bug is responsible for this mess: http://bugs.kde.org/show_bug.cgi?id=68372 Cheers, Matija -- gsm: +386 41 849 552 e-mail: [EMAIL PROTECTED] www: http://matija.suklje.name aim: hookofsilver icq: 110183360 jabber/g-talk: [EMAIL PROTECTED] msn: [EMAIL PROTECTED] yahoo: matija_suklje GPG/PGP fingerprint: FB64 FFAF B8DA 5AB5 B18A 98B8 2B68 0B51 0549 D278 signature.asc Description: This is a digitally signed message part. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Mouse button problems using Logitech NX80
Dne torek 11. novembra 2008 je Steven J Newbury napisal(a): On Gentoo, you'll find it in games-util/joystick. Thanks :) Cheers, Matija -- gsm: +386 41 849 552 e-mail: [EMAIL PROTECTED] www: http://matija.suklje.name aim: hookofsilver icq: 110183360 jabber/g-talk: [EMAIL PROTECTED] msn: [EMAIL PROTECTED] yahoo: matija_suklje GPG/PGP fingerprint: FB64 FFAF B8DA 5AB5 B18A 98B8 2B68 0B51 0549 D278 signature.asc Description: This is a digitally signed message part. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Mouse button problems using Logitech NX80
On Tue, Nov 11, 2008 at 2:44 AM, Matija Šuklje [EMAIL PROTECTED] wrote: Dne torek 11. novembra 2008 je Peter Hutterer napisal(a): correct. you could just upgrade to 2.1 RC3 from Alright, so I upgrated to 2.0.99.3 changed my xorg.conf to look like this: Identifier Mouse Driver evdev #Option Name Logitech USB Receiver Option Device/dev/input/event4 Option Resolution1000 #Option Emulate3Buttons true #Option Buttons 9 Option ButtonMapping 1 0 3 4 5 7 6 2 2 #Option ZAxisMapping 4 5 7 6 And the results of thissetting now are: * scroolling works correctly in both ways now — OK Does the tilt scrolling work correctly without remapping buttons 6 and 7? * in 'KDM' the 8th and 9th button act as the middle one (and there is no 3rd button emulation) — OK * in a KDE session though, the 8th and 9th button act as the left mouse button (and for some reason 3rd button emulation works) Most likely this is because X is adding devices from HAL and skipping the settings in xorg.conf. The way to solve this is to put your input configuration in an fdi file and comment out the settings in xorg.conf. Create a file like /etc/hal/fdi/policy/logitech-receiver.fdi that maps the options to the HAL-style input.x11_options.$name format. ?xml version=1.0 encoding=ISO-8859-1? deviceinfo version=0.2 device match key=info.capabilities contains=input.mouse match key=info.product contains=Logitech USB Receiver merge key=input.x11_options.ButtonMapping type=string1 0 3 4 5 7 6 2 2/merge /match /match /device /deviceinfo -- Dan ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Mouse button problems using Logitech NX80
Dne torek 11. novembra 2008 je Dan Nicholson napisal(a): Does the tilt scrolling work correctly without remapping buttons 6 and 7? Without ButtonMapping, the tilt scrolling works as expected, but /etc/hal/fdi/policy/logitech-receiver.fdi that maps the options to the HAL-style input.x11_options.$name format. Adding such a file, sadly, didn't change anything — with ButtonMapping turned off in the xorg.conf, I get the right tilt scrolling, but now in get both in KDM and KDE the middle button emulation and the buttons 8 and 9 without a function. Cheers, Matija -- gsm: +386 41 849 552 e-mail: [EMAIL PROTECTED] www: http://matija.suklje.name aim: hookofsilver icq: 110183360 jabber/g-talk: [EMAIL PROTECTED] msn: [EMAIL PROTECTED] yahoo: matija_suklje GPG/PGP fingerprint: FB64 FFAF B8DA 5AB5 B18A 98B8 2B68 0B51 0549 D278 signature.asc Description: This is a digitally signed message part. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Mouse button problems using Logitech NX80
Dne torek 11. novembra 2008 je Thomas Lübking napisal(a): this can easily be fixed with xmodmap, just reorder the button numbers (so if mb 7/6 works for you: xmodmap -e pointer = 1 2 3 4 5 7 6 8 9 10 11 12 ) 7 6 are twisted. the same way you can attach mb2 to e.g. 8: xmodmap -e pointer = 1 8 3 4 5 7 6 2 9 10 11 12 This works, but I'd rather have it work from the xorg.conf itself ...thanks for a solution though :] Cheers, Matija -- gsm: +386 41 849 552 e-mail: [EMAIL PROTECTED] www: http://matija.suklje.name aim: hookofsilver icq: 110183360 jabber/g-talk: [EMAIL PROTECTED] msn: [EMAIL PROTECTED] yahoo: matija_suklje GPG/PGP fingerprint: FB64 FFAF B8DA 5AB5 B18A 98B8 2B68 0B51 0549 D278 signature.asc Description: This is a digitally signed message part. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Mouse button problems using Logitech NX80
Dne torek 11. novembra 2008 je Matija Šuklje napisal(a): Dne torek 11. novembra 2008 je Dan Nicholson napisal(a): Does the tilt scrolling work correctly without remapping buttons 6 and 7? Without ButtonMapping, the tilt scrolling works as expected, but ...but I still get the middle button emulation and useless buttons 8 and 9 (where I would like to have the middle button). The same applies when I have both the '.fdi' file present and the ButtonMapping option in 'xorg.conf'. It does seem to be possible to map these buttons, since as Thomas suggested, I am able to bind them to the desired effect using 'xmodmap -e pointer = 1 9 3 4 5 6 7 8 2', but I feel this should be properly done in 'xorg.conf' and the xmodmap way feels kind of dirty to me. Cheers, Matija -- gsm: +386 41 849 552 e-mail: [EMAIL PROTECTED] www: http://matija.suklje.name aim: hookofsilver icq: 110183360 jabber/g-talk: [EMAIL PROTECTED] msn: [EMAIL PROTECTED] yahoo: matija_suklje GPG/PGP fingerprint: FB64 FFAF B8DA 5AB5 B18A 98B8 2B68 0B51 0549 D278 signature.asc Description: This is a digitally signed message part. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Mouse button problems using Logitech NX80
Dne sreda 12. novembra 2008 je Peter Hutterer napisal(a): if it works in this config, shift the blame to KDE :) Hmmm, I tried using Fluxbox instead of KDE and in Fluxbox it works as expected (just as it does in KDM) ...so it seems that KDE messes it up later on when the user session starts. Tested with these settings: ---[xorg.conf]--- Identifier Mouse Driver evdev #Option Name Logitech USB Receiver Option Device/dev/input/event4 Option Resolution1000 #Option Emulate3Buttons true #Option Buttons 9 Option ButtonMapping 1 0 3 4 5 6 7 8 2 #Option ZAxisMapping 4 5 7 6 ---[/xorg.conf]--- ---[fdi file]--- ?xml version=1.0 encoding=UTF-8? deviceinfo version=0.2 device match key=info.capabilities contains=input.mouse match key=info.product contains=Logitech USB Receiver merge key=input.x11_options.ButtonMapping type=string1 0 3 4 5 6 7 8 2/merge /match /match /device /deviceinfo ---[/fdi file]--- Cheers, Matija -- gsm: +386 41 849 552 e-mail: [EMAIL PROTECTED] www: http://matija.suklje.name aim: hookofsilver icq: 110183360 jabber/g-talk: [EMAIL PROTECTED] msn: [EMAIL PROTECTED] yahoo: matija_suklje GPG/PGP fingerprint: FB64 FFAF B8DA 5AB5 B18A 98B8 2B68 0B51 0549 D278 signature.asc Description: This is a digitally signed message part. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Mouse button problems using Logitech NX80
On Sun, Nov 9, 2008 at 9:41 PM, Matija Šuklje [EMAIL PROTECTED] wrote: Hullo, For my birthday I got a Logitech NX80 mouse and I'm having problems setting it up on X. What I found out about the mouse: - wireless - laser (resolution: 1000) - has standard left and right mouse buttons — buttons 1 and 3 as usual - wheel has two speeds/tractions which are triggered by pressing the wheel — buttons 4 and 5 as usual - wheel can tilt and therefore scroll horizontally — buttons 7 and 6 (yes, they're inverted!) - pressing the wheel changes the (mechanical) speed of the wheel — button 2 is missing - there are two additional buttons on the far right front corner — buttons 8 and 9 One thing I forgot to mention is that normally these side buttons are used for forward and back in a web browser (or similar application). I forget what the kernel calls them (you can test with evtest on the console), but in firefox 3 buttons 8 and 9 should move you forward and backwards in your history. Obviously, you can remap them to whatever you want, but that is the original intention. -- Dan ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Mouse button problems using Logitech NX80
Dne ponedeljek 10. novembra 2008 je Thomas Lübking napisal(a): a) since button 2 is missing, I need some other button (preferably 9) to take the place of the middle mouse button tested pressing the wheel down? Tested pressing the wheel down using 'xev'. Where I would normally expect button 2, it completely ignores any buttonpress. also see man xmodmap. 'xmodmap -pp' lists buttons 1-12 (as already stated and the same as (sometimes) evdev). if a button just does not react on xev, try the logitech_applet and use logitech_applet -d logitech_applet -e (-d sets cruise control defined to disabled, -e to enabled, just -e might not work) Neither produces any output or changes anything in the way 'xev' reports anything. Yet alone getting the middle button (i.e. button 2) to work out of the blue. b) fix the wheel tilting, so tilting to the right actually scrolls to the right (instead of left as is the current state) i'd say that's mostly app/toolkit dependend. you could however use e.g. xbinkeys to map the hor. scroll btns to (ctrl)+alt+vert scroll (mb 4/5) The synaptics touchpad on my laptop also has a left-right scroll and I've tested both using the same apps as well as 'xev' and the thing is that the Synaptics driver (as probably most do) uses the scrolling sequence 4 5 6 7 (for up down left right), while this mouse shows 4 5 7 6 — i.e. the left and right scroll buttons are switched/mirrored. c) at the *very* _least_, if a) and b) cannot be done (yet), for a while just having Emulate3Buttons work, would make life easier ;) no idea on that, but on a mouse with 10 buttons you should be able to find one to use a 3rd one ;-) I have no problem finding it, but binding it gives me problems ;) Cheers, Matija -- gsm: +386 41 849 552 e-mail: [EMAIL PROTECTED] www: http://matija.suklje.name aim: hookofsilver icq: 110183360 jabber/g-talk: [EMAIL PROTECTED] msn: [EMAIL PROTECTED] yahoo: matija_suklje GPG/PGP fingerprint: FB64 FFAF B8DA 5AB5 B18A 98B8 2B68 0B51 0549 D278 signature.asc Description: This is a digitally signed message part. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Mouse button problems using Logitech NX80
On Mon, Nov 10, 2008 at 11:58 AM, Matija Šuklje [EMAIL PROTECTED] wrote: Dne ponedeljek 10. novembra 2008 je Dan Nicholson napisal(a): Try a newer version of xf86-input-evdev. I had the same issue and ended up getting a patch committed to the kernel to have the inputs swapped. I later found out that evdev-2.x did the right thing with a vanilla kernel. Thanks. I'll wait for X 7.4 to reach stable on Gentoo and then unmask the latest evdev and hope that solves it :] You should be able to just build a newer evdev release and swap it in at /usr/lib/xorg/modules/input temporarily. I'm pretty sure it builds against an older server. You just don't get any of the input properties support. Try stopping X and running evtest from the console. You should find the pushing the wheel to the right results in a positive value for the HWHEEL button. Hmmm, I can't find 'evtest'. Does it come with evdev-2.x or any other package? I don't know what gentoo packages it under, but you can build it from the linuxconsole CVS: http://atrey.karlin.mff.cuni.cz/~vojtech/input/ -- Dan ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Mouse button problems using Logitech NX80
Dne ponedeljek 10. novembra 2008 je Dan Nicholson napisal(a): Try a newer version of xf86-input-evdev. I had the same issue and ended up getting a patch committed to the kernel to have the inputs swapped. I later found out that evdev-2.x did the right thing with a vanilla kernel. I just got fed up and upgraded to xf86-input-evdev-2.0.7 and now: * tilting works as it should (probably due to the ZAxisMapping line) * Emulate3Button works (so I can at least have the same functionality as having button 2) But still the ButtonMapping doesn't work (I think it was said 2.1 will support that), so I have two extra buttons that do nothing and have to emulate the middle button. But so far, so good :] Try stopping X and running evtest from the console. You should find the pushing the wheel to the right results in a positive value for the HWHEEL button. I still can't find 'evtest', so I suppose it's not part of the evdev package. Cheers, Matija -- gsm: +386 41 849 552 e-mail: [EMAIL PROTECTED] www: http://matija.suklje.name aim: hookofsilver icq: 110183360 jabber/g-talk: [EMAIL PROTECTED] msn: [EMAIL PROTECTED] yahoo: matija_suklje GPG/PGP fingerprint: FB64 FFAF B8DA 5AB5 B18A 98B8 2B68 0B51 0549 D278 signature.asc Description: This is a digitally signed message part. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Mouse button problems using Logitech NX80
On Tue, 2008-11-11 at 01:54 +0100, Matija Šuklje wrote: Dne ponedeljek 10. novembra 2008 je Dan Nicholson napisal(a): Try a newer version of xf86-input-evdev. I had the same issue and ended up getting a patch committed to the kernel to have the inputs swapped. I later found out that evdev-2.x did the right thing with a vanilla kernel. I just got fed up and upgraded to xf86-input-evdev-2.0.7 and now: * tilting works as it should (probably due to the ZAxisMapping line) * Emulate3Button works (so I can at least have the same functionality as having button 2) But still the ButtonMapping doesn't work (I think it was said 2.1 will support that), so I have two extra buttons that do nothing and have to emulate the middle button. But so far, so good :] Try stopping X and running evtest from the console. You should find the pushing the wheel to the right results in a positive value for the HWHEEL button. I still can't find 'evtest', so I suppose it's not part of the evdev package. On Gentoo, you'll find it in games-util/joystick. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Mouse button problems using Logitech NX80
On Sun, Nov 9, 2008 at 9:41 PM, Matija Šuklje [EMAIL PROTECTED] buttons 4 and 5 as usual - wheel can tilt and therefore scroll horizontally — buttons 7 and 6 (yes, they're inverted!) snip I'm currently running (on Gentoo AMD64 stable): xorg-server 1.3.0.0 xf86-input-evdev 1.1.5 Try a newer version of xf86-input-evdev. I had the same issue and ended up getting a patch committed to the kernel to have the inputs swapped. I later found out that evdev-2.x did the right thing with a vanilla kernel. Try stopping X and running evtest from the console. You should find the pushing the wheel to the right results in a positive value for the HWHEEL button. -- Dan ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg