Complete.Org: Mailing Lists: Archives: linux-help: July 2001:
[linux-help] Re: XF86Config Editing
Home

[linux-help] Re: XF86Config Editing

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: linux-help@xxxxxxxxx
Subject: [linux-help] Re: XF86Config Editing
From: Marc Bachman <mbachman@xxxxxxxxxxxxx>
Date: Mon, 23 Jul 2001 20:23:55 -0500
Reply-to: linux-help@xxxxxxxxx

Thank you, Mr. Hull for the obviously definitive answer. I will try posthaste
and repost.

Tom Hull wrote:

> Marc Bachman wrote:
> >
> > Here's an exhaustive update on my progress: to refresh your memories, I
> > am trying to edit XF86 to add a Logitech Wheel ( optical ) mouse. When I
> > ran XConfigurator in text mode all was well until finishing installation
> > of my mouse at which point the inevitable: Xconfigurator: line 5
> > unexpected in /etc/sysconfig/mouse
>
> The following URL looks like it might help you:
>
>   http://www-sop.inria.fr/koala/colas/mouse-wheel-scroll/
>
> This file goes way beyond just setting up X: it includes .Xdefaults hacks
> for Netscape, and elisp code for Emacs. Also, note that it says Logitech's
> OEM wheel mice do not work ("only buy color logos").
>
> FWIW, I found this (and other potentially useful links) from google search:
>
>   XF86Config Logitech Wheel Mouse
>
> >                 Xconfigurator: Critical error reading
> > /etc/sysconfig/mouse
> >                 Xconfigurator: Check permissions of /etc/sysconfig/mouse
> >
> >                 Xconfigurator: Also, make sure you are running this
> > program as root
> > So, I check permission :# ls -l /etc/sysconfig/mouse
> >                                   -rw-r--r--  1 root  root 107 Jul 22
> > 22:39 etc/sysconfig/mouse
>
> Permissions are fine.
>
> > So, I want to look at line 5 in /etc/sysconfig/mouse
> >   root@local host/root ] # /etc/sysconfig/mouse
> >                                         bash: /etc/sysconfig/mouse:
> > Permission denied
>
> /etc/sysconfig/mouse is not an executable file. It just sets a bunch
> of environment variables; e.g., for /etc/rc.d/init.d scripts. To get
> the variables into your shell, run:
>
>   . /etc/sysconfig/mouse
>
> Then you should be able to type echo $MOUSETYPE and see something.
> AFAIK, the /etc/sysconfig/ files are only used by /etc/rc.d/init.d/
> scripts: mouse is used by gpm, which is the console mode mouse driver.
> I've run strings on X, xdm, and xinit, and find no reference to gpm
> or /etc/sysconfig or even /dev/mouse.
>
> > So just to see if KDE might work,
> >                                       #startx
> >                                        XF86Config:
> > /usr/X11R6/lib/X11/XF86Config
> >                                        (**) stands for supplied, (--)
> > stands for probed/default
> >                                         values
> >                                         Config error:
> > /usr/X11R6/lib/X11/XF86Config: 75
> >                                          Chordmiddle
> >                                          ^^^^^^^^^^
> >                                           Can't use Chordmiddle with
> > Emulate3Buttons
>
> The above URL points out that Emulate3Buttons is incompatible with
> wheel mouses. Edit the XF86Config file and comment out Emulate3Buttons
> and Emulate3Timeout.
>
> >                                           X10: fatal IO error 104
> >                                          ( Connection reset by peer) on
> > X server ": 0.0"
> >                                          after 0 requests (0 known
> > processed) with 0 events
> >                                          remaining
> > So, we can see that I don't know yet how to get to the files to edit
> > them, if indeed that will be the best approach. I am sure I need to know
> > how to deal with this situation so I can potentially offer assistance
> > later. Thanks in advance, Marc
>
> --
> /*
>  *  Tom Hull * thull at kscable.com * http://www.ocston.org/~thull/
>  */
> -- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
> visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi

-- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi


[Prev in Thread] Current Thread [Next in Thread]