Bug 1324910 - xsetmode device not found
Summary: xsetmode device not found
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: xorg-x11-server-utils
Version: 6.8
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Peter Hutterer
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-07 14:43 UTC by Martin Krajnak
Modified: 2016-10-26 04:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-26 04:36:03 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Martin Krajnak 2016-04-07 14:43:53 UTC
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.

Comment 1 Peter Hutterer 2016-10-26 04:19:30 UTC
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.

Comment 2 RHEL Program Management 2016-10-26 04:36:03 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.


Note You need to log in before you can comment on or make changes to this bug.