-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Matthias Hopf wrote:
On Aug 15, 06 18:07:19 +0200, Lenz Grimmer wrote:
To connect the trackball (which does not support USB), I use an USB to Serial adapter, which registers itself as /dev/ttyUSB0 - that's my main
Ah, ok. That, of course, isn't tracked. But if it is a serial protocol, any *ps/2 protocol probably won't work. AFAIU no serial protocol is autoprobed any more. Try Microsoft, Logitech, IntelliMouse, MouseMan.
Thanks for the hint! I toyed around some more with the serial adapter and finally managed to get it working! The problem was that the X server always preferred the first InputDevice section that defined the internal trackpoint. For testing, I simply disabled it and "forced" the server to use the Trackball section. This is the resulting device configuration: Section "InputDevice" Driver "mouse" Identifier "Trackball" Option "Device" "/dev/ttyUSB0" Option "Name" "TrackMan Marble FX" Option "Protocol" "Intellimouse" Option "Vendor" "Logitech" Option "AngleOffset" "10" Option "Buttons" "8" Option "Emulate3Buttons" "off" Option "EmulateWheel" "true" Option "EmulateWheelButton" "8" # Option "ButtonMapping" "1 8 3 4 5 6 7 2 9" Option "YAxisMapping" "4 5" Option "EmulateWheelInertia" "8" EndSection I tried to swap Buttons 2 and 8, but that somehow did not work. Strange.
Well, I have now ordered a USB to PS/2 Adapter. Let's see if that helps... But thanks for your help!
That, of course, is another possibility :)
The Adapter arrived today and I of course had to give this a try as well :) The kernel detects it immediately: usb 4-3.4: new low speed USB device using ehci_hcd and address 6 usb 4-3.4: new device found, idVendor=04b4, idProduct=8081 usb 4-3.4: new device strings: Mfr=0, Product=2, SerialNumber=0 usb 4-3.4: Product: PS/2 to USB Adapter usb 4-3.4: configuration #1 chosen from 1 choice input: PS/2 to USB Adapter as /class/input/input7 input: USB HID v1.00 Keyboard [PS/2 to USB Adapter] on usb-0000:00:1d.7-3.4 input: PS/2 to USB Adapter as /class/input/input8 input: USB HID v1.00 Mouse [PS/2 to USB Adapter] on usb-0000:00:1d.7-3.4 This makes it a bit simpler, as it does not reqiure a separate InputDevice Section for /dev/ttyUSB0. It actually worked (partly) after connecting the Trackball it, now both the internal trackpoint and the external Trackball can be used in parallel. However, it now does not detect all four buttons anymore! The fourth button (which xev reported as Button 8 using the serial connection) no longer triggers any action :( I will toy around with this some more and maybe write a separate message. But it seems like the mouse device handling in X.org has a few subtle quirks and bugs... Bye, LenZ - -- - ------------------------------------------------------------------ Lenz Grimmer <lenz@grimmer.com> -o) [ICQ: 160767607 | Jabber: LenZGr@jabber.org] /\\ http://www.lenzg.org/ V_V -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFE5KXRSVDhKrJykfIRApHmAJ9su6jAe+zFYOf6ECyEjqwMdux6SQCePAh2 7d5ckHnrX6RM4NLZ9cqlPwY= =k6wU -----END PGP SIGNATURE-----