Hide Forgot
Description of problem: xsetmode is unable to set mode of a touch screen device. Command refuses any device name from input devices list. Version-Release number of selected component (if applicable): xorg-x11-server-utils-7.7-14.el6.x86_64 kernel-2.6.32-637.el6.x86_64 How reproducible: always Steps to Reproduce: 1.run xsetpointer -l 2.copy the name of a touch screen device (in my case "QUANTA OpticalTouchscreen") 3.run xsetmode "QUANTA OpticalTouchscreen" RELATIVE Actual results: Extended device QUANTA OpticalTouchscreen not found Expected results: should set selected mode without errors Additional info: xinput --set-mode "QUANTA OpticalTouchscreen" RELATIVE works on the same system. Failed test case for xsetmode.
Cause here is that xsetmode checks for the device XI 1.x 'use' field, but only allows IsXExtensionDevice. Since xorg server 1.4 or so, pointer devices have a use field of IsXExtensionPointer. Since then, xsetmode has not worked and it has since been retired upstream. https://cgit.freedesktop.org/xorg/app/xsetmode/commit/?id=62d6775725efa06fe8c504b28b3a614598e67c5c Since xsetmode has not been working for all of RHEL6, this is not something that will be fixed. As noted, xinput set-mode is the equivalent command that works and is maintained.
Development Management has reviewed and declined this request. You may appeal this decision by reopening this request.