[Nut-upsuser] NUT 2.4.3 on new server can not see serial number, but old nut on different hardware can?

Jon Bendtsen jbendtsen at laerdal.dk
Mon Nov 15 12:19:51 UTC 2010


On 15/11/2010, at 13.11, Charles Lepple wrote:

> On Nov 15, 2010, at 6:59 AM, Jon Bendtsen wrote:
> 
>> So now I am only left pondering what is up with the ATTR and ATTRS difference?
> 
> Ah, Gene Heskett just ran across this last night.
> 
> What does "udevadm --version" return?
> 
> We will need to figure out when they introduced that change.

On both the new and the old machine i get 125 as the version.

Looking closer in the old debian 52_nut-usbups.rules 
	SYSFS{idVendor}=="051d", SYSFS{idProduct}=="0002", MODE="664", GROUP="nut" 

And then in the new 52_nut-usbups.rules file
	ATTR{idVendor}=="051d", ATTR{idProduct}=="0002", MODE="664", GROUP="nut"

And my change
	ATTRS{idVendor}=="051d", ATTRS{idProduct}=="0002", MODE="664", GROUP="nut" 

When i try with the SYSFS line on the new server that too works perfectly.



More information about the Nut-upsuser mailing list