Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide
last time I enabled evdev I started getting "scheduling while atomic: xorg" infinite error loops once I installed xgl / compiz, but the buttons worked. any instances of that under the new guide? Or am i retarded for thinking that the two events were related in the first place?
excellent guides btw.
Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide
Honestly, I don't know, since I don't really use Xgl or Compiz right now. It crashed on me too often and Compiz doesn't have all the features I would expect from a window manager yet.
Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide
For my purposes (MX500) all I had to do is edit /etc/X11/xorg.conf to contain the following under "Configured Mouse:"
Code:
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7"
This actually works on my Evoluent mouse too :]
Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide
Quote:
Originally Posted by
dejitarob
Wow, you are making it a lot harder than it is--at least for an MX500. All I had to do is edit /etc/X11/xorg.conf to contain the following:
Code:
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7"
That won't make absolutely ALL of the buttons work, it won't make back/forward work in Nautilus, Thunar, etc, and won't give you 800 CPI resolution. It's a good solution, but I don't settle for just good. I wanted ALL of my buttons working and I wanted to be able to use my mouse at 800 CPI.
Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide
Quote:
Originally Posted by
dejitarob
Wow, you are making it a lot harder than it is--at least for an MX500. All I had to do is edit /etc/X11/xorg.conf to contain the following:
Code:
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7"
thanks for that. the OP was too complicated.
I cant believe setting my mx1000 mouse buttons was so much more difficult then winxp
Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide
Ok, let's complicate things a little.
I'm working on a laptop, and when I'm plugged in at my desk I use a Logitech LX700 Wireless Keyboard/Mouse combo. Using the above guide as a reference, I was able to make the buttons work for forward and backward. But when I disconnect the mouse to roam, my X server doesn't like the cofiguration and won't load. Then I have to go back in and comment out all the stuff I added in order to make it load X.
Is it possible to make this configuration depend on whether it detects the hardware?
Also, on my mouse there's a top button a little ways behind the scroll wheel that I'd like to map to Ctrl-T for use in firefox opening a new tab. I determined that the button is button #10 using xev, but when I tried to add the line
Code:
"/usr/bin/xvkbd -xsendevent -text "\[Control_L]\[T]""
m:0x0 + b:10
to my .xbindkeysrc and run xbindkeys it loads it so that it simply types the character 'T' when I click, and then when I removed the line (and ran xbindkeys again), it didn't stop typing the character. Restarting seemed to fix that, but I can't get the Ctrl-T to work at all. Ideas? Of course, it's moot if I can't get the configuration to work when it's not there.
I must say that I've really appreciated the guide so far.
Thanks,
jay
Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide
I have been ](*,) !!!!
I have the MX1000 and have been trying different things for a week.
I created the 19-local.rules file
Code:
KERNEL=="event[0-9]*", SYSFS{../name}=="Logitech USB Receiver", NAME="input/event9"
I backed up and edited the Xorg.conf file.
Code:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "evdev"
Option "CorePointer"
Option "Device" "/dev/input/event9"
EndSection
Restarted... that's when the gun just about came out of the cabinet. LOL
My machine started in the text shell... grrrr.
This came from the log file.
Code:
(EE) xf86OpenSerial: Cannot open device /dev/wacom
No such file or directory.
Error opening /dev/wacom : No such file or directory
That repeated 5 times to make a total of 6.
What am I doing wrong?? I did copy and paste where I could as to reduce typo's. I would really like the full functionality of this great mouse and at the same time have X to run. I just want to much.:-k
Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide
I have a G7 and I also could not start X after the restart.
Output from /proc/bus/input/devices that relate to my mouse:
Code:
I: Bus=0003 Vendor=046d Product=c51a Version=4100
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:1d.7-4.1.2/input0
S: Sysfs=/class/input/input3
H: Handlers=mouse0 event3 ts0
B: EV=7
B: KEY=ffff0000 0 0 0 0 0 0 0 0
B: REL=143
I: Bus=0003 Vendor=046d Product=c51a Version=4100
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:1d.7-4.1.2/input1
S: Sysfs=/class/input/input4
H: Handlers=kbd event4
B: EV=f
B: KEY=c0002 400 0 0 1 f80 78000 6039fa d84157ad 8e0000 0 0 0
B: REL=40
B: ABS=1 0
I'm not sure why there are two listed here, could that be the problem?
My 19-local.rules:
Code:
KERNEL=="event[0-9]*", SYSFS{../name}=="Logitech USB Receiver", NAME="input/event9"
My xorg.conf is identical to the example.
My X.org log file from the failed restart (only the parts that seem significant, added highlighting on what i think might be the error):
Code:
(II) Initializing extension GLX
error opening security policy file /etc/X11/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" "pc104"
(**) Generic Keyboard: XkbModel: "pc104"
(**) Option "XkbLayout" "us"
(**) Generic Keyboard: XkbLayout: "us"
(**) 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"
(==) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Configured Mouse: ZAxisMapping: buttons 4 and 5
(**) Configured Mouse: Buttons: 9
(**) Option "SendCoreEvents"
(**) stylus: always reports core events
(**) stylus device is /dev/wacom
(**) stylus is in absolute mode
(**) stylus: forcing TabletPC ISD V4 protocol
(**) WACOM: suppress value is 2
(**) Option "BaudRate" "9600"
(**) stylus: serial speed 9600
(**) Option "SendCoreEvents"
(**) cursor: always reports core events
(**) cursor device is /dev/wacom
(**) cursor is in relative mode
(**) cursor: forcing TabletPC ISD V4 protocol
(**) WACOM: suppress value is 2
(**) Option "BaudRate" "9600"
(**) cursor: serial speed 9600
(**) Option "SendCoreEvents"
(**) eraser: always reports core events
(**) eraser device is /dev/wacom
(**) eraser is in absolute mode
(**) eraser: forcing TabletPC ISD V4 protocol
(**) WACOM: suppress value is 2
(**) Option "BaudRate" "9600"
(**) eraser: serial speed 9600
(II) XINPUT: Adding extended input device "eraser" (type: Wacom Eraser)
(II) XINPUT: Adding extended input device "cursor" (type: Wacom Cursor)
(II) XINPUT: Adding extended input device "stylus" (type: Wacom Stylus)
(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)
(**) Option "Device" "/dev/wacom"
(EE) xf86OpenSerial: Cannot open device /dev/wacom
No such file or directory.
Error opening /dev/wacom : No such file or directory
(EE) xf86OpenSerial: Cannot open device /dev/wacom
No such file or directory.
Error opening /dev/wacom : No such file or directory
(**) Option "Device" "/dev/wacom"
(EE) xf86OpenSerial: Cannot open device /dev/wacom
No such file or directory.
Error opening /dev/wacom : No such file or directory
(EE) xf86OpenSerial: Cannot open device /dev/wacom
No such file or directory.
Error opening /dev/wacom : No such file or directory
(**) Option "Device" "/dev/wacom"
(EE) xf86OpenSerial: Cannot open device /dev/wacom
No such file or directory.
Error opening /dev/wacom : No such file or directory
(EE) xf86OpenSerial: Cannot open device /dev/wacom
No such file or directory.
Error opening /dev/wacom : No such file or directory
(II) Configured Mouse: ps2EnableDataReporting: succeeded
(II) 3rd Button detected: disabling emulate3Button
Looks like the same warnings hubacap is getting... not sure what that wacom stuff is, since I don't have a tablet or anything like that. The Logitech G7 mouse and a Microsoft Keyboard are the only input devices I have.
Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide
Quote:
Originally Posted by
ewerx
not sure what that wacom stuff is, since I don't have a tablet or anything like that. The Logitech G7 mouse and a Microsoft Keyboard are the only input devices I have.
I'm not sue either. I have no wacom hooked up either but I have it in my xorg.conf file too. If I delete it it stops working.
Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide
Quote:
Originally Posted by
killerjay_47
I'm working on a laptop, and when I'm plugged in at my desk I use a Logitech LX700 Wireless Keyboard/Mouse combo. Using the above guide as a reference, I was able to make the buttons work for forward and backward. But when I disconnect the mouse to roam, my X server doesn't like the cofiguration and won't load. Then I have to go back in and comment out all the stuff I added in order to make it load X.
Is it possible to make this configuration depend on whether it detects the hardware?
I believe someone replaced Option "CorePointer" with Option "SendCoreEvents" "True" to make it work. I haveb't tried it though, so I don't know.
Quote:
Originally Posted by
killerjay_47
Also, on my mouse there's a top button a little ways behind the scroll wheel that I'd like to map to Ctrl-T for use in firefox opening a new tab. I determined that the button is button #10 using xev, but when I tried to add the line
Code:
"/usr/bin/xvkbd -xsendevent -text "\[Control_L]\[T]""
m:0x0 + b:10
to my .xbindkeysrc and run xbindkeys it loads it so that it simply types the character 'T' when I click, and then when I removed the line (and ran xbindkeys again), it didn't stop typing the character. Restarting seemed to fix that, but I can't get the Ctrl-T to work at all. Ideas? Of course, it's moot if I can't get the configuration to work when it's not there.
I must say that I've really appreciated the guide so far.
Thanks,
jay
Try this in your .xbindkeysrc:
Code:
"/usr/bin/xvkbd -xsendevent -text "\[Control]\[t]""
m:0x0 + b:10
Remember to first kill xbindkeys before running it again:
Code:
killall xbindkeys
xbindkeys
Do itashi mashi te (You're welcome)