[Nut-upsdev] [PATCH] udev rules for APC 5G

Arnaud Quette aquette.dev at gmail.com
Thu Aug 26 08:18:12 UTC 2010


2010/8/12 Charles Lepple <clepple at gmail.com>

> On Aug 11, 2010, at 10:54 AM, Gerd v. Egidy wrote:
>
>  I tried the patch recently added to support 5G ups by APC. Connecting to
>> the
>> ups failed because of wrong permissions of the usb device node.
>>
>> I had to add the new usb id to the udev rules to make it work. I attached
>> my
>> patch to this mail. Please consider applying.
>>
>
>
> Thanks for the heads-up.
>
> There is already a patch applied to the file that generates the udev rules,
> but at the moment, it only gets triggered when you do a 'make dist':
>
> http://article.gmane.org/gmane.comp.monitoring.nut.user/5623
>
> Arnaud,
>
> any thoughts on the question in that post?
>

well, the point is that there is not much interest in generating this file
at compile time!
apart for the specific case of users running the svn version.
But in this case, we need the template to be generated before the configure
call.

IMO, the best solution here is for such users to use the snapshots instead
of the SVN.
SVN checkout should really be reserved to developers, not users in need of
the latest developments.
We may also add a warning or a command (make refresh) to ensure everything
is up to date without the need to call make dist.

any comments?

cheers,
Arnaud
-- 
Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.free.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20100826/9de180c8/attachment.htm>


More information about the Nut-upsdev mailing list