Date: Tue, 1 May 2012 13:32:01 +0200 From: Harald Weis <hawei@free.fr> To: freebsd-questions@freebsd.org Subject: Re: Performance and mouse problems Message-ID: <20120501113201.GA2872@pollux.local.net> In-Reply-To: <4F9EAD87.2000005@dichotomia.fr> References: <20120427161316.GA60361@pcjas.obspm.fr> <CA%2BtpaK2fLYgwqXFj%2B0qjyNGy2UPiOq=v2=XYLjT2GCMJKHMCng@mail.gmail.com> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> <20120430113910.GC74076@pcjas.obspm.fr> <4F9EAD87.2000005@dichotomia.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120501113201.GA2872>
