From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GbrHv-0002XE-SA for garchives@archives.gentoo.org; Mon, 23 Oct 2006 04:19:48 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9N4G5Eu030399; Mon, 23 Oct 2006 04:16:05 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9N4CL4t032264 for ; Mon, 23 Oct 2006 04:12:21 GMT Received: by nf-out-0910.google.com with SMTP id p46so3125310nfa for ; Sun, 22 Oct 2006 21:12:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ANMpeE9xetQTayCkAj8kUXYbwX2A5Mb4EdnnZyn8tI+0qz9dwco5sOGTZpc43dubxxvnWlrtAzEBkHmSkMuQDYQquGZVFE8hUGd5ASDhHDuaED0QqMlvGkxBuPmRBkN1KhZM1oFyRReLOQghm44ub2koTMvmR4hdyP6Yhu/SDJs= Received: by 10.82.126.19 with SMTP id y19mr1228779buc; Sun, 22 Oct 2006 21:12:20 -0700 (PDT) Received: by 10.82.126.14 with HTTP; Sun, 22 Oct 2006 21:12:20 -0700 (PDT) Message-ID: <7573e9640610222112o663542cm7cbfd6c72e028e5b@mail.gmail.com> Date: Sun, 22 Oct 2006 21:12:20 -0700 From: "Richard Fish" Sender: richard.j.fish@gmail.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] xorg can't work with hotplugged mice? In-Reply-To: <1161560666.11761.9.camel@orpheus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1161173722.4837.26.camel@orpheus> <200610181441.25001.alan@linuxholdings.co.za> <1161560666.11761.9.camel@orpheus> X-Google-Sender-Auth: 29bc3a3a2902366a X-Archives-Salt: 90315b7c-5f37-4754-a7ef-67101704719a X-Archives-Hash: aaf629b6cbd46fb10c504feb81c2391e On 10/22/06, Iain Buchanan wrote: > because the touchpad has to be configured differently to the usb mice, > otherwise things like "emulate3buttons" don't always work (on the > touchpad). Also, I have different acceleration settings on different > mice, so I couldn't do that if they all used the same > "/dev/input/mice"... So don't use /dev/input/mice for "all" mice, just for the USB mouse that you plug in. Use /dev/input/eventX for the synaptics trackpad. Here is what I have for my two mouse entries in xorg.conf, and it hotplugs USB mice perfectly: Section "ServerLayout" Identifier "Default" Screen 0 "LCD" InputDevice "touchpad" "CorePointer" InputDevice "usbmouse" InputDevice "keyboard" "CoreKeyboard" EndSection Section "InputDevice" Identifier "touchpad" Driver "synaptics" Option "Device" "/dev/input/trackpad_evt" Option "Protocol" "event" Option "SHMConfig" "On" Option "LeftEdge" "1500" Option "TopEdge" "1300" Option "RightEdge" "5400" Option "BottomEdge" "4400" Option "EdgeMotionUseAlways" "On" Option "EdgeMotionMinZ" "70" Option "EdgeMotionMaxZ" "85" Option "EdgeMotionMinSpeed" "25" Option "EdgeMotionMaxSpeed" "700" Option "MinSpeed" "0.0" Option "MaxSpeed" "0.3" Option "AccelFactor" "0.3" Option "UpDownScrolling" "On" Option "LeftRightScrolling" "On" Option "Buttons" "8" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "usbmouse" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/input/mice" Option "Buttons" "8" Option "ZAxisMapping" "4 5" Option "SendCoreEvents" "On" EndSection I use a custom udev rule to make the "trackpad_evt" device, otherwise my keyboard and trackpad event nodes get mixed up between event0 and event1: BUS=="input", KERNEL=="event*", SYSFS{phys}=="isa0060/serio1/input0", NAME:="input/trackpad_evt", SYMLINK="input/%k" Either this, or you have to wait for a version of X.org that truly supports mouse hot plugging. -Richard -- gentoo-user@gentoo.org mailing list