From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: New xorg.conf with x11-base/xorg-server-1.5.3-r5
Date: Sat, 16 May 2009 19:55:50 +0200 [thread overview]
Message-ID: <200905161955.50549.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <4A0EF469.6070308@coolmail.se>
On Saturday 16 May 2009 19:14:17 pk wrote:
> Alan McKinnon wrote:
> > I'm not sure who's criticizing DeviceKit, but it isn't me :-)
>
> I guess it was me... :-)
>
> I find this thread interesting:
> http://lists.freedesktop.org/archives/xorg/2009-May/045561.html
>
> ...especially this:
> http://lists.freedesktop.org/archives/xorg/2009-May/045574.html
>
> Which seems like a much more sane way... to me. I don't know what BSD
> and other platforms use (instead of Udev) but I'm sure one could come up
> with a common API.
Sometimes you have to make several horrendous errors to know what to not do
and thereby deduce what you should do - the only version 3 rule of thumb :-)
From threads involving the hal maintainers I get the idea that the problem is
not so much the idea of hal, but rather it's implementation. And then there's
those fdi files...
As I see it, at the bottom of the stack you have a kernel and at the top a
user space app (the X server will do for an example). Plug in a USB device
that the app can use, and the kernel needs to make a node in /dev for it if
it's not already there. The kernel should not be interrogating the device for
all possible info - that is expensive - and doesn't need to. It only needs
enough info to know what driver, major and minor numbers to use. X OTOH, can
successfully use much more info. If you have a 19 button mouse, it would like
to know and could even use it as a one-handed keyboard (extreme example). So
the current model uses udev as the interface to the kernel's nodes and HAL as
the interface to exactly what hardware you have. Seems pretty sane for the
most usual use case. At some point in the stack you will need the OS-dependant
part, my guess is the best place is between hal and udev. Only Linux uses
udev, but all OSes use something in that spot. And if not, they have static
nodes.
Meanwhile we have an acknowledged problem with hal - it's too complex, too
many things have been shoved into it that were never catered for in the
design, configuration is horrific - and the devs are having their usual
spirited debate about how best to approach a solution. This is perfectly
normal and perfectly healthy
--
alan dot mckinnon at gmail dot com
next prev parent reply other threads:[~2009-05-16 17:57 UTC|newest]
Thread overview: 75+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-07 8:39 [gentoo-user] New xorg.conf with x11-base/xorg-server-1.5.3-r5 Mick
2009-04-07 8:46 ` Volker Armin Hemmann
2009-04-07 10:26 ` Mick
2009-04-07 10:46 ` Volker Armin Hemmann
2009-04-07 11:02 ` [gentoo-user] " Nikos Chantziaras
2009-04-07 11:17 ` Alan McKinnon
2009-04-07 11:25 ` Volker Armin Hemmann
2009-04-08 15:01 ` 7v5w7go9ub0o
2009-05-15 15:55 ` Tony Davison
2009-05-16 16:33 ` Mick
2009-04-07 13:08 ` [gentoo-user] " Dale
2009-04-07 10:53 ` Peter Humphrey
2009-04-07 9:19 ` Alan McKinnon
2009-04-07 10:34 ` Mick
2009-04-07 10:21 ` Khanh Nguyen
2009-04-07 14:14 ` sean
2009-04-07 14:51 ` Paul Hartman
2009-04-07 15:22 ` Volker Armin Hemmann
2009-04-07 15:50 ` Paul Hartman
2009-04-07 16:31 ` Volker Armin Hemmann
2009-04-07 18:12 ` [gentoo-user] " ABCD
2009-04-08 15:45 ` [gentoo-user] " Paul Hartman
2009-04-08 16:12 ` Volker Armin Hemmann
2009-04-08 16:18 ` Paul Hartman
2009-05-15 16:03 ` Volker Armin Hemmann
2009-05-15 16:10 ` Alan McKinnon
2009-05-15 16:41 ` Dale
2009-05-15 16:59 ` Paul Hartman
2009-05-15 17:26 ` Volker Armin Hemmann
2009-05-15 17:42 ` Dale
2009-05-15 16:42 ` Dale
2009-05-15 16:57 ` Alan McKinnon
2009-05-15 17:45 ` Dale
2009-05-15 20:05 ` pk
2009-05-15 20:24 ` Volker Armin Hemmann
2009-05-15 20:38 ` Aaron Clark
2009-05-15 20:39 ` Mark Knecht
2009-05-15 20:38 ` [gentoo-user] " Nikos Chantziaras
2009-05-15 20:44 ` Alan McKinnon
2009-05-15 20:51 ` Nikos Chantziaras
2009-05-15 20:54 ` Alan McKinnon
2009-05-16 17:14 ` pk
2009-05-16 17:55 ` Alan McKinnon [this message]
2009-05-16 18:10 ` Dale
2009-05-17 17:10 ` bn
2009-05-17 18:00 ` Alan McKinnon
2009-05-17 18:16 ` Mark Knecht
2009-05-17 19:12 ` Dale
2009-05-17 19:22 ` Mark Knecht
2009-05-17 21:20 ` Dale
2009-05-18 4:07 ` was [gentoo-user] Re: New xorg.conf with x11-base/xorg-server-1.5.3-r5 now old nvidia drivers Adam Carter
2009-05-18 4:22 ` Dale
2009-05-18 5:00 ` Adam Carter
2009-05-17 18:21 ` [gentoo-user] Re: New xorg.conf with x11-base/xorg-server-1.5.3-r5 bn
2009-05-17 19:02 ` Dale
2009-05-17 1:33 ` pk
2009-05-17 9:19 ` Alan McKinnon
2009-05-17 12:15 ` pk
2009-05-17 14:32 ` Alan McKinnon
2009-05-17 21:47 ` Volker Armin Hemmann
2009-04-07 15:52 ` [gentoo-user] " Joseph
2009-04-07 16:16 ` Neil Bothwick
2009-04-07 16:17 ` [gentoo-user] " Nikos Chantziaras
2009-04-07 23:13 ` [gentoo-user] " sean
2009-04-08 18:16 ` pk
2009-04-07 16:14 ` [gentoo-user] " Nikos Chantziaras
2009-04-07 16:45 ` [gentoo-user] " Mick
2009-04-07 17:02 ` Volker Armin Hemmann
2009-04-07 17:21 ` Mick
2009-04-07 20:27 ` sean
2009-04-07 20:32 ` Volker Armin Hemmann
2009-04-07 17:05 ` Sebastian Günther
2009-04-07 17:17 ` Mick
2009-04-07 20:37 ` Daniel Barkalow
2009-04-08 5:47 ` Mick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200905161955.50549.alan.mckinnon@gmail.com \
--to=alan.mckinnon@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox