sispm 1.0.0

control Gembird SIS-PM USB outlet devices
Documentation
  • Coverage
  • 75%
    6 out of 8 items documented1 out of 7 items with examples
  • Size
  • Source code size: 8.62 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 675.75 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • User65k/sispm
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • User65k

Project Status: Active – The project has reached a stable, usable state and is being actively developed. crates.io Released API docs GitHub GitHub Workflow Status

Allows to control Gembird SIS-PM USB outlet devices via USB.

Rust port of python-sispm. See also sispmctl (C deamon)

Permissions

Per default, only root is allowed to use devices directly, therefore the SiS-PM also only works as root.

To allow group sispmctl access create file /lib/udev/rules.d/60-sispmctl.rules with the following content

SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd10", GROUP="sispmctl", MODE="660"
SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd11", GROUP="sispmctl", MODE="660"
SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd12", GROUP="sispmctl", MODE="660"
SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd13", GROUP="sispmctl", MODE="660"
SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd15", GROUP="sispmctl", MODE="660"

Then reload the udev rules with

udevadm control --reload-rules