Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
mdetect(1)
Edit
PageHistory
Diff
Info
LikePages
mdetect !!!mdetect NAME SYNOPSIS OPTIONS DESCRIPTION NOTES DIAGNOSTICS BUGS AUTHORS LICENSING SEE ALSO ---- !!NAME mdetect - mouse device autodetection tool !!SYNOPSIS mdetect [[''option ...''] !!OPTIONS mdetect may be run without arguments. __-h__ display a help message and exit __-n__ do not search for PnP (Plug 'n' Play) mice __-r__ [[not yet implemented] __-v__ be verbose; this option may be specified multiple times for increasing levels of verbosity __-o__ produce output appropriate for XFree86 3.x configuration __-x__ produce output appropriate for XFree86 4.x configuration !!DESCRIPTION __mdetect__ is a tool for autoconfiguring mice and compatible pointing devices; it is typically used as the backend to some user-friendly frontend code that, for example, asks the user to move the mouse for a moment. __mdetect__ is then run while user is producing input on the mouse device. While mouse motion during detection is sometimes unnecessary, it is seldom problematic. __mdetect__ writes the autodetected mouse device and protocol to standard output. Unless either of the __-o__ or __-x__ options is given, __mdetect__ produces output appropriate for configuring the gpm(1) program. Alternatively, output appropriate for an XFree86 X server configuration file is produced. If the __-v__ option is given, some information about the program's status is also written to standard output, but this is largely unimplemented at this writing. If __mdetect__ is unable to find a mouse device, it exits after a few seconds of searching. !!NOTES Detection of serial and PS/2 devices is often aided by moving the mouse while __mdetect__ runs. Terminals connected to serial ports may display a small amount of garbage to the screen while __mdetect__ probes them, but this a harmless side-effect; the terminal's line settings are restored after the port has been probed. !!DIAGNOSTICS __mdetect__'s exit status is used to communicate information. 0 __mdetect__ found a mouse and exited normally. 1 An error occurred while attempting to read from the mouse device. 2 __mdetect__ timed out and gave up searching for a mouse device; this indicates either that no mouse device is attached to the computer, or that a mouse device exists which __mdetect__ knows nothing about. This also happens if your only mouse device(s) are already open and in use; for instance, by __gpm__ or an X Window System server. 3 An error occurred while trying to set up __mdetect__'s signal handler. !!BUGS Please report bugs in __mdetect__ to __ !!AUTHORS __mdetect__ is copyright 1999 Caldera Systems, Inc. The actual authors are unknown. Branden Robinson of Progeny Linux Systems, Inc. and the Debian Project added several enhancements, including the XFree86-aware code and this manual page. Richard Hirst wrote code to save and restore serial port settings. !!LICENSING The __mdetect__ source code is licensed under the Q Public License (QPL); see __ This manual page is licensed under the GNU General Public License. !!SEE ALSO gpm(1), ''XFree86''(1) ----
One page links to
mdetect(1)
:
Man1m
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.