Displaying 7 results from an estimated 7 matches for "systemdshutdowndir".
2017 Nov 23
2
Have any FreeBSD users tried the new libusb-1.0 branch?
Hi all,
I am doing some final testing of the libusb-1.0 branch (specifically https://github.com/zykh/nut.git branch libusb-1.0+0.1 @ dfd514e7), and I am running across a regression in usbhid-ups relative to the previous libusb-0.1 code running on FreeBSD. Basically, the master (2.7.4+; c703fa75) code was able to start running as root, drop privileges (usually to uucp, the default for the ports
2017 Nov 26
2
Have any FreeBSD users tried the new libusb-1.0 branch?
...ts systemdsystemshutdowndir to /usr/lib64/systemd/systemd-shutdown
which misses the mark, a little bit. The fix:
if test -n "${systemdsystemunitdir}"; then
- systemdsystemshutdowndir="${libdir}/systemd/system-shutdown"
+ systemdsystemshutdowndir="`$PKG_CONFIG --variable=systemdshutdowndir systemd`"
This experiment also coincides with the delivery and installation of my new
Cyberpower CP1500PFCLCD. Slightly hampered by the nut-scanner problem, I
grabbed the USB ids from lsusb.
It came up without any issues:
[root at monster system]# upsc nutdev1
battery.charge: 100
batter...
2020 Jan 03
2
Tripp Lite SMART1500LCD will not stay shut down when power is disconnected
I see, so you kept the load.on.delay command but removed the check to see
if it was handled. Did you do the same thing for the shutdown.stayoff logic?
https://github.com/networkupstools/nut/blob/master/drivers/usbhid-ups.c#L562
This might be a dumb question but did this require you to recompile the
kernel? These types of changes are way beyond my depth.
Thank you for the direction!
On Thu, Jan
2020 Jan 14
2
Tripp Lite SMART1500LCD will not stay shut down when power is disconnected
.../usr/lib/cgi-bin/nut \
--with-htmlpath=/usr/share/nut/www \
--with-pidpath=/run/nut \
--datadir=/usr/share/nut \
--with-pkgconfig-dir=/usr/lib/`gcc -print-multiarch`/pkgconfig \
--with-user=nut \
--with-group=nut \
--with-udev-dir=/lib/udev \
--with-systemdsystemunitdir=/lib/systemd/system \
--with-systemdshutdowndir=/lib/systemd/system-shutdown
make
make check VERBOSE=1
cd ~/nut/drivers
sudo upsdrvctl stop
sudo make install
sudo apt remove nut-build-deps
sudo apt remove devscripts
sudo apt autoremove
sudo upsdrvctl start
On Sat, Jan 4, 2020 at 5:15 PM Ken Olum <kdo at cosmos.phy.tufts.edu> wrote:
>...
2024 Oct 30
1
NUT 2.8.1-3 " Can't claim USB device [051d:0002]@0/0: Entity not found" using usbhid-ups
.../lib/nut --with-cgipath=/usr/lib/cgi-bin/nut
--with-htmlpath=/usr/share/nut/www --with-pidpath=/run/nut
--datadir=/usr/share/nut
--with-pkgconfig-dir=/usr/lib/x86_64-linux-gnu/pkgconfig --with-user=nut
--with-group=nut --with-udev-dir=/lib/udev
--with-systemdsystemunitdir=/lib/systemd/system
--with-systemdshutdowndir=/lib/systemd/system-shutdown
--with-systemdtmpfilesdir=/usr/lib/tmpfiles.d --with-python=python3
--with-python3=/usr/bin/python3 --with-doc=man,html-single,html-chunked,pdf
0.000352 [D1] debug level is '3'
0.002200 [D1] Succeeded to become_user(nut): now UID=121 GID=130
0.0...
2024 Nov 01
1
NUT 2.8.1-3 " Can't claim USB device [051d:0002]@0/0: Entity not found" using usbhid-ups
...ib/cgi-bin/nut
> --with-htmlpath=/usr/share/nut/www --with-pidpath=/run/nut
> --datadir=/usr/share/nut
> --with-pkgconfig-dir=/usr/lib/x86_64-linux-gnu/pkgconfig --with-user=nut
> --with-group=nut --with-udev-dir=/lib/udev
> --with-systemdsystemunitdir=/lib/systemd/system
> --with-systemdshutdowndir=/lib/systemd/system-shutdown
> --with-systemdtmpfilesdir=/usr/lib/tmpfiles.d --with-python=python3
> --with-python3=/usr/bin/python3 --with-doc=man,html-single,html-chunked,pdf
> 0.000352 [D1] debug level is '3'
> 0.002200 [D1] Succeeded to become_user(nut): now UI...
2024 Nov 01
1
NUT 2.8.1-3 " Can't claim USB device [051d:0002]@0/0: Entity not found" using usbhid-ups
...--with-htmlpath=/usr/share/nut/www --with-pidpath=/run/nut
>> --datadir=/usr/share/nut
>> --with-pkgconfig-dir=/usr/lib/x86_64-linux-gnu/pkgconfig --with-user=nut
>> --with-group=nut --with-udev-dir=/lib/udev
>> --with-systemdsystemunitdir=/lib/systemd/system
>> --with-systemdshutdowndir=/lib/systemd/system-shutdown
>> --with-systemdtmpfilesdir=/usr/lib/tmpfiles.d --with-python=python3
>> --with-python3=/usr/bin/python3 --with-doc=man,html-single,html-chunked,pdf
>> 0.000352 [D1] debug level is '3'
>> 0.002200 [D1] Succeeded to become_u...