1PIJUICE(8)                        NUT Manual                        PIJUICE(8)
2
3
4

NAME

6       pijuice - driver for UPS in PiJuice HAT
7

NOTE

9       This man page only documents the hardware-specific features of the
10       pijuice driver. For information about the core driver, see
11       nutupsdrv(8).
12
13           Note
14           This manual page was hastily adapted from related asem driver
15           manpage based on information from the original pull request, and so
16           may not fully apply to PiJuice HAT, patches from experts are
17           welcome.
18

SUPPORTED HARDWARE

20       The pijuice driver supports the portable PiJuice HAT UPS for Raspberry
21       Pi embedded PCs.
22

EXTRA ARGUMENTS

24       The required parameter for this driver is the I2C bus name:
25
26       port=dev-node
27           On the PiJuice HAT, this should be /dev/i2c-1.
28

INSTALLATION

30           Note
31           This section was copied from asem driver manpage and may not fully
32           apply to PiJuice HAT, patches are welcome.
33
34       This driver is specific to the Linux I2C API, and requires the
35       lm_sensors libi2c-dev or its equivalent to compile.
36
37       Beware that the SystemIO memory used by the I2C controller is reserved
38       by ACPI. If only a native I2C driver (e.g. i2c_i801, as of 3.5.X Linux
39       kernels) is available, then you’ll need to relax the ACPI resources
40       check. For example, you can boot with the acpi_enforce_resources=lax
41       option.
42

KNOWN ISSUES AND BUGS

44           Note
45           This section was copied from asem driver manpage and may not fully
46           apply to PiJuice HAT, patches are welcome.
47
48       The driver shutdown function is not implemented, so other arrangements
49       must be made to turn off the UPS.
50

AUTHORS

52       Andrew Anderson <aander07@gmail.com>
53

SEE ALSO

55   The core driver:
56       nutupsdrv(8)
57
58   Internet resources:
59       •   Initial pull requests adding this driver:
60
61https://github.com/networkupstools/nut/pull/730
62
63https://github.com/PiSupply/PiJuice/issues/124
64
65       •   Product home page:
66           https://uk.pi-supply.com/products/pijuice-standard
67
68       •   The NUT (Network UPS Tools) home page:
69           http://www.networkupstools.org/
70
71
72
73Network UPS Tools 2.8.0           04/26/2022                        PIJUICE(8)
Impressum