summaryrefslogtreecommitdiff
path: root/kvmd/plugins/ugpio
AgeCommit message (Collapse)Author
2022-08-17add the ability to use command exit status as a gpio state in ugpio/cmd (#112)Dylan M. Kozicki
2022-08-07simplified AioNotifier()Maxim Devaev
2022-08-05shielded some tasksMaxim Devaev
2022-07-21refactoringMaxim Devaev
2022-07-21Support for driving TESmart KVMs by RS-232 (#89)Marcin Mikołajczak
* Fixed TESmart name casing * Support for driving TESmart KVMs by RS-232 * Restored 0-based pin numbering
2022-06-19improved subprocess cmd loggingMaxim Devaev
2022-04-16locator pluginMaxim Devaev
2022-04-12removed unnecessary proc.returncodeMaxim Devaev
2022-04-02otgconf gpio pluginMaxim Devaev
2022-03-31refactoringMaxim Devaev
2022-03-31get rid of otgbind's cleanup and fixed hid for thisMaxim Devaev
2022-03-31simplified find_udc()Maxim Devaev
2022-03-30improved otgbindMaxim Devaev
2022-01-24refactoringMaxim Devaev
2022-01-24refactoringMaxim Devaev
2022-01-24PWAY plugin fix: Normalize pin/channel index to 0-based (#78)Kenny Younger
* PWAY plugin fix: Normalize pin/channel index to 1-based * Normalize to 0-based instead
2022-01-07copyright bumpMaxim Devaev
2021-11-21pway fixesMaxim Devaev
2021-11-21PWAY 16-port SH1601A Driver (#67)SpookHCK
* pway 16-port SH1601A driver Minimum viable driver. * Update to pWay 16-port driver * Rename kvmd/pway.py to plugins/ugpio/pway.py Fixed file mods * Delete pway.py * Update pway.py Fixed file changes to only one... * fixed spaces on line 181
2021-10-24prefix for log_process()Maxim Devaev
2021-10-24pikvm/pikvm#457: custom commands driverMaxim Devaev
2021-10-03xk-hk4401: fixed regexpMaxim Devaev
2021-10-02style fixMaxim Devaev
2021-10-02style fixesMaxim Devaev
2021-10-01Added driver for xh_hk4401 4 port HDMI/USB KVM (#69)Sebastian Goscik
* Added driver for xh_hk4401 4 port HDMI/USB KVM * Removed trailing whitespace * Changed xh_hk4401 channel numbers Used 0-3 to match other KVM plugins instead of the 1-4 numbering the KVM uses.
2021-09-26don't pulse ipmi gpioMaxim Devaev
2021-09-24refactoringMaxim Devaev
2021-09-16kvmd/kvmd#62: alternative implementationMaxim Devaev
2021-09-08small rebrandingMaxim Devaev
2021-09-08improved pins validationMaxim Devaev
2021-09-08fixMaxim Devaev
2021-09-08string pinsMaxim Devaev
2021-09-07refactoringMaxim Devaev
2021-08-28unified udc code and automatic driver detectionMaxim Devaev
2021-08-15minor servo fixesMaxim Devaev
2021-08-15Implement servo angles (#58)Shantur Rathore
/etc/kvmd/override.yaml ``` kvmd: gpio: drivers: servo1: type: servo chip: 0 # PWM Chip Number period: 20000000 # Servo Motor SG90 Period in nano-seconds duty_cycle_min: 350000 # Servo Motor SG90 duty_cycle for -90 degrees duty_cycle_max: 2350000 # Servo Motor SG90 duty_cycle for +90 degrees angle_max: 90 # Servo Motor SG90 angle at duty_cycle_max angle_min: -90 # Servo Motor SG90 angle at duty_cycle_min angle_push: 45 # Servo Motor SG90 angle to push button angle_release: 20 # Servo Motor SG90 angle to release button scheme: short_press: driver: servo1 pin: 0 # Pin number is the PWM channel number on the PWM Chip mode: output switch: false pulse: delay: 0.5 max_delay: 2 long_press: driver: servo1 pin: 0 # Pin number is the PWM channel number on the PWM Chip mode: output switch: false pulse: delay: 2 max_delay: 2 extra_long_press: driver: servo1 pin: 0 # Pin number is the PWM channel number on the PWM Chip mode: output switch: false pulse: delay: 10 max_delay: 20 view: header: title: Controls table: - ["#Servo - Short Press", "short_press|Press"] - ["#Servo - Long Press", "long_press|Press"] - ["#Servo - Extra Long Press", "extra_long_press|Press"] ```
2021-08-14servo templateMaxim Devaev
2021-08-14refactoringMaxim Devaev
2021-08-14Implement button push using servo motors controlled via pwm (#55)Shantur Rathore
1. Add to /boot/config.txt ``` dtoverlay=pwm ``` 2. Create /etc/udev/rules.d/99-kvmd-pwm.rules ``` SUBSYSTEM=="pwm*", ACTION=="add", RUN+="/bin/chgrp -R kvmd /sys%p", RUN+="/bin/chmod -R g=u /sys%p" SUBSYSTEM=="pwm*", ACTION=="change", ENV{TRIGGER}!="none", RUN+="/bin/chgrp -R kvmd /sys%p", RUN+="/bin/chmod -R g=u /sys%p" ``` 3. Connect Servo motor like SG90 PWM connection to RPi GPIO18, +5V and GND to a 5V and GND pin on header 4. Add to /etc/kvmd/override.yaml ``` kvmd: gpio: drivers: servo1: type: pwm pwm_chip: 0 # PWM Chip Number pwm_period: 20000000 # Servo Motor SG90 Period in nano-seconds duty_cycle_push: 1500000 # Servo Motor SG90 duty_cycle for pushing button duty_cycle_release: 1000000 # Servo Motor SG90 duty_cycle for releasing button scheme: short_press: driver: servo1 pin: 0 # Pin number is the PWM channel number on the PWM Chip mode: output switch: false pulse: delay: 0.5 max_delay: 2 long_press: driver: servo1 pin: 0 # Pin number is the PWM channel number on the PWM Chip mode: output switch: false pulse: delay: 2 max_delay: 2 extra_long_press: driver: servo1 pin: 0 # Pin number is the PWM channel number on the PWM Chip mode: output switch: false pulse: delay: 10 max_delay: 20 view: header: title: Controls table: - ["#Servo - Short Press", "short_press|Press"] - ["#Servo - Long Press", "long_press|Press"] - ["#Servo - Extra Long Press", "extra_long_press|Press"] ```
2021-07-23refactoringMaxim Devaev
2021-07-23fixed process waitingMaxim Devaev
2021-07-17moved wol to gpioDevaev Maxim
2021-05-19tesmart state_poll=10Devaev Maxim
2021-05-18async timeoutsDevaev Maxim
2021-05-18fix socket timeout/zero based issues in tesmart (#49)David Shay
2021-05-16tesmart: check channel after switchingDevaev Maxim
2021-05-16tesmart rewriteDevaev Maxim
2021-05-14Plugin support for TESMART switch - tesmart.py (#47)David Shay
2021-05-09new protocol for ezcoo usb3Devaev Maxim
2021-04-09refactoringDevaev Maxim