Activity for Silver Shield PM Control for Linux

  • xypron xypron modified a comment on discussion Help

    I would suggest using -D as it will guarantee stability even if after a restart USB are enumerated in a different sequence. Best regards Heinrich

  • xypron xypron posted a comment on discussion Help

    I would suggest to use -D as it will guarantee stability even if after a restart USB are enumerated in a different sequence. Best regards Heinrich

  • Michael Gabler Michael Gabler posted a comment on discussion Help

    Hi I found that there is already a function -D and -U existing in the sispmctl command. I will give it a try and check if it will increase the stability. BR, Michael

  • Michael Gabler Michael Gabler modified a comment on discussion Help

    Hi I have a Raspberry Pi for controlling almost every aspect of a greenhouse with tomatoes. I need reliability in the controlling of several pumps and lights. The powerplugs are connected via USB to the Pi. As long as I'm working with only one EG-PMS2 it seems to work fine. But when I connect a second plug it seems to come sometimes to connection(?) issues which seems to make one plug unresponsive for short time. I'm not sure what is causing this problem but it has a heavy impact on the control of...

  • Michael Gabler Michael Gabler modified a comment on discussion Help

    Hi I have a Raspberry Pi for controlling almost every aspect of a greenhouse with tomatoes. I need reliability in the controlling of several pumps and lights. The powerplugs are connected via USB to the Pi. As long as I'm working with only one EG-PMS2 it seems to work fine. But when I connect a second plug it seems to come sometimes to connection(?) issues which seems to make one plug unresponsive for short time. I'm not sure what is causing this problem but it has a heavy impact on the control of...

  • Michael Gabler Michael Gabler modified a comment on discussion Help

    Hi I have a Raspberry Pi for controlling almost every aspect of a greenhouse with tomatoes. I need reliability in the controlling of several pumps and lights. The powerplugs are connected via USB to the Pi. As long as I'm working with only one EG-PMS2 it seems to work fine. But when I connect a second plug it seems to come sometimes to connection(?) issues which seems to make one plug unresponsive for short time. I'm not sure what is causing this problem but it has a heavy impact on the control of...

  • Michael Gabler Michael Gabler posted a comment on discussion Help

    Hi I have a Raspberry Pi for controlling almost every aspect of a greenhouse with tomatoes. I need reliability in the controlling of several pumps and lights. The powerplugs are connected via USB to the Pi. As long as I'm working with only one EG-PMS2 it seems to work fine. But when I connect a second plug it seems to come sometimes to connection(?) issues which seems to make on plug unresponsive for short time. I'm not sure what is causing this problem but it has a heavy impact on the control of...

  • xypron xypron committed [501690] on Git

    Add AppStream metadata

  • Silver Shield PM Control for Linux Silver Shield PM Control for Linux released /sispmctl/sispmctl-4.12/sispmctl-4.12.tar.gz

  • xypron xypron committed [40100e] on Git

    Prepare release-4.12

  • xypron xypron committed [d31696] on Git

    Prepare release-4.12

  • xypron xypron committed [4435b1] on Git

    sispm_ctl: always use original control data

  • xypron xypron committed [f22d6b] on Git

    Add favicon.ico

  • xypron xypron committed [b0c6f5] on Git

    man/sispmctl.1: mention /etc/sispmctl/password

  • xypron xypron committed [1736a9] on Git

    snapcraft: use local source for building

  • xypron xypron committed [e5594f] on Git

    index.html: fix typo

  • xypron xypron committed [3aaf1a] on Git

    webpages 2023-06-28

  • xypron xypron committed [864bff] on Git

    index.html: fix typo

  • xypron xypron modified a comment on discussion Help

    Hello Erik, The "Gembird Production Catalogue 2004" has these descriptions: Gembird SIS-MS (Silver Shield with master slave function): The slave sockets are automatically switched on and off according to the device connected to the master socket. Gembird SIS-PM 4 sockets are manageable from the computer via USB port. The sad news is: The SIS-MS cannot be controlled by software. The usage idea behind the product is that when you power on your computer the peripherials (printer, monitor) will be powered...

  • xypron xypron posted a comment on discussion Help

    Hello Erik, The "Gembird Production Catalogue 2004" has these descriptions: Gembird SIS-MS (Silver Shield with master slave function): The slave sockets are automatically switched on and off according to the device connected to the master socket. Gembird SIS-PM 4 sockets are manageable from the computer via USB port. The sad news is: The SIS-PM cannot be controlled by software. The usage idea behind the product is that when you power on your computer the peripherials (printer, monitor) will be powered...

  • Erik Andrén Erik Andrén posted a comment on discussion Help

    Hi, I have bought a Gembird SIS-MS in a thrift shop. It is very similar to a SIS-PMS in that it has 4 + 1 power outlets and has a usb connection. When connecting the usb (and powering on the device) to a computers no usb-enumeration occurs and no usb-id is found. Is the SIS-MS supported? Thanks in advance, Erik

  • Ralf Grabow Ralf Grabow posted a comment on discussion Help

    My GEMBIRD runs with no problems under Windows 10. But with amd64, arm64 and under different Distributions a delay occured. And it happens always longer. Now it seems to happen a timeout. I do not understand the magic. I use only debian-bookworm and ubuntu-jammy. ii libc6:arm64 2.36-9+deb12u1 ii libusb-0.1-4:arm64 2:0.1.12-32 ii libusb-1.0-0:arm64 2:1.0.26-1 ii sispmctl 3.1-3 What can I do?

  • xypron xypron committed [348630] on Git

    snapcraft.yaml: update to version 4.11

  • Silver Shield PM Control for Linux Silver Shield PM Control for Linux released /sispmctl/sispmctl-4.11/sispmctl-4.11.tar.gz

  • xypron xypron committed [dee19a] on Git

    Bump version number to 4.11

  • Oliver Smith Oliver Smith updated merge request #2

    Add Debian packaging

  • Oliver Smith Oliver Smith posted a comment on merge request #2

    As discussed via mail: Hilko Bengen packaged 4.10 now and put it into Debian unstable: * https://salsa.debian.org/debian/sispmctl * https://tracker.debian.org/pkg/sispmctl Closing.

  • xypron xypron committed [ae8619] on Git

    examples/passwordsetup.sh: create /etc/sispmctl/

  • xypron xypron committed [9b6ef4] on Git

    README.md: correct list of devices

  • xypron xypron committed [0f510d] on Git

    process: avoid output to stdout

  • Oliver Smith Oliver Smith posted a comment on merge request #2

    => https://salsa.debian.org/xypron/sispmctl/-/merge_requests/1

  • Oliver Smith Oliver Smith posted a comment on merge request #2

    Thanks for the quick reply! The best place to host Debian packaging is https://salsa.debian.org/. This is what Debian maintainers are using. So you prefer not having it be part of the main repository? I'm not sure what's the best practice here, some projects appear to have the debian directory upstream. I can push the patches to salsa.debian.org too. Please, have a look at this branch https://github.com/xypron/sispmctl/tree/debian. You merge request does not include setting up udev rules and adding...

  • Oliver Smith Oliver Smith posted a comment on merge request #2

    See also: https://mentors.debian.net/package/sispmctl/

  • xypron xypron posted a comment on merge request #2

    Hello Oliver, thank you for looking into Debian packaging. The best place to host Debian packaging is https://salsa.debian.org/. This is what Debian maintainers are using. Please, have a look at this branch https://github.com/xypron/sispmctl/tree/debian. You merge request does not include setting up udev rules and adding a user group. Best regards Heinrich

  • Oliver Smith Oliver Smith created merge request #2 on Git

    Add Debian packaging

  • Heinrich Schuchardt committed [0a813c] on Git

    snapcraft.yaml: update metadata

  • xypron xypron posted a comment on discussion Help

    ldconfig must be executed to update the cache for libraries. /tmp/locals/lib is none of the paths used by Raspbian to load libraries. Have a look ad LD_LIBRARY_PATH.

  • xypron xypron committed [cd0c7a] on Git

    snapcraft.yaml: use core22

  • Ralf Grabow Ralf Grabow posted a comment on ticket #29

    Kubuntu 22.04

  • Ralf Grabow Ralf Grabow created ticket #29

    USB set configuration could not set config 1: Protocol error

  • Heinrich Schuchardt committed [576a81] on Git

    Makefile.am: include artwork in dist file

  • xypron xypron committed [1db429] on Git

    snapcraft.yaml: update to version 4.10

  • Silver Shield PM Control for Linux Silver Shield PM Control for Linux released /sispmctl/sispmctl-4.10/sispmctl-4.10.tar.gz

  • xypron xypron committed [7ce538] on Git

    Bump version number to 4.10

  • Heinrich Schuchardt committed [e2d849]

    configure.ac: allow linking sispmctl statically

  • Heinrich Schuchardt committed [a064c0]

    snap: add source-code and issues fields

  • Heinrich Schuchardt committed [30b925]

    Create folder with artwork

  • xypron xypron committed [e2b3e4]

    Provide a snapcraft.yaml file

  • xypron xypron committed [115395]

    passwordsetup.sh: fix build issue

  • Heinrich Schuchardt committed [5adf70]

    passwordsetup.sh: fix build issue

  • xypron xypron modified ticket #28

    I keep getting: usb 1-1.5.3: usbfs: USBDEVFS_CONTROL failed cmd sispmctl

  • Adam van Gaalen Adam van Gaalen posted a comment on ticket #28

    Hi xypron, No way to trigger it... I just wrote and ran a script to check the logfiles every 10 minutes or so. I did find out, that one of the sispm's serial-number appeared to be incremented a couple of times every hour... I took the USB-cable of that sispm away from the hub that is was connected to and plugged it into a free port on the Pi. That seems to have solved the problem (fingers crossed now). When unplugging I noticed that the plug was kind of loosely connected to the hub-port that it had...

  • xypron xypron posted a comment on ticket #28

    The numbering of device numbers depends on the sequence in which they are discovered by the Linux kernel. Every time you unplug and plug in again these numbers change. So this is nothing to rely on. What stays constant is the serial number of the SisPM powerstrip. So specify this number to address one of your devices, e.g. sispmctl -D 01:01:48:0a:d1 -g all Did you find any reproducible way to trigger the "usbfs: USBDEVFS_CONTROL failed" message?

  • Adam van Gaalen Adam van Gaalen posted a comment on ticket #28

    I noticed, in the output above, that the devices were not 'nicely' numbered... I did a reboot and now the output looks like: Bus 001 Device 010: ID 04b4:fd13 Cypress Semiconductor Corp. Programmable power socket Bus 001 Device 009: ID 04b4:fd13 Cypress Semiconductor Corp. Programmable power socket Bus 001 Device 008: ID 1a40:0101 Terminus Technology Inc. Hub Bus 001 Device 007: ID 04b4:fd13 Cypress Semiconductor Corp. Programmable power socket Bus 001 Device 006: ID 04b4:fd13 Cypress Semiconductor...

  • Adam van Gaalen Adam van Gaalen posted a comment on ticket #28

    Oops, I missed your posting, sorry for that. lsusb now says: 8:46 mainsberrypi: Command? lsusb Bus 001 Device 010: ID 04b4:fd13 Cypress Semiconductor Corp. Programmable power socket Bus 001 Device 053: ID 04b4:fd13 Cypress Semiconductor Corp. Programmable power socket Bus 001 Device 008: ID 1a40:0101 Terminus Technology Inc. Hub Bus 001 Device 017: ID 04b4:fd13 Cypress Semiconductor Corp. Programmable power socket Bus 001 Device 006: ID 04b4:fd13 Cypress Semiconductor Corp. Programmable power socket...

  • xypron xypron committed [81ec67]

    Add script to create password file.

  • xypron xypron committed [4924da]

    examples: disable ProtectClock in sispmctl.service

  • xypron xypron posted a comment on ticket #28

    The command 0xA1 (161) is used to read the serial number (function get_serial()). 71 is EPROTO (protocol error). What is the output of command 'lsusb'?

  • xypron xypron modified ticket #27

    web-interface not working correctly

  • xypron xypron posted a comment on ticket #27

    printf("Accessing Gembird #%d USB device %s\n", devnum, dev->filename ); is only executed if invoking with -v. It does not output to the socket but to console. I am closing the issue at it is not reproducible.

  • Adam van Gaalen Adam van Gaalen created ticket #28

    I keep getting: usb 1-1.5.3: usbfs: USBDEVFS_CONTROL failed cmd sispmctl

  • V M V M posted a comment on ticket #27

    OMG, worked as a charm) Thanks

  • Vitaly Repin Vitaly Repin posted a comment on ticket #27

    The root cause is one of these lines (either in src/process.c or src/main.c): printf("Accessing Gembird #%d USB device %s\n", devnum, This line goes before headers and modern browsers do not recognize this as a proper HTML. Therefore they show it as a text. Workaround for the users is to run the server in a quiet mode (-q switch): E.g.: sispmctl -q -d 0 -L

  • V M V M posted a comment on ticket #27

    Hi, tried to email you directly, but it bounced back: Your message wasn't delivered to xpyron.glpk@gmx.de because the address couldn't be found or is unable to receive email. Well anyway if I follow TCP stream in wireshark - I'm getting this in Chrome: GET / HTTP/1.1 Host: 192.168.1.222:12341 Connection: keep-alive Cache-Control: max-age=0 Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36 Accept:...

  • xypron xypron modified ticket #27

    web-interface not working correctly

  • xypron xypron posted a comment on ticket #27

    Thanks for reporting the issue. What can be seen in the screenshot are the headers and the content of index.html. I am not able to reproduce the issue on using Windows 10, Chrome Version 93.0.4577.63 (Official Build) (64-Bit). We will have to look at the traffic between Chrome and the browser. In Chrome you could open the developer tools and go to the network tab. Open the sispmctl URL. Right click on index html and select clear cache. Press F5 to reload. Right click on index.html and choose "Download...

  • V M V M created ticket #27

    web-interface not working correctly

  • Silver Shield PM Control for Linux Silver Shield PM Control for Linux released /sispmctl/sispmctl-4.9/sispmctl-4.9.tar.gz

  • Silver Shield PM Control for Linux Silver Shield PM Control for Linux released /sispmctl/sispmctl-4.9/sispmctl-4.9.tar.gz.asc

  • Silver Shield PM Control for Linux Silver Shield PM Control for Linux released /sispmctl/sispmctl-4.9/README.md

  • xypron xypron committed [33f1ed]

    Bump version number to 4.9

  • xypron xypron committed [a0ee6d]

    Bump version number to 4.9

  • xypron xypron committed [140f0b]

    src/sispm_ctl.c: correct display of serial number

  • xypron xypron committed [f5147d]

    src/sispm_ctl.c: correct display of serial number

  • xypron xypron posted a comment on merge request #1

    I merged the patch after adding empty lines after the variable declaration and limiting commit line length to 75 characters.

  • xypron xypron updated merge request #1

    src/schedule.c: fix build with gcc 4.8

  • xypron xypron committed [163100]

    src/schedule.c: fix build with GCC 4.8

  • Fabrice Fontaine Fabrice Fontaine created merge request #1

    src/schedule.c: fix build with gcc 4.8

  • Silver Shield PM Control for Linux Silver Shield PM Control for Linux released /sispmctl/sispmctl-4.8/sispmctl-4.8.tar.gz.asc

  • Silver Shield PM Control for Linux Silver Shield PM Control for Linux released /sispmctl/sispmctl-4.8/sispmctl-4.8.tar.gz

  • Silver Shield PM Control for Linux Silver Shield PM Control for Linux released /sispmctl/sispmctl-4.8/README.md

  • xypron xypron committed [c49a0d]

    process: sleep for 2 seconds on wrong password

  • xypron xypron committed [a71f63]

    Bump version number to 4.8

  • xypron xypron committed [2e3320]

    main: alert on -b with invalid argument

  • xypron xypron committed [9ccbde]

    main: skin directory must be provided as an absolute path

  • Silver Shield PM Control for Linux Silver Shield PM Control for Linux released /sispmctl/sispmctl-4.7/README.md

  • Silver Shield PM Control for Linux Silver Shield PM Control for Linux released /sispmctl/sispmctl-4.7/sispmctl-4.7.tar.gz

  • xypron xypron committed [991088]

    Install example files and README.md

  • xypron xypron committed [901cfe]

    sispmctl.service: enhance security

  • xypron xypron committed [9c7a52]

    schedule: correct copyright notice

  • xypron xypron committed [8921dc]

    sispmctl.service: enhance security

  • xypron xypron committed [b835c9]

    schedule: correct copyright notice

  • xypron xypron committed [fb5d39]

    Bump version number to 4.7

  • xypron xypron committed [d8587a]

    Implement scheduling for EG-PMS2

  • xypron xypron committed [c8d694]

    Implement scheduling for EG-PMS2

  • xypron xypron committed [1c9a2a]

    man: list supported models

  • xypron xypron committed [bcfe71]

    main: remove undocumented usage of 7 as 'all'

  • xypron xypron committed [bf6d5a]

    sispm_ctl: enlarge buffer for reading schedule

  • xypron xypron committed [c7aab7]

    doc: document schedule format of EG-PMS2

  • xypron xypron committed [5807e4]

    main: reformat code

1 >