mdetect - mouse device autodetection tool

Property Value
Distribution Ubuntu 18.04 LTS (Bionic Beaver)
Repository Ubuntu Universe amd64
Package filename mdetect_0.5.2.4_amd64.deb
Package name mdetect
Package version
Package release -
Package architecture amd64
Package type deb
Category universe/utils
Homepage -
License -
Maintainer Ubuntu Developers <>
Download size 16.73 KB
Installed size 51.00 KB
mdetect is a tool for autoconfiguring mice; it is typically used as the
backend to some user-friendly frontend code.  mdetect writes the autodetected
mouse device and protocol (as used by gpm) to standard output.  It can be
invoked so as to produce output appropriate for XFree86 X server
configuration files.


Package Version Architecture Repository
mdetect_0.5.2.4_i386.deb i386 Ubuntu Universe
mdetect - - -


Name Value
libc6 >= 2.15


Type URL
Binary Package mdetect_0.5.2.4_amd64.deb
Source Package mdetect

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install mdetect deb package:
    # sudo apt-get install mdetect




2015-09-27 - Giovani Augusto Ferreira <>
mdetect ( unstable; urgency=medium
* QA upload.
* Set Debian QA Group as maintainer. (see #733143)
* Acknowledge NMU. Thanks to Otavio Salvador. (Closes: #319921)
* DH level to 9.
* DebSrc to 3.0 format.
* Makefile:
- Improved the GCC hardening.
- Updated the variables for install files.
* debian/control:
- Bumped Standards-Version to 3.9.6.
- Included ${misc:Depends} in Depends.
* debian/copyright:
- Migrated to 1.0 format.
- Revised and updated all information.
* debian/mdetect.files: useless file, removed.
* debian/rules:
- Updated to reduced format.
2009-07-16 - LIU Qi <>
mdetect ( unstable; urgency=low
* mdetect.c: Fix "mdetect ignores symlinks" by using stat() instead 
of lstat(). (Closes: #173326)
* Upgrade the standard version.
2009-06-12 - LIU Qi <>
mdetect ( unstable; urgency=low
* New maintainer. (Closes: #522258)
* Fixed many lintian warnings and an error. (Closes: #395751)
2005-10-28 - Otavio Salvador <>
mdetect ( unstable; urgency=low
* NMU with maintainer approval
* Applied patch from Robert Millan <> to fix FTBFS on
GNU/kFreeBSD and also to add mouse device names to detection logic
(Closes: #319921)
2002-10-02 - Branden Robinson <>
mdetect (0.5.2) unstable; urgency=low
* Get right with Policy Version 3.5.7.
* debian/control:
- change Section to "utils" (Closes: #145101)
- increment versioned build-dependency on debhelper to (>= 4.0)
- increment Standards-Version to 3.5.7
* debian/rules:
- use debhelper version 4 compatibility
- support "noopt" flag in DEB_BUILD_OPTIONS
- correct path in install rule
2002-02-27 - Branden Robinson <>
mdetect (0.5.1) unstable; urgency=low
* the "how about running patch without the --dry-run option, dumbass"
* mdetect.{c,h}: really apply Richard Hirst's patch (Closes: #136115)
2002-02-22 - Branden Robinson <>
mdetect (0.5) unstable; urgency=low
* mdetect.{c,h}: applied patch from Richard Hirst to save and restore
terminal settings on serial devices; "Should be safe, all I'm doing is
tcgetattr() and tcsetattr(), which the code did before anyway elsewhere.
I registered an on_exit() function to ensure settings are restored on
overall timeout.  That meant calling exit(2) rather than _exit(2), so I
restarted the timeout in case exit() itself hung.  I restructured main() a
bit, but I don't think that should cause problems; there was/is no way
stage1() could return NULL anyway - it either detects something or exits
via the alarm().  Tested on i386 and ia64, with ps/2 and serial mice (and
no mice).  serial mouse detection only works if I wiggle my mouse while
mdetect runs, but that might be a feature of my mouse (and it ws the same
before I changed the code).  If that is expected behaviour, it should be
in the manpage.  If I have a serial console, then there is a little
garbage on the line as mdetect runs and changes baudrate, but it recovers
when mdetect exits."  Thanks, Richard!  (Closes: #131467)
* updated
2001-10-13 - Branden Robinson <>
mdetect (0.4) unstable; urgency=low
* debian/control: add build-dependency on debhelper (>> 2.0)
2001-02-16 - Branden Robinson <>
mdetect (0.3) unstable; urgency=low
* mdetect.c: search for USB mice on /dev/input/mouse0 first, so that
non-USB mice are returned preferentially
* mice.c: use ImPS/2 as X protocol on "kernel 2.4-style" USB mice
2000-11-26 - Branden Robinson <>
mdetect (0.2) unstable; urgency=low
* mdetect.c: correct special-case IntelliMouse PS/2 logic so it actually
* mice.c: correct case of IntelliMouse XFree86 protocol name so that
proper special-case PS/2 logic is invoked

See Also

Package Description
mdf2iso_0.3.1-1build1_amd64.deb simple utility to convert mdf to iso / cue / toc images
mdfinder.app_0.9.4-1build1_amd64.deb GNUstep Finder and system-wide search system
mdk3_6.0-4_amd64.deb Wireless attack tool for IEEE 802.11 networks
mdk_1.2.9+dfsg-5_amd64.deb MIX Development Kit
mdm_0.1.3-2.1build2_amd64.deb Utilities for single-host parallel shell scripting
mdns-scan_0.5-2_amd64.deb Scan for mDNS/DNS-SD services published on the local network
mdp_1.0.12-1_amd64.deb command-line based Markdown presentation tool
mecab-ipadic-utf8_2.7.0-20070801+main-1_all.deb IPA dictionary encoded in UTF-8 compiled for Mecab
mecab-ipadic_2.7.0-20070801+main-1_all.deb IPA dictionary compiled for Mecab
mecab-jumandic-utf8_7.0-20130310-4_all.deb Juman dictionary encoded in UTF-8 compiled for Mecab
mecab-jumandic_7.0-20130310-4_all.deb Juman dictionary compiled for Mecab (deprecated)
mecab-naist-jdic-eucjp_0.6.3.b-20111013-8_all.deb free Japanese Dictionaries for mecab (replacement of mecab-ipadic) in EUC-JP
mecab-naist-jdic_0.6.3.b-20111013-8_all.deb free Japanese Dictionaries for mecab (replacement of mecab-ipadic)
mecab-utils_0.996-5_amd64.deb Support programs of Mecab
mecab_0.996-5_amd64.deb Japanese morphological analysis system