| Summary: | wdaemon udev rule is case sensitive | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | James Pearson <james-p> |
| Component: | wdaemon | Assignee: | Peter Hutterer <peter.hutterer> |
| Status: | CLOSED WONTFIX | QA Contact: | Desktop QE <desktop-qa-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2 | CC: | tlavigne, tpelka |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-12-06 11:44:08 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 842499 | ||
This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available. The official life cycle policy can be reviewed here: http://redhat.com/rhel/lifecycle This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL: https://access.redhat.com/ |
Description of problem: The /lib/udev/wdaemon_is_uinput.sh script does case sensitive matches on the hex $vendor and $product ids Version-Release number of selected component (if applicable): 0.17-2 How reproducible: Always Steps to Reproduce: 1. Run wdaemon 2. Plug in an Intuos4 6x9 tablet Actual results: Creates symlink: /dev/input/uinput-devices/uinput-wacom-unknown-tablet Expected results: Should create symlink: /dev/input/uinput-devices/uinput-wacom-intuos4-6x9-tablet Additional info: The problem is that the script /lib/udev/wdaemon_is_uinput.sh has the following lines: case "$vendor-$product" in ... "056a-00B8") echo "intuos4-4x6"; ;; "056a-00B9") echo "intuos4-6x9"; ;; "056a-00BA") echo "intuos4-8x13"; ;; ... *) echo "unknown"; ;; esac; The $product found for (my) Intuos4 6x9 tablet is '00b9' - so the above match fails The script mixes upper and lower case for other of these hex number case pattern matches The fix is simple, just add the line: shopt -s nocasematch before the case block