Comment 16 for bug 399319

Revision history for this message
Abel Deuring (adeuring) wrote : Re: [Bug 399319] Re: Remove the HAL dependency from Launchpad HWDB and checkbox

On 24.08.2009 23:12, Marc Tardif wrote:
> I have linked a branch to this bug which replaces the hal dependency
> with udev instead. Here are some of the considerations taken:
>
> - The nodes <udev>, <dmi> and <scsi-devices> now appear instead of <hal> with the output requested above (note that the dmi information is currently empty because of an unrelated bug which will be fixed before beta).
> - The generated submission.xml file passes validation given the schema provided earlier in this bug report (I have attached the file generated on my system for completeness purposes).
> - The system_id which used to be generated from hal information still results in the same value.
>
> I believe this meets all the requirements mentionned so far. Abel, I
> would like to push these changes in concert with Launchpad but I would
> also like to meet the feature freeze deadline on Thursday. What can we
> do to make it happen?

JFDI? ;) The data looks good, except for the empty <dmi> node. (But you
already noticed that ;)

Martin made a good point that we should collect attribute data for all
udev nodes which don't have an ID_VENDOR property. So we might consider
to rename <scsi-devices> to <sysfs-attributes> or similar and store
there the content of all publicly readable sysfs attributes for those
udev devices which don't have an ID_VENDOR attribute.