Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1324910

Summary: xsetmode device not found
Product: Red Hat Enterprise Linux 6 Reporter: Martin Krajnak <mkrajnak>
Component: xorg-x11-server-utilsAssignee: Peter Hutterer <peter.hutterer>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.8CC: tpelka
Target Milestone: rcKeywords: FastFix
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-26 04:36:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.