Hi Roy, 2008/7/10 Roy Berkeveld <[EMAIL PROTECTED]>: > Package: nut > Version: 2.2.2-2 > > From #334105: >> Place this in /etc/nut/rules.d/01-ups.rules or something: >> KERNEL="ttyS15", GROUP="nut" > > The documentation (/usr/share/doc/nut/README.Debian.gz) lists the following: > >> b) Another solution, for system supporting udev, is to create a file >> (for example /etc/udev/rules.d/01-ups.rules) and to add something >> like: >> KERNEL="ttyS1", GROUP="nut" >> >> where 'ttyS1' has to be replaced by the exact name of your serial >> port. > > Which does not work. > > It should be > KERNEL=="ttyS1", GROUP="nut" > (note the double equals sign) > > And the filename should be something which will get sorted after > 020_permissions.rules (as this sets dialout on the tty subsystem) > > I suggest 52_nut-serialups.rules as we have an existing > 52_nut-usbups.rules already.
fully right, I have applied this for the upcoming (and I hope the last) -6 upload for lenny > Also, I am happy to report that I was successful in setting up nut this > way, even though there were initially no files present in /etc/nut/ (the > directory itself was though) and I had to create them all from the > documentation. Perhaps some default config files with comments would be > nice; nut is disabled from starting by default anyway so this could > initially fit to a common default. I still have some care to give to this area, though there is a note at §II of the README.Debian Note that sample configuration files are provided in /usr/share/doc/nut/examples/. Simply copy these under /etc/nut and follow the below information for tuning. I've modified it like that s/Note that/NOTE:/ Note that the config is a long standing issue linked to #254355 thanks for your report, Arnaud