Document usbrelayd service

Evgeny PisemskySat Apr 12 11:33:44+0300 2025

4968978

Document usbrelayd service

manuals/cogd.skb

2525
                (item :key (list [,(code [user]) (default: ,(code ["mosquitto"]))])
2626
                      (p [Owner of the broker process.]))
2727
                (item :key (list [,(code [group]) (default: ,(code ["mosquitto"]))])
28-
                      (p [Owner's group of the broker process.])))))))))
28+
                      (p [Owner's group of the broker process.]))))))
29+
      (subsection :title [USB relay daemon]
30+
        (p [USB relay daemon allows controlling locally connected USB HID relays remotely via MQTT protocol.])
31+
        (description
32+
         (item :key (list [Variable: ,(code [usbrelayd-service-type])])
33+
               (p [This is the service type for the USB relay daemon.  Its value is a ,(code [usbrelayd-configuration]) (see below).]))
34+
         (item :key (list [Data Type: ,(code [usbrelayd-configuration])])
35+
               (p [This is the configuration for the USB relay daemon, with the following fields:])
36+
               (description
37+
                (item :key (list [,(code [package]) (default: ,(code [python-usbrelay]))])
38+
                      (p [The package containing the USB relay daemon.]))
39+
                (item :key (list [,(code [mqtt-broker]) (default: ,(code ["localhost"]))])
40+
                      (p [The hostname or IP address of the MQTT broker.]))
41+
                (item :key (list [,(code [mqtt-client]) (default: ,(code ["usbrelayd"]))])
42+
                      (p [The client name used when connecting to the broker.])))))))))

modules/cogd/packages/fonts.scm

77
(use-modules (guix packages)
88
             (guix hg-download)
99
             (guix build-system font)
10-
             (guix build utils)
1110
             ((guix licenses) #:prefix license:)
1211
             (guix gexp)
1312
             (gnu packages base)

modules/cogd/packages/guile-xyz.scm

55
(define-module (cogd packages guile-xyz))
66
77
(use-modules (guix packages)
8-
             (guix download)
98
             (guix git-download)
109
             (guix gexp)
11-
             (guix build-system gnu)
1210
             (guix build-system guile)
1311
             (guix build-system copy)
1412
             ((guix licenses) #:prefix license:)
1513
             (gnu packages skribilo)
1614
             (gnu packages bash)
17-
             (gnu packages guile)
18-
             (gnu packages guile-xyz)
19-
             (gnu packages messaging)
20-
             (gnu packages pkg-config))
15+
             (gnu packages guile))
2116
2217
(define-public guile-gpio
2318
  (let ((commit "363a036dbfe26c02ce32864894af9224483bc84b")