Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide
@zero17388: Nice find! and you're welcome. ^_^
@thomasf: AFAIK, the 2.4 series kernel had better support for media keys on a USB keyboard, not sure though. The problem with patching the kernel in Ubuntu is the kernel is updated more often then some other Linux distros.
Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide
Quote:
The problem with patching the kernel in Ubuntu is the kernel is updated more often then some other Linux distros.
I tried to patch kernel 2.6.17.8(from kernel.org) but I understand what you mean - there must have been some changes in code or simpy patch is broken.
Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide
I still have a pb, when the "PC Speaker" is intitially at "event0" my jeyboard is at "event1" and my mouse at "event2" so my xorg is good. But when "PC Speaker" is initially at "event2" kb is at "event0" and mouse at "event1" so my xorg isn't good any more... So tried to force "PC Speaker" at "event0" with udev but I don't know what will happen when at startup my keyboard will be at "event0" before the udev ???? Wait and see...
Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide
Quote:
So tried to force "PC Speaker" at "event0" with udev but I don't know what will happen when at startup my keyboard will be at "event0" before the udev
it doesn't work, there's no conflict but my kb and PC Speaker are on event0 and my mouse at event1 when xorg is configure for event2... Don't know what to do, maybe delete PC Speaker, if you have any idea you're welcome...
Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide
Quote:
Originally Posted by
zero17388
Don't know what to do, maybe delete PC Speaker, if you have any idea you're welcome...
After executing command PC speaker disappears from /proc/bus/input/devices so maybe you should blacklist pcspkr. Try to add "blacklist pcspkr" to /etc/modprobe.d/blacklist and tell whether it helps or not.
Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide
Quote:
Originally Posted by
thomasf
After executing command
PC speaker disappears from /proc/bus/input/devices so maybe you should blacklist pcspkr. Try to add "blacklist pcspkr" to /etc/modprobe.d/blacklist and tell whether it helps or not.
Thanks a lot thomasf, indeed pcskr has disappear and now everything is working like a charm :D
Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide
I'm using a Logitech diNovo desktop and can't get it to work at all.
A cat /proc/bus/input/devices returns:
Code:
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=c70b Version=4003
N: Name="Logitech Logitech BT Mini-Receiver"
P: Phys=usb-0000:00:02.0-9.2/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=c70c Version=4003
N: Name="Logitech Logitech BT Mini-Receiver"
P: Phys=usb-0000:00:02.0-9.3/input0
S: Sysfs=/class/input/input2
H: Handlers=kbd mouse0 event2 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=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
As you can se i got 2 "Logitech Logitech BT Mini-Receiver" (The bluetooth dongle).
When i make the rule I input
"Logitech Logitech BT Mini-Receiver" instead of "Logitech USB-PS/2 Optical Mouse" but as you can se i got 2 instances for that name (kb and mouse) and how do i tell the rule wich one to choose?
When i follow the guide X won't start at all.
Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide
Quote:
Originally Posted by
ztripez
I'm using a Logitech diNovo desktop and can't get it to work at all.
A cat /proc/bus/input/devices returns:
Code:
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=c70b Version=4003
N: Name="Logitech Logitech BT Mini-Receiver"
P: Phys=usb-0000:00:02.0-9.2/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=c70c Version=4003
N: Name="Logitech Logitech BT Mini-Receiver"
P: Phys=usb-0000:00:02.0-9.3/input0
S: Sysfs=/class/input/input2
H: Handlers=kbd mouse0 event2 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=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
As you can se i got 2 "Logitech Logitech BT Mini-Receiver" (The bluetooth dongle).
When i make the rule I input
"Logitech Logitech BT Mini-Receiver" instead of "Logitech USB-PS/2 Optical Mouse" but as you can se i got 2 instances for that name (kb and mouse) and how do i tell the rule wich one to choose?
When i follow the guide X won't start at all.
Maybe look to my previous posts, I had the same pb but thanks to thomasf now it's ok, so first you have to know if the event number of your mouse (which is 2 in your exemple). If it changes maybe your pb is the same as mine. Have you used the the udev? How looks your xorg.conf?
Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide
@zero17388 - I'm glad I could help :)
It seems that I found solution to udev rule problem with USB base station used to connect 2 devices (mouse + keyboard). I've tested it on Logitech MX3100 (keyboard + MX1000 mouse). It seems that it works.
Code:
tomek@ubuntu:~$ 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-3/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-3/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: Bus=0001 Vendor=1461 Product=000b Version=0001
N: Name="cx88 IR (AverTV Studio 303 (M12"
P: Phys=pci-0000:01:08.0/ir0
S: Sysfs=/class/input/input3
H: Handlers=kbd event3
B: EV=100003
B: KEY=403c310 82140000 0 0 0 0 244c000 20180 4001 921680 0 0 efd
I analyzed files and directories in /sys/class/input/input1 (keyboard) and /sys/class/input/input2 (mouse) and noticed that /sys/class/input/input1/device/bInterfaceNumber and /sys/class/input/input2/device/bInterfaceNumber are diffrent.
bInterfaceNumber for input1 (keyboard) is 00 and for input2 (mouse) - 01.
This is modified udev rule which utilizes this fact:
Code:
KERNEL=="event[0-9]*", SYSFS{../name}=="Logitech USB Receiver", SYSFS{../device/bInterfaceNumber}=="01", NAME="input/event9"
I guess that
Code:
KERNEL=="event[0-9]*", SYSFS{../device/bInterfaceNumber}=="01", NAME="input/event9"
should be enough.
Can someone test it and check whether it works or not?
@ztripez - You have a bit diffrent hardware but you can try this udev rule. If, however, it won't work, solution to your problem is probably similar.
Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide
just changing the name and the device in this config made my logitech mx510 work perfectly in firefox and opera (including the cruise buttons). thanks! :D
thanks to detyabozhye too for the great xbindkeys guide.
Quote:
Originally Posted by
zero17388
hi everybody, It works!!!!! i have a wireless logitech desktop (mouse and keyboard on the same receiver) and i've tried your new Howto many times but it didn't work neither with gnome nor xgl.
Under gnome all my mouse's buttons were recognise by xev but my keyboard was just totally crazy (keys were upside down) and I couldn't load X under xgl ](*,) .
So I tried many things and thanks to the german site (I don't understand a word of germen but a french guy did), i've tried this: no udev, only the xorg.conf:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "evdev"
Option "Name" "Logitech USB Receiver"
Option "Device" "/dev/input/event2"
Option "Emulate3Buttons" "false"
Option "WHEELRelativeAxisButtons" "4 5"
Option "HWHEELRelativeAxisButtons" "7 6"
Option "SendCoreEvents" "true"
EndSection
...
Ihope it could help some people because it really mades me crazy... And sorry for my poor english but I'm french...:rolleyes: