On Fri, Oct 16, 2009 at 11:00:59PM +0200, Harald Dunkel wrote: > 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>
this option isn't parsed by evdev > <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> this is the default anyway. > <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> this is the default anyway. > <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. > > > 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". [...] > (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) looks like the driver sees the options there, not sure what's going on. please file a bugreport for this issue, it requires more logs and the mailing list is not be best place for this. Cheers, Peter _______________________________________________ xorg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xorg
