Re: [gentoo-user] Re: off-topic: logitech mice (MX1000)
Am Donnerstag, 17. Dezember 2009 16:07:46 schrieb walt: That's why I was wondering if just a simple front-or-back turn of the wheel also produces two different button events for each notch -- you should see only button-4 events for forward and only button-5 events for backward. (I actually see two button-4 events for each notch forward, but the 'state' differs between the first and second event.) You get one event for ButtonPress and one event for ButtonRelease Regards Michael
Re: [gentoo-user] Re: off-topic: logitech mice (MX1000)
On Wed, 2009-12-16 at 22:51 -0500, Allan Gottlieb wrote: Right. Mine (MX 1000) has those plus others (I inherited the mouse). My problem is that several of these send multiple events (i.e. clicking one physical button results in two button-down events for different X11 buttons and then the corresponding two button-up events). I wonder how to handle this. Actually, I have trouble believing it so wonder if I have some config wrong, but mine are very simple configs. allan I don't have the mouse with me to check, but ran xev on it last night and only saw one event for left-right wheel (button6 and button7 iirc). Could it be perhaps there are 2 (X11) drivers listneing on this device or are you using GPM or something like that? -a
Re: [gentoo-user] Re: off-topic: logitech mice (MX1000)
Am Mittwoch, 16. Dezember 2009 schrieb Bruce Hill: On Wed, Dec 16, 2009 at 04:36:45PM -0500, Albert Hopkins wrote: FWIW, I have a Logitech mouse with a wheel that scrolls up and down, presses down, and clicks left and right. All seem to work fine, except I don't use the latter as I haven't found any purpose for it although I could possibly see it replacing ALT-Tab. Nah... to confusing. -a What settings do you use for all those events? I have a mouse with right/left buttons, scroll wheel that also tilts right/left, and two side buttons. Nothing works atm but regular right/left, scroll wheel to scroll and press to paste, and side buttons. So scroll wheel tilt does nothing. Unlike Windows, where I'd have to download a 50 Meg file from logitech to make the tilt wheel work, everything's there in Xorg, and mplayer automatically uses the left and right click to skip forward and backward. Horizontal scrolling in browser windows works as well - out of the box. Isn't linux great :-) -- Gruß | Greetings | Qapla' UNIX is not user-unfriendly. It just expects the user to be a little more computer-friendly. signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: off-topic: logitech mice (MX1000)
At Thu, 17 Dec 2009 16:30:58 +0100 Michael Schreckenbauer grim...@gmx.de wrote: Am Donnerstag, 17. Dezember 2009 16:07:46 schrieb walt: That's why I was wondering if just a simple front-or-back turn of the wheel also produces two different button events for each notch -- you should see only button-4 events for forward and only button-5 events for backward. (I actually see two button-4 events for each notch forward, but the 'state' differs between the first and second event.) You get one event for ButtonPress and one event for ButtonRelease Correct. Remember that on the left or right motion I received two presses and two releases for two different X-buttons. This same thing happens for other physical buttons on the beast. Fortunately the two main buttons give just button 1 and button 3 respectively. Another button just gives button 2 and the wheel rotation give button 4 in one direction and 5 in the other. So it does work as a wheeled mouse if I ignore all the other physical buttons. allan
Re: [gentoo-user] Re: off-topic: logitech mice (MX1000)
At Thu, 17 Dec 2009 11:49:43 -0500 Albert Hopkins mar...@letterboxes.org wrote: On Wed, 2009-12-16 at 22:51 -0500, Allan Gottlieb wrote: Right. Mine (MX 1000) has those plus others (I inherited the mouse). My problem is that several of these send multiple events (i.e. clicking one physical button results in two button-down events for different X11 buttons and then the corresponding two button-up events). I wonder how to handle this. Actually, I have trouble believing it so wonder if I have some config wrong, but mine are very simple configs. allan I don't have the mouse with me to check, but ran xev on it last night and only saw one event for left-right wheel (button6 and button7 iirc). Could it be perhaps there are 2 (X11) drivers listneing on this device or are you using GPM or something like that? That sounds promising, but I see no evidence in the log file. I assume this line (==) NVIDIA(0): Silken mouse enabled doesn't count as the NVIDIA is a display driver and I see nothing relevent in the doc that came with it. I do have two InputDevice sections in xorg.conf about the mouse, but my ServerLayout only mentions one. I attach both my log and xorg.conf below. Thanks for helping. allan # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 1.0 (buildmeis...@builder58) Thu Jun 5 00:08:24 PDT 2008 Section ServerLayout Identifier Nvidia / Logitech layout Screen Nvidia screen 0 0 InputDeviceLogitech MX1000 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section ServerLayout Identifier Nvidia layout Screen Nvidia screen 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Files ModulePath /usr/lib64/xorg/modules FontPath/usr/share/fonts/dejavu/ FontPath/usr/share/fonts/corefonts/ FontPath/usr/share/fonts/misc/ FontPath/usr/share/fonts/ttf-bitstream-vera/ FontPath/usr/share/fonts/Type1/ FontPath/usr/share/fonts/100dpi/ FontPath/usr/share/fonts/75dpi/ EndSection #Section ServerFlags #Option AutoAddDevicesfalse #EndSection Section Module Load glx Load record Load dbe Load xtrap # AJG # Load dri Load extmod EndSection Section InputDevice Identifier Keyboard0 Driver kbd EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/input/mice Option ZAxisMapping 4 5 6 7 EndSection Section InputDevice Identifier Logitech MX1000 Driver evdev Option Device /dev/input/event2 EndSection Section Monitor Identifier Dell wfp 3008 VendorName Dell ModelName wfp 3008 VertRefresh 60.0 ModeLine 2560x1600 268 2560 2608 2640 2720 1600 1603 1609 1646 Option dpms EndSection Section Monitor Identifier Monitor0 VendorName Vendor0 ModelName Model0 EndSection Section Device Identifier Nvidia Quadro FX1700 Driver nvidia EndSection Section Device ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz ### [arg]: arg optional #Option SWcursor # [bool] #Option HWcursor # [bool] #Option NoAccel # [bool] #Option ShadowFB # [bool] #Option UseFBDev # [bool] #Option Rotate# [str] #Option VideoKey # i #Option FlatPanel # [bool] #Option FPDither # [bool] #Option CrtcNumber# i #Option FPScale # [bool] #Option FPTweak # i #Option DualHead # [bool] Identifier Card0 Driver nv VendorName nVidia Corporation BoardName Unknown Board BusID PCI:1:0:0 EndSection Section Screen Identifier Nvidia screen Device Nvidia Quadro FX1700 MonitorDell wfp 3008 DefaultDepth24 SubSection Display Viewport0 0 Depth 24 Modes 2560x1600 EndSubSection EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 DefaultDepth24 SubSection Display Viewport0 0 Depth 1
Re: [gentoo-user] Re: off-topic: logitech mice (MX1000)
At Thu, 17 Dec 2009 15:34:51 -0800 walt w41...@gmail.com wrote: On 12/17/2009 01:23 PM, Allan Gottlieb wrote: I do have two InputDevice sections in xorg.conf about the mouse, but my ServerLayout only mentions one. I attach both my log and xorg.conf below. If you are using evdev (and you are) you should delete (or comment out) anything to do with Input from your xorg.conf, e.g. these sections: Section InputDevice Identifier Keyboard0 Driver kbd EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/input/mice Option ZAxisMapping 4 5 6 7 EndSection and also remove/comment these lines from ServerLayout: InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard The evdev driver is intended to replace *all* of that stuff. Yes, but those lines are effectively commented out. I have three ServerLayout sections but only the first counts (see excerpt from the xorg.conf man page below). The first ServerLayout section (the active one) references the logitech mouse and not mouse0 so the mouse driver is not loaded at all. I do specify the keyboard, but that is working fine. BTW, I remember having a section like this in my xorg.conf, but I don't have it any longer and I don't think you really need it: Section InputDevice Identifier Logitech MX1000 Driver evdev Option Device /dev/input/event2 EndSection I think that the evdev driver is loaded by default now, so you don't need to mention it in xorg.conf. Caveat: I needed to add /etc/hal/fdi/policy/10-x11-logitech.fdi to replace two lines in my xorg.conf because my mouse has four buttons and no wheel. You obviously don't have that problem, so I think your mouse should Just Work without any extra fdi files. I do not use the hal stuff. I was scared off by the horror stories reported here. Perhaps this summer I will give it a go. thanks again for helping, allan SERVERLAYOUT SECTION The config file may have multiple ServerLayout sections. A server layout represents the binding of one or more screens (Screen sections) and one or more input devices (InputDevice sections) to form a complete configuration. In multi-head configurations, it also specifies the relative layout of the heads. A ServerLayout section is considered active if it is referenced by the -layout command line option or by an Option DefaultServerLayout entry in the ServerFlags section (the former takes precedence over the latter). If those options are not used, the first ServerLayout section found in the config file is con- sidered the active one. If no ServerLayout sections are present, the single active screen and two active (core) input devices are selected as described in the relevant sections above.
Re: [gentoo-user] Re: off-topic: logitech mice (MX1000)
At Tue, 15 Dec 2009 18:09:15 -0800 walt w41...@gmail.com wrote: On 12/15/2009 11:11 AM, Allan Gottlieb wrote: It seems to me that this mouse sends two button events for some of the physical buttons. For example moving the wheel to the left reports button press 13 button press 6 ... Identifier Logitech MX1000 To clarify a bit, what program are you using to identify the mouse events? I looked up the Logitech MX 1000 on amazon.com, and the photos show only one wheel, which is front-to-back, not left-to-right. Am I getting this wrong? I used xev and also looked at emac's view lossage. The wheel rotates front-to-back, but can be pushed left or right. If you look at the amazon page you can sort of see the left and right arrows. Thanks for any help you can give. allan
Re: [gentoo-user] Re: off-topic: logitech mice (MX1000)
On Wed, 2009-12-16 at 11:06 -0800, walt wrote: If you look at the amazon page you can sort of see the left and right arrows. I think a mouse that complicated would make me crazy. There was a time when Windows and Mac users criticized X11 because it had too many buttons (3). Nowadays, Windows users seem to require 20 different buttons, wheels, knobs, and whatever else they can throw on a pointer device, whereas Macs seem to want to get rid of buttons altogether but require the user to do cartwheels and other acrobatics with their fingers in order to do a simple cut/paste. FWIW, I have a Logitech mouse with a wheel that scrolls up and down, presses down, and clicks left and right. All seem to work fine, except I don't use the latter as I haven't found any purpose for it although I could possibly see it replacing ALT-Tab. Nah... to confusing. -a
Re: [gentoo-user] Re: off-topic: logitech mice (MX1000)
On Wed, Dec 16, 2009 at 04:36:45PM -0500, Albert Hopkins wrote: FWIW, I have a Logitech mouse with a wheel that scrolls up and down, presses down, and clicks left and right. All seem to work fine, except I don't use the latter as I haven't found any purpose for it although I could possibly see it replacing ALT-Tab. Nah... to confusing. -a What settings do you use for all those events? I have a mouse with right/left buttons, scroll wheel that also tilts right/left, and two side buttons. Nothing works atm but regular right/left, scroll wheel to scroll and press to paste, and side buttons. So scroll wheel tilt does nothing. -- Experience is a hard teacher because she gives the test first, the lesson afterward. But properly learned, the lesson forever changes the man.
Re: [gentoo-user] Re: off-topic: logitech mice (MX1000)
On Thu, 2009-12-17 at 06:26 +0800, Bruce Hill wrote: What settings do you use for all those events? I have a mouse with right/left buttons, scroll wheel that also tilts right/left, and two side buttons. Nothing works atm but regular right/left, scroll wheel to scroll and press to paste, and side buttons. So scroll wheel tilt does nothing. I didn't make any settings other than all of my input devices in X are evdev managed and queried via hal.
Re: [gentoo-user] Re: off-topic: logitech mice (MX1000)
At Wed, 16 Dec 2009 16:36:45 -0500 Albert Hopkins mar...@letterboxes.org wrote: On Wed, 2009-12-16 at 11:06 -0800, walt wrote: If you look at the amazon page you can sort of see the left and right arrows. I think a mouse that complicated would make me crazy. There was a time when Windows and Mac users criticized X11 because it had too many buttons (3). Nowadays, Windows users seem to require 20 different buttons, wheels, knobs, and whatever else they can throw on a pointer device, whereas Macs seem to want to get rid of buttons altogether but require the user to do cartwheels and other acrobatics with their fingers in order to do a simple cut/paste. FWIW, I have a Logitech mouse with a wheel that scrolls up and down, presses down, and clicks left and right. All seem to work fine, except I don't use the latter as I haven't found any purpose for it although I could possibly see it replacing ALT-Tab. Nah... to confusing. Right. Mine (MX 1000) has those plus others (I inherited the mouse). My problem is that several of these send multiple events (i.e. clicking one physical button results in two button-down events for different X11 buttons and then the corresponding two button-up events). I wonder how to handle this. Actually, I have trouble believing it so wonder if I have some config wrong, but mine are very simple configs. allan
Re: [gentoo-user] Re: off-topic: logitech mice (MX1000)
At Thu, 17 Dec 2009 06:26:57 +0800 Bruce Hill br...@slackwarebox.com wrote: On Wed, Dec 16, 2009 at 04:36:45PM -0500, Albert Hopkins wrote: FWIW, I have a Logitech mouse with a wheel that scrolls up and down, presses down, and clicks left and right. All seem to work fine, except I don't use the latter as I haven't found any purpose for it although I could possibly see it replacing ALT-Tab. Nah... to confusing. -a What settings do you use for all those events? I have a mouse with right/left buttons, scroll wheel that also tilts right/left, and two side buttons. Nothing works atm but regular right/left, scroll wheel to scroll and press to paste, and side buttons. So scroll wheel tilt does nothing. Perhaps it does something and the app ignores it. xev will settle that question. Also, are you using the right driver. I use xorg.conf and have Section InputDevice Identifier Logitech MX1000 Driver evdev Option Device /dev/input/event2 EndSection allan