From owner-freebsd-questions@FreeBSD.ORG Tue May 1 11:32:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A5021065670 for ; Tue, 1 May 2012 11:32:12 +0000 (UTC) (envelope-from me@che78-3-82-246-30-233.fbx.proxad.net) Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [IPv6:2a01:e0c:1:1599::13]) by mx1.freebsd.org (Postfix) with ESMTP id 2F6248FC12 for ; Tue, 1 May 2012 11:32:08 +0000 (UTC) Received: from che78-3-82-246-30-233.fbx.proxad.net (unknown [82.246.30.233]) by smtp4-g21.free.fr (Postfix) with ESMTP id 998564C8111 for ; Tue, 1 May 2012 13:32:02 +0200 (CEST) Received: by che78-3-82-246-30-233.fbx.proxad.net (Postfix, from userid 2000) id 582202848C; Tue, 1 May 2012 13:32:01 +0200 (CEST) Date: Tue, 1 May 2012 13:32:01 +0200 From: Harald Weis To: freebsd-questions@freebsd.org Message-ID: <20120501113201.GA2872@pollux.local.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> <20120430113910.GC74076@pcjas.obspm.fr> <4F9EAD87.2000005@dichotomia.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4F9EAD87.2000005@dichotomia.fr> User-Agent: Mutt/1.4.2.3i Subject: Re: Performance and mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 11:32:12 -0000 On Mon, Apr 30, 2012 at 05:19:35PM +0200, Jerome Herman wrote: > Short answer : I am a proud member of the "HAL and DBus are evil" group. > Middle answer : HAL and DBus were made, maintained and tuned with pretty > much nothing but Linux in mind. As a result they hardly play well with > other OS, and will tend to play worse as the time goes by. In fact > general opinion is that HAL never truly worked under Linux either, it is > now officially deprecated. I fully agree and propose a slightly longer answer « by example » because I just got rid of hald and dbus, and I am very happy with the following configurations for both my desktop and laptop machines. /boot/loader.conf on both: -- ums_load="YES" -- rc.conf on desktop: # Note that moused_enable is set to NO # by /etc/default/rc.conf ! -- keymap="us.iso" # Next line required after switching locale from iso-8859-15 to utf-8 scrnmap="us-ascii_to_cp437" # See rc.conf(5) and /etc/default/rc.conf # for default and non-default moused settings. # moused_ums0_flags="-a 0.3" # decelerate Labtec mouse -- rc.conf on laptop: -- keymap="fr.iso.acc" # Next line required after switching locale from iso-8859-15 to utf-8 scrnmap="us-ascii_to_cp437" # See rc.conf(5) and /etc/default/rc.conf # for default and non-default moused settings. # moused_enable="YES" # touchpad on laptops moused_flags="-3" moused_ums0_flags="" # non-default moused -- xorg.conf on both: -- Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "AutoAddDevices" "false" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection -- The following configures the keyboard map under X with the option for typing all sorts of non-ascii characters. .xinitrc on desktop: -- setxkbmap -model pc104 -layout us -option compose:ralt -- .xinitrc on laptop: -- setxkbmap -model pc102 -layout fr -option compose:menu -- That works on 8.2-RELEASE-p3. -- Harald Weis