New to HAL and confused.

Richard Hughes hughsient at gmail.com
Sat Jan 13 04:09:44 PST 2007


On Sun, 2007-01-14 at 08:43 +0000, Alan Chandler wrote:
> 
> > However, not all references keys are actually in the table.  For
> > instance - in several places in the text of the document there is a
> > reference to block.storage_device key - but under the table which
> > lists the allowable keys in the block namespace THAT key doesn't
> > exist

Yes, sometimes the spec wasn't always updated as well as it should have
been. We really need some sort of auto-checking feature that checks if
keys that are trying to be got or set are valid in the spec. - Maybe we
could xlst the xml spec to key the keys, and then add a --check-keys
option to hald that checks the keys against the list.

> > Also the  info.bus key has a list of values it is allowed to be, but
> > usb_device isn't one of them. Yet the introduction to the usb_device
> > namespace the paragraph specifically says that info.bus could take
> > the value usb_device.
> 
> Nobody every replied to this point I made over a week ago.

Sorry, been away from UK.

> Is this a bug I uncovered in the spec or a misunderstanding on my
> part?

That part I don't know. Kay, what does block.storage_device do?

Richard.




More information about the hal mailing list