im just wondering if anyone has the G9 and linux. I read somewhere (i cant recall where now though) that you can set up the side mouse buttons and the tilt scroll wheel to act as a tab changer for firefox, and use those extra buttons for other things in other applications. Anyone have any idea how to do this? I think it would be great to have the tilt wheel as back/forward and the side buttons to switch between firefox tabs.
i couldnt find anything in Edit -> preferences that helped this either.
-
-
There are other guides on the net... just do a Google search.
http://meandubuntu.wordpress.com/2007/12/23/logitech-laser-g9-and-ubuntu/
Most are not very clear on how to customize the function of each button, but you can always test out what this guy did without taking down X server. -
There are other guides on the net... just do a Google search.
http://meandubuntu.wordpress.com/2007/12/23/logitech-laser-g9-and-ubuntu/
http://gentoo-wiki.com/HOWTO_Advanced_Mouse/Individual_Configurations#Logitech_G9
Most are not very clear on how to customize the function of each button, but you can always test out what this guy did without taking down X server. -
yeah i saw those guides but neither of them worked for me. It seems the problem is that the extra buttons are just registering as one of the normal 3 for me. So, for example when i hit the back side button, it registers as the mouse3 button.
any idea how to fix that? -
Take a Look at this.. www.hidpoint.com. Seems they have done all the Job. Just download and use it.
-
that doesnt have the G9 supported, and the only ubuntu system they have support for is 6.06
(although im sure if i used the driver for the G7 or G5 and ubuntu 6.06 im sure it would work, i just wont yet. I hve to get rid of ubuntu 8.04 soon so ill check it out later after im done that) -
it seems im having problems with this mouse again after the latest kernel upgrade. Scroll wheel is back/forward instead of scrolling up/down
i have tried both
Option "ZAxisMapping" "4 5"
AND
Option "ZAxisMapping" "6 7"
with no luck on getting the scroll wheel back to its previous state.
here is the section of my xorg.conf file
Code:Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "ZAxisMapping" "4 5" # i tried this with "6 7" instead of "4 5" already, same problem Option "Emulate3Buttons" "true" EndSection
-
use evdev as the driver instead of mouse, also you can get rid of the protocol and device options.
Code:Section "InputDevice" # generated from default Identifier "Mouse0" # Driver "mouse" # Option "Protocol" "auto" # Option "Device" "/dev/psaux" # Option "Emulate3Buttons" "no" # Option "ZAxisMapping" "4 5" # Option "ButtonMapping" "1 2 3 6 7" Driver "evdev" Option "CorePointer" Option "Name" "Logitech USB Gaming Mouse" EndSection
that's mine, granted it's a G5 and I map most everything manually but all the stuff works. -
ive tried that evdev driver a few times before, it seems to destroy the x server for some reason and i have to work in low graphics mode. It does however allow the scroll wheel to work partially (it only works while you hold the mouse on the scroll bar, not if you have the mouse inside the window)
-
Can you post your entire xorg file? I have the g9/rev/nano/razer working with evdev (including side scrolling/buttons) in the newest kernel.
-
here it is:
Code:# xorg.conf (xorg X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # # Edit this file with caution, and see the xorg.conf manual page. # (Type "man xorg.conf" at the shell prompt.) # # This file is automatically updated on xserver-xorg package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xorg # package. # # If you have edited this file but would like it to be automatically updated # again, run the following command: # sudo dpkg-reconfigure -phigh xserver-xorg Section "Files" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "ZAxisMapping" "4 5" # i tried this with "6 7" instead of "4 5" already, same problem Option "Emulate3Buttons" "true" EndSection Section "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "HorizEdgeScroll" "0" EndSection Section "Device" Identifier "nVidia Corporation G80 [GeForce 8600M GS]" Driver "nvidia" Busid "PCI:1:0:0" Option "AddARGBVisuals" "True" Option "NoLogo" "True" EndSection Section "Monitor" Identifier "Generic Monitor" Option "DPMS" Horizsync 28-72 Vertrefresh 43-60 EndSection Section "Screen" Identifier "Default Screen" Device "nVidia Corporation G80 [GeForce 8600M GS]" Monitor "Generic Monitor" Defaultdepth 24 SubSection "Display" Modes "1440x1440" EndSubSection Option "AddARGBGLXVisuals" "True" EndSection Section "ServerLayout" Identifier "Default Layout" screen "Default Screen" Inputdevice "Generic Keyboard" Inputdevice "Configured Mouse" # Uncomment if you have a wacom tablet # InputDevice "stylus" "SendCoreEvents" # InputDevice "cursor" "SendCoreEvents" # InputDevice "eraser" "SendCoreEvents" Inputdevice "Synaptics Touchpad" EndSection Section "Module" Load "glx" EndSection Section "Extensions" Option "Composite" "Enable" EndSection
-
ill just use the old kernel then
-
Sorry for the delay, my notebook was out of service (tinkering with openbox
)
Here what you need to do and require: (This will be a guide to enable every buttons of the g9 and can be use for other mouse)
Make sure you have evdev install by looking into synaptic or use the command below.
# apt-get xserver-xorg-input-evdev
Backup your xorg file as we will be doing some editing. You will need to replace config mouse back to its generic setting as we will create a separate "driver" for the g9.
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Next, add InputDevice "G9" "SendCoreEvents" to the "ServerLayout" at the bottom of your xorg file.
"G9" is what X will use for event when using the g9 itself. But we will need to have a InputDevice with the G9 name in order for X to know its existent. With the G9 plug in use the command below to find your device ID.
# find /dev/input/by-id
You will have two ids with the G9 in it. You want the one with events in its name. In my case (which should be yours as well), my id is:
# /dev/input/by-id/usb-Logitech_USB_Receiver-event-mouse
We need to find the name of the device as well. There will be two with the same name. Either one will be fine.
# cat /proc/bus/input/devices
You should have "Logitech G9 Laser Mouse" as the name.
Checklist:
evdev is install
We know our device ID and name.
With everything above, your "InputDevice" will look like this:
Section "InputDevice"
Identifier "G9"
Driver "evdev"
Option "Protocol" "evdev"
Option "Name" "Logitech G9 Laser Mouse"
Option "Buttons" "5"
Option "Device" "/dev/input/by-id/usb-Logitech_G9_Laser_Mouse_8E53E82AA70029-event-mouse"
Option "RelHWHEELMapTo" "Buttons 7 6" # side scrolling in the new kernel
EndSection
Restart X!
Run xev and confirm your buttons. Let me know how it go and we will go to the next step - binding keys! -
nope, still no luck.. the scroll wheel is still back/forward. Herre is my new xorg.conf. Although, on the positive side using the evdev driver didnt destroy my x server
Code:# xorg.conf (xorg X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # # Edit this file with caution, and see the xorg.conf manual page. # (Type "man xorg.conf" at the shell prompt.) # # This file is automatically updated on xserver-xorg package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xorg # package. # # If you have edited this file but would like it to be automatically updated # again, run the following command: # sudo dpkg-reconfigure -phigh xserver-xorg Section "Files" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "G9" Driver "evdev" Option "Protocol" "evdev" Option "Name" "Logitech G9 Laser Mouse" Option "Buttons" "5" Option "Device" "/dev/input/by-id/usb-Logitech_G9_Laser_Mouse_06D0CEE1B80029-event-mouse" Option "RelHWHEELMapTo" "Buttons 7 6" # side scrolling in the new kernel Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "HorizEdgeScroll" "0" EndSection Section "Device" Identifier "nVidia Corporation G80 [GeForce 8600M GS]" Driver "nvidia" Busid "PCI:1:0:0" Option "AddARGBVisuals" "True" Option "NoLogo" "True" EndSection Section "Monitor" Identifier "Generic Monitor" Option "DPMS" Horizsync 28-72 Vertrefresh 43-60 EndSection Section "Screen" Identifier "Default Screen" Device "nVidia Corporation G80 [GeForce 8600M GS]" Monitor "Generic Monitor" Defaultdepth 24 SubSection "Display" Modes "1440x1440" EndSubSection Option "AddARGBGLXVisuals" "True" EndSection Section "ServerLayout" Identifier "Default Layout" screen "Default Screen" Inputdevice "Generic Keyboard" #Inputdevice "Configured Mouse" InputDevice "G9" "SendCoreEvents" # Uncomment if you have a wacom tablet # InputDevice "stylus" "SendCoreEvents" # InputDevice "cursor" "SendCoreEvents" # InputDevice "eraser" "SendCoreEvents" Inputdevice "Synaptics Touchpad" EndSection Section "Module" Load "glx" EndSection Section "Extensions" Option "Composite" "Enable" EndSection
-
Hmm, what color is the led on the g9? Change it back to red if you can. Can you run xev and tell me what button number is the scrolling?
-
i believe the scrolling was 6/7 but i dont remember, ill check later. (it was either that or 4 5)
and i dont think that the color of the led will matter, the color is changable and i know i was changing it around at the start, but ill try other profiles.
did you make a special profile just for linux? did you do anything special like that? -
No profile was necessary, just the default setting should be fine.
Do you by any chance have xbindkey install and/or have created a file call .xbindkeysrc? I know most guide you find online do not have 9/8 as back/forward.
The scrollng issue is system wide, right? Not just firefox? -
yah, scrolling issue is system wide and i have never heard of this "xbindkey install," so i doubt i have it.
-
Very stump, the only other option is to use/edit the .Xmodmap file in your home directory. I need to know what xev report the scroll button as. Does your touchpad and other mouse do the same?
-
forward/up scrolling is 4 and backward/down scrolling is 5. The touchpad scrolls ok, and well... it seems the G9 mouse is scrolling now again, possibly the latest updates?
-
Could be a number of reason, kernal was fix, evdev kicking in, tweaks to the xorg files, etc.
Since scrolling (up/down) work, can you side scroll with the wheel as well? Evdev should take care of that. Do you still want to know how to bind those keys to do something else? -
im actually using the mouse driver again (not evdev)
Code:Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "ZAxisMapping" "6 7" # i tried this with "6 7" instead of "4 5" already, same problem Option "Emulate3Buttons" "true" EndSection
anyone have the logitech G9 mouse and linux?
Discussion in 'Linux Compatibility and Software' started by Fittersman, Mar 29, 2008.