From owner-freebsd-questions@FreeBSD.ORG Fri Aug 20 09:30:00 2010 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 40E8F1065695 for ; Fri, 20 Aug 2010 09:30:00 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id F2C5C8FC1D for ; Fri, 20 Aug 2010 09:29:59 +0000 (UTC) Received: from r55.edvax.de (port-92-195-116-86.dynamic.qsc.de [92.195.116.86]) by mx01.qsc.de (Postfix) with ESMTP id 663C63D3B5; Fri, 20 Aug 2010 11:29:58 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o7K9TvpT017815; Fri, 20 Aug 2010 11:29:57 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 20 Aug 2010 11:29:57 +0200 From: Polytropon To: "Thomas Mueller" Message-Id: <20100820112957.6677fbe5.freebsd@edvax.de> In-Reply-To: <4c6e4964.hvLBCwEWRll6Os2J%mueller6727@bellsouth.net> References: <4c6e4964.hvLBCwEWRll6Os2J%mueller6727@bellsouth.net> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Xorg Problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2010 09:30:00 -0000 On Fri, 20 Aug 2010 09:22:44 +0000, "Thomas Mueller" wrote: > This writeup will give me options to experiment with and see which > works when I'm back in FreeBSD, am in Linux (Slackware 13.0) now. Personally, I went the way with compiling X without HAL and DBUS, as I have no need for it. This keeps X in a kind of "old-fashioned working state". > There was nothing regarding hald in /etc/X11/xorg.conf (Linux), That's correct. The integration of HAL and DBUS is done at compile time, as defined by "make config" for the X port. > and there is no /etc/rc.conf (maybe in other Linux distributions?) Not even /etc/rc.config? Oh no wait, that was S.u.S.E. Linux. :-) > I found hald called in /etc/rc.d/rc.hald which is called by > /etc/rc.d/rc.M In FreeBSD, this equals a similar mechanism in /usr/local/etc/rc.d, with an invoking setting in /etc/rc.conf or /etc/rc.conf.local. > I think the M in rc.M means multiuser. As far as I remember - I'm not a Linux user anymore - the M refers to one of the various runlevels. M can indeed be refering to multi- user runlevel... > Using HAL (hald) seems much more logical than not using HAL. If you have need for it, sure. There are several programs that rely on it (as well as on DBUS), and it can detect mouse and keyboard. I've tried X with HAL and DBUS on another system, and it seems to work. A downside is this: If you live in a country that is not US or GB, you usually want to have a localized keyboard, like the german layout in my case. This isn't selected in xorg.conf anymore, so you have to change settings for HAL and PolicyKit, this means you will have to manually edit XML files. No big deal, really, but a bit sad, as central control mechanisms are moved out of xorg.conf and scattered through many files arbitrarily placed in /usr/local. But really, it's not THAT hard; I tried this on the testing system mentioned before, and as soon as you got keyboard, permissions and so on configured, it works. But finally, let me say that I don't trust all this autodetect stuff, as it usually does not work on *my* hardware, which simply is too old. I like to have control in ONE place, for ALL the relevant settings, and I hate to have to use xrandr just to convince X.org to run in a mode that XFree86 did out of the box. It's still nice that you are not FORCED to use HAL and DBUS, and if I remember correctly, one of them (or both?) are already being obsoleted by something different that spreads in Linux right now. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...