View Full Version : HOWTO: setup all 12 buttons on your mx1000
jrib
December 2nd, 2005, 01:41 AM
Well it took a few weeks of scouring the internet for clues before I finally got my mx1000 to work just like I expected it to, but I finally did it. The howto is available on the wiki at the following url:
https://wiki.ubuntu.com/MX1000Mouse .
Let me know if it works for you. I welcome any and all questions and comments. Even if you don't like the way a particular sentence sounds, let me know :D
The howto is a product of several small changes I made over several weeks as I tried to get all 12 buttons to function correctly during my spare time so I may have forgotten to include a detail or two (I hope not). Sorry if I did, but I'm sure we can figure it out. Just post any problems you are having.
ZAKhan
December 8th, 2005, 03:35 PM
Well it took a few weeks of scouring the internet for clues before I finally got my mx1000 to work just like I expected it to, but I finally did it. The howto is available on the wiki at the following url:
https://wiki.ubuntu.com/mx1000mouse .
Let me know if it works for you. I welcome any and all questions and comments. Even if you don't like the way a particular sentence sounds, let me know :D
The howto is a product of several small changes I made over several weeks as I tried to get all 12 buttons to function correctly during my spare time so I may have forgotten to inlude a detail or two (I hope not). Sorry if I did, but I'm sure we can figure it out. Just post any problems you are having.
When run the following command in the terminal window
sudo apt-get install xvkbd xbindkeys xmacro
I get the following errors:
abcd@LINUX:~$ sudo apt-get install xvkbd xbindkeys xmacro
Reading package lists... Done
Building dependency tree... Done
W: Couldn't stat source package list http://archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_universe_bi nary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com breezy/main Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com breezy/restricted Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_restricted_ binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com breezy/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_multiverse_ binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.ubuntu.com breezy-security/main Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_breezy-security_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.ubuntu.com breezy-security/restricted Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_breezy-security_restricted_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.ubuntu.com breezy-security/universe Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_breezy-security_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://wine.sourceforge.net binary/ Packages (/var/lib/apt/lists/wine.sourceforge.net_apt_binary_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://public.planetmirror.com breezy/free Packages (/var/lib/apt/lists/public.planetmirror.com_pub_plf_ubuntu_plf_dists_b reezy_free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://public.planetmirror.com breezy/non-free Packages (/var/lib/apt/lists/public.planetmirror.com_pub_plf_ubuntu_plf_dists_b reezy_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.free.fr breezy/free Packages (/var/lib/apt/lists/ftp.free.fr_pub_Distributions%5fLinux_plf_ubuntu_p lf_dists_breezy_free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.free.fr breezy/non-free Packages (/var/lib/apt/lists/ftp.free.fr_pub_Distributions%5fLinux_plf_ubuntu_p lf_dists_breezy_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://deb.opera.com etch/non-free Packages (/var/lib/apt/lists/deb.opera.com_opera_dists_etch_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ubuntu-backports.mirrormax.net breezy-extras/main Packages (/var/lib/apt/lists/ubuntu-backports.mirrormax.net_dists_breezy-extras_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ubuntu-backports.mirrormax.net breezy-extras/restricted Packages (/var/lib/apt/lists/ubuntu-backports.mirrormax.net_dists_breezy-extras_restricted_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ubuntu-backports.mirrormax.net breezy-extras/universe Packages (/var/lib/apt/lists/ubuntu-backports.mirrormax.net_dists_breezy-extras_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ubuntu-backports.mirrormax.net breezy-extras/multiverse Packages (/var/lib/apt/lists/ubuntu-backports.mirrormax.net_dists_breezy-extras_multiverse_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Couldn't find package xvkbd
madjinx
December 8th, 2005, 05:19 PM
excelent, i never bothered to check out how to get them all to work, thansk for donig my legwork.
jrib
December 8th, 2005, 07:24 PM
When run the following command in the terminal window
sudo apt-get install xvkbd xbindkeys xmacro
I get the following errors:
...
First, you may want to create a new sources.list. Some of the repositories that you are failing to connect to no longer exist iirc (for example mirrormax). Visit http://ubuntulinux.nl/source-o-matic and generate a new sources.list that contains the repositories you want (you will need universe enabled for the packages in this howto). Then run sudo apt-get update. Let me know if that solves your problems.
excelent, i never bothered to check out how to get them all to work, thansk for donig my legwork.
Great! Glad it worked for you.
Heliode
December 8th, 2005, 07:39 PM
Hey, I've got an MX1000 so I thought I'd try this, but where you have this line:
*H: Handlers=mouse0 event1 ts0
But I miss the 'event*' part. (the rest is there though)
there is no 'event' in my '/dev/input' either.
I tried it without this option, but that just killed my Xserver.
Any thoughts?
jrib
December 8th, 2005, 07:49 PM
Hey, I've got an MX1000 so I thought I'd try this, but where you have this line:
*H: Handlers=mouse0 event1 ts0
But I miss the 'event*' part. (the rest is there though)
there is no 'event' in my '/dev/input' either.
I tried it without this option, but that just killed my Xserver.
Any thoughts?
Does lsmod | grep evdev return anything? What version of ubuntu are you running?
Heliode
December 8th, 2005, 07:56 PM
Does lsmod | grep evdev return anything? What version of ubuntu are you running?
No, it doesn't show anything... so I modprobed evdev, and now it shows 'event1'. (there is now also an 'event1' in /dev/...) But it still crashes the Xserver on restart, with the message that it couldn't open the device.
I made sure I got the 'Dev Phys' part right.
Any more ideas?
Tnx for your help so far btw.
jrib
December 8th, 2005, 07:59 PM
No, it doesn't show anything... so I modprobed evdev, and now it shows 'event1'. (there is now also an 'event1' in /dev/...) But it still crashes the Xserver on restart, with the message that it couldn't open the device.
I made sure I got the 'Dev Phys' part right.
Any more ideas?
Tnx for your help so far btw.
My guess would be a syntax error. It happened to me a few times. Can you post your xorg.conf so we can make sure that isn't the problem?
Heliode
December 8th, 2005, 08:06 PM
My guess would be a syntax error.
Indeed it was... although a very minor one... to get it to work I had to change this:
Option "Device" "/dev/input/event1 "
to this:
Option "Device" "/dev/input/event1"
(notice the space)
In case anyone else has the same problem: add 'evdev' to '/etc/modules' to have the evdev module load on startup, and be careful with your syntax!
Thanks for your help and very quick replies!
Edit:
Some more things I've noticed after fully completing the howto:
The side-scroll buttons do the same thing as the page-forward/backward ones, (i.e. don't side scroll) and the 'middle mouse button' function is gone... I use this function quite a lot to open new tabs in firefox and to paste things I have selected, so it would be great if that could be made to work.
Great job on the other stuff though.
jrib
December 8th, 2005, 08:25 PM
Indeed it was... although a very minor one... to get it to work I had to change this:
Option "Device" "/dev/input/event1 "
to this:
Option "Device" "/dev/input/event1"
(notice the space)
In case anyone else has the same problem: add 'evdev' to '/etc/modules' to have the evdev module load on startup, and be careful with your syntax!
Thanks for your help and very quick replies!
Edit:
Some more things I've noticed after fully completing the howto:
The side-scroll buttons do the same thing as the page-forward/backward ones, (i.e. don't side scroll) and the 'middle mouse button' function is gone... I use this function quite a lot to open new tabs in firefox and to paste things I have selected, so it would be great if that could be made to work.
Great job on the other stuff though.
Are the cruise control buttons allowing you to scroll down to a page by holding it down?
The missing middle button is very strange. Open a terminal. Do "killall xbindkeys" and run "xev". Put your mouse over the box and click each of your buttons to see what button they are generating. What button number does it generate for the middle button? and the side scrolls?
Heliode
December 8th, 2005, 08:32 PM
Are the cruise control buttons allowing you to scroll down to a page by holding it down?
The missing middle button is very strange. Open a terminal. Do "killall xbindkeys" and run "xev". Put your mouse over the box and click each of your buttons to see what button they are generating. What button number does it generate for the middle button? and the side scrolls?
Cruise control works very well.
However, middle mouse button generates no event in xev. All the other buttons do:
4, 5, 6 & 7 for the scroll wheel, 1 and 3 for left- and right-click, 11 and 12 for cruise control, 8 & 9 for forward and backward, and 10 for the small button between those two.
So I seem to be missing button 2..
jrib
December 8th, 2005, 08:40 PM
Cruise control works very well.
However, middle mouse button generates no event in xev. All the other buttons do:
4, 5, 6 & 7 for the scroll wheel, 1 and 3 for left- and right-click, 11 and 12 for cruise control, 8 & 9 for forward and backward, and 10 for the small button between those two.
So I seem to be missing button 2..
Ah! The first thing I forgot, thanks.
You'll need to set mousewheel.horizscroll.withnokey.action to 0, after entering about:config in the address bar of firefox. That should get sidescroll to work. I'll update the wiki. Thanks :D
Not too sure about the middle mouse button, restart X just to see what happens.
[edit] Meant "0", not "TRUE".
sniper85
December 8th, 2005, 09:48 PM
I am having trouble restarting X after editing xorg.conf. Here is my xorg.conf file. I get the error:
Configured Mouse: cannot open input device
No core pointer
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Tue Nov 22 18:04:42 PST 2005
# /etc/X11/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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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 "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "Files"
# paths to defoma fonts
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/CID"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "evdev"
Option "Dev Name" "Logitech USB Receiver"
Option "Dev Phys" "usb-*/input1"
Option "Device" "/dev/input/event1"
Option "Buttons" "12"
Option "ZAxisMapping" "4 5 7 6"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 31.0 - 80.0
VertRefresh 59.0 - 76.0
Option "DPMS"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NVIDIA Default Card"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NVIDIA Default Card"
Monitor "Generic Monitor"
DefaultDepth 24
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Here is my output from cat /proc/bus/input/devices
I: Bus=0003 Vendor=046d Product=c512 Version=3007
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:02.0-7/input0
H: Handlers=kbd event0
B: EV=120003
B: KEY=10000 7 ff800000 7ff febeffdf ffefffff ffffffff fffffffe
B: LED=1f
I: Bus=0003 Vendor=046d Product=c512 Version=3007
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:02.0-7/input1
H: Handlers=kbd mouse0 event1 ts0
B: EV=f
B: KEY=7fffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 0 0 1878 d800d100 1e0000 0 0 0
B: REL=143
B: ABS=100 0
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
H: Handlers=kbd event2
B: EV=40001
B: SND=6
berserker
December 8th, 2005, 09:55 PM
Cruise control works very well.
However, middle mouse button generates no event in xev. All the other buttons do:
4, 5, 6 & 7 for the scroll wheel, 1 and 3 for left- and right-click, 11 and 12 for cruise control, 8 & 9 for forward and backward, and 10 for the small button between those two.
So I seem to be missing button 2..
All my buttons are recognized by replacing
Option "ZAxisMapping" "4 5 7 6"
with
Option "ZAxisMapping" "11 12 10 9"
jrib
December 8th, 2005, 09:56 PM
I am having trouble restarting X after editing xorg.conf. Here is my xorg.conf file. I get the error:
Reread the part explaing the "Device" line again. It seems you may not have completed that step correctly. It should involve event[NUMBER] in it, you'll see in the wiki:
Option "Device" "/dev/input/event1"
[edit] after seeing the output of "cat /proc/bus/input/devices", I can tell you it should be exactly like the example above since your Handlers says "event1"
jrib
December 8th, 2005, 09:59 PM
All my buttons are recognized by replacing
Option "ZAxisMapping" "4 5 7 6"
with
Option "ZAxisMapping" "11 12 10 9"
Do the mouse buttons work correctly after that? Or do you need to also have a .Xmodmap file? I was originally using that setup with a .Xmodmap, but this setup (with z-axis 4 5 7 6) seems to work without requiring a .Xmodmap file.
sniper85
December 8th, 2005, 10:04 PM
I tried it with /dev/input/event1 and got the same result
berserker
December 8th, 2005, 10:06 PM
Do the mouse buttons work correctly after that? Or do you need to also have a .Xmodmap file? I was originally using that setup with a .Xmodmap, but this setup (with z-axis 4 5 7 6) seems to work without requiring a .Xmodmap file.
Doh! Thanks, Jason. All buttons work with z-axis 4 5 7 6 when I disabled Xmodmap.
jrib
December 8th, 2005, 10:07 PM
I tried it with /dev/input/event1 and got the same result
Get rid of the CorePointer line, you shouldn't need it unless you use multiple mice. Let me know if it stops throwing errors.
[edit]Are you using both a wireless logitech keyboard and mouse?
sniper85
December 8th, 2005, 10:13 PM
I tried to remove that line and got the same result. And yes i am using a logitech wireless mouse and keyboard
berserker
December 8th, 2005, 10:17 PM
Jason,
How would you bind the middle thumb button (button 10) to close the current application?
TIA
jrib
December 8th, 2005, 10:24 PM
I tried to remove that line and got the same result. And yes i am using a logitech wireless mouse and keyboard
okay, I think that we're going to have to look into this line: "H: Handlers=kbd mouse0 event1 ts0"
I googled for "Handlers=kdb mouse" and didn't get any hits (got 1 but it was strange code). I don't understand too much about what these things actually mean. I'll try to google and understand more about what exactly it means. In the meantime, let me know if you figure anything out yourself. Thanks and sorry it didn't work out right away.
berserker
December 9th, 2005, 12:44 AM
Jason,
How would you bind the middle thumb button (button 10) to close the current application?
TIA
This works with mixed results (closes tabs in Konqueror and Firefox completely) in ~/.xbindkeysrc:
"/usr/X11R6/bin/xvkbd -xsendevent -text "\CW""
b:10
Jason, thanks for this howto. Disabling xmodmap has enabled me to use the thumb buttons in CoD under Wine.
jrib
December 9th, 2005, 05:05 AM
This works with mixed results (closes tabs in Konqueror and Firefox completely) in ~/.xbindkeysrc:
"/usr/X11R6/bin/xvkbd -xsendevent -text "\CW""
b:10
Jason, thanks for this howto. Disabling xmodmap has enabled me to use the thumb buttons in CoD under Wine.
Interesting, I was trying to figure out what xsendevent text would allow you to do F4 so that you could have it send ALT+F4 but I couldn't figure it out. You could always change the shortcut key in "keyboard shortcuts" to something like ALT+w (I don't know if that's used for something else) and then make xbindkeys send that. Current;y, I have my button sending "Delete" so that I can delete text quickly with the mouse.
If anyone knows more about these xsendevents text commands, please share. I've been searching google but most of my hits are actually mouse related and I don't find a good reference!
berserker
December 9th, 2005, 07:03 AM
You could always change the shortcut key in "keyboard shortcuts" to something like ALT+w (I don't know if that's used for something else) and then make xbindkeys send that.
Thanks! That did the trick. I can now close the current app by pressing the middle thumb button. Here's what it looks like in ~/.xbindkeysrc:
"/usr/X11R6/bin/xvkbd -text "\[Alt_L]\[w]""
b:10
XQC
December 10th, 2005, 09:46 AM
You'll need to set mousewheel.horizscroll.withnokey.action to 0, after entering about:config in the address bar of firefox. That should get sidescroll to work. I'll update the wiki. Thanks :D
[edit] Meant "0", not "TRUE".
I did this, but the horizontal wheel also goes up and down... what do I have to change?
Otherwise, I followed the How-to step by step correctly and all other buttons are working well!
jrib
December 10th, 2005, 11:21 AM
I did this, but the horizontal wheel also goes up and down... what do I have to change?
Otherwise, I followed the How-to step by step correctly and all other buttons are working well!
In a terminal: killall xbindkeys
See if the sidescroll works correctly now. If it does, post the contents of ~/.xbindkeysrc
If it's still doing both side scroll and vertical scroll:
In a terminal: xev
Put your mouse over the box and see what button numbers it is producing when you hold down the side scroll. Let me know what it says.
XQC
December 10th, 2005, 02:05 PM
In a terminal: killall xbindkeys
See if the sidescroll works correctly now. If it does, post the contents of ~/.xbindkeysrc
If it's still doing both side scroll and vertical scroll:
In a terminal: xev
Put your mouse over the box and see what button numbers it is producing when you hold down the side scroll. Let me know what it says. I have to correct my problem:
In other applications the horizontal scroll works fine as it was configured to begin with with your how-to, it's just a problem with Firefox.
jrib
December 10th, 2005, 04:24 PM
I have to correct my problem:
In other applications the horizontal scroll works fine as it was configured to begin with with your how-to, it's just a problem with Firefox.
hrmm... you can make sure it's not an extension or preference that's interfering by running firefox in safe mode: firefox -safe-mode
poley
December 15th, 2005, 10:29 PM
Jason,
How would you bind the middle thumb button (button 10) to close the current application?
TIA
hope this doesn't sound too much like a newb question....i've only been using ubuntu for about 10 hours in total...
anyways.
I'm looking to do the same thing, i've followed the guide on wiki and I have all 12 buttons mapped, (edited xorg.conf made Xmodmap file) scroll wheel works, forward button works, scroll buttons works yadda yadda, everything as standard is working fine.
what i've done differently to wiki (doubt it makes too much difference) is left the mouse in the PS/2 port as I use it in windows (I'm quite an avid gamer) and I get issues if the mouse runs through the USB port, I like said though I can see this making any difference.
I've made the file ~/.xbindkeysrc heres a copy of it
###########################
# xbindkeys configuration #
###########################
#
# Version: 0.1.3
#
# If you edit this, do not forget to uncomment any lines that you change.
# The pound(#) symbol may be used anywhere for comments.
#
# A list of keys is in /usr/include/X11/keysym.h and in
# /usr/include/X11/keysymdef.h
# The XK_ is not needed.
#
# List of modifier (on my keyboard):
# Control, Shift, Mod1 (Alt), Mod2 (NumLock),
# Mod3 (CapsLock), Mod4, Mod5 (Scroll).
#
# Another way to specifie a key is to use 'xev' and set the
# keycode with c:nnn or the modifier with m:nnn where nnn is
# the keycode or the state returned by xev
#
# This file is created by xbindkey_config
# The structure is :
# # Remark
# "command"
# m:xxx + c:xxx
# Shift+...
#keystate_numlock = enable
#keystate_scrolllock = enable
#keystate_capslock = enable
"/usr/X11R6/bin/xvkbd -xsendevent -text "\CW""
b:9
#
# End of xbindkeys configuration
and as you can hopefully see I've assigned the close program button to one of the side keys, the "back" button, i've also added xbindkeys to the startup session and tried running it through console and I've also restarted quite a few times. I haven't tried mapping the keyboard function alt+f4 to anything yet, I just want to get this version of it working first and see what its like.
however it doesn't work....
am I being a newb and missing something???
I'm trying to setup linux because next year I hope to start my phd and there is a very good chance my computer in the lab will be running a form of linux, I'm just trying to get used to it before I start.
any help would be greatly appreicated.
berserker
December 15th, 2005, 10:36 PM
Try this:
"/usr/X11R6/bin/xvkbd -text "\CW""
b:9
Notice "-xsendevent" is missing.
poley
December 15th, 2005, 11:07 PM
thanks for the response, tried the above, doesn't seem to want to work either, the button still works as a "back" button....
not sure if this will help but this is what is going on in event tester when I click...(with the new code)
ButtonRelease event, serial 29, synthetic NO, window 0x2c00001,
root 0x133, subw 0x2c00002, time 139608, (29,39), root:(34,85),
state 0x0, button 6, same_screen YES
LeaveNotify event, serial 29, synthetic NO, window 0x2c00001,
root 0x133, subw 0x0, time 139608, (29,39), root:(34,85),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 0
and with the old code (still works as a "back" button).
ButtonRelease event, serial 29, synthetic NO, window 0x2e00001,
root 0x133, subw 0x2e00002, time 392347, (35,32), root:(40,78),
state 0x0, button 6, same_screen YES
LeaveNotify event, serial 29, synthetic NO, window 0x2e00001,
root 0x133, subw 0x0, time 392347, (35,32), root:(40,78),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 0
no idea why it has it down as button 6...
if you want/need to see any other copies of things to make sure I've done stuff correct let me know...
heres a copy of the Xbindkeys entry (old entry)
http://www.psistar.co.uk/news/data/upimages/Screenshot.png
berserker
December 16th, 2005, 12:40 AM
Perhaps:
"/usr/X11R6/bin/xvkbd -text -xsendevent "\CW""
b:6
poley
December 16th, 2005, 12:49 AM
nope that doesn't work either, although it no longer works as a "back" button....
jrib
December 16th, 2005, 01:02 AM
nope that doesn't work either, although it no longer works as a "back" button....
try:
"/usr/X11R6/bin/xvkbd -xsendevent -text "\[Delete]""
b:6
See if you can highlight text with your mouse and then delete it using your side button. At least this way we can see if it is actually sending some command.
poley
December 16th, 2005, 01:29 AM
thanks for that idea, turns out the button was mapped to 8 not 9....interesting...took a bit of trail and error before I found out what it was but at least with the delete function I could see it working, nice idea.
here's the final code
"/usr/X11R6/bin/xvkbd -xsendevent -text "\[Alt_L]\[Right]""
b:9
"/usr/X11R6/bin/xvkbd -xsendevent -text "\CW""
b:8
"echo ButtonPress 4 ButtonRelease 4 | xmacroplay -d 0 :0.0"
b:11
"echo ButtonPress 5 ButtonRelease 5 | xmacroplay -d 0 :0.0"
b:12
only thing now is that I get a beep when I close a program, how'd I get rid of that?
something else too, the forward "cruise" button closes programs too....interesting....any ideas? (might be the source of the beep too, two buttons working at once...
thinking about it (and I really need to go to bed [5.45am]) would the Xmodmap file have any lingering effect, i used the following mapping 1 2 3 6 7 8 9 10 11 12 4 5 given from another website (seems to be the problem with linux, one person does it one way another does it different), this is the best yet, actually got it working :)
I've removed the file from Home but other than that I wouldn't know how to "disable" it otherwise
jrib
December 16th, 2005, 02:11 AM
thanks for that idea, turns out the button was mapped to 8 not 9....interesting...took a bit of trail and error before I found out what it was but at least with the delete function I could see it working, nice idea.
here's the final code
"/usr/X11R6/bin/xvkbd -xsendevent -text "\[Alt_L]\[Right]""
b:9
"/usr/X11R6/bin/xvkbd -xsendevent -text "\CW""
b:8
"echo ButtonPress 4 ButtonRelease 4 | xmacroplay -d 0 :0.0"
b:11
"echo ButtonPress 5 ButtonRelease 5 | xmacroplay -d 0 :0.0"
b:12
only thing now is that I get a beep when I close a program, how'd I get rid of that?
something else too, the forward "cruise" button closes programs too....interesting....any ideas? (might be the source of the beep too, two buttons working at once...
thinking about it (and I really need to go to bed [5.45am]) would the Xmodmap file have any lingering effect, i used the following mapping 1 2 3 6 7 8 9 10 11 12 4 5 given from another website (seems to be the problem with linux, one person does it one way another does it different), this is the best yet, actually got it working :)
I've removed the file from Home but other than that I wouldn't know how to "disable" it otherwise
Yeah, maybe I should add something to the wiki stating that you should not have a .xmodmap enabled. That would explain why your buttons were showing different numbers. Restarting X after removing the .Xmodmap file should do it. You may have to mess with xbindkeys again though since the button numbers will change :)
When I read about evdev, the authors all recommended usb. That's why I put it in the wiki. Let me know if it works out for you with the PS/2. If it's still giving you trouble after getting rid of the .Xmodmap, try the usb port.
sniper85
December 18th, 2005, 11:01 PM
hey _jason I was wondering if you found out anuthing about why I could get mine working after editing xorg.conf. I haven't been able to find anything. Thanks
jrib
December 18th, 2005, 11:50 PM
hey _jason I was wondering if you found out anuthing about why I could get mine working after editing xorg.conf. I haven't been able to find anything. Thanks
Haven't had a chance to look to be honest, busy with finals atm. I'll be done in 3 days and then I'll do some more googling on the matter.
Try backing up your xorg.conf and playing with the settings. The fact that I found no hits on google for that line I mentioned before makes me suspect something is wrong and it should be changed. See if you can find some tutorials on setting up the keyboard and mouse combo and see what the xorg.conf looks like in the tutorials. That's what I would think of doing anyway if I were in your shoes. Good luck. I'll post back here with anything I might find in a few days.
Killerdackel
December 23rd, 2005, 03:10 PM
OK so far nearly everything fine, scrolling horizontal and vertical no problem.
But I'am used to have the buttons next to wheel scroll a little bit faster than the wheel. Like one click scrolling 4 or 5 lines. Do you know what I have to change to get this results by clicking?
And then I have a problem with the side buttons sometimes one click triggers nearly 100x the event I assigned to that key so that I am at the beginning or end of my history or my Amarok runs trough many files.
I have assigned Alt_L+n to the middle thumb button to switch to the next track.
"/usr/X11R6/bin/xvkbd -text "\[Alt_L]n""
b:10
Although the pointer of the mouse jumps to the top left point of the active window and then back to the point where i clicked.
The same things is to be noticed when I press the keys directly on the keyboard for a longer time is there a possibility to say xvkbd how often the key should be pressed?
Do you have the same problem? Or did I miss something?
jrib
December 25th, 2005, 11:59 PM
OK so far nearly everything fine, scrolling horizontal and vertical no problem.
But I'am used to have the buttons next to wheel scroll a little bit faster than the wheel. Like one click scrolling 4 or 5 lines. Do you know what I have to change to get this results by clicking?
I think you can set mousewheel.horizscroll.withnokey.sysnumlines to false and mousewheel.horizscroll.withnokey.numlines to 4 or 5.
And then I have a problem with the side buttons sometimes one click triggers nearly 100x the event I assigned to that key so that I am at the beginning or end of my history or my Amarok runs trough many files.
I have assigned Alt_L+n to the middle thumb button to switch to the next track.
"/usr/X11R6/bin/xvkbd -text "\[Alt_L]n""
b:10
Although the pointer of the mouse jumps to the top left point of the active window and then back to the point where i clicked.
The same things is to be noticed when I press the keys directly on the keyboard for a longer time is there a possibility to say xvkbd how often the key should be pressed?
Do you have the same problem? Or did I miss something?
As far as the jumping pointer effect, I haven't experienced this. But you may want to try adding the '-no-jump-pointer' switch to the command. The man page is on: http://homepage3.nifty.com/tsato/xvkbd/ .
I'm not sure why it would perform the event multiple times. Try using the '-no-repeat' switch as well (see the link above). If that doesn't work: Maybe the syntax for the letter 'n' is incorrect? Just guessing. You can try using left+up as a new shortcut and see if the behavior persists (since we know for sure that the syntax for the direction keys is correct). If it works properly with the new shortcut then try to see if you can figure out how to properly set the shortcut to use the letter 'n'. And if it persists even with using alt+up, I don't know.
[edit] I also just noticed that your command is missing the 'xsendevent' switch. See the example from the wiki:
"/usr/X11R6/bin/xvkbd -xsendevent -text "\[Alt_L]\[Left]""
b:8
graveman
December 30th, 2005, 03:33 AM
got it working :)
my only problem is it does'nt load at start up...
any help????
jrib
December 30th, 2005, 04:33 PM
got it working :)
my only problem is it does'nt load at start up...
any help????
did you add xbindkeys to your startup programs in the System -> Preferences -> Sessions -> Startup Programs ?
geearf
December 31st, 2005, 02:55 PM
Hello,
all was working in hoary before, and today I realised that it does not work with breezy.
This was my setup :
Section "InputDevice"
Identifier "MX1000"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/event1"
Option "Dev Name" "PS2++ Logitech MX Mouse"
Option "Dev Phys" "isa0060/serio1/input0"
Option "Protocol" "evdev"
Option "Buttons" "12"
Option "ZAxisMapping" "11 12 10 9"
Option "Resolution" "800"
Option "Emulate3Buttons" "false"
EndSection
pointer = 1 2 3 8 9 10 11 12 7 6 4 5
But now I cannot get all to work, even with
Option "ZAxisMapping" "11 12"
Option "ZAxisMapping" "4 5 7 6"
I cannot get every button under xev.
If you have any idea on this,
Thanks,
edit : well strangely today, I have everything but the left and right wheel with :
Option "ZAxisMapping" "4 5 7 6"
and no xmodmap.
If anyone know how to get the wheel fully back please do :)
jrib
January 1st, 2006, 12:22 PM
Hello,
all was working in hoary before, and today I realised that it does not work with breezy.
This was my setup :
Section "InputDevice"
Identifier "MX1000"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/event1"
Option "Dev Name" "PS2++ Logitech MX Mouse"
Option "Dev Phys" "isa0060/serio1/input0"
Option "Protocol" "evdev"
Option "Buttons" "12"
Option "ZAxisMapping" "11 12 10 9"
Option "Resolution" "800"
Option "Emulate3Buttons" "false"
EndSection
pointer = 1 2 3 8 9 10 11 12 7 6 4 5
But now I cannot get all to work, even with
Option "ZAxisMapping" "11 12"
Option "ZAxisMapping" "4 5 7 6"
I cannot get every button under xev.
If you have any idea on this,
Thanks,
edit : well strangely today, I have everything but the left and right wheel with :
Option "ZAxisMapping" "4 5 7 6"
and no xmodmap.
If anyone know how to get the wheel fully back please do :)
Is your mouse connected to a usb port?
geearf
January 1st, 2006, 01:39 PM
no ps/2.
jrib
January 1st, 2006, 05:59 PM
no ps/2.
See if connecting it to a usb port will resolve the problem.
geearf
January 1st, 2006, 06:20 PM
Hello,
in hoary it used to work in ps2, I don't see why it should not in Breezy, plus I'd like to use USB the least possible :)
I'll investigate this later maybe :)
jrib
January 1st, 2006, 06:47 PM
I only suggest it because evvery guide I have read insists that the only way to get all of the buttons to function properly is to use a usb port. One more question though: is smart scroll enabled? When you hold down the scroll down button does it generate a 11 (maybe 12 can't remember) and then repeat 4's (maybe 5's) using xev?
geearf
January 1st, 2006, 06:53 PM
Hello,
I've seen the same for the ps2 but as I have got it once, I guess I can still got it :)
About xev, I get first button 10 and then button 5 for the down scroll, 11 and 4 for up scroll
Freddy
January 15th, 2006, 07:48 AM
Hi all. Think it was a glorius guide, but what to do in a KDE setup. I came as far as created a .xbindkeysrc, but what to do with it. I tried to find the ~/.autostart, that should be within my home directory but sorry to say I didn't find one hmm.
Is there any way to make konqueror use all of this afterwards?
Thanks for any answers. /// Freddan
Edit: I started xbindkeys manually and it seems that some buttons works with Konqueror (back n' fourth, but not tilt), needs some help to automate this to.
berserker
January 15th, 2006, 09:12 AM
I tried to find the ~/.autostart, that should be within my home directory but sorry to say I didn't find one hmm.
~/.kde/Autostart
Freddy
January 15th, 2006, 09:47 AM
Haha that's right, I'm so freaking dumb :) thanks dude.
If anyone out there knows how to get all the buttons working in Konqueror, plz let me know. /// Freddan
jrib
January 15th, 2006, 10:21 AM
Haha that's right, I'm so freaking dumb :) thanks dude.
If anyone out there knows how to get all the buttons working in Konqueror, plz let me know. /// Freddan
Make sure the mouse generates button 6 and button 7 for side scroll using the 'xev' command in a terminal. I loaded up konqueror (on gnome) and they are working for me. I don't use konqueror so it seems to be working without any modification. If you can't figure it out, a temporary way around it may be to use xbindkeys to map those keys to whatever keyboard key makes konqueror side scroll (probably left and right arrow keys like in firefox).
Freddy
January 15th, 2006, 12:17 PM
Make sure the mouse generates button 6 and button 7 for side scroll using the 'xev' command in a terminal. I loaded up konqueror (on gnome) and they are working for me. I don't use konqueror so it seems to be working without any modification. If you can't figure it out, a temporary way around it may be to use xbindkeys to map those keys to whatever keyboard key makes konqueror side scroll (probably left and right arrow keys like in firefox).
Thanks I'll try that. Do you even know how to activate xbindkeys when booting KDE, I symliked the xbindkeys created in the homedirectory to ~/.kde/autostart but that didn't go as well as I hoped, I still needed to activate it manually.
Thanks for any answers. /// Freddan
jrib
January 15th, 2006, 03:07 PM
Thanks I'll try that. Do you even know how to activate xbindkeys when booting KDE, I symliked the xbindkeys created in the homedirectory to ~/.kde/autostart but that didn't go as well as I hoped, I still needed to activate it manually.
Thanks for any answers. /// Freddan
I don't, you might want to try to post in the specific kubuntu section about starting up the program. Feel free to update the wiki with your kde experience notes if you solve this :)
Myrkul23
February 4th, 2006, 08:57 PM
I've followed all the directions and everything went smoothly, but for some reason the cruise control will not work in firefox. From xev I know that the button numbers are 11 and 12, in case this helps solve the problem.
jrib
February 4th, 2006, 09:06 PM
I've followed all the directions and everything went smoothly, but for some reason the cruise control will not work in firefox. From xev I know that the button numbers are 11 and 12, in case this helps solve the problem.
in xev, when you hold down the cruise control buttons, do the 4 and 5 button events repeat (after the initial 11 or 12)?
Myrkul23
February 4th, 2006, 09:08 PM
It doesn't repeat. Also, when I initially press down on the down cruise control, it comes up as button 5. When I release, it comes up as button 12. For the up cruise control, the numbers are 4 and 11.
jrib
February 4th, 2006, 09:44 PM
Okay that means smart scroll has been disabled on your mouse. There is a program that will let you enable it but it is not in the repositories. How comfortable are you with compiling?
Myrkul23
February 4th, 2006, 09:56 PM
I used to be a slack user, so since I had to compile EVERYTHING in slack, it shouldn't be too bad :)
jrib
February 4th, 2006, 10:09 PM
ah okay, go ahead and compile this http://www.bedroomlan.org/~alexios/coding_lmctl.html, the link is hidden in the last paragraph right before the manual page.
I don't know if you are familiar with checkinstall. Basically instead of the usual ./configure, make, sudo make install routine, you do ./configure, make, sudo checkinstall. But checkinstall will create a deb for you and keep track of what gets installed so you can easily remove it using a package manager. You'll need to 'sudo apt-get install checkinstall' first so that you can use it.
using lmctl...
jasonr@luso:~$ sudo lmctl -s #lists usb devices
002.001: 0000:0000 Not a Logitech device
001.002: 046d:c50e Receiver for MX1000 Laser (C-BN34) Caps: CSR SMS
001.001: 0000:0000 Not a Logitech device
#you want to find the 001 in ``001.002...'' above
#once you know that, just do:
jasonr@luso:~$ sudo lmctl -b 001 --sms
001.002: 046d:c50e Receiver for MX1000 Laser (C-BN34) Caps: CSR SMS
SmartScroll enabled
Then try xev again and see if it is repeating the 4's and 5's with the smart scroll buttons.
Myrkul23
February 4th, 2006, 10:16 PM
I installed the program, but when I scan for devices it only sees an unrecognized Logitech device. If I try to apply any options, it says it is unsupported.
jrib
February 4th, 2006, 10:24 PM
you've got it hooked up to a usb port? is this one of those keyboard mouse combos?
I think you can also enable this using the windows drivers if you dual boot (although i don't know where that setting would be located).
[edit]also, i used lmctl-0.3.1
Myrkul23
February 5th, 2006, 02:39 AM
I have the receiver hooked up to a USB port, but that program doesn't recognize it for some reason. Do you have any ideas or know of other programs? Now that I've read up on this program, it seems like another problem is the face I need it to read at 800 cpi rather than 400. Any ideas? Thanks again for all your help.
jrib
February 5th, 2006, 11:20 AM
From what I have read, the mx1000, unlike previous logitech mice, keeps its resolution at the max so you won't/shouldn't need to change it with any software.
As for other programs that will allow you to do this, I only know of the windows software that came with the mouse. A quick google search gave me some hits on a linux patch (which I didn't really understand) and some kde support: http://www.cs.helsinki.fi/linux/linux-kernel/2003-12/0929.html http://www.kdedevelopers.org/node/677
Try hitting the reset buttons on your mouse and receiver (just a shot in the dark). If all else fails, maybe you can email logitech and ask them if there is a way to do it without software. Maybe a certain key combination?
geearf
February 5th, 2006, 11:27 AM
Hello,
I still cannot do better than 10 buttons don't know really why, when I used to have them all this summer ..
Anyway why does all those programs work only with USB, I really don't get it .. :(
jrib
February 5th, 2006, 12:48 PM
Hello,
I still cannot do better than 10 buttons don't know really why, when I used to have them all this summer ..
Anyway why does all those programs work only with USB, I really don't get it .. :(
Did you follow the guide? Which two are not working?
FlakJacket
February 5th, 2006, 01:21 PM
Thanks alot for the guide! Made my Logitech G5's sidescroll work very nicely. I was wondering though the G5 only has one side button so it may be different number than the MX1000 so how do I find out what number X sees it as?
Thanks,
Flak
jrib
February 5th, 2006, 01:34 PM
Thanks alot for the guide! Made my Logitech G5's sidescroll work very nicely. I was wondering though the G5 only has one side button so it may be different number than the MX1000 so how do I find out what number X sees it as?
Thanks,
Flak
run xev in a terminal and click in the box that shows up. You'll see a bunch of info. The easiest place to find it is in the paragraph that begins with ``ButtonRelease event''. The second to last thing in that paragraph should be ``button x'' where x is a number. Try to keep your mouse still since moving it will also generate output.
[edit] If you see stuff like KeymapNotify event it means xbindkeys caught it. So you may want to kill xbindkeys beforehand
FlakJacket
February 5th, 2006, 01:47 PM
Messing with the xkeys config i accidently made my scroll down the back alt-l command but when i deleted that line it won't go back to normal scroll what do i do?
thanks,
Flak
jrib
February 5th, 2006, 01:51 PM
kill xbindkeys and start it again, or just restart X
geearf
February 5th, 2006, 01:52 PM
Hello,
well the two for the thumb, back and forth.
We already discussed this a few weeks ago, and I tried again today, but still no luck :)
FlakJacket
February 5th, 2006, 01:55 PM
Thank you I restarted X and it is back to normal. How do you use the kill command? Xev doesn't show a click for the side button does that mean i have too few buttons listed in my .conf? i'll try and add the two dpi buttons to the number maybe.
Thanks,
Flak
Edit: can xbindkeys also be used to configure say a gamepad?
jrib
February 5th, 2006, 01:55 PM
Hello,
well the two for the thumb, back and forth.
We already discussed this a few weeks ago, and I tried again today, but still no luck :)
oh you're the ps/2 guy :) Did you at least try a usb port to see if that was the problem?
geearf
February 5th, 2006, 02:20 PM
Yes I am :)
and nah, but I may give it a try tonight, but if it worked before, it should still (well I think).
Thanks,
geearf
February 11th, 2006, 10:15 PM
Hello,
just to tell you that under dapper, it works without changing much, the driver, and the physical thing, then that's it :)
but still no back and forth buttons :(
I will try USB tomorrow I think.
FlakJacket
February 13th, 2006, 10:19 PM
Is there something in xbindkeys i can assign the middle button so that I can autoscroll or maybe something else useful? Right now it goes to a url I've got in klipper and is useless and kind of annoying.
Flak
jrib
February 13th, 2006, 11:52 PM
Is there something in xbindkeys i can assign the middle button so that I can autoscroll or maybe something else useful? Right now it goes to a url I've got in klipper and is useless and kind of annoying.
Flak
i don't know what clipper is but I'll assume it's the kde clipboard. If you are using firefox, for linux the default action is to do what you just described. You can change it by going to 'about:config' in your address bar and changing middlemouse.contentLoadURL to false
FlakJacket
February 14th, 2006, 06:24 PM
Thank you very much. Sorry forgot I wasn't in kubuntu forums anymore. So is there anyway to get an autoscroll function?
Flak
jrib
February 16th, 2006, 02:53 AM
Thank you very much. Sorry forgot I wasn't in kubuntu forums anymore. So is there anyway to get an autoscroll function?
Flak
It doesn't work after following the wiki guide?
FlakJacket
February 16th, 2006, 05:11 PM
I don't have cruise control on my G5 i was wondering if I could make the middle button do scroll thing where if you move the mouse up it scrolls up and down down. If this is possible I would like to know please.
Flak
jrib
February 16th, 2006, 06:40 PM
What browser are you using?
You want something like what is in the screenshot?
FlakJacket
February 16th, 2006, 09:03 PM
Yes please and I'm using Firefox.
Flak
berserker
February 16th, 2006, 09:30 PM
Open a new tab in Firefox and type in "about:config"
Set "middlemouse.contentLoadURL" to "false".
Set "general.autoScroll" to "true".
FlakJacket
February 17th, 2006, 05:20 PM
Sweet!! Thank you very much.
Flak
eXCeSS
February 21st, 2006, 05:55 AM
Ive done everything in the guide, and my back and forward buttons dont work.
But the left and right tilt on the scroll wheel do the whole back and forward thing, but the back and forward buttons do nothing.
Any help?
jrib
February 21st, 2006, 08:32 PM
Ive done everything in the guide, and my back and forward buttons dont work.
But the left and right tilt on the scroll wheel do the whole back and forward thing, but the back and forward buttons do nothing.
Any help?
Hey, excess. I see it's you first post, so welcome to the forums. Let's see if we can figure out what's going on.
Here's what I need you to do,
Applications Menu -> Accessories -> Terminal
$ killall xbindkeys
$ xev
click the forward, back, left scroll, and right scroll and record what button number they produce. You'll have to look at the paragraphs that begin with ``ButtonRelease''. Try to keep the mouse still as this will make it easier to identify the correct section of the output.
please also post the relevant section of /etc/X11/xorg.conf
FlakJacket
February 23rd, 2006, 12:52 PM
How do you use xbindkeys to bind a keyboard key to a shortcut?
Flak
EDIT: ok i've figured it out but how do you get shift and those keys to work?
jrib
February 23rd, 2006, 08:09 PM
How do you use xbindkeys to bind a keyboard key to a shortcut?
Flak
EDIT: ok i've figured it out but how do you get shift and those keys to work?
if you look at man xbindkeys there are a few examples that use shift
stoffe
March 2nd, 2006, 07:14 PM
Hello! I'm not 100% sure that this should work, but I figure it can't hurt to ask.
I'm running Dapper on a Fujitsu Siemens Amilo laptop, with the latest updates. I've just gotten a DiNovo media keyboard + mouse set, that uses an MX Laser mouse (I think it's a MX 1000 but it doesn't really say). It connects via bluetooth via a USB stick, so that may or may not be a problem. Everything works just fine apart from the buttons, as they all think they are one of the 3 first buttons...
Anyway, I try to follow the guide and modify it after my needs, and I get an error about the protocol evdev.
Xorg.0.log relevant part:(**) Option "CoreKeyboard"
(**) Generic Keyboard: Core Keyboard
(**) Option "Protocol" "standard"
(**) Generic Keyboard: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Generic Keyboard: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Generic Keyboard: XkbModel: "pc105"
(**) Option "XkbLayout" "se"
(**) Generic Keyboard: XkbLayout: "se"
(**) Option "CustomKeycodes" "off"
(**) Generic Keyboard: CustomKeycodes disabled
(**) Option "Protocol" "evdev"
(EE) Configured Mouse: Unknown protocol "evdev"
(EE) PreInit failed for input device "Configured Mouse"
(II) UnloadModule: "mouse"
(II) Synaptics touchpad driver version 0.14.3
(--) Synaptics Touchpad auto-dev sets device to /dev/input/event2
(**) Option "Device" "/dev/input/event2"
(**) Option "HorizScrollDelta" "0"
(--) Synaptics Touchpad touchpad found
(**) Option "SendCoreEvents" "true"
(**) Synaptics Touchpad: always reports core events
(WW) No core pointer registered
(II) XINPUT: Adding extended input device "Synaptics Touchpad" (type: MOUSE)
(II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
(II) XINPUT: Adding extended input device "NVIDIA Kernel Input Handler" (type: Other)
Synaptics DeviceInit called
SynapticsCtrl called.
Synaptics DeviceOn called
(--) Synaptics Touchpad touchpad found
No core pointer
Fatal server error:
failed to initialize core devices
A look at the devices looks like this:
stoffe@homer:~$ cat /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7
I: Bus=0011 Vendor=0002 Product=0007 Version=0000
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio2/input0
S: Sysfs=/class/input/input2
H: Handlers=mouse1 event2 ts1
B: EV=b
B: KEY=6420 0 70000 0 0 0 0 0 0 0 0
B: ABS=11000003
I: Bus=0003 Vendor=046d Product=c70b Version=4001
N: Name="Logitech Logitech BT Mini-Receiver"
P: Phys=usb-0000:00:1d.3-2.2/input0
S: Sysfs=/class/input/input3
H: Handlers=kbd event3
B: EV=120003
B: KEY=10000 7 ff800000 7ff febeffdf ffefffff ffffffff fffffffe
B: LED=1f
I: Bus=0003 Vendor=046d Product=c70c Version=4001
N: Name="Logitech Logitech BT Mini-Receiver"
P: Phys=usb-0000:00:1d.3-2.3/input0
S: Sysfs=/class/input/input4
H: Handlers=kbd mouse2 event4 ts2
B: EV=f
B: KEY=c0002 400 0 0 fff0001 f80 78000 6039fa d841d7ad 9e0000 0 0 0
B: REL=1c3
B: ABS=1 0
Which resulted in this Xorg.conf:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "evdev"
Option "Dev Name" "Logitech Logitech BT Mini-Receiver"
Option "Dev Phys" "usb-0000:00:1d.3-2.3/input0"
Option "Device" "/dev/input/event4"
Option "Buttons" "12"
Option "ZAxisMapping" "4 5 7 6"
EndSection
So what do you think? Could this be made to work somehow? Thankful for any clues. :)
geearf
March 2nd, 2006, 07:26 PM
protocol evdev does not exist anymore it has been 'replaced' by driver evdev.
stoffe
March 2nd, 2006, 07:34 PM
protocol evdev does not exist anymore it has been 'replaced' by driver evdev.
Ok, so what do I need to do to get that up and running? I see that there is a package xserver-xorg-evdev in the repos, I suppose I should start with that?
stoffe
March 2nd, 2006, 08:46 PM
Ok, got it to work. Commented out the protocol line, and changed the driver to "evdev". Installed xserver-xorg-evdev and restarted X - and it worked. So did the rest of the tips.
Thanks a lot for this help!
stoffe
March 2nd, 2006, 09:10 PM
Now for the next interesting problem then... it seems the event # may change between boots. Is there any way to predict or set this manually? Or does anyone has any other ideas about this? As it is now, every boot is either complete success or hard lockup. ;):mrgreen:
jrib
March 2nd, 2006, 11:45 PM
Now for the next interesting problem then... it seems the event # may change between boots. Is there any way to predict or set this manually? Or does anyone has any other ideas about this? As it is now, every boot is either complete success or hard lockup. ;):mrgreen:
http://floam.sh.nu/?page=guides§ion=mx1000 goes into how to do that. I considered including the procedure in the guide but since my event # seemed to remain the same, I thought it wouldn't be necessary. Maybe when I have some time, I'll try to find a way to include without complicating things anymore (or if anyone else has the time and verifies it works... :)).
[edit] that link actually uses evdev as a driver and seems to have simpler instructions, so maybe once dapper arrives setting up the mouse will be a little simpler
stoffe
March 3rd, 2006, 08:33 PM
http://floam.sh.nu/?page=guides§ion=mx1000 goes into how to do that. I considered including the procedure in the guide but since my event # seemed to remain the same, I thought it wouldn't be necessary. Maybe when I have some time, I'll try to find a way to include without complicating things anymore (or if anyone else has the time and verifies it works... :)).
[edit] that link actually uses evdev as a driver and seems to have simpler instructions, so maybe once dapper arrives setting up the mouse will be a little simpler
The info in that link worked perfectly, real easy to setup and works perfectly! There's a bug (unrelated to this, really) where the evdev driver makes gnome-settings-daemon crash though, so it may not be for everyone until that gets fixed. https://launchpad.net/distros/ubuntu/+source/control-center/+bug/27143
phux
March 14th, 2006, 03:53 PM
Hi,
i have trouble, getting my MX1000 to work as i want.
Vertical-Scrolling does not work at all an the output of
sudo logitech_applet -s 800 is
001/003 046D/C50E M-RAG97 MX1000 Laser Mouse
Channel 1 Battery: 7 Single channel No 800cpi support No Horiz Roller No Vert Roller 2 butt.
How can i enable 800cpi and cruise control?
Buttonmapping: (Button-xevNumber)
Left-1, Right-3, Middle-2, Scrollup-4, Scrolldown-5, ThumbForward-9, ThumbBackward-8, ThumbMiddle-10, WheelClickUpper-11, WheelClickLower-12
thx
jrib
March 14th, 2006, 06:27 PM
How can i enable 800cpi and cruise control?
afaik the mx1000 uses the max resolution all the time and there is no need to use a program to increase it.
to enable cruise control I do this:
http://ubuntuforums.org/showthread.php?p=706981&highlight=lmctl#post706981
hed
March 14th, 2006, 08:23 PM
All my buttons work fine now, but I've a problem.
If I disconnect my mouse from the USB port, and then I reconnect it, then my mouse don't works 'till I restart de X server. I don't need to restart the computer, only the X server.
¿Any ideas?
rantak
March 15th, 2006, 09:25 AM
Just upgraded to Dapper, my mx1000 was working perfectly in Breezy.
I had multiple problems with the how-to, first the evdev protocol problem, then the
bug in gnome-control-center that has been mentioned in this thread. Now the mouse is working basically ok, xev recognizes all the buttons but my sidescroll still doesn't work in firefox. I changed the options in about:config.
Also somebody said that to increase the speed of cruise control you should change the variables at about:config again, but that didn't change the speed for me at all. Anyone tried this with success?
Third problem is that I'd want to use the b10 button to change between windows (i.e.
alt+tab) I haven't succeeded in that. The gnome keyboard shortcuts doesn't recognize the keys I have set in .xbindkeysrc. This also worked in Breezy if i remember correctly.
phux
March 15th, 2006, 03:16 PM
Well, i tried lmctl but it does not change my state.
Horizontal scrolling is still impossible.
If i try to, both buttons work as Left_Mouse-Button.
I tried all buttons, and none works as horizontal scrolling.
My xorg.conf-entry:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "evdev"
Option "Dev Name" "Logitech USB RECEIVER"
Option "Dev Phys" "usb-*/input0"
Option "Device" "/dev/input/event0"
Option "Buttons" "12"
Option "ZAxisMapping" "4 5 9 8"
EndSection
jrib
March 15th, 2006, 04:11 PM
Well, i tried lmctl but it does not change my state.
Horizontal scrolling is still impossible.
If i try to, both buttons work as Left_Mouse-Button.
I tried all buttons, and none works as horizontal scrolling.
My xorg.conf-entry:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "evdev"
Option "Dev Name" "Logitech USB RECEIVER"
Option "Dev Phys" "usb-*/input0"
Option "Device" "/dev/input/event0"
Option "Buttons" "12"
Option "ZAxisMapping" "4 5 9 8"
EndSection
Option "ZAxisMapping" "4 5 9 8"
should be
Option "ZAxisMapping" "4 5 7 6"
but I don't know if that will help.
jrib
March 15th, 2006, 04:12 PM
Just upgraded to Dapper, my mx1000 was working perfectly in Breezy.
I had multiple problems with the how-to, first the evdev protocol problem, then the
bug in gnome-control-center that has been mentioned in this thread. Now the mouse is working basically ok, xev recognizes all the buttons but my sidescroll still doesn't work in firefox. I changed the options in about:config.
Also somebody said that to increase the speed of cruise control you should change the variables at about:config again, but that didn't change the speed for me at all. Anyone tried this with success?
Third problem is that I'd want to use the b10 button to change between windows (i.e.
alt+tab) I haven't succeeded in that. The gnome keyboard shortcuts doesn't recognize the keys I have set in .xbindkeysrc. This also worked in Breezy if i remember correctly.
I'll be sure to make a note on the guide about it not working properly in dapper. See page 10 of this thread to see how stoffe got it to work
phux
March 16th, 2006, 03:55 PM
Option "ZAxisMapping" "4 5 9 8"
should be
Option "ZAxisMapping" "4 5 7 6"
but I don't know if that will help.
No strangely it doesnt.
It just changes the forward/backward function to work with the Y-axis of the wheel instead of the thumbbuttons.
morwyn
March 23rd, 2006, 07:33 PM
Well, I got excited when I saw this thread..... then I ran into a problem. When I typed cat proc/bus/input/devices, the list showed up, but for some reason, my keyboard (Logitech G15) is showing up three times. I can only see PC speakers and the three instances of the keyboard and nothing for the mouse, since it scrolled off screen. Is there someway for me to go into this file to edit it, just so that I can see what is listed for my mouse? I sure would appreciate some help...
jrib
March 23rd, 2006, 08:24 PM
Well, I got excited when I saw this thread..... then I ran into a problem. When I typed cat proc/bus/input/devices, the list showed up, but for some reason, my keyboard (Logitech G15) is showing up three times. I can only see PC speakers and the three instances of the keyboard and nothing for the mouse, since it scrolled off screen. Is there someway for me to go into this file to edit it, just so that I can see what is listed for my mouse? I sure would appreciate some help...
try 'less' instead of 'cat'
morwyn
March 26th, 2006, 01:47 PM
well, I got it working... thanks for the tutorial! just one more question. I don't know how to add xbindkeys to my startup programs now that I have switched to kde. Could someone help out this n00b?
jrib
March 26th, 2006, 03:05 PM
well, I got it working... thanks for the tutorial! just one more question. I don't know how to add xbindkeys to my startup programs now that I have switched to kde. Could someone help out this n00b?
checkout page 6 of this thread
morwyn
March 26th, 2006, 03:44 PM
checkout page 6 of this thread
I read about ~/.kde/Autostart, but unfortunately, it's not working. I copied (cp) xbindkeysrc to that directory. I had it list in that directory and it shows it is there, but i still have to manually start it. do you have any suggestions?
jrib
March 27th, 2006, 08:55 AM
I read about ~/.kde/Autostart, but unfortunately, it's not working. I copied (cp) xbindkeysrc to that directory. I had it list in that directory and it shows it is there, but i still have to manually start it. do you have any suggestions?
I don't use kde but it might be best to just symlink it there instead of copying it
TheSage
March 27th, 2006, 03:12 PM
Hey.
I've now got my mouse working perfectly in firefox. In windows, I had the middle side button (button 10) bound to F5, in order to refresh the page. So far, I haven't worked out how to do this; could anyone help?
Thanks,
Sage
berserker
March 27th, 2006, 03:50 PM
Hey.
In windows, I had the middle side button (button 10) bound to F5, in order to refresh the page. So far, I haven't worked out how to do this; could anyone help?
In your ~/.xbindkeysrc add this:
"xvkbd -xsendevent -text "\[Control_L]\[r]""
b:10
TheSage
March 27th, 2006, 05:23 PM
Thanks! Now I feel even more at home in Kubuntu :)
Sage
PowerLlama
March 28th, 2006, 04:17 AM
I can't seem to get this to work properly on mine. I'm using Dapper drake, and so far everything seems to run properly, but my buttons are different or something.
My xconfig looks like this:
Section "InputDevice"
Identifier "Mouse0"
Driver "evdev"
Option "CorePointer"
Option "Dev Name" "Logitech USB Receiver"
Option "Dev Phys" "usb-*/input0"
Option "Device" "/dev/input/event1"
Option "Buttons" "12"
Option "ZAxisMapping" "4 5 7 6"
EndSection
I'm not getting any X crashes (which is an improvement) but I also can't seem to use the thumb buttons at all.
If I run xev it lists my button 8 as button 49, and buttons 9 and 10 don't show up at all. It also lists button 11 and 12 as 4 and 5, without xbindkeys running. Well actually it lists the down button as button 5 upon press, and button 33 upon release.
I have no idea what's going on. ](*,)
Oh, but scrolling side to side does work.
PowerLlama
March 30th, 2006, 08:09 PM
Anyone at all?
*edit after reading another thread, it's an XGL error. Nevermind.
tkite
April 5th, 2006, 04:24 AM
Well it took a few weeks of scouring the internet for clues before I finally got my mx1000 to work just like I expected it to, but I finally did it. The howto is available on the wiki at the following url:
https://wiki.ubuntu.com/MX1000Mouse .
Let me know if it works for you. I welcome any and all questions and comments. Even if you don't like the way a particular sentence sounds, let me know :D
The howto is a product of several small changes I made over several weeks as I tried to get all 12 buttons to function correctly during my spare time so I may have forgotten to include a detail or two (I hope not). Sorry if I did, but I'm sure we can figure it out. Just post any problems you are having.
I have the MX3100 keyboard/mouse combo connected via a PS/2 KVM with a Windows XP machine as well. Everything works on mouse and keyboard on the XP machine, so I know the KVM and the PS/2 don't interfere with anything. I followed your instructions, which got the back/forward thumb buttons working in addition to the already working left click, right click, middle click, and scroll up/down. Unfortunately cruise control, horizontal scrolling, and the middle thumb button don't do anything. In xev they don't even register as events, only the buttons that work do. Here's the relevent section of my xorg.config:
----
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "evdev"
Option "Dev Name" "ImExPS/2 Logitech Explorer Mouse"
Option "Dev Phys" "isa0060/serio1/input0"
Option "Device" "/dev/input/event1" #works also with /dev/input/mice
Option "Buttons" "12"
Option "ZAxisMapping" "4 5 7 6"
Option "Resolution" "800"
EndSection
----
Additionally, my .xbindkeysrc is:
----
"/usr/X11R6/bin/xvkbd -xsendevent -text "\[Alt_L]\[Left]""
b:8
"/usr/X11R6/bin/xvkbd -xsendevent -text "\[Alt_L]\[Right]""
b:9
"echo ButtonPress 4 ButtonRelease 4 | xmacroplay -d 0 :0.0"
b:11
"echo ButtonPress 5 ButtonRelease 5 | xmacroplay -d 0 :0.0"
b:12
----
I've looked and looked for how to fix this. I had SuSE 10 on this machine before I switched to Ubuntu and didn't have any luck beyond what I have now then either. Any ideas besides spamming Logitech until they release official Linux drivers?
PowerLlama
April 5th, 2006, 05:44 AM
Alright, I have a new question.
I'm back on Breezy, and I got most of this stuff working. The only thing that seems to be weird are my buttons 11 and 12 (the cruise control ones), and middle click.
I can't use my middle click to close tabs in firefox, instead whenever I press it, it loads up whatever I just copied, like if I copied a URL and middle-click, it will load up the URL.
Also, in xev, before xbindkeys, xev saw my cruise control buttons as 4 and 5 whenever they were held down, but 11 and 12 on release.
Now what I want to do is set my button 12 to middle click (because I hate middle-clicking with the 1000, and I need the function), but I can't do that. It just won't work. It just keeps scrolling instead of middle-clicking.
My xbindkeysrc looks like this:
"/usr/X11R6/bin/xvkbd -xsendevent -text "\[Alt_L]\[Left]""
b:8
"/usr/X11R6/bin/xvkbd -xsendevent -text "\[Alt_L]\[Right]""
b:9
"echo ButtonPress 4 ButtonRelease 4 | xmacroplay -d 0 :0.0"
b:11
"echo ButtonPress 2 ButtonRelease 2 | xmacroplay -d 0 :0.0"
b:12
Any help?
jrib
April 5th, 2006, 08:47 PM
For your firefox problem, enter 'about:config' in the address bar and change middlemouse.contentLoadURL to false.
As for changing the auto-scroll down button to middle click, you will probably want to disable cruise control. Otherwise, when you middle click, your pages are going to scroll. mx1000 seems to send a button press 11 then repeat button 4 (mouse scroll) then a button release 11 when you let go. I only know how to disable cruise control with lmctl (a program that you will have to compile yourself). Instructions are somewhere in this thread if you search the thread for lmctl, you should find it. If not, just let me know and I'll give you the instructions again. If you aren't comfortable compiling, feel free to ask for advice, it's an easy compile. A problem with disabling cruise control is that your horizontal scroll, won't automatically repeat, it will just scroll once (like tapping the left and right arrow keys).
rantak
April 7th, 2006, 02:24 PM
I reported some problems few weeks ago with the guide & dapper flight 4.
I installed a clean flight 6 kubuntu yesterday, followed the guide when installing the mx1000 and everything is now working correctly. I guess the problems earlier where caused by me dist-upgrading from breezy.
morwyn
April 9th, 2006, 09:07 PM
Following your instructions I was able to get my mouse up and running. Thank You. However, I do like to configure my mouse keys for different funtions. Can I edit xbindkeys to get it to work, and if so, what do i put? I did figured out how to put delete as button 10 and enter as button 7. But I would like to put button 6 as backspace, button 11 as copy, and button 12 as paste. I'm not sure how to do these three. I'd appreciate your input.
SilvereX
April 22nd, 2006, 06:17 AM
Hello,
I've got Logitech MX400 with Dapper Flight 6.
Section "InputDevice"
Identifier "Configured Mouse"
Driver "evdev"
Option "CorePointer"
Option "Device" "/dev/input/event1"
Option "Name" "Logitech MX400"
Option "Buttons" "9"
Option "ZAxisMapping" "4 5"
EndSection
xev recognizes all buttons:
1 - left click
2 - middle click
3 - right click
4 - scroll up
5 - scoll down
6 - scroll left (works as back in Firefox)
7 - scroll right (works as forward in Firefox)
8, 9 - as "Back" and "Forward" buttons on mouse, which I want to map as doubleclick and middleclick.
/home/silverex/.middlekey:
ButtonPress 2
ButtonRelease 2
/home/silverex/.doublekey:
ButtonPress 1
ButtonRelease 1
ButtonPress 1
ButtonRelease 1
/home/silverex/.xbindkeysrc:
"xmacroplay :0 < ~/bin/.middlekey"
b:8
"xmacroplay :0 < ~/bin/.doublekey"
b:9
Now, if I call these commands from command line, they work (middle-click and double-click). However, they do not work when xbindkeys call them. Here's an example output of xbindkeys -v -n:
displayName = :0.0
rc file = /home/silverex/.xbindkeysrc
rc guile file = /home/silverex/.xbindkeysrc.scm
getting rc guile file /home/silverex/.xbindkeysrc.scm.
WARNING : /home/silverex/.xbindkeysrc.scm not found or reading not allowed.
2 keys in /home/silverex/.xbindkeysrc
min_keycode=8 max_keycode=255 (ie: know keycodes)
"xmacroplay :0 < ~/bin/.middlekey"
m:0x0 + b:8 (mouse)
"xmacroplay :0 < ~/bin/.doublekey"
m:0x0 + b:9 (mouse)
starting loop...
Button press !
e.xbutton.button=8
e.xbutton.state=16
"xmacroplay :0 < ~/bin/.middlekey"
m:0x0 + b:8 (mouse)
Start program with fork+exec call
XTest for server ":0.0" is version 2.2.
ButtonPress: 2
ButtonRelease: 2
ButtonRelease: 2
Button press !
e.xbutton.button=2
e.xbutton.state=16
Button release !
e.xbutton.button=2
e.xbutton.state=528
xmacroplay: pointer and keyboard released.
Catch CHLD signal -> pid 11408 terminated
Button press !
e.xbutton.button=9
e.xbutton.state=16
"xmacroplay :0 < ~/bin/.doublekey"
m:0x0 + b:9 (mouse)
Start program with fork+exec call
XTest for server ":0.0" is version 2.2.
ButtonPress: 1
ButtonRelease: 1
ButtonPress: 1
ButtonRelease: 1
ButtonRelease: 1
Button press !
e.xbutton.button=1
e.xbutton.state=16
Button release !
e.xbutton.button=1
e.xbutton.state=272
xmacroplay: pointer and keyboard released.
Catch CHLD signal -> pid 11412 terminated
Looks like no errors, but it just doesn't work - I don't get the effect of either middle-click or doule-click in Firefox or in terminal.
Any ideas?
jrib
April 26th, 2006, 09:10 PM
Hello,
/home/silverex/.xbindkeysrc:
"xmacroplay :0 < ~/bin/.middlekey"
b:8
"xmacroplay :0 < ~/bin/.doublekey"
b:9
try giving the full path to the middlekey and doublekey files not using the tilde:
"xmacroplay :0 < /home/username/bin/.middlekey"
b:8
"xmacroplay :0 < /home/username/bin/.doublekey"
b:9
SilvereX
April 27th, 2006, 05:06 AM
try giving the full path to the middlekey and doublekey files not using the tilde:
"xmacroplay :0 < /home/username/bin/.middlekey"
b:8
"xmacroplay :0 < /home/username/bin/.doublekey"
b:9
yes, I have already tried that, effect is also the same, Anyway, command _is_ being executed, as seen from xbindkeys output. But it just doesn't work.
jrib
April 27th, 2006, 08:35 AM
does it matter that you are using :0 instead of :0.0? Also, does it work if you echo and pipe to it? do other commands work (like delete maybe)?
acidphex
May 10th, 2006, 11:39 AM
My mx1000 is detected as ImPS/2, how would I go about configuring that?
Pugaciov
May 12th, 2006, 06:28 AM
Hi all
I followed the wiki for the MX1000, now back and forward buttons work in Firefox, but everything else does not. Left and right scroll work as zoom in and out when viewing an image, and the wheel-middle button seem to open the last link copied in the clipboard.
Pugaciov
May 12th, 2006, 06:37 AM
For your firefox problem, enter 'about:config' in the address bar and change middlemouse.contentLoadURL to false.
As for changing the auto-scroll down button to middle click, you will probably want to disable cruise control. Otherwise, when you middle click, your pages are going to scroll. mx1000 seems to send a button press 11 then repeat button 4 (mouse scroll) then a button release 11 when you let go. I only know how to disable cruise control with lmctl (a program that you will have to compile yourself). Instructions are somewhere in this thread if you search the thread for lmctl, you should find it. If not, just let me know and I'll give you the instructions again. If you aren't comfortable compiling, feel free to ask for advice, it's an easy compile. A problem with disabling cruise control is that your horizontal scroll, won't automatically repeat, it will just scroll once (like tapping the left and right arrow keys).
Ok this post was helpful for what concerning the middle click loading URLs, but I didn't understand very well...cruise control doesn't work at all here, if I press the cruise control down button, it's like scrolling the wheel...is it normal and I have to configure lmctl as you said or not?
Thanks.
edit: ok, I'm still searching and reading the thread; using "general.autoScroll" to "true" makes the fast scroll appear after middle click. Now I think the last thing missing is the horizontal scroll.
GregaS
May 23rd, 2006, 10:45 AM
I have dapper drake and after changing xorg.conf, x does not boot up anymore. It says something about Kernel panic. Help me please.
sorrow777
May 24th, 2006, 10:15 AM
fyi.. i'm using dapper and i got my mx1000 to work. In my .xbindkeysrc i had to change the location of xvkbd to usr/bin/xvkbd instead of the x11r6 location
Files are here.
.xbindkeysrc
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Left]""
b:8
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Right]""
b:9
"/usr/bin/xvkbd -xsendevent -text "\[Control_L]\[r]""
b:10
"echo ButtonPress 4 ButtonRelease 4 | xmacroplay -d 0 :0.0"
b:11
"echo ButtonPress 5 ButtonRelease 5 | xmacroplay -d 0 :0.0"
b:12
Section "InputDevice"
Identifier "Configured Mouse"
Driver "evdev"
Option "CorePointer"
#Option "Protocol" "evdev"
Option "Dev Name" "Logitech USB Reciever"
Option "Dev Phys" "usb-*/input0"
Option "Device" "/dev/input/event0"
Option "Buttons" "12"
Option "ZAxisMapping" "4 5 7 6"
EndSection
GregaS
May 24th, 2006, 05:59 PM
That doesn't help me, because I'm stuck at xorg.conf :(
GregaS
May 27th, 2006, 05:14 PM
I got it to work on Dapper.
Section "InputDevice"
Identifier "Configured Mouse"
Driver "evdev"
Option "CorePointer"
Option "Dev Name" "Logitech USB RECIEVER"
Option "Device" "/dev/input/event1"
Option "Buttons" "12"
Option "ZAxisMapping" "4 5 13 14"
EndSection
All the buttons work now, but all buttons have a function of left click :(
adam.tropics
May 29th, 2006, 02:04 AM
Excellent, all working, but did anyone ever manage to get the cruise/scroll thing to speed up?
GregaS
May 29th, 2006, 02:58 PM
Help me anyone?
adam.tropics
May 29th, 2006, 03:48 PM
GregaS, I believe your xorg.conf should have,
Option "ZAxisMapping" "4 5 7 6"
catfarm
June 5th, 2006, 09:27 PM
fyi.. i'm using dapper and i got my mx1000 to work. In my .xbindkeysrc i had to change the location of xvkbd to usr/bin/xvkbd instead of the x11r6 location
Thank you so much for this, it stumped me for a while, well, until I got to your post... now all is well in Dapper land.
czhu
June 12th, 2006, 08:39 AM
I am having trouble restarting X after editing xorg.conf. Here is my xorg.conf file. I get the error:
Configured Mouse: cannot open input device
No core pointer
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Tue Nov 22 18:04:42 PST 2005
# /etc/X11/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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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 "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "Files"
# paths to defoma fonts
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/CID"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "evdev"
Option "Dev Name" "Logitech USB Receiver"
Option "Dev Phys" "usb-*/input1"
Option "Device" "/dev/input/event1"
Option "Buttons" "12"
Option "ZAxisMapping" "4 5 7 6"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 31.0 - 80.0
VertRefresh 59.0 - 76.0
Option "DPMS"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NVIDIA Default Card"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NVIDIA Default Card"
Monitor "Generic Monitor"
DefaultDepth 24
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Here is my output from cat /proc/bus/input/devices
I: Bus=0003 Vendor=046d Product=c512 Version=3007
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:02.0-7/input0
H: Handlers=kbd event0
B: EV=120003
B: KEY=10000 7 ff800000 7ff febeffdf ffefffff ffffffff fffffffe
B: LED=1f
I: Bus=0003 Vendor=046d Product=c512 Version=3007
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:02.0-7/input1
H: Handlers=kbd mouse0 event1 ts0
B: EV=f
B: KEY=7fffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 0 0 1878 d800d100 1e0000 0 0 0
B: REL=143
B: ABS=100 0
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
H: Handlers=kbd event2
B: EV=40001
B: SND=6
I got the exact problem as sniper85, I also have the mx3100 (wireless keyboard +mx1000) i think that's the problem. Anyhelp in getting this to work will be greatly appreciated :)
geearf
June 12th, 2006, 06:08 PM
Hello,
just to tell you that everything is fine now under dapper, but don't ask me why.
Strange thing is that the 2 buttons on the side are still not that well seen by xev but as they seem to do just fine I don't really care.
Now I just have to get used to it again :)
jrib
June 22nd, 2006, 07:35 PM
I've updated the wiki with instructions that work for me on dapper. Let me know if they work ok for you
jrib
June 22nd, 2006, 07:58 PM
Excellent, all working, but did anyone ever manage to get the cruise/scroll thing to speed up?
Yeah, I wish I could find a way to do that as well
tempo500
June 22nd, 2006, 08:56 PM
worked!!! thanx... maybee you should rename the title of the wiki... was not shure if i should try it with my logitech click plus mouse.:rolleyes: phil
bekok
June 24th, 2006, 06:10 AM
I have a Mx 700, but does this guido also work for that one? Caus i'd like to active my back/forward buttons :)
jrib
June 24th, 2006, 08:32 AM
worked!!! thanx... maybee you should rename the title of the wiki... was not shure if i should try it with my logitech click plus mouse.:rolleyes: phil
Great to hear. The procedure should be very similar for other mice. The only thing that could be unique is the line that maps buttons 6 and 7 correctly. Without that line the Horizontal Scroll is backwards. I'll see if I can write something more general and then people may be able to post the individual quirks for each mouse if there are any. Thanks for the idea. Did you have to make any modifications?
I have a Mx 700, but does this guido also work for that one? Caus i'd like to active my back/forward buttons :)
Here are the basic steps you should follow, if this doesn't work it's as simple as restoring your /etc/X11/Xorg.conf. You might want to look through the mx1000 tutorial too to see the basic steps:
1. First we need to get the "Name" for your mouse:
cat /proc/bus/input/devices
Mine shows up as:
I: Bus=0003 Vendor=046d Product=c50e Version=2500
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:1d.2-1/input0
S: Sysfs=/class/input/input2
H: Handlers=mouse0 event2 ts0
B: EV=7
B: KEY=ffff0000 0 0 0 0 0 0 0 0
B: REL=143
Mine was "Logitech USB Receiver" as you can see.
2. Now modify your Xorg.conf (make a backup first), remove the "Configured Mouse" section (see the wiki) and replace it with:
Section "InputDevice"
Identifier "Logitech MX1000"
Driver "evdev"
Option "Name" "Logitech USB Receiver"
EndSection
You should replace "Logitech USB Reciever" with whatever you got. Notice I left out the HWHEEL line since we aren't sure you need it.
3. Read the wiki part about setting the CorePointer in the ServerLayout section
4. Ok now restart X with ctrl+alt+backspace
5. See what works on your mouse and what doesn't
6. Run xev in a terminal and press the buttons that are giving you trouble.
-If something is switched you can either use a line similar to HWHEEL I used (see man evdev or ask here) or you can use xmodmap
-if something isn't happening, like back and forward don't work but they generate buttons 8 and 9 for example, than you can use an xbindkeys like I did.
If we have good results with this I'll definitely clean this up and put something on the wiki so everyone can post up their xorg.conf section and xbindkerys/xmodmaps for their mouse on the wiki. Wouldn't be hard to write a nice little script either...
geearf
June 24th, 2006, 02:25 PM
Hello,
thanks for the tip about the "name", I was having problems with the device changing, and the udev rules working for me but not for xorg ... now it works flawlessly (or it seems) thanks.
jrib
June 24th, 2006, 02:38 PM
Hello,
thanks for the tip about the "name", I was having problems with the device changing, and the udev rules working for me but not for xorg ... now it works flawlessly (or it seems) thanks.
Yeah, man evdev is what clued me in on that. It seems to happen with the adoption of udev that the event#'s don't stay constant after reboots and such. I was writing udev rules that matched the Name to give the mouse a consistent event# but I realized that that was the same as just having X match the name directly.
The only problem I see with it is if someone has a Logitech mouse and keyboard that give the same Name. Not really sure how X will handle that scenario...
geearf
June 25th, 2006, 07:20 AM
I guess yes, with a pack it might failed, but I don't have one of those, so I'm ok :)
geearf
June 25th, 2006, 07:32 AM
by the way, I'm still using it on an ps/2 input, not USB.
Also do you think it would be possible to get a higher speed for b10 and b11? cause it's still quite slow ...
Thanks
Giga
June 25th, 2006, 02:31 PM
Jason, do you know if Logitech keyboard dinovo Laser (bluetooth 2.0)
works as well as MX1000 in Linux?
Thanks
Hypoxiacion
June 25th, 2006, 04:07 PM
I've got my buttons setup, now could someone please tell how to bind one of my side buttons to a keyboard key for example: Insert, Delete etc.
Thanks in advance!
geearf
June 25th, 2006, 06:41 PM
@Hypoxiacion : look at the xbindkeys thing at the end of the wiki, that should do it.
jrib
June 26th, 2006, 06:45 AM
by the way, I'm still using it on an ps/2 input, not USB.
Also do you think it would be possible to get a higher speed for b10 and b11? cause it's still quite slow ...
Thanks
Interesting, I might try freeing up a usb port over here too. Though the action for my forward and back seem to happen as soon as I press the buttons, I'll let you know if I get the same delay as you on PS/2 or if it's something else. You could try using something other than xbindkeys, I think imwheel will let you bind actions too.
Jason, do you know if Logitech keyboard dinovo Laser (bluetooth 2.0)
works as well as MX1000 in Linux?
Thanks
No sorry, I don't know about the keyboards
Hypoxiacion
June 26th, 2006, 08:38 AM
@Hypoxiacion : look at the xbindkeys thing at the end of the wiki, that should do it.
Yeah I saw that part, just unsure where I'd need to inseRt the information.
I want to bind the top side button to the delete key and the button above the scrollwheel to the insert key.
I need those keys mostly for gaming, I.E bind delete key to side button = weapon reload..
Just like setpoint does in windows.
jrib
June 26th, 2006, 09:56 AM
Yeah I saw that part, just unsure where I'd need to inseRt the information.
I want to bind the top side button to the delete key and the button above the scrollwheel to the insert key.
I need those keys mostly for gaming, I.E bind delete key to side button = weapon reload..
Just like setpoint does in windows.
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Left]""
b:8
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Right]""
b:9
"/usr/bin/xvkbd -xsendevent -text "\[Delete]""
b:10
"echo ButtonPress 4 ButtonRelease 4 | xmacroplay -d 0 :0.0"
b:11
"echo ButtonPress 5 ButtonRelease 5 | xmacroplay -d 0 :0.0"
b:12
"echo ButtonPress 6 ButtonRelease 6 | xmacroplay -d 0 :0.0"
b:13
"echo ButtonPress 7 ButtonRelease 7 | xmacroplay -d 0 :0.0"
b:14
I have "delete" bound to the middle side button. You can figure out the numbers, by running 'xev'.
You may have a problem using the button above the scroll for "insert" since after that button is pressed, the mouse starts sending 4's over and over, so it will be like you are scrolling up. You could disable cruise control but then the side scroll becomes pretty much useless imo. If you want to disable it anyway, just google for 'lmctl' and search for 'lmctl' in this forum thread, there are pretty decent use instructions somewhere. If you have any problems with it, don't hesitate to post
geearf
June 27th, 2006, 03:31 PM
Interesting, I might try freeing up a usb port over here too. Though the action for my forward and back seem to happen as soon as I press the buttons, I'll let you know if I get the same delay as you on PS/2 or if it's something else. You could try using something other than xbindkeys, I think imwheel will let you bind actions too.
it's not that there is a delay, it's just that button 10 and 11 don't scroll the page as quickly as they would under Windows. So it's way faster to just drag the little thing and scroll it down the good old way.
PS/2 works great though ;)
jrib
June 27th, 2006, 07:04 PM
it's not that there is a delay, it's just that button 10 and 11 don't scroll the page as quickly as they would under Windows. So it's way faster to just drag the little thing and scroll it down the good old way.
PS/2 works great though ;)
oh, yes I know what you are referring to now. I agree with you too and wish I could control its speed.
The one thought I have had is to turn off smart scroll and just have something catch the button press event, and start sending out scroll signals itself until the button is released.
geearf
June 29th, 2006, 03:29 PM
Maybe that would work, the problem is that once we press the buttons they 'transform' themselves into the wheel ones ... hmm I'm trying something, let's see how it works.
jrib
June 29th, 2006, 05:19 PM
Maybe that would work, the problem is that once we press the buttons they 'transform' themselves into the wheel ones ... hmm I'm trying something, let's see how it works.
After I disable smart scroll using the lmctl program it only generates an 11 press and an 11 release, and the same for 12,13,14. The mouse doens't send in the real events anymore in between the press and release. But let me know if you have any progress with your idea
geearf
June 30th, 2006, 04:38 PM
nothing on my side, except that there seems that the xbindkey file is not really needed anymore except for the back and forth thing for firefox.
lmctl, so it's a no-go for me if I want to still use a ps/2 port like I'm doing, but I'm still interested because my laptop has no ps/2 port, only usb ...
jrib
June 30th, 2006, 08:06 PM
nothing on my side, except that there seems that the xbindkey file is not really needed anymore except for the back and forth thing for firefox.
The other entries in the xbindkeys are so that text doesn't get highlighted when you use the smart scroll, it's a bit of a hack
geearf
July 1st, 2006, 07:22 AM
I never use that, I don't like it.
saax
July 2nd, 2006, 08:51 AM
How to add xbindkeys to startup programs in Kubuntu 6.06
stonefeet
July 5th, 2006, 12:14 AM
i've read all over this board for solutions to my mx1000 problem and i've tried all of the stuff and i still cannot get my mx1000 bluetooth mouse to function 100% (it wouldn't have been a huge deal until the scroll wheel randomly stopped working)
so i'm hoping you guys can give me some help
when i follow the wiki howto i can't even boot back into X
here's my cat /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input1
H: Handlers=kbd event1
B: EV=40001
B: SND=6
I: Bus=0003 Vendor=046d Product=c70e Version=4001
N: Name="Logitech Logitech BT Mini-Receiver"
P: Phys=usb-0000:00:1d.7-3.3.2/input0
S: Sysfs=/class/input/input2
H: Handlers=kbd event2
B: EV=120003
B: KEY=10000 7 ff800000 7ff febeffdf ffefffff ffffffff fffffffe
B: LED=1f
I: Bus=0003 Vendor=046d Product=c70a Version=4001
N: Name="Logitech Logitech BT Mini-Receiver"
P: Phys=usb-0000:00:1d.7-3.3.3/input0
S: Sysfs=/class/input/input3
H: Handlers=kbd mouse0 event3 ts0
B: EV=f
B: KEY=c0002 400 0 0 fff0001 f80 78000 6039fa d841d7ad 9e0000 0 0 0
B: REL=1c3
B: ABS=1 0
I: Bus=0003 Vendor=0a5c Product=3502 Version=0100
N: Name="HID 0a5c:3502"
P: Phys=usb-0000:00:1d.7-3.4.2/input0
S: Sysfs=/class/input/input4
H: Handlers=kbd event4
B: EV=120003
B: KEY=10000 7 ff800000 7ff febeffdf f3cfffff ffffffff fffffffe
B: LED=7
I: Bus=0003 Vendor=0a5c Product=3503 Version=0100
N: Name="HID 0a5c:3503"
P: Phys=usb-0000:00:1d.7-3.4.3/input0
S: Sysfs=/class/input/input5
H: Handlers=mouse1 event5 ts1
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3
and my xorg.conf
Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Device"
Identifier "ATI Technologies, Inc. RV350 AS [Radeon 9600]"
Driver "ati"
BusID "PCI:1:0:0"
EndSection
Section "Monitor"
Identifier "DELL 2005FPW"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. RV350 AS [Radeon 9600]"
Monitor "DELL 2005FPW"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
Section "DRI"
Mode 0666
EndSection
bbzidane
July 8th, 2006, 01:28 PM
just wanna say thanks for the guide
one thing though,
im having probs getting the back/forward buttons working
i followed the instructions for dapper on the wiki and the mouse works, but the back/forward does what it did with the old drivers
is there something im missing?
thanks
jrib
July 8th, 2006, 02:00 PM
saax, this seems to have some info for you: http://www.ubuntuforums.org/showthread.php?t=163859 but I don't use kde so I can't tell you myself how to add porgrams to startup.
stonefeet, do you have just an mx1000 or did you purchase some kind of combo? I ask because as you can see, your mouse does not use the "Logitech USB Receiver" name.
just wanna say thanks for the guide
one thing though,
im having probs getting the back/forward buttons working
i followed the instructions for dapper on the wiki and the mouse works, but the back/forward does what it did with the old drivers
is there something im missing?
thanks
xbindkeys should be taking care of the back and forward. Kill xbindkeys and start xev in a terminal. What button numbers are the back and forward buttons generating?
stonefeet
July 9th, 2006, 07:10 PM
saax, this seems to have some info for you: http://www.ubuntuforums.org/showthread.php?t=163859 but I don't use kde so I can't tell you myself how to add porgrams to startup.
stonefeet, do you have just an mx1000 or did you purchase some kind of combo? I ask because as you can see, your mouse does not use the "Logitech USB Receiver" name.
xbindkeys should be taking care of the back and forward. Kill xbindkeys and start xev in a terminal. What button numbers are the back and forward buttons generating?
yea i've got the desktop package
bluetooth only, getting this mouse to work is the only thing that's stopping me from canning windows altogether
stonefeet
July 11th, 2006, 01:02 AM
after a fresh install
i'm going to give this another shot when i get home, from the wiki
btw
the keyboard works 100% straight out of the box, volume controls and zoom and such
stonefeet
July 11th, 2006, 12:44 PM
maybe i'm just talking to myself here but i figured out after a fresh install that my keyboard is connected to the BT mini-receiver and the mouse for some reason connects to my other bluetooth adapter
I: Bus=0003 Vendor=0a5c Product=3503 Version=0100
N: Name="HID 0a5c:3503"
P: Phys=usb-0000:00:1d.7-3.4.3/input0
S: Sysfs=/class/input/input5
H: Handlers=mouse1 event5 ts1
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3
that one, so i was able to mess around with the xorg.conf and get it so that x would come back up but none of the extra buttons would work
xev returned nothing when the buttons were pressed
stonefeet
July 11th, 2006, 02:04 PM
that was the solution
removed the kensington bluetooth adapter and rebooted with just the logitech one and it worked 100% with the default xorg.conf
thanks for steering me in the right direction
Bourlotieris
July 16th, 2006, 10:14 AM
What do you mean? Didn't you change ANYTHING at all at the default xorg.conf file? I am having the diNovo bluetooth set (mouse + keyboard + mediapad).
The command cat /proc/bus/input/devices gives me:
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input1
H: Handlers=kbd event1
B: EV=40001
B: SND=6
I: Bus=0003 Vendor=046d Product=c70b Version=4002
N: Name="Logitech Logitech BT Mini-Receiver"
P: Phys=usb-0000:00:03.0-1.2/input0
S: Sysfs=/class/input/input2
H: Handlers=kbd event2
B: EV=120003
B: KEY=10000 7 ff800000 7ff febeffdf ffefffff ffffffff fffffffe
B: LED=1f
I: Bus=0003 Vendor=046d Product=c70c Version=4002
N: Name="Logitech Logitech BT Mini-Receiver"
P: Phys=usb-0000:00:03.0-1.3/input0
S: Sysfs=/class/input/input3
H: Handlers=kbd mouse0 event3 ts0
B: EV=f
B: KEY=c0002 400 0 0 fff0001 f80 78000 6039fa d841d7ad 9e0000 0 0 0
B: REL=1c3
B: ABS=1 0
As you can see I have 2 "Logitech Logitech BT Mini-Receiver" and with the default wiki instructions I can't restart X if I use that as a name. With the default xorg.conf back and forward works but no sidescroll.
Any suggestions?
jrib
July 17th, 2006, 02:37 PM
What do you mean? Didn't you change ANYTHING at all at the default xorg.conf file? I am having the diNovo bluetooth set (mouse + keyboard + mediapad).
The command cat /proc/bus/input/devices gives me:
[snip]
As you can see I have 2 "Logitech Logitech BT Mini-Receiver" and with the default wiki instructions I can't restart X if I use that as a name. With the default xorg.conf back and forward works but no sidescroll.
Any suggestions?
See if you can figure out how to write a udev rule to give the mouse a consistent event#. Maybe this can help http://www.reactivated.net/writing_udev_rules.html . I haven't had a chance to do this myself, but I'd be glad to hear how it goes.
I used to use this as /etc/udev/rules.d/10-local.rules:
KERNEL=="event[0-9]*", SYSFS{../name}=="Logitech USB Receiver", NAME="input/event9"
But as you can see that is only matching the name, which is meaningles.
If you can get that to work, then just use the event# instead of the name in your xorg.conf
Bourlotieris
July 17th, 2006, 02:55 PM
See if you can figure out how to write a udev rule to give the mouse a consistent event#. Maybe this can help http://www.reactivated.net/writing_udev_rules.html . I haven't had a chance to do this myself, but I'd be glad to hear how it goes.
I used to use this as /etc/udev/rules.d/10-local.rules:
KERNEL=="event[0-9]*", SYSFS{../name}=="Logitech USB Receiver", NAME="input/event9"
But as you can see that is only matching the name, which is meaningles.
If you can get that to work, then just use the event# instead of the name in your xorg.conf
Thanx _jason. I shall look this through and come back (hopefully with a solution).
kpolice
July 18th, 2006, 02:58 AM
It's perfect and easy. I only needed 4 minutes to do it.
Thanks
rsk
July 23rd, 2006, 07:47 PM
Jason just found your tutorial while trying to make Ubuntu feel more like home, worked like a freaking charm. Thanks bud!
HBK
July 25th, 2006, 12:26 PM
Hi,
Thx for the great tutorial, some parts seem to work for me, some don't ;): I did everything according to the text and it leaves me with the mouse wheel working vertically but not horizontally. Back and forward works in FF, cruise control doesn't... where could the problem be? I'm using dapper and if I can get my MX1000 to work fully that'd be another step towards scrapping XP totally :).
Any help would be very appreciated,
HBK
jrib
July 25th, 2006, 01:48 PM
Hi,
Thx for the great tutorial, some parts seem to work for me, some don't ;): I did everything according to the text and it leaves me with the mouse wheel working vertically but not horizontally. Back and forward works in FF, cruise control doesn't... where could the problem be? I'm using dapper and if I can get my MX1000 to work fully that'd be another step towards scrapping XP totally :).
Any help would be very appreciated,
HBK
What you described happens to me if I disable smart scroll on the mouse. The only program in linux that I know of to control this, is lmctl. It isn't packaged, so you will have to compile it.
There are some basic instructions in some posts I made earlier in this thread, just search inside this thread for 'lmctl'.
If you need some help with compiling, just ask and we'll walk you through it.
HBK
July 25th, 2006, 02:38 PM
Works like a charm, thank you very much :). Is there a way of setting the autocruise speed or is it fixed?
Thanks a lot again for the fast and friendly help :),
HBK
jrib
July 25th, 2006, 05:34 PM
Works like a charm, thank you very much :). Is there a way of setting the autocruise speed or is it fixed?
Thanks a lot again for the fast and friendly help :),
HBK
In windows, the logitech application allows one to change the scroll speed. However, I believe this does not actual change a setting on the mouse itself, it may just be the application doing all the work to make it scroll faster.
I agree with you that it would be nice to change the speed a bit. grearf also expressed interest in this as well. I don't know of a way to do this. Although it may be possible to write something similar to the logitech app...
adam.tropics
July 30th, 2006, 06:24 AM
What version of evdev are you all using? I have an older version , as previously the newer packages were broken, but following recent updates the mouse has been freezing pretty randomly. Is there a current but working package in the repos now?
geearf
July 30th, 2006, 06:52 AM
I'm using dapper's one and it's fine.
inlivingcolour
August 13th, 2006, 06:39 PM
Thank you for the great tutorial. I do have one minor problem. Sorry if this came up. I can't get my thumb buttons to start when the system boots up. I have to do it manually through terminal. How go I get it to start automatically. And I tried adding the xbindkeys to Sessions.
jrib
August 13th, 2006, 08:20 PM
Thank you for the great tutorial. I do have one minor problem. Sorry if this came up. I can't get my thumb buttons to start when the system boots up. I have to do it manually through terminal. How go I get it to start automatically. And I tried adding the xbindkeys to Sessions.
So it seems that the problem is xbindkeys isn't getting started. Can you make sure that xbindkeys isn't getting run after login by running 'ps -ef | grep xbindkeys'?
Also, what version of Ubuntu are you using?
If you put 'gedit' in sessions -> startup, does it work?
What is in your ~/.config/autostart directory? (Paste the contents of xbindkeys.desktop if it is there)
dahamsta
August 15th, 2006, 07:08 AM
Very useful HOWTO, thank you.
Eckstona
August 21st, 2006, 04:31 AM
I have all the buttons set up, but i can't bind them in the games that I play. Does anyone know how to bind mouse buttons to keyboard buttons?:confused:
sque
August 29th, 2006, 12:36 AM
We are only identifying the device using it's "Name". If this is a problem for you because other devices also identify themselves this way, post at the forum link found at the bottom of this page.
So here I am.. I am on dapper drake and I have the logitech wireless keyboard/mouse(MX700) package. The receiver is connected through 1 usb on the computer and both works from it.
this is the /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7
I: Bus=0003 Vendor=046d Product=c50b Version=2100
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:10.0-1/input0
S: Sysfs=/class/input/input1
H: Handlers=kbd event1
B: EV=120003
B: KEY=10000 7 ff800000 7ff febeffdf ffefffff ffffffff fffffffe
B: LED=1f
I: Bus=0003 Vendor=046d Product=c50b Version=2100
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:10.0-1/input1
S: Sysfs=/class/input/input2
H: Handlers=kbd mouse0 event2 ts0
B: EV=7
B: KEY=ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 0 0 1878 d800d100 1e0000 0 0 0
B: REL=103
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input3
H: Handlers=kbd event3
B: EV=40001
B: SND=6
So... what can I do for this occasion?
jrib
August 29th, 2006, 03:43 PM
I have all the buttons set up, but i can't bind them in the games that I play. Does anyone know how to bind mouse buttons to keyboard buttons?:confused:
You can use xbindkeys to do this. In a terminal, try 'xbindkeys -d'. That should give you a sample rc file you can use with a lot of examples. To have the command play a mouse button, you can use something similar to what we used to get the mx1000 scroll keys to work correctly. For example this makes button 14 on the mouse play button 7, but you can change "b:14" to a key on your keyboard instead if you wish.
"echo ButtonPress 7 ButtonRelease 7 | xmacroplay -d 0 :0.0"
b:14
Also, in detyabozhye's guide, HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide (http://ubuntuforums.org/showthread.php?t=219894), he introduces a "click" program which seems to allow you to play a mouse button as well.
jrib
August 29th, 2006, 03:47 PM
So... what can I do for this occasion?
I don't know of a working solution for this scenario.
Bourlotieris had a similar situation, and this was my advice, hope it helps:
http://ubuntuforums.org/showthread.php?p=1267334#post1267334
Nojatron
August 30th, 2006, 06:54 AM
.
bjorkiii
September 5th, 2006, 04:17 PM
I have followed instructions correctly but my back and forward side buttons are not doing anything :( thems the 2 buttons i only wanted to get going as well im on dapper drake 64 bit version .
harryc
September 13th, 2006, 10:03 PM
I have (2) Logitech receivers. (1 for an MX1000 and another for an MX3000 keyboard and mouse combo). What changes do I have to make to the wiki instructions to identify just the MX1000?
harryc@harryc-desktop:~$ cat /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input1
H: Handlers=kbd event1
B: EV=40001
B: SND=6
I: Bus=0003 Vendor=046d Product=c513 Version=3200
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:02.0-1.1/input0
S: Sysfs=/class/input/input26
H: Handlers=kbd event2
B: EV=120003
B: KEY=10000 7 ff800000 7ff febeffdf ffefffff ffffffff fffffffe
B: LED=1f
I: Bus=0003 Vendor=046d Product=c513 Version=3200
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:02.0-1.1/input1
S: Sysfs=/class/input/input27
H: Handlers=kbd mouse0 event3 ts0
B: EV=f
B: KEY=c0002 400 0 0 ff0001 f80 78000 6039fa d841d7ad 9e0000 0 0 0
B: REL=1c3
B: ABS=1 0
I: Bus=0003 Vendor=046d Product=c50e Version=2500
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:02.0-1.2/input0
S: Sysfs=/class/input/input28
H: Handlers=mouse1 event4 ts1
B: EV=7
B: KEY=ffff0000 0 0 0 0 0 0 0 0
B: REL=143
kayrune
September 24th, 2006, 08:27 AM
I'm trying to get this working on Edgy with a MX3100 mouse/keyboard combo, so far I've run into big problems.
WARNING DO NOT FOLLOW THE INSTRUCTIONS ON THE WIKI! This resulted in loss off keyboard and mouse functions as soon as X started. Meaning I had to get hold of a wired keyboard to fix the problem (ctrl+alt+F1 didn't work)
$cat /proc/bus/input/devices
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0
B: EV=40001
B: SND=6
I: Bus=0003 Vendor=046d Product=c512 Version=3007
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:02.1-4/input0
S: Sysfs=/class/input/input1
H: Handlers=kbd event1
B: EV=120003
B: KEY=10000 7 ff800000 7ff febeffdf ffefffff ffffffff fffffffe
B: LED=1f
I: Bus=0003 Vendor=046d Product=c512 Version=3007
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:02.1-4/input1
S: Sysfs=/class/input/input2
H: Handlers=kbd mouse0 event2 ts0
B: EV=7
B: KEY=7fffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 0 0 1878 d800d100 1e0000 0 0 0
B: REL=143
I've tried using every combination of the following lines in the xorg.conf but none would get the mouse working, when I use the "device" option I get the keyboard working again.
Driver "evdev"
Option "Name" "Logitech USB Receiver"
Option "HWHEELRelativeAxisButtons" "7 6"
Option "Device" "/dev/input/event2"
Any tips are welcome!
EDIT:
I wrote a udev rule
sudo gedit /etc/udev/rules.d/19-local.rules
And added the following line:
KERNEL=="event[0-9]*", SYSFS{../device/bInterfaceNumber}=="01", NAME="input/mxmouse"
changed my xorg.conf to the following:
Driver "evdev"
Option "Device" "/dev/input/mxmouse"
Option "HWHEELRelativeAxisButtons" "7 6"
And rebootet, now both my keyboard and mouse are working. But xev doesn't output anything on the wheel-sideways, and the thumb buttons are all whacky now !!
mac57
September 24th, 2006, 06:07 PM
Hi, I have just loaded up Ubuntu 6.06, and followed the instructions at the start of this thread to get my MX1000 working fully. The instructions work great, but I wanted to make one change that I just can't figure out how to get working.
Right now, the two buttons along the side of the mouse that are used for Forward and Back work like this: the frontmost button does Forward and the backmost button does Back. This is sensible but for whatever reason, I have always done this the other way. How do I reverse these two, so that the frontmost button does Back and the backmost button does Forward?
I have tried changing the mapping in xorg.conf to no good end. I have tried messing with the settings in ~/.xbindkeysrc to no good end. There must be some magic combination I haven't tried yet. Can anyone help?
BTW, I am running Unbuntu 6.06, pretty much standard off the install disk (booted up the LiveCD, selected the install option and used it). All I have done to it since install is to use easyubuntu to load up the nvidia driver, codecs, and fonts. Thanks!
kayrune
September 25th, 2006, 04:19 AM
If I understand correct...
in .xbindkeysrc change
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Left]""
b:8
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Right]""
b:9
to
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Right]""
b:8
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Left]""
b:9
doc_holiday
October 18th, 2006, 02:22 PM
I tried the how to, but X doesn't start any more
Here my xorg.conf
Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "be"
EndSection
Section "InputDevice"
Identifier "Logitech MX1000"
Driver "evdev"
Option "Name" "Logitech USB Receiver"
Option "HWHEELRelativeAxisButtons" "7 6"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV20 [GeForce3 Ti 500]"
Driver "nv"
BusID "PCI:1:0:0"
EndSection
Section "Monitor"
Identifier "HM903D/DT"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV20 [GeForce3 Ti 500]"
Monitor "HM903D/DT"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1920x1440" "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1920x1440" "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1920x1440" "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1920x1440" "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1920x1440" "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1920x1440" "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Logitech MX1000" "CorePointer"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
Section "DRI"
Mode 0666
EndSection
cudaman73
October 20th, 2006, 07:37 AM
Ergh.
I get an error to the effect of "PreInit returned NULL For <mouse device>"
relevant xorg.conf section is
Section "InputDevice"
Identifier "Logitech MX1000"
Driver "evdev"
Option "Name" "Logitech USB Receiver"
Option "HWHEELRelativeAxisButtons" "7 6"
# Option "Resolution" "800"
EndSection
Quite frustrating. I've been playing with a combination of evdev and mouse all night.
kubi
October 24th, 2006, 12:40 AM
Hi,
I want to switch 3rd button with my thumb button, eventualy give it the same functionality. How can i do that ?
jrib
October 24th, 2006, 09:45 AM
Hi,
I want to switch 3rd button with my thumb button, eventualy give it the same functionality. How can i do that ?
You can use xmodmap,
something like
pointer = 3 2 1
would make the first button act like button 3 and the third button act like button 1. But in your ~/.xmodmap you should have more numbers (12? iirc) and you would just switch whatever corresponds to middle (2) and your thumb button (I can't remember, but use xev to figure it out).
Instead of editing ~/.xmodmap and restarting X to test things you can just do:
[/code]xmodmap -e "pointer = 3 2 1"[/code]
in your terminal.
kubi
October 25th, 2006, 04:45 AM
I did that before evan posting :)
"echo ButtonPress 2 ButtonRelease 2 | xmacroplay -d 0 :0.0"
b:10
in xev it looks like it's good, but in firefox b10 deas nothing ;(
doc_holiday
October 25th, 2006, 05:36 AM
I tried the how to, but X doesn't start any more
Here my xorg.conf
Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "be"
EndSection
Section "InputDevice"
Identifier "Logitech MX1000"
Driver "evdev"
Option "Name" "Logitech USB Receiver"
Option "HWHEELRelativeAxisButtons" "7 6"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV20 [GeForce3 Ti 500]"
Driver "nv"
BusID "PCI:1:0:0"
EndSection
Section "Monitor"
Identifier "HM903D/DT"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV20 [GeForce3 Ti 500]"
Monitor "HM903D/DT"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1920x1440" "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1920x1440" "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1920x1440" "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1920x1440" "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1920x1440" "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1920x1440" "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Logitech MX1000" "CorePointer"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
Section "DRI"
Mode 0666
EndSection
Can somebody help me?
jrib
October 25th, 2006, 10:46 AM
I did that before evan posting :)
"echo ButtonPress 2 ButtonRelease 2 | xmacroplay -d 0 :0.0"
b:10
in xev it looks like it's good, but in firefox b10 deas nothing ;(
but that's not what I suggested :/
Did you mean you tried using xmodmap but it didn't work?
jrib
October 25th, 2006, 10:49 AM
Can somebody help me?
Can you show us /var/log/Xorg.0.log as well as the output of:
cat /proc/bus/input/devices
doc_holiday
October 25th, 2006, 10:57 AM
Can you show us /var/log/Xorg.0.log as well as the output of:
cat /proc/bus/input/devices
/var/log/Xorg.0.log
http://users.skynet.be/fa004801/Xorg.0.log
cat /proc/bus/input/devices:
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input3
H: Handlers=kbd event3
B: EV=40001
B: SND=6
jrib
October 25th, 2006, 11:01 AM
/var/log/Xorg.0.log
http://users.skynet.be/fa004801/Xorg.0.log
cat /proc/bus/input/devices:
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input3
H: Handlers=kbd event3
B: EV=40001
B: SND=6
hmm I'm not sure why /proc/bus/input/devices wouldn't include your mouse. Can you try after using a vanilla xorg.conf (generate one with dpkg-reconfigure xserver-xorg).
kubi
October 26th, 2006, 12:44 AM
here is the result:)
xmodmap -e "pointer = 3 2 1"
xmodmap: commandline:1: bad number of buttons, must have 20 instead of 3
xmodmap: 1 error encountered, aborting.
damn i didn't evan know i have so much :)
jrib
October 26th, 2006, 10:01 AM
here is the result:)
xmodmap -e "pointer = 3 2 1"
xmodmap: commandline:1: bad number of buttons, must have 20 instead of 3
xmodmap: 1 error encountered, aborting.
damn i didn't evan know i have so much :)
don't just copy the code, read what I said too :) You have to modify it to the proper number of buttons and switch the right numbers
xiaoxin
October 27th, 2006, 07:07 PM
How to make the wheel button minize active window?
and the middle button on the left alt-tab?
:-k
novakry
November 1st, 2006, 06:24 PM
hi people,
i tried your guide out and followed it to the "T"
after updating my xorg.conf file i got the following message when x tried to restart.
http://show.imagehosting.us/show/1718262/0/nouser_1718/T1_-1_1718262.jpg (http://www.imagehosting.us/index.php?action=show&ident=1718262)
all i can say is i'm pretty new to linux, but if there is any more information you need let me know.
TYIA
NovaKry
jrib
November 2nd, 2006, 09:48 AM
hi people,
i tried your guide out and followed it to the "T"
after updating my xorg.conf file i got the following message when x tried to restart.
http://show.imagehosting.us/show/1718262/0/nouser_1718/T1_-1_1718262.jpg (http://www.imagehosting.us/index.php?action=show&ident=1718262)
all i can say is i'm pretty new to linux, but if there is any more information you need let me know.
TYIA
NovaKry
Hi, can you show us /etc/X11/xorg.conf and /var/log/Xorg.0.log ?
Also, were you able to restore the backup so you can get back to X?
novakry
November 2nd, 2006, 05:32 PM
Hi, can you show us /etc/X11/xorg.conf and /var/log/Xorg.0.log ?
Xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Tue Aug 1 21:11:12 PDT 2006
# /etc/X11/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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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 "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Logitech MX1000" "CorePointer"
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
EndSection
Section "Files"
# path to defoma fonts
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection
Section "InputDevice"
Identifier "Logitech MX1000"
Driver "evdev"
Option "Name" "Logitech USB Receiver"
Option "HWHEELRelativeAxisButtons" "7 6"
EndSection
#Section "InputDevice"
# /dev/#input/event
# for #USB
# Identifier "stylus"
# Driver "wacom"
# Option "Device" "/dev/wacom" # Change to
# Option "Type" "stylus"
# Option "ForceDevice" "ISDV4" # #Tablet PC ONLY
#EndSection
#Section "InputDevice"
#
# # /#dev/input/event
# # for #USB
# Identifier "eraser"
# Driver "wacom"
# Option "Device" "/dev/wacom" # Change #to
# Option "Type" "eraser"
# Option "ForceDevice" "ISDV4" # #Tablet PC ONLY
#EndSection
#Section "InputDevice"
#
# # /#dev/input/event
# # for #USB
# Identifier "cursor"
# Driver "wacom"
# Option "Device" "/dev/wacom" # Change #to
# Option "Type" "cursor"
# Option "ForceDevice" "ISDV4" # #Tablet PC ONLY
#EndSection
Section "Monitor"
Identifier "L1715S"
Option "DPMS"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV43 [GeForce 6600/GeForce 6600 GT]"
Driver "nvidia"
Option "hwcursor" "on"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV43 [GeForce 6600/GeForce 6600 GT]"
Monitor "L1715S"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
EndSection
Xorg.0.log
X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.15.7 i686
Current Operating System: Linux main 2.6.17-10-386 #2 Fri Oct 13 18:41:40 UTC 2006 i686
Build Date: 07 July 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov 2 08:40:31 2006
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) | |-->Monitor "Philips 170S"
(**) | |-->Device "NVIDIA Corporation NV43 [GeForce 6600/GeForce 6600 GT]"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Configured Mouse"
(WW) The directory "/usr/share/X11/fonts/cyrillic" does not exist.
Entry deleted from font path.
(**) FontPath set to:
/usr/share/X11/fonts/misc,
/usr/share/X11/fonts/100dpi/:unscaled,
/usr/share/X11/fonts/75dpi/:unscaled,
/usr/share/X11/fonts/Type1,
/usr/share/X11/fonts/100dpi,
/usr/share/X11/fonts/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
/usr/share/fonts/X11/misc/,
/usr/share/fonts/X11/TTF/,
/usr/share/fonts/X11/OTF,
/usr/share/fonts/X11/Type1/,
/usr/share/fonts/X11/CID/,
/usr/share/fonts/X11/100dpi/,
/usr/share/fonts/X11/75dpi/
(==) RgbPath set to "/usr/share/X11/rgb"
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 1.0
X.Org XInput driver : 0.6
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/lib/xorg/modules/fonts/libbitmap.so
(II) Module bitmap: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.0.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.5
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/xorg/modules/libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.0.0
ABI class: X.Org Video Driver, version 1.0
(++) using VT number 7
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 10de,00e1 card 0000,0000 rev a1 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 10de,00e0 card 10de,0c11 rev a2 class 06,01,00 hdr 80
(II) PCI: 00:01:1: chip 10de,00e4 card 10de,0c11 rev a1 class 0c,05,00 hdr 80
(II) PCI: 00:02:0: chip 10de,00e7 card 10de,0c11 rev a1 class 0c,03,10 hdr 80
(II) PCI: 00:02:1: chip 10de,00e7 card 10de,0c11 rev a1 class 0c,03,10 hdr 80
(II) PCI: 00:02:2: chip 10de,00e8 card 10de,0c11 rev a2 class 0c,03,20 hdr 80
(II) PCI: 00:05:0: chip 10de,00df card 10de,0c11 rev a2 class 06,80,00 hdr 00
(II) PCI: 00:08:0: chip 10de,00e5 card 10de,0c11 rev a2 class 01,01,8a hdr 00
(II) PCI: 00:0b:0: chip 10de,00e2 card 0000,0000 rev a2 class 06,04,00 hdr 01
(II) PCI: 00:0e:0: chip 10de,00ed card 0000,0000 rev a2 class 06,04,00 hdr 01
(II) PCI: 00:18:0: chip 1022,1100 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:1: chip 1022,1101 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:2: chip 1022,1102 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:3: chip 1022,1103 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 01:00:0: chip 10de,00f1 card 107d,2011 rev a2 class 03,00,00 hdr 00
(II) PCI: 02:08:0: chip 1102,0002 card 1102,100a rev 0a class 04,01,00 hdr 80
(II) PCI: 02:08:1: chip 1102,7002 card 1102,0020 rev 0a class 09,80,00 hdr 80
(II) PCI: 02:09:0: chip 11ab,1faa card 1385,6b00 rev 03 class 02,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,2), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:1:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:11:0), (0,1,1), BCTRL: 0x000a (VGA_EN is set)
(II) Bus 1 non-prefetchable memory range:
[0] -1 0 0xe4000000 - 0xe6ffffff (0x3000000) MX[B]
(II) Bus 1 prefetchable memory range:
[0] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 2: bridge is at (0:14:0), (0,2,2), BCTRL: 0x0202 (VGA_EN is cleared)
(II) Bus 2 I/O range:
[0] -1 0 0x0000d000 - 0x0000dfff (0x1000) IX[B]
(II) Bus 2 non-prefetchable memory range:
[0] -1 0 0xe7000000 - 0xe7ffffff (0x1000000) MX[B]
(--) PCI:*(1:0:0) nVidia Corporation NV43 [GeForce 6600/GeForce 6600 GT] rev 162, Mem @ 0xe4000000/24, 0xd0000000/28, 0xe5000000/24
(II) Addressable bus resource ranges are
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
[1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
[0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[5] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) PCI Memory resource overlap reduced 0xe0000000 from 0xe3ffffff to 0xdfffffff
(II) Active PCI resource ranges:
[0] -1 0 0xe7010000 - 0xe701ffff (0x10000) MX[B]
[1] -1 0 0xe7000000 - 0xe700ffff (0x10000) MX[B]
[2] -1 0 0xe8000000 - 0xe8000fff (0x1000) MX[B]
[3] -1 0 0xe8004000 - 0xe80040ff (0x100) MX[B]
[4] -1 0 0xe8003000 - 0xe8003fff (0x1000) MX[B]
[5] -1 0 0xe8002000 - 0xe8002fff (0x1000) MX[B]
[6] -1 0 0xe0000000 - 0xdfffffff (0x0) MX[B]O
[7] -1 0 0xe5000000 - 0xe5ffffff (0x1000000) MX[B](B)
[8] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX[B](B)
[9] -1 0 0xe4000000 - 0xe4ffffff (0x1000000) MX[B](B)
[10] -1 0 0x0000d200 - 0x0000d207 (0x8) IX[B]
[11] -1 0 0x0000d100 - 0x0000d11f (0x20) IX[B]
[12] -1 0 0x0000f000 - 0x0000f00f (0x10) IX[B]
[13] -1 0 0x0000e200 - 0x0000e207 (0x8) IX[B]
[14] -1 0 0x00004c40 - 0x00004c7f (0x40) IX[B]
[15] -1 0 0x00004c00 - 0x00004c3f (0x40) IX[B]
[16] -1 0 0x0000e500 - 0x0000e51f (0x20) IX[B]
(II) Active PCI resource ranges after removing overlaps:
[0] -1 0 0xe7010000 - 0xe701ffff (0x10000) MX[B]
[1] -1 0 0xe7000000 - 0xe700ffff (0x10000) MX[B]
[2] -1 0 0xe8000000 - 0xe8000fff (0x1000) MX[B]
[3] -1 0 0xe8004000 - 0xe80040ff (0x100) MX[B]
[4] -1 0 0xe8003000 - 0xe8003fff (0x1000) MX[B]
[5] -1 0 0xe8002000 - 0xe8002fff (0x1000) MX[B]
[6] -1 0 0xe0000000 - 0xdfffffff (0x0) MX[B]O
[7] -1 0 0xe5000000 - 0xe5ffffff (0x1000000) MX[B](B)
[8] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX[B](B)
[9] -1 0 0xe4000000 - 0xe4ffffff (0x1000000) MX[B](B)
[10] -1 0 0x0000d200 - 0x0000d207 (0x8) IX[B]
[11] -1 0 0x0000d100 - 0x0000d11f (0x20) IX[B]
[12] -1 0 0x0000f000 - 0x0000f00f (0x10) IX[B]
[13] -1 0 0x0000e200 - 0x0000e207 (0x8) IX[B]
[14] -1 0 0x00004c40 - 0x00004c7f (0x40) IX[B]
[15] -1 0 0x00004c00 - 0x00004c3f (0x40) IX[B]
[16] -1 0 0x0000e500 - 0x0000e51f (0x20) IX[B]
(II) OS-reported resource ranges after removing overlaps with PCI:
[0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[5] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
[0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0xe7010000 - 0xe701ffff (0x10000) MX[B]
[5] -1 0 0xe7000000 - 0xe700ffff (0x10000) MX[B]
[6] -1 0 0xe8000000 - 0xe8000fff (0x1000) MX[B]
[7] -1 0 0xe8004000 - 0xe80040ff (0x100) MX[B]
[8] -1 0 0xe8003000 - 0xe8003fff (0x1000) MX[B]
[9] -1 0 0xe8002000 - 0xe8002fff (0x1000) MX[B]
[10] -1 0 0xe0000000 - 0xdfffffff (0x0) MX[B]O
[11] -1 0 0xe5000000 - 0xe5ffffff (0x1000000) MX[B](B)
[12] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX[B](B)
[13] -1 0 0xe4000000 - 0xe4ffffff (0x1000000) MX[B](B)
[14] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[15] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[16] -1 0 0x0000d200 - 0x0000d207 (0x8) IX[B]
[17] -1 0 0x0000d100 - 0x0000d11f (0x20) IX[B]
[18] -1 0 0x0000f000 - 0x0000f00f (0x10) IX[B]
[19] -1 0 0x0000e200 - 0x0000e207 (0x8) IX[B]
[20] -1 0 0x00004c40 - 0x00004c7f (0x40) IX[B]
[21] -1 0 0x00004c00 - 0x00004c3f (0x40) IX[B]
[22] -1 0 0x0000e500 - 0x0000e51f (0x20) IX[B]
(II) LoadModule: "i2c"
(II) Loading /usr/lib/xorg/modules/libi2c.so
(II) Module i2c: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.2.0
ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "bitmap"
(II) Reloading /usr/lib/xorg/modules/fonts/libbitmap.so
(II) Loading font Bitmap
(II) LoadModule: "ddc"
(II) Loading /usr/lib/xorg/modules/libddc.so
(II) Module ddc: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.0.0
ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.3
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "freetype"
(II) Loading /usr/lib/xorg/modules/fonts/libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
compiled for 7.1.1, module version = 2.1.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.5
(II) Loading font FreeType
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.8774
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "int10"
(II) Loading /usr/lib/xorg/modules/libint10.so
(II) Module int10: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.0.0
ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "type1"
(II) Loading /usr/lib/xorg/modules/fonts/libtype1.so
(II) Module type1: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.0.2
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.5
(II) Loading font Type1
(II) LoadModule: "vbe"
(II) Loading /usr/lib/xorg/modules/libvbe.so
(II) Module vbe: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.1.0
ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.8774
Module class: X.Org Video Driver
(II) LoadModule: "kbd"
(II) Loading /usr/lib/xorg/modules/input/kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.1.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.6
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.1.1
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.6
(II) NVIDIA X Driver 1.0-8774 Tue Aug 1 20:56:50 PDT 2006
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01:00:0
(--) Assigning device section with no busID to primary device
(--) Chipset NVIDIA GPU found
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.3
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/lib/xorg/modules/libramdac.so
(II) Module ramdac: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 0.1.0
ABI class: X.Org Video Driver, version 1.0
(II) resource ranges after xf86ClaimFixedResources() call:
[0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0xe7010000 - 0xe701ffff (0x10000) MX[B]
[5] -1 0 0xe7000000 - 0xe700ffff (0x10000) MX[B]
[6] -1 0 0xe8000000 - 0xe8000fff (0x1000) MX[B]
[7] -1 0 0xe8004000 - 0xe80040ff (0x100) MX[B]
[8] -1 0 0xe8003000 - 0xe8003fff (0x1000) MX[B]
[9] -1 0 0xe8002000 - 0xe8002fff (0x1000) MX[B]
[10] -1 0 0xe0000000 - 0xdfffffff (0x0) MX[B]O
[11] -1 0 0xe5000000 - 0xe5ffffff (0x1000000) MX[B](B)
[12] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX[B](B)
[13] -1 0 0xe4000000 - 0xe4ffffff (0x1000000) MX[B](B)
[14] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[15] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[16] -1 0 0x0000d200 - 0x0000d207 (0x8) IX[B]
[17] -1 0 0x0000d100 - 0x0000d11f (0x20) IX[B]
[18] -1 0 0x0000f000 - 0x0000f00f (0x10) IX[B]
[19] -1 0 0x0000e200 - 0x0000e207 (0x8) IX[B]
[20] -1 0 0x00004c40 - 0x00004c7f (0x40) IX[B]
[21] -1 0 0x00004c00 - 0x00004c3f (0x40) IX[B]
[22] -1 0 0x0000e500 - 0x0000e51f (0x20) IX[B]
(II) resource ranges after probing:
[0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0xe7010000 - 0xe701ffff (0x10000) MX[B]
[5] -1 0 0xe7000000 - 0xe700ffff (0x10000) MX[B]
[6] -1 0 0xe8000000 - 0xe8000fff (0x1000) MX[B]
[7] -1 0 0xe8004000 - 0xe80040ff (0x100) MX[B]
[8] -1 0 0xe8003000 - 0xe8003fff (0x1000) MX[B]
[9] -1 0 0xe8002000 - 0xe8002fff (0x1000) MX[B]
[10] -1 0 0xe0000000 - 0xdfffffff (0x0) MX[B]O
[11] -1 0 0xe5000000 - 0xe5ffffff (0x1000000) MX[B](B)
[12] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX[B](B)
[13] -1 0 0xe4000000 - 0xe4ffffff (0x1000000) MX[B](B)
[14] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]
[15] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]
[16] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]
[17] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[18] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[19] -1 0 0x0000d200 - 0x0000d207 (0x8) IX[B]
[20] -1 0 0x0000d100 - 0x0000d11f (0x20) IX[B]
[21] -1 0 0x0000f000 - 0x0000f00f (0x10) IX[B]
[22] -1 0 0x0000e200 - 0x0000e207 (0x8) IX[B]
[23] -1 0 0x00004c40 - 0x00004c7f (0x40) IX[B]
[24] -1 0 0x00004c00 - 0x00004c3f (0x40) IX[B]
[25] -1 0 0x0000e500 - 0x0000e51f (0x20) IX[B]
[26] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B]
[27] 0 0 0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Enabling RENDER acceleration
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) NVIDIA(0): enabled.
(II) NVIDIA(0): NVIDIA GPU GeForce 6600 GT at PCI:1:0:0
(--) NVIDIA(0): VideoRAM: 131072 kBytes
(--) NVIDIA(0): VideoBIOS: 05.43.02.46.68
(II) NVIDIA(0): Detected AGP rate: 8X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce 6600 GT at PCI:1:0:0:
(--) NVIDIA(0): Philips 170S (CRT-0)
(--) NVIDIA(0): Philips 170S (CRT-0): 400.0 MHz maximum pixel clock
(II) NVIDIA(0): Assigned Display Device: CRT-0
(WW) NVIDIA(0): No valid modes for "720x400"; removing.
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0): "1280x1024"
(II) NVIDIA(0): "1280x960"
(II) NVIDIA(0): "1152x864"
(II) NVIDIA(0): "1024x768"
(II) NVIDIA(0): "832x624"
(II) NVIDIA(0): "800x600"
(II) NVIDIA(0): "640x480"
(II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(--) NVIDIA(0): DPI set to (95, 96); computed from "UseEdidDpi" X config option
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC? No, I don't.
(II) resource ranges after preInit:
[0] 0 0 0xe5000000 - 0xe5ffffff (0x1000000) MX[B]
[1] 0 0 0xd0000000 - 0xdfffffff (0x10000000) MX[B]
[2] 0 0 0xe4000000 - 0xe4ffffff (0x1000000) MX[B]
[3] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[4] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[5] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[6] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[7] -1 0 0xe7010000 - 0xe701ffff (0x10000) MX[B]
[8] -1 0 0xe7000000 - 0xe700ffff (0x10000) MX[B]
[9] -1 0 0xe8000000 - 0xe8000fff (0x1000) MX[B]
[10] -1 0 0xe8004000 - 0xe80040ff (0x100) MX[B]
[11] -1 0 0xe8003000 - 0xe8003fff (0x1000) MX[B]
[12] -1 0 0xe8002000 - 0xe8002fff (0x1000) MX[B]
[13] -1 0 0xe0000000 - 0xdfffffff (0x0) MX[B]O
[14] -1 0 0xe5000000 - 0xe5ffffff (0x1000000) MX[B](B)
[15] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX[B](B)
[16] -1 0 0xe4000000 - 0xe4ffffff (0x1000000) MX[B](B)
[17] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
[18] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
[19] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
[20] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[21] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[22] -1 0 0x0000d200 - 0x0000d207 (0x8) IX[B]
[23] -1 0 0x0000d100 - 0x0000d11f (0x20) IX[B]
[24] -1 0 0x0000f000 - 0x0000f00f (0x10) IX[B]
[25] -1 0 0x0000e200 - 0x0000e207 (0x8) IX[B]
[26] -1 0 0x00004c40 - 0x00004c7f (0x40) IX[B]
[27] -1 0 0x00004c00 - 0x00004c3f (0x40) IX[B]
[28] -1 0 0x0000e500 - 0x0000e51f (0x20) IX[B]
[29] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
[30] 0 0 0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(II) NVIDIA(0): Setting mode "1280x1024"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) Option "dpms"
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(II) Initializing extension GLX
error opening security policy file /usr/lib/xserver/SecurityPolicy
(**) Option "CoreKeyboard"
(**) Generic Keyboard: Core Keyboard
(**) Option "Protocol" "standard"
(**) Generic Keyboard: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Generic Keyboard: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Generic Keyboard: XkbModel: "pc105"
(**) Option "XkbLayout" "gb"
(**) Generic Keyboard: XkbLayout: "gb"
(**) Option "CustomKeycodes" "off"
(**) Generic Keyboard: CustomKeycodes disabled
(**) Option "Protocol" "ExplorerPS/2"
(**) Configured Mouse: Device: "/dev/input/mice"
(**) Configured Mouse: Protocol: "ExplorerPS/2"
(**) Option "CorePointer"
(**) Configured Mouse: Core Pointer
(**) Option "Device" "/dev/input/mice"
(**) Option "Emulate3Buttons" "true"
(**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Configured Mouse: ZAxisMapping: buttons 4 and 5
(**) Configured Mouse: Buttons: 9
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
(II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
xkb_keycodes { include "xfree86+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compatibility { include "complete" };
xkb_symbols { include "pc(pc105)+gb" };
xkb_geometry { include "pc(pc105)" };
(II) Configured Mouse: ps2EnableDataReporting: succeeded
Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!
Could not init font path element /usr/share/fonts/X11/TTF/, removing from list!
Could not init font path element /usr/share/fonts/X11/OTF, removing from list!
Could not init font path element /usr/share/fonts/X11/CID/, removing from list!
SetGrabKeysState - disabled
SetGrabKeysState - enabled
Also, were you able to restore the backup so you can get back to X?
yep just a simply case of using cp with the backup i made of xorg.conf and reloading x from the command line.
hope that helps you guys, to help me.
Regards,
NovaKry
machia
November 7th, 2006, 06:44 PM
This post is a reminder to me (just battled an hour to get my MX1000 to work again; i installed edgy again and forgot to take backup :/) and hopefully someone finds it usefully..
My input on
cat /proc/bus/input/devices
I: Bus=0003 Vendor=046d Product=c50e Version=2510
N: Name="Logitech USB RECEIVER"
P: Phys=usb-0000:00:10.1-1/input0
S: Sysfs=/class/input/input1
H: Handlers=mouse0 event1 ts0
B: EV=7
B: KEY=ffff0000 0 0 0 0 0 0 0 0
B: REL=143
My xorg.conf:
Section "InputDevice"
Identifier "Logitech MX1000"
Driver "evdev"
Option "Dev Name" "Logitech USB Receiver"
Option "Dev Phys" "usb-*/input0"
Option "Device" "/dev/input/event1"
Option "Buttons" "10"
Option "ZAxisMapping" "4 5 7 6"
EndSection
Plus, I have the .xbindscr-thing in my ~ so that the side-buttons work in mozilla etc.
The weird thing was that I'm sure that I tried that xorg-config earlier and wasn't able to startX. Maybe I'm too confused or something :???: Well the mouse works :D
Freddy
November 18th, 2006, 09:00 PM
Hi I tried this HOWTO and X didn't crash :-). To bad nothing worked though. I made all steps in the wiki but none of the x-tra buttons work at all in Kubuntu Edgy. Xbindkeys made my 2 side buttons work in both konqueror and firefox though.
These are the sectons I altered in xorg.conf
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Logitech MX1000" "CorePointer"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
and
Section "InputDevice"
Identifier "Logitech MX1000"
Driver "evdev"
Option "Name" "Logitech USB Receiver"
Option "HWHEELRelativeAxisButtons" "7 6"
EndSection
Hoping someone can help. /// Freddan
jrib
November 19th, 2006, 09:20 AM
Hi I tried this HOWTO and X didn't crash :-). To bad nothing worked though. I made all steps in the wiki but none of the x-tra buttons work at all in Kubuntu Edgy. Xbindkeys made my 2 side buttons work in both konqueror and firefox though.
[snip]
Hoping someone can help. /// Freddan
Hi, can you run 'xev' in a terminal and see if clicking on the window it creates, makes all the buttons show up? (killall xbindkeys beforehand might help)
Freddy
November 19th, 2006, 09:36 AM
Hi, can you run 'xev' in a terminal and see if clicking on the window it creates, makes all the buttons show up? (killall xbindkeys beforehand might help)
Yeah, all of my buttons rendered some kind of action of "xev". Nothing still works though.
Another question to, how to make "xbindkeys" start with KDE, now I need to start up it every time I log in.
Thx for any help I can get. / Freddan
jrib
November 28th, 2006, 12:17 AM
Yeah, all of my buttons rendered some kind of action of "xev". Nothing still works though.
If you hold down "scroll down" button, does it emit a button (maybe 12) and then start repeating another button many times (maybe 5; should be the same as when you scroll your wheel down).
If it doesn't, search this thread for instructions on compiling the program called "lmctl" and run lmctl -i.
Another question to, how to make "xbindkeys" start with KDE, now I need to start up it every time I log in.
I don't use kde, but it seems you have to place a symlink in ~/.kde/Autostart .
mkdir -p ~/.kde/Autostart; ln -s $(which xbindkeys) ~/.kde/Autostart
should do it
Sonic Reducer
December 3rd, 2006, 06:24 AM
# /etc/X11/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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
Load "dbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Logitech MX1000"
Driver "evdev"
Option "Name" "Logitech USB Receiver"
Option "HWHEELRelativeAxisButtons" "7 6"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "vesa"
BusID "PCI:0:5:0"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-64
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Logitech MX1000" "CorePointer"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
Section "DRI"
Mode 0666
EndSection
just to make things easier i am posting my edited xorg.conf file so any errors can be fixed. i had a spot of trouble last time i tried this (basically i lost the GUI, and had to command line it until somone came to my rescue)
i'm restarting X now. wish me luck!
reticencias
December 3rd, 2006, 04:51 PM
OK!!!!!!!!!!!! this worked LIKE A CHARM!!!! you are the man!!!! great "howto", easy to follow trough and working :)
the only button that doesn't work is that "menu" button (the one between the forward and backword buttons) but who needs it :) :) :)
oh, btw, I'm using the MX1000, of course :)
jrib
December 4th, 2006, 10:41 AM
OK!!!!!!!!!!!! this worked LIKE A CHARM!!!! you are the man!!!! great "howto", easy to follow trough and working :)
the only button that doesn't work is that "menu" button (the one between the forward and backword buttons) but who needs it :) :) :)
oh, btw, I'm using the MX1000, of course :)
Glad it works for you. I haven't found a good use for that third side button but you can setup a bind for it with xbindkeys (it should be "b:10").
Sonic Reducer
December 5th, 2006, 01:49 AM
ok, i've tried this twice and it hasn't worked either time. i'm using dapper 64-Bit.
heres the output, could someone show me what i'm doing wrong?
Terminal: sudo apt-get install xvkbd xbindkeys xmacro
ryan@ryan-desktop:~$ sudo apt-get install xvkbd xbindkeys xmacro
Password:
Reading package lists... Done
Building dependency tree... Done
xvkbd is already the newest version.
xbindkeys is already the newest version.
xmacro is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Terminal: sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
gksudo gedit /etc/X11/xorg.conf
ryan@ryan-desktop:~$ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
ryan@ryan-desktop:~$ gksudo gedit /etc/X11/xorg.conf
(gedit:6132): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
Terminal: cat /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0
B: EV=120013
B: KEY=402000000 3802078f840d001 f2ffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7
I: Bus=0003 Vendor=046d Product=c041 Version=4600
N: Name="Logitech USB Gaming Mouse"
P: Phys=usb-0000:00:0b.0-4/input0
S: Sysfs=/class/input/input1
H: Handlers=mouse0 event1 ts0
B: EV=7
B: KEY=ffff0000 0 0 0 0
B: REL=143
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input2
H: Handlers=kbd event2
B: EV=40001
B: SND=6
and here is the unaltered contents of my xorg.conf file:
# /etc/X11/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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
Load "dbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "vesa"
BusID "PCI:0:5:0"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-64
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
Section "DRI"
Mode 0666
EndSection
could someone edit the xorg.conf file for me? i keep making errors that let me experience what linux without a GUI is like
lazyd2
December 15th, 2006, 09:37 AM
Excellent "How To"!
Thank you!
gurgle
December 15th, 2006, 12:50 PM
I know I am going to sound incredibly lazy, but a GUI interface to modify the buttons would be awesome :)
Daxie
January 6th, 2007, 12:42 PM
Thank you for the great HOWTO works like a charm!! ;)
Oh and i use that "menu" button to open new Tab windows in Firefox...
Here's my .xbindsrc file:
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Left]""
b:8
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Right]""
b:9
"/usr/bin/xvkbd -xsendevent -text "\[Control_L]\[t]""
b:10
"echo ButtonPress 4 ButtonRelease 4 | xmacroplay -d 0 :0.0"
b:11
"echo ButtonPress 5 ButtonRelease 5 | xmacroplay -d 0 :0.0"
b:12
"echo ButtonPress 6 ButtonRelease 6 | xmacroplay -d 0 :0.0"
b:13
"echo ButtonPress 7 ButtonRelease 7 | xmacroplay -d 0 :0.0"
b:14
unabatedshagie
January 13th, 2007, 03:27 AM
Excellent tutorial, I have managed to get everything working :)
I had an idea for the unused button, I would like to make it activate the rotate cube feature in beryl.
How would I go about doing this?
weichafe
January 31st, 2007, 08:00 AM
HI.
I follow this tutorial in ubuntu 6.10 but, i can't configure the buttons. If I scrool down or scroll up with the wheel it moves the "horizontal" scrool, and If I move the wheel to left or right it moves the vertical scrool....
Any Idea?
Here is my Xorg.conf
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Logitech MX1000" "CorePointer"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
..
...
.
BLABLABLABAL
...
...
Section "InputDevice"
Identifier "Logitech MX1000"
Driver "evdev"
Option "Name" "Logitech USB RECEIVER"
Option "HWHEELRelativeAxisButtons" "7 6"
EndSection
And here is the xbindkeysrc
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Left]""
b:8
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Right]""
b:9
"echo ButtonPress 4 ButtonRelease 4 | xmacroplay -d 0 :0.0"
b:11
"echo ButtonPress 5 ButtonRelease 5 | xmacroplay -d 0 :0.0"
b:12
"echo ButtonPress 6 ButtonRelease 6 | xmacroplay -d 0 :0.0"
b:13
"echo ButtonPress 7 ButtonRelease 7 | xmacroplay -d 0 :0.0"
b:14
I try to determine what button I press with xev, but if I change the xbindkeysrc changue the buttons everytime...so, in conclusion, I'm confused...
jrib
January 31st, 2007, 08:24 AM
HI.
I follow this tutorial in ubuntu 6.10 but, i can't configure the buttons. If I scrool down or scroll up with the wheel it moves the "horizontal" scrool, and If I move the wheel to left or right it moves the vertical scrool....
Any Idea?
Here is my Xorg.conf
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Logitech MX1000" "CorePointer"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
..
...
.
BLABLABLABAL
...
...
Section "InputDevice"
Identifier "Logitech MX1000"
Driver "evdev"
Option "Name" "Logitech USB RECEIVER"
Option "HWHEELRelativeAxisButtons" "7 6"
EndSection
And here is the xbindkeysrc
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Left]""
b:8
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Right]""
b:9
"echo ButtonPress 4 ButtonRelease 4 | xmacroplay -d 0 :0.0"
b:11
"echo ButtonPress 5 ButtonRelease 5 | xmacroplay -d 0 :0.0"
b:12
"echo ButtonPress 6 ButtonRelease 6 | xmacroplay -d 0 :0.0"
b:13
"echo ButtonPress 7 ButtonRelease 7 | xmacroplay -d 0 :0.0"
b:14
I try to determine what button I press with xev, but if I change the xbindkeysrc changue the buttons everytime...so, in conclusion, I'm confused...
did you check for an xmodmap? (usually it ends up in ~/.xmodmaprc). If you don't have one, then you could use xmodmap to fix your issue. Post here again if you aren't sure how xmodmap works.
weichafe
January 31st, 2007, 08:28 AM
did you check for an xmodmap? (usually it ends up in ~/.xmodmaprc). If you don't have one, then you could use xmodmap to fix your issue. Post here again if you aren't sure how xmodmap works.
There is no file for xmodmap... so with xmodmap I could fixit? how, can you guide me?:D
jrib
January 31st, 2007, 10:49 PM
There is no file for xmodmap... so with xmodmap I could fixit? how, can you guide me?:D
Sure, first thing, kill xbindkeys killall xbindkeys . Then run xev and figure out the numbers for the buttons that are switched.
It's easiest to explain how xmodmap works with an example. Here is how i switch button 2 with button 12:
pointer = 1 12 3 4 5 6 7 8 9 10 11 2 13 14 15 16 17 18 19 20
I keep that in my ~/.xmodmaprc. But to test, you can send the expression straight into the xmodmap command like so:
xmodmap -e "pointer = 1 12 3 4 5 6 7 8 9 10 11 2 13 14 15 16 17 18 19 20"
Does that make sense?
[edit] You could also play with the "7 6" part in your xorg.conf if you are curious...
weichafe
February 1st, 2007, 09:07 AM
I try with xmodmap but it doesn't works...
Also I play with "7 6" in the xorg.con and the result was worse than before.
The problem is with the horizontal and vertical scroll that are changed. Vertical scroll move horizontal bar, and viceversa... Tonight i will try new configurations... i must to work now.
jrib
February 1st, 2007, 02:03 PM
I try with xmodmap but it doesn't works...
Also I play with "7 6" in the xorg.con and the result was worse than before.
The problem is with the horizontal and vertical scroll that are changed. Vertical scroll move horizontal bar, and viceversa... Tonight i will try new configurations... i must to work now.
What are the numbers of the buttons that aren't working? And what configuration did you try?
Migs
February 4th, 2007, 04:19 PM
Yesterday I followed this guide and was really happy to see that mouse worked like it should. This morning I booted my laptop without the mx1000 connected and X did not start. After 3 cycles it came with an blueish error screen that X server could not start. Only message i could find was on the terminal: hostname miguel@vaio-laptop: tty1
Does anybody have a clue what is happening right now? When i reconnect the mouse and reboot, X starts again.
jrib
February 4th, 2007, 04:26 PM
Yesterday I followed this guide and was really happy to see that mouse worked like it should. This morning I booted my laptop without the mx1000 connected and X did not start. After 3 cycles it came with an blueish error screen that X server could not start. Only message i could find was on the terminal: hostname miguel@vaio-laptop: tty1
Does anybody have a clue what is happening right now? When i reconnect the mouse and reboot, X starts again.
X will fail to start if it can't get a pointer device.
We should be able to make it so that it falls back to your touchpad when it can't find the mouse. If your old xorg.conf worked in this way, then try posting the old one and the new one so we can compare it.
Migs
February 4th, 2007, 04:43 PM
X will fail to start if it can't get a pointer device.
We should be able to make it so that it falls back to your touchpad when it can't find the mouse. If your old xorg.conf worked in this way, then try posting the old one and the new one so we can compare it.
Okay here are mine xorg.conf files: (I've made txt files so that this topic stays readable)
Migs
February 5th, 2007, 05:43 PM
Okay I've solved my problem, it had something to do with "AlwaysCore" and "CorePointer" in the serverlayout section.
For reference here my fully working xorg.conf:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Fri Dec 15 10:12:14 PST 2006
# /etc/X11/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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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 "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Logitech MX1000" "AlwaysCore"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad" "CorePointer"
EndSection
Section "Files"
# path to defoma fonts
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
Option "XkbOptions" "lv3:ralt_switch"
Option "XkbVariant" "intl"
EndSection
Section "InputDevice"
Identifier "Logitech MX1000"
Driver "evdev"
Option "Name" "Logitech USB Receiver"
Option "HWHEELRelativeAxisButtons" "7 6"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "130"
Option "RightEdge" "840"
Option "TopEdge" "130"
Option "BottomEdge" "640"
Option "FingerLow" "7"
Option "FingerHigh" "8"
Option "MaxTapTime" "180"
Option "MaxTapMove" "110"
Option "EmulateMidButtonTime" "75"
Option "VertScrollDelta" "20"
Option "HorizScrollDelta" "20"
Option "MinSpeed" "0.60"
Option "MaxSpeed" "1.10"
Option "AccelFactor" "0.030"
Option "EdgeMotionMinSpeed" "200"
Option "EdgeMotionMaxSpeed" "200"
Option "UpDownScrolling" "1"
Option "CircularScrolling" "1"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "2"
Option "SHMConfig" "on"
Option "Emulate3Buttons" "on"
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28.0 - 64.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NVIDIA Default Card"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NVIDIA Default Card"
Monitor "Generic Monitor"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Depth 1
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800"
EndSubSection
EndSection
jrib
February 5th, 2007, 06:26 PM
Glad to hear you sorted it out Migs. If you have the time, it would be great if you could add what you did to the wiki :)
bankie
February 5th, 2007, 11:52 PM
Thanks for the guide. With it I've managed to get the buttons on a MX400 mouse working (It's basically a wired MX1000 without the task-switcher button.
I just have one question. Is there any way to switch tabs in firefox by tilting the wheel?
grantjohnston
February 14th, 2007, 08:04 PM
Alright, I'm about to ram my head through a wall. I had it working less than 20 minutes ago.. I go to restart, and the keys reset themselves to the scroll wheel going back and forward in the browser history. I followed all the steps for Breezy/Edgy, and I just can't honestly think of anything else to do. Running Xubuntu Edgy. If anyone has any insight or needs any information, please don't fret to ask. I'm about to put a hatchet through the side of my machine.
Cheers
Grant
dremon
February 15th, 2007, 03:45 AM
Hello,
I have MX5000 bluetooth desktop (MX1000 mouse + keyboard), connected to the Acer laptop (which also has synaptic touchpad). The OS is Edgy. There are some problems I would really like to solve with your help.
In the /proc/bus/input/devices, there are 2 "Logitech Logitech BT Mini-Receiver" names listed, one for the mouse (event4) and another for the keyboard (event3).
I've configured the mouse in xorg.conf via the {"Device" "/dev/input/event4"} parameter and it works, but....
Somehow, the keyboard started behaving very strangely. First of all, the extra buttons like "Email" and sliders like "Volume" do not work anymore. They were working perfectly before I added the evdev mouse device. Now, instead of doing any actions, these buttons cause X server to crash.
This crash does not occur however, if I disable the synaptic touchpad in the ServerLayout section, but the above mentioned buttons still do not work.
And another thing, the mouse stops working after suspending/resuming the laptop. I guess it is also a problem of evdev driver.
Thanks for any help.
grantjohnston
February 18th, 2007, 09:55 PM
ttt. Anyone? It's rather irritating not having my scroll wheel anymore... :(
berserker
February 18th, 2007, 11:44 PM
ttt. Anyone? It's rather irritating not having my scroll wheel anymore... :(
Is xbindkeys running?
Here's my ~/.xbindkeysrc:
"xvkbd -xsendevent -text "\[Control_L]\[w]""
b:8
"xvkbd -xsendevent -text "\[Control_L]\[t]""
b:9
"xvkbd -xsendevent -text "\[Control_L]\[r]""
b:10
"xvkbd -xsendevent -text "\[Alt_L]\[Left]""
b:13
"xvkbd -xsendevent -text "\[Alt_L]\[Right]""
b:14
Bourlotieris
February 19th, 2007, 03:13 PM
See if you can figure out how to write a udev rule to give the mouse a consistent event#. Maybe this can help http://www.reactivated.net/writing_udev_rules.html . I haven't had a chance to do this myself, but I'd be glad to hear how it goes.
I used to use this as /etc/udev/rules.d/10-local.rules:
KERNEL=="event[0-9]*", SYSFS{../name}=="Logitech USB Receiver", NAME="input/event9"
But as you can see that is only matching the name, which is meaningles.
If you can get that to work, then just use the event# instead of the name in your xorg.conf
After all this time I decided to give it a try once more. I wrote a udev rule which I placed in:
/etc/udev/rules.d/60-symlinks.rules
The rule was:
BUS=="usb", SYSFS{product}=="Logitech BT Mini-Receiver", SYSFS{idProduct}=="c70c", SYMLINK+="input/mx1000"
So a symlink was created in /dev/input. What is the next step? What should I enter in the xorg.conf instead of the name? I tried:
Option "Name" "input/mx1000"
but x couldn't start. Should I do something else?
grantjohnston
February 19th, 2007, 07:50 PM
Is xbindkeys running?
Here's my ~/.xbindkeysrc:
"xvkbd -xsendevent -text "\[Control_L]\[w]""
b:8
"xvkbd -xsendevent -text "\[Control_L]\[t]""
b:9
"xvkbd -xsendevent -text "\[Control_L]\[r]""
b:10
"xvkbd -xsendevent -text "\[Alt_L]\[Left]""
b:13
"xvkbd -xsendevent -text "\[Alt_L]\[Right]""
b:14
Yeah, xbindkeys is running, that's not what I had. I had..
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Left]""
b:8
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Right]""
b:9
"echo ButtonPress 4 ButtonRelease 4 | xmacroplay -d 0 :0.0"
b:11
"echo ButtonPress 5 ButtonRelease 5 | xmacroplay -d 0 :0.0"
b:12
"echo ButtonPress 6 ButtonRelease 6 | xmacroplay -d 0 :0.0"
b:13
"echo ButtonPress 7 ButtonRelease 7 | xmacroplay -d 0 :0.0"
b:14
Either way, I tried both, and neither worked.
jrib
February 19th, 2007, 07:55 PM
After all this time I decided to give it a try once more. I wrote a udev rule which I placed in:
/etc/udev/rules.d/60-symlinks.rules
The rule was:
BUS=="usb", SYSFS{product}=="Logitech BT Mini-Receiver", SYSFS{idProduct}=="c70c", SYMLINK+="input/mx1000"
So a symlink was created in /dev/input. What is the next step? What should I enter in the xorg.conf instead of the name? I tried:
Option "Name" "input/mx1000"
but x couldn't start. Should I do something else?
I think it should be Option "Device", not Option "Name". Also, I used to use "/dev/input/mx1000" but try your way too and see if it works.
jrib
February 19th, 2007, 07:59 PM
Thanks for the guide. With it I've managed to get the buttons on a MX400 mouse working (It's basically a wired MX1000 without the task-switcher button.
I just have one question. Is there any way to switch tabs in firefox by tilting the wheel?
Sure, just use xbindkeys to catch button #(whatever it is for side scroll, use 'xev' to find out) and play the necessary keyboard shortcut like in the examples for "back" and "forward".
jrib
February 19th, 2007, 08:02 PM
Alright, I'm about to ram my head through a wall. I had it working less than 20 minutes ago.. I go to restart, and the keys reset themselves to the scroll wheel going back and forward in the browser history. I followed all the steps for Breezy/Edgy, and I just can't honestly think of anything else to do. Running Xubuntu Edgy. If anyone has any insight or needs any information, please don't fret to ask. I'm about to put a hatchet through the side of my machine.
Cheers
Grant
The steps are a little different for breezy vs. edgy. Which one are you using?
kill xbindkeys and tell us what button numbers show up with the scroll wheel (use the 'xev' program for this).
Do you have an xmodmap pointer rule somewhere? Maybe ~/.xmodmap?
grantjohnston
February 19th, 2007, 08:03 PM
Okay, I just found an old .xbindkeysrc (not sure from which distro, I've had dapper and edgy on this desktop) and it says
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Left]""
m:0x0 + b:8
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Right]""
m:0x0 + b:9
"~/.click/click 4"
m:0x0 + b:9
"~/.click/click 5"
m:0x0 + b:10
When I scroll down on the wheel, it scrolls up on the page. However, when I scroll up, it still goes back in the browser history. Anyone?
Cheers
Grant
grantjohnston
February 19th, 2007, 08:05 PM
The steps are a little different for breezy vs. edgy. Which one are you using?
kill xbindkeys and tell us what button numbers show up with the scroll wheel (use the 'xev' program for this).
Do you have an xmodmap pointer rule somewhere? Maybe ~/.xmodmap?
edgy
scrolling up is 8
scrolling down is 9
not finding anything in ~/.xmodmap, however, did find
/var/lib/dpkg/info/xmodmap.list
/var/lib/dpkg/info/xmodmap.md5sums
/etc/X11/Xsession.d/80ubuntu-xmodmap
/usr/bin/xmodmap
/usr/share/apps/kxkb/ubuntu.xmodmap
/usr/share/doc/imwheel/examples/61imwheel_load-xmodmap
/usr/share/doc/xmodmap
/usr/share/doc/xmodmap/changelog.Debian.gz
/usr/share/doc/xmodmap/copyright
/usr/share/man/man1/xmodmap.1x.gz
/usr/share/vim/vim70/syntax/xmodmap.vim
/usr/share/vim/vim70/ftplugin/xmodmap.vim
Maybe there?? Thanks :)
jrib
February 19th, 2007, 08:22 PM
edgy
scrolling up is 8
scrolling down is 9
not finding anything in ~/.xmodmap, however, did find
/var/lib/dpkg/info/xmodmap.list
/var/lib/dpkg/info/xmodmap.md5sums
/etc/X11/Xsession.d/80ubuntu-xmodmap
/usr/bin/xmodmap
/usr/share/apps/kxkb/ubuntu.xmodmap
/usr/share/doc/imwheel/examples/61imwheel_load-xmodmap
/usr/share/doc/xmodmap
/usr/share/doc/xmodmap/changelog.Debian.gz
/usr/share/doc/xmodmap/copyright
/usr/share/man/man1/xmodmap.1x.gz
/usr/share/vim/vim70/syntax/xmodmap.vim
/usr/share/vim/vim70/ftplugin/xmodmap.vim
Maybe there?? Thanks :)
k, well my mouse has 4 for up and 5 for down. What does this command return: xmodmap -pp
What does your xorg.conf look like?
Bourlotieris
February 19th, 2007, 08:33 PM
I think it should be Option "Device", not Option "Name". Also, I used to use "/dev/input/mx1000" but try your way too and see if it works.
Tried that also (Option "Device" "/dev/input/mx1000") but X refuses to start. Any other ideas?
grantjohnston
February 19th, 2007, 08:39 PM
k, well my mouse has 4 for up and 5 for down. What does this command return: xmodmap -pp
What does your xorg.conf look like?
xmodmap -pp returns
There are 20 pointer buttons defined.
Physical Button
Button Code
1 1
2 2
3 3
4 8
5 9
6 10
7 11
8 12
9 6
10 7
11 4
12 5
13 13
14 14
15 15
16 16
17 17
18 18
19 19
20 20
xorg.conf looks like
Section "InputDevice"
Identifier "Logitech MX1000"
Driver "evdev"
Option "Name" "Logitech USB RECEIVER"
Option "HWHEELRelativeAxisButtons" "7 6"
EndSection
in the mouse section, obviously. Any help?
Thanks again
Grant.
jrib
February 19th, 2007, 10:46 PM
xmodmap -pp returns
[snip]
Grant.
yep, you definitely have an xmodmap pointer rule somewhere. I think I gave you the wrong location before. How about: ~/.xmodmaprc?
jrib
February 19th, 2007, 11:32 PM
Tried that also (Option "Device" "/dev/input/mx1000") but X refuses to start. Any other ideas?
paste the relevant xorg.conf section and I'll try it here. That way it'll be easier to troubleshoot
Bourlotieris
February 20th, 2007, 05:20 AM
paste the relevant xorg.conf section and I'll try it here. That way it'll be easier to troubleshoot
Section "InputDevice"
Identifier "Logitech MX1000"
Driver "evdev"
Option "Device" "/dev/input/mx1000"
Option "HWHEELRelativeAxisButtons" "7 6"
EndSection
...
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Logitech MX1000" "CorePointer"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
That is my xorg.conf after I make the changes and fails to start. The original one is:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5 6 7"
# Option "Emulate3Buttons" "true"
Option "Resolution" "2400"
EndSection
...
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
I can't really understand what was the point of writing a udev rule. Couldn't I just use the
Option "Device" "/dev/input/mice"
of the original xorg.conf? Feels like I am missing something here.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.