Bug 41553 - gpm always uses /dev/mouse, ignoring DEVICE
Summary: gpm always uses /dev/mouse, ignoring DEVICE
Keywords:
Status: CLOSED DUPLICATE of bug 36995
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gpm
Version: 7.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Preston Brown
QA Contact: David Lawrence
URL:
Whiteboard:
: 46130 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-21 10:30 UTC by Keith Owens
Modified: 2007-04-18 16:33 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-05-29 11:52:30 UTC
Embargoed:


Attachments (Terms of Use)

Description Keith Owens 2001-05-21 10:30:48 UTC
Description of Problem: /etc/rc.d/init.d/gpm always sets device /dev/mouse,
even when /etc/sysconfig/mouse sets DEVICE


How Reproducible: 100%


Steps to Reproduce:
1. Set DEVICE=/dev/ttyS0 in /etc/sysconfig/mouse
2. Point /dev/mouse somewhere other than ttyS0
3. Stop and start gpm, it still uses /dev/mouse

Actual Results: /dev/mouse is hardwired


Expected Results: Use DEVICE from /etc/sysconfig/mouse


Additional Information: Simple fix.  Change /etc/rc.d/init.d/gpm, line 39
from if [ -n "$DEVICE" ]; then to if [ -z "$DEVICE" ]; then

Comment 1 mfarhat 2001-05-29 11:52:26 UTC
confirmed.... and patch working...

Comment 2 Preston Brown 2001-06-25 17:19:18 UTC

*** This bug has been marked as a duplicate of 36995 ***

Comment 3 Preston Brown 2001-07-19 16:02:10 UTC
*** Bug 46130 has been marked as a duplicate of this bug. ***


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