From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonas Melian Garcia Date: Fri, 04 Feb 2005 14:29:39 +0000 Subject: Re: Detect ps/2 / usb mouse for a live-cd Message-Id: <420386D3.8060507@softhome.net> List-Id: References: <420362AF.5020208@softhome.net> In-Reply-To: <420362AF.5020208@softhome.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org > Why do you need to detect them? I need detect the (serial or usb) mouse to config correctly gpm >> >>Now i'm using kudzu to detect the mouse in a live-cd. >> >>But it is possible detect the mouse to can configure correctly? >>Where are the devices that hotplug detect? > > > Why do you need to detect them? > Usually the right modules are loaded by hotplug and the xorg entry is > identical for most mouse types: > (works only for 2.6 kernel) > > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Device" "/dev/input/mice" > Option "Emulate3Buttons" "true" > Option "Emulate3Timeout" "70" > Option "SendCoreEvents" "true" > Option "Protocol" "ExplorerPS/2" > Option "ZAxisMapping" "4 5" > Option "Buttons" "7" > EndSection > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel