Home Research Projects Publications Staff Lectures Student Work Events
# SiS-PM (Silver Shield PM) Control for Linux 1.0 ## (Silver Shield PM Control for Linux 1.1, (C) 2004,2005 Mondrian Nuessle) ## Changelog version 1.0b Initial Release version 1.1, 24 Feb 2005 Fixed small error in configure script, relaxed dependency for libusb to include version >=0.1.5, added new command line arguments -q and -v added Troubleshooting section added sispm_http from Marius Konitzer ## Overview sispm_ctl is a n application enabling the use of the GEMBIRD SiS-PM device under Linux. The SiS-PM is an itelligent advanced surge protector with unique features: 4 sockets are manageable from the PC via USB port (GEMBIRD LTD). This software comes with ABSOLUTELY NO WARRANTY; for details see the LICENCE file. This is free software, and you are welcome to redistribute it under certain conditions; see the LICENCE file for details. Thanks go out to Gembird for the kind support, the libusb project and the USB snoopy team. This software is also included in the driver package from Gembird. ## Identifying the device In Germany you can buy a device from Pearl (PE-3057-908, ~30 Euros). Sold under the name Revolt "Intelli-Plug". So you may find this device sold under different names. You can identify it, though, without opening the case by issuing the followin commands: ~ $ lsusb [...] Bus 001 Device 002: ID 04b4:fd11 Cypress Semiconductor Corp. [...] Of course, the Bus and Device number will be different, depending on your setup. ## Download & Installation: sispm_ctl-1.1.tar.gz (version 1.1, 24 Feb 2005, ~194kB) You need libusb-0.15 or newer installed on your system (if you have an older version of libusb it MIGHT work, you'll have to tweak configure.in though and call scripts/bootstrap. Nevermind if this is just glibberish for you :-)). sispm_ctl is only available as sourcecode distribution. To install on your system run: tar xzvf sispm_ctl-1.1.tar.gz cd sispm_ctl-1.1 ./configure make make install This installs sispm_ctl in /usr/local/bin. If you want to install the application to a different directory, call ./configure --prefix=/your/preferred/dir. ## Usage: sispm_ctl -o 1..4 - turn on the specified socket sispm_ctl -o all - turn on all sockets sispm_ctl -f 1..4 - turn off specified sockets sispm_ctl -f all - turn off all sockets sispm_ctl -g 1..4 - query status of socket (1 if on, 0 if off) sispm_ctl -g all - query and print status of all sockets sispm_ctl -b on - buzzer on sispm_ctl -b off - buzzer off Option -q disables output from following commands specified on the command line. Option -v prints detailed version and licence information sisspm_ctl returns 0 on success, 1 on error and 2 if no SIS-PM or compatible device could be found. ## Controlling via Webbrowser Marius Konitzer wrote a bash script that enables control of the USB socket via a webbrowser. You need to download sispm_http-0.1.tar.bz2. tar xjvf sispm_http-0.1.tar.bz2 cd sispm_http-0.1 Follow the README file to install it. If you are using a Linux distro that uses xinetd, the following file sispm can be copied into /etc/xinetd.d/ to configure the xinetd to work with sispm_http. Thanks to Marius Konitzer for contributing this script. The original download can be found at http://marko82.de/prog_sispm_http.php ## Troubleshooting: ### Question My kernel supports USB, I loaded all the correct modules but when I plug in the device, it does not appear in the output of lsusb, sispm_ctl does not work, the following output is added to the system log (output dmesg):
    usb 1-2: new low speed USB device using address 2
    usb 1-2: Product: Gembird Silver Shield PM
    usb 1-2: Manufacturer: Gembird Electronics
    drivers/usb/input/hid-core.c: couldn't find an input interrupt endpoint
    hid: probe of 1-2:1.0 failed with error -5
### (possible) Solution: This may happen if you have not mounted usbfs. Try "mount usbfs" as root. This could possibly fix your problem. (Thanks to Martin Koniczek for pointing this out to me). ## Contact Send questions, bugreports, remarks to nuessle AT uni-mannheim.de Last modified: 02.05.05
|  | # Lectures WS Rechnerarchitektur II Semicustom Designflow Seminar SS Rechnerarchitektur I Hardwareentwurf und Simulation Praktikum Messtechnik Seminar Hardwareentwurf u. Optik # Contact Universität Mannheim LS Rechnerarchitektur Prof. Dr. U. Brüning B6, 26, Building B (3rd floor) 68131 Mannheim Fon: +49 (0) 621 - 181 2723 Fax: +49 (0) 621 - 181 2713 Email: office@mufasa.informatik.uni-mannheim.de |