[Nut-upsdev] Fwd: DeviceKit-power patches

Arjen de Korte nut+devel at de-korte.org
Thu Jun 26 13:41:19 UTC 2008


>> I've just tested: it i fine with key=info.subsystem.
>>
>> But it is not (as you say) "the entry matching my unit", it is at the
>> top level:
>>
>> <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
>> <deviceinfo version="0.2">
>>   <device>
>>     <match key="info.subsystem" string="usb_device">
>
> Yep that the only place you find 'info.bus'. Nice that it solved the
> problem. It would be safe to fix this in the svn, as I think all that
> is testing it is running a newer hal. Se if Arnaud do that. (Or I submit
> it.)

I think we'd better check for the HAL version through some autoconf magic,
so that we don't break things if this assumption proves to be incorrect.
We already have a 'nut_check_libhal.m4' file that detects the HAL version,
changing it to also set this would be trivial. I'll see if I can find the
time to do this (no promises though). Do you know the change date for
this?

Best regards, Arjen
-- 
Eindhoven - The Netherlands
Key fingerprint - 66 4E 03 2C 9D B5 CB 9B  7A FE 7E C1 EE 88 BC 57




More information about the Nut-upsdev mailing list