The HAL Spec
Joe Marcus Clarke
marcus at FreeBSD.org
Sun May 7 11:23:55 PDT 2006
On Sun, 2006-05-07 at 19:12 +0100, Richard Hughes wrote:
> On Fri, 2006-05-05 at 16:22 -0400, Joe Marcus Clarke wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > I'm about to start implementing Firewire support for HAL for FreeBSD,
> > and I noticed a big disparity in the HAL spec and what Linux does. When
> > I raised this kind of thing a few months ago, I was told to code to the
> > spec, but I have since noticed many things that Linux does differently
> > from the spec.
>
> Like what? We should either fix the spec if it's wrong, or fix the linux
> stuff to match the spec if the spec if correct.
A few things. First, firewire. The spec defines three ieee1394
objects: ieee1394_host, ieee1394_node, and ieee1394. There was a
specific commit to the Linux backend and to hal-device-manager, to merge
all of these under ieee1394. For example, the spec says an
ieee1394_node has a guid property, but the Linux backend assigns this
property to the same ieee1394 object.
Next, there's pcmcia_socket. The spec defines one property under this
object: pcmcia_socket.number. However, the Linux backend uses the bus
type of pcmcia, and adds multiple properties. No where in the spec do I
see a bus type of "pcmcia". And the Linux backend does not use the
pcmcia_socket class anywhere.
Finally, and this is a clear typo in the spec, the oss class has a
property alsa.device_file. I believe this should be oss.device_file.
Joe
>
> Thanks,
>
> Richard.
>
>
--
Joe Marcus Clarke
FreeBSD GNOME Team :: gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/hal/attachments/20060507/9be5f6b6/attachment.pgp
More information about the hal
mailing list