/$ apctest
2023-08-09 21:59:00 apctest 3.14.14 (31 May 2016) unknown
Checking configuration ...
sharenet.type = Network & ShareUPS Disabled
cable.type = USB Cable
mode.type = USB UPS Driver
Setting up the port ...
apctest FATAL ERROR in apctest.c at line 319
Unable to open UPS device.
If apcupsd or apctest is already running,
please stop it and run this program again.
apctest error termination completed
Also, ensure that the correct drivers are loaded. ...
On Linux-2.6.x, make sure the sysfs filesystem is mounted on /sys and do:
ls -l /sys/bus/usb/drivers/
...where you should get:
...
total 0
drwxr-xr-x 2 root root 0 Jan 6 15:27 hiddev
drwxr-xr-x 2 root root 0 Jan 6 15:28 hub
drwxr-xr-x 2 root root 0 Jan 6 15:28 usb
drwxr-xr-x 2 root root 0 Jan 6 15:27 usbfs
drwxr-xr-x 2 root root 0 Jan 6 15:28 usbhid
/$ ls -l /sys/bus/usb/drivers/
total 0
drwxr-xr-x 2 root root 0 Aug 9 22:07 Philips webcam
drwxr-xr-x 2 root root 0 Aug 9 22:07 asix
drwxr-xr-x 2 root root 0 Aug 9 22:07 ax88179_178a
drwxr-xr-x 2 root root 0 Aug 9 22:07 cdc_ether
drwxr-xr-x 2 root root 0 Aug 9 22:07 cdc_ncm
drwxr-xr-x 2 root root 0 Aug 9 22:07 cdc_subset
drwxr-xr-x 2 root root 0 Aug 9 22:07 hub
drwxr-xr-x 2 root root 0 Aug 9 22:07 ipheth
drwxr-xr-x 2 root root 0 Aug 9 22:07 net1080
drwxr-xr-x 2 root root 0 Aug 9 22:07 pegasus
drwxr-xr-x 2 root root 0 Aug 9 22:07 plusb
drwxr-xr-x 2 root root 0 Aug 9 22:07 usb
drwxr-xr-x 2 root root 0 Aug 9 22:07 usb-storage
drwxr-xr-x 2 root root 0 Aug 9 22:07 usbfs
drwxr-xr-x 2 root root 0 Aug 9 22:07 usbhid
drwxr-xr-x 2 root root 0 Aug 9 22:07 usblp
drwxr-xr-x 2 root root 0 Aug 9 22:07 uvcvideo
drwxr-xr-x 2 root root 0 Aug 9 22:07 zaurus
cp /direct-usb/fvdw/usbhid.ko /lib/modules/4.14.133/
dd if=/direct-usb/fvdw/UIMAGE-414133-KIRKWOOD-5 of=/dev/sda6
Kernel: Linux 4.14.133 #5 PREEMPT Thu Aug 10 15:38:37 CEST 2023
Caution: It is not the regular kernel version [414133#1]
Date August 14, 2023 09:05:34 PM
/$ apctest
[ERROR] AJAX: parsererror
Server reponse:
Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 24641536 bytes) in /usr/share
/webconsole/webconsole.1 on line 517
apctest
2023-08-14 21:31:42 apctest 3.14.14 (31 May 2016) unknown
Checking configuration ...
sharenet.type = Network & ShareUPS Disabled
cable.type = USB Cable
mode.type = USB UPS Driver
Setting up the port ...
Doing prep_device() ...
You are using a USB cable type, so I'm entering USB test mode
Hello, this is the apcupsd Cable Test program.
This part of apctest is for testing USB UPSes.
Getting UPS capabilities...SUCCESS
Please select the function you want to perform.
1) Test kill UPS power
2) Perform self-test
3) Read last self-test result
4) View/Change battery date
5) View manufacturing date
6) View/Change alarm behavior
7) View/Change sensitivity
8) View/Change low transfer voltage
9) View/Change high transfer voltage
10) Perform battery calibration
11) Test alarm
12) View/Change self-test interval
Q) Quit
Select function number: 2
This test instructs the UPS to perform a self-test
operation and reports the result when the test completes.
Clearing previous self test result...CLEARED
Initiating self test...INITIATED
Waiting for test to complete...COMPLETED
Result of last self test: PASSED
Return to Lacie 5big Network vs2
Users browsing this forum: No registered users and 1 guest