Hi folks,
I would like to activate scroll wheel emulation for my Logitech Trackman
FX. It works fine on PS/2, but it doesn't work for the same Trackman FX
connected via a Chesen USB adapter.
Xorg is version 7.4 (Debian Unstable).
For using the PS/2 port I could figure out this *.fdi file for hal (with
big help from Google):
% cat /etc/hal/fdi/policy/trackman_fx.fdi
<deviceinfo version="0.2">
<device>
<match key="info.product" string="PS2++ Logitech TrackMan">
<merge key="input.x11_options.Buttons"
type="string">9</merge>
<merge key="input.x11_options.EmulateWheel"
type="string">true</merge>
<merge key="input.x11_options.EmulateWheelTimeout"
type="string">300</merge>
<merge key="input.x11_options.ButtonMapping" type="string">1
2 3 4 5 6 7 8 9</merge>
<merge key="input.x11_options.EmulateWheelButton"
type="string">8</merge>
<merge key="input.x11_options.XAxisMapping" type="string">6
7</merge>
<merge key="input.x11_options.YAxisMapping" type="string">4
5</merge>
<merge key="input.x11_options.Emulate3Buttons"
type="string">false</merge>
</match>
</device>
</deviceinfo>
For the USB adapter this does not work. Looking at Xorg.4.log (attached)
I see that the mouse is reported as "CHESEN PS2 to USB Converter", so I
changed the trackman_fx.fdi to
<deviceinfo version="0.2">
<device>
<match key="info.product" string="CHESEN PS2 to USB Converter">
<merge key="input.x11_options.Buttons"
type="string">9</merge>
<merge key="input.x11_options.EmulateWheel"
type="string">true</merge>
<merge key="input.x11_options.EmulateWheelTimeout"
type="string">300</merge>
<merge key="input.x11_options.ButtonMapping" type="string">1
2 3 4 5 6 7 8 9</merge>
<merge key="input.x11_options.EmulateWheelButton"
type="string">8</merge>
<merge key="input.x11_options.XAxisMapping" type="string">6
7</merge>
<merge key="input.x11_options.YAxisMapping" type="string">4
5</merge>
<merge key="input.x11_options.Emulate3Buttons"
type="string">false</merge>
</match>
</device>
</deviceinfo>
But this doesn't work, either.
What did I miss here? Any helpful comment would be highly appreciated.
BTW, the keyboard is not connected via the Chesen USB adapter.
Regards
Harri
X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.30-2-amd64 x86_64 Debian
Current Operating System: Linux pluto 2.6.31.4 #1 SMP PREEMPT Thu Oct 15
18:39:36 CEST 2009 x86_64
Build Date: 13 October 2009 09:39:10AM
xorg-server 2:1.6.5-1 ([email protected])
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
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.4.log", Time: Fri Oct 16 22:23:35 2009
(==) Using config file: "/etc/X11/xorg.conf"
Parse error on line 17 of section Files in file /etc/X11/xorg.conf
Ignoring obsolete keyword "RgbPath".
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "Monitor0"
(**) | |-->Device "Videocard0"
(**) |-->Screen "Screen1" (1)
(**) | |-->Monitor "Monitor1"
(**) | |-->Device "Videocard1"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "TrackmanFX"
(**) Option "DontZap" "false"
(**) Option "Xinerama" "0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse'
will be disabled.
(WW) Disabling Keyboard0
(WW) Disabling TrackmanFX
(II) Loader magic: 0x3b40
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 5.0
X.Org XInput driver : 4.0
X.Org Server Extension : 2.0
(II) Loader running on linux
(--) using VT number 7
(--) PCI:*(0:1:0:0) 10de:0640:19da:2047 nVidia Corporation G96 [GeForce 9500
GT] rev 161, Mem @ 0xfd000000/16777216, 0xd0000000/268435456,
0xfa000000/33554432, I/O @ 0x0000dc00/128, BIOS @ 0x????????/524288
(II) Open ACPI successful (/var/run/acpid.socket)
(II) System resource ranges:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[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 - 0x00000000 (0x1) IX[B]
(II) "extmod" will be loaded. This was enabled by default and also specified in
the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in
the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in
the config file.
(II) "record" will be loaded by default.
(II) "dri" will be loaded by default.
(II) "dri2" will be loaded by default.
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.6.5, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.6.5, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "type1"
(WW) Warning, couldn't open module type1
(II) UnloadModule: "type1"
(EE) Failed to load module "type1" (module does not exist, 0)
(II) LoadModule: "freetype"
(WW) Warning, couldn't open module freetype
(II) UnloadModule: "freetype"
(EE) Failed to load module "freetype" (module does not exist, 0)
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Server Extension
(II) NVIDIA GLX Module 185.18.36 Fri Aug 14 18:27:24 PDT 2009
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.6.5, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.6.5, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.6.5, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver 185.18.36 Fri Aug 14 17:51:02 PDT 2009
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 0...@00:00:0
(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 1.6.5, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib/xorg/modules//libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
compiled for 1.6.5, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(II) resource ranges after probing:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[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 - 0x00000000 (0x1) IX[B]
(**) 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): Option "TwinView" "0"
(**) NVIDIA(0): Option "MetaModes" "DFP-0: nvidia-auto-select +0+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 9500 GT (G96) at PCI:1:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 524288 kBytes
(--) NVIDIA(0): VideoBIOS: 62.94.29.00.a2
(II) NVIDIA(0): Detected PCI Express Link width: 16X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce 9500 GT at PCI:1:0:0:
(--) NVIDIA(0): DELL2407WFPHC (DFP-0)
(--) NVIDIA(0): SONY TV XV (DFP-1)
(--) NVIDIA(0): DELL2407WFPHC (DFP-0): 330.0 MHz maximum pixel clock
(--) NVIDIA(0): DELL2407WFPHC (DFP-0): Internal Dual Link TMDS
(--) NVIDIA(0): SONY TV XV (DFP-1): 330.0 MHz maximum pixel clock
(--) NVIDIA(0): SONY TV XV (DFP-1): Internal Dual Link TMDS
(II) NVIDIA(0): Display Device found referenced in MetaMode: DFP-0
(II) NVIDIA(0): Assigned Display Device: DFP-0
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0): "DFP-0:nvidia-auto-select+0+0"
(II) NVIDIA(0): Virtual screen size determined to be 1920 x 1200
(--) NVIDIA(0): DPI set to (93, 92); computed from "UseEdidDpi" X config
(--) NVIDIA(0): option
(==) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(II) NVIDIA(1): Creating default Display subsection in Screen section
"Screen1" for depth/fbbpp 24/32
(**) NVIDIA(1): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(1): RGB weight 888
(==) NVIDIA(1): Default visual is TrueColor
(==) NVIDIA(1): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(1): Option "TwinView" "0"
(**) NVIDIA(1): Option "MetaModes" "DFP-1: nvidia-auto-select +0+0"
(**) NVIDIA(1): Option "DPI" "100 x 100"
(**) NVIDIA(1): Enabling RENDER acceleration
(II) NVIDIA(1): NVIDIA GPU GeForce 9500 GT (G96) at PCI:1:0:0 (GPU-0)
(--) NVIDIA(1): Memory: 524288 kBytes
(--) NVIDIA(1): VideoBIOS: 62.94.29.00.a2
(II) NVIDIA(1): Detected PCI Express Link width: 16X
(--) NVIDIA(1): Interlaced video modes are supported on this GPU
(--) NVIDIA(1): Connected display device(s) on GeForce 9500 GT at PCI:1:0:0:
(--) NVIDIA(1): DELL2407WFPHC (DFP-0)
(--) NVIDIA(1): SONY TV XV (DFP-1)
(--) NVIDIA(1): DELL2407WFPHC (DFP-0): 330.0 MHz maximum pixel clock
(--) NVIDIA(1): DELL2407WFPHC (DFP-0): Internal Dual Link TMDS
(--) NVIDIA(1): SONY TV XV (DFP-1): 330.0 MHz maximum pixel clock
(--) NVIDIA(1): SONY TV XV (DFP-1): Internal Dual Link TMDS
(II) NVIDIA(1): Display Device found referenced in MetaMode: DFP-1
(WW) NVIDIA(1): The EDID for SONY TV XV (DFP-1) contradicts itself: mode
(WW) NVIDIA(1): "1920x1080" is specified in the EDID; however, the EDID's
(WW) NVIDIA(1): valid VertRefresh range (48.000-62.000 Hz) would exclude
(WW) NVIDIA(1): this mode's VertRefresh (24.0 Hz); ignoring VertRefresh
(WW) NVIDIA(1): check for mode "1920x1080".
(WW) NVIDIA(1): The EDID for SONY TV XV (DFP-1) contradicts itself: mode
(WW) NVIDIA(1): "1920x1080" is specified in the EDID; however, the EDID's
(WW) NVIDIA(1): valid VertRefresh range (48.000-62.000 Hz) would exclude
(WW) NVIDIA(1): this mode's VertRefresh (24.0 Hz); ignoring VertRefresh
(WW) NVIDIA(1): check for mode "1920x1080".
(II) NVIDIA(1): Assigned Display Device: DFP-1
(II) NVIDIA(1): Validated modes:
(II) NVIDIA(1): "DFP-1:nvidia-auto-select+0+0"
(II) NVIDIA(1): Virtual screen size determined to be 1920 x 1080
(**) NVIDIA(1): DPI set to (100, 100); computed from "DPI" X config option
(==) NVIDIA(1): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC? Yes, I do.
(II) resource ranges after preInit:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[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 - 0x00000000 (0x1) IX[B]
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select+0+0"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(==) NVIDIA(0): Disabling shared memory pixmaps
(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
(II) Loading extension XINERAMA
(==) RandR enabled
(II) NVIDIA(1): Initialized GPU GART.
(II) NVIDIA(1): Setting mode "DFP-1:nvidia-auto-select+0+0"
(II) NVIDIA(1): NVIDIA 3D Acceleration Architecture Initialized
(==) NVIDIA(1): Disabling shared memory pixmaps
(II) NVIDIA(1): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(1): Backing store disabled
(==) NVIDIA(1): Silken mouse enabled
(II) NVIDIA(1): DPMS enabled
(==) RandR enabled
(II) Entity 0 shares no resources
(II) Entity 1 shares no resources
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
SELinux: Disabled on system, not enabling in X server
(II) Initializing extension GLX
(II) config/hal: Adding input device CHESEN PS2 to USB Converter
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
compiled for 1.6.3, module version = 2.2.5
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 4.0
(**) CHESEN PS2 to USB Converter: always reports core events
(**) CHESEN PS2 to USB Converter: Device: "/dev/input/event2"
(**) CHESEN PS2 to USB Converter: ButtonMapping '1 2 3 4 5 6 7 8 9'
(II) CHESEN PS2 to USB Converter: Found 10 mouse buttons
(II) CHESEN PS2 to USB Converter: Found x and y relative axes
(II) CHESEN PS2 to USB Converter: Found scroll wheel(s)
(II) CHESEN PS2 to USB Converter: Found keys
(II) CHESEN PS2 to USB Converter: Configuring as mouse
(II) CHESEN PS2 to USB Converter: Configuring as keyboard
(**) Option "Emulate3Buttons" "false"
(II) CHESEN PS2 to USB Converter: Forcing middle mouse button emulation off.
(**) Option "EmulateWheel" "true"
(**) Option "EmulateWheelButton" "8"
(**) Option "EmulateWheelTimeout" "300"
(**) Option "YAxisMapping" "4 5"
(**) CHESEN PS2 to USB Converter: YAxisMapping: buttons 4 and 5
(**) Option "XAxisMapping" "6 7"
(**) CHESEN PS2 to USB Converter: XAxisMapping: buttons 6 and 7
(**) CHESEN PS2 to USB Converter: EmulateWheelButton: 8, EmulateWheelInertia:
10, EmulateWheelTimeout: 300
(II) XINPUT: Adding extended input device "CHESEN PS2 to USB Converter" (type:
KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc101"
(**) Option "xkb_layout" "us"
(**) Option "xkb_options" "terminate:ctrl_alt_bksp"
(**) CHESEN PS2 to USB Converter: (accel) keeping acceleration scheme 1
(**) CHESEN PS2 to USB Converter: (accel) filter chain progression: 2.00
(**) CHESEN PS2 to USB Converter: (accel) filter stage 0: 20.00 ms
(**) CHESEN PS2 to USB Converter: (accel) set acceleration profile 0
(II) CHESEN PS2 to USB Converter: initialized for relative axes.
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event0"
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type:
KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc101"
(**) Option "xkb_layout" "us"
(**) Option "xkb_options" "terminate:ctrl_alt_bksp"
(II) config/hal: Adding input device Power Button
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event3"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc101"
(**) Option "xkb_layout" "us"
(**) Option "xkb_options" "terminate:ctrl_alt_bksp"
(II) config/hal: Adding input device CHESEN PS2 to USB Converter
(**) CHESEN PS2 to USB Converter: always reports core events
(**) CHESEN PS2 to USB Converter: Device: "/dev/input/event1"
(**) CHESEN PS2 to USB Converter: ButtonMapping '1 2 3 4 5 6 7 8 9'
(II) CHESEN PS2 to USB Converter: Found keys
(II) CHESEN PS2 to USB Converter: Configuring as keyboard
(II) XINPUT: Adding extended input device "CHESEN PS2 to USB Converter" (type:
KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc101"
(**) Option "xkb_layout" "us"
(**) Option "xkb_options" "terminate:ctrl_alt_bksp"
(II) config/hal: Adding input device Power Button
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event4"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc101"
(**) Option "xkb_layout" "us"
(**) Option "xkb_options" "terminate:ctrl_alt_bksp"
_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg