Summary: | sys-libs/gpm - adding functionality to start 1 *or* 2 mice in init-script | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rowan Thorpe <rowanthorpe> |
Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Add functionality to gpm init-script to handle 1 or 2 mice (depending on presence) |
Description
Rowan Thorpe
2007-09-20 22:42:49 UTC
Created attachment 131469 [details, diff]
Add functionality to gpm init-script to handle 1 or 2 mice (depending on presence)
Would be better to multiplex it! On Gentoo/FreeBSD we have an equivalent script called moused. On my system I link moused.psm0 to moused. If moused is invoked, it scans /dev for any mice and starts them up. If moused.psm0 is invoked it only starts up the daemon for the mouse psm0 Other examples of multiplexed scripts are our network scripts, vsftpd and openvpn. (In reply to comment #2) > Would be better to multiplex it! > On Gentoo/FreeBSD we have an equivalent script called moused. On my system I > link moused.psm0 to moused. Sounds like a useful tool - I didn't know about it. I unfortunately have sporadic net-cafe-only access so can't download and play with it, and need to ask instead... I presume (by the looks of some online descriptions) that moused can load custom drivers per mouse (as could the patch-to-gpm approach)? Also, I had no time to search - is there an implementation of moused for linux (if not maybe my patch might be a useful interim solution for linuxers)? Maybe leaving my suggestion as a few extra (non-intrusive) lines in the init-file, and some commented lines in the conf-file may still be useful as an alternative for those who want a leaner solution anyway - by avoiding firing up an extra daemon-process? (I read some comments at http://www.semicomplete.com/projects/newpsm/ which suggest that the moused code is a bit bloated at present...?) don't really see why using /dev/input/mice doesn't work for you. the kernel takes care of merging all mice input to that single device. |