Bug 84310
Summary: | the -M option (multiple mice) should not imply -R (repeater mode) | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | diego.santacruz |
Component: | gpm | Assignee: | Eido Inoue <havill> |
Status: | CLOSED WORKSFORME | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-07-30 15:51:14 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 76713 |
Description
diego.santacruz
2003-02-14 09:47:35 UTC
Well I had a Problem with gpm concerning -M option too, and probably my workaround works for your problem too: line invokating gpm int /etc/init.d/gpm is has an error: daemon gpm $OPTIONS -t $MOUSETYPE -m $DEVICE Because the OPTIONS variable is the First parameter given to gpm the -M option comes "too early". The effect is, that you try to configure a second mouse before the first one has been conigured. I found moving the OPTION variable to the END of the line made gpm working for me again. so the section in the gpm script should look like this: if [ -n "$MOUSETYPE" ]; then daemon gpm -t $MOUSETYPE -m $DEVICE $OPTIONS else daemon gpm -m $DEVICE $OPTIONS fi Hope it works for you too. The $OPTIONS have been moved to the end of the params in the init script. I believe the problem the original bug poster describes is unrelated. Originally, we tied the repeater in in response to an old bug. I'll test to see if the old fix is still relevant, and if necessary, unbundle it. repeater mode is not automatically invoked with Red Hat's gpm... since 1.19.13-25 The docs ( man, --help or README ) of gpm-1.19.3-27 claims otherwise ( that -R is enabled with -M ) and I think is actualy works that way ( -R implied by -M ) $ man gpm [snip] -M Enable multiple mode. The daemon will read two different mouse devices. Any subsequent option will refer to the second device, while any preceding option will be used for the first device. In Red Hat Linux, this option DOES NOT enable the repeater (-R) option on. [snip] I think the patch to the man page came later than the repeater patch. -- hard to tell because the man page patch is bundled with the getopts parse code patch. |