summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-14fixed win98 again on arduinoMaxim Devaev
2021-08-14Bump version: 3.15 → 3.16v3.16Maxim Devaev
2021-08-14fixed pikvm/pikvm#159: workaround for windows 98 absolute mouse bugMaxim Devaev
2021-08-14new sponsorMaxim Devaev
2021-08-14Bump version: 3.14 → 3.15v3.15Maxim 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-08-14new sponsorMaxim Devaev
2021-08-13bindSimpleSwitch()Maxim Devaev
2021-08-13save hid squash valueMaxim Devaev
2021-08-13new sponsorMaxim Devaev
2021-08-12refactoringMaxim Devaev
2021-08-11Bump version: 3.13 → 3.14v3.14Maxim Devaev
2021-08-11pikvm/pikvm#245: using sbin for some binariesMaxim Devaev
2021-08-10new sponsorMaxim Devaev
2021-08-08new sponsorMaxim Devaev
2021-08-06atx confirmationMaxim Devaev
2021-08-05new sponsorMaxim Devaev
2021-08-04new sponsorMaxim Devaev
2021-08-02Bump version: 3.12 → 3.13v3.13Maxim Devaev
2021-08-02new sponsorsMaxim Devaev
2021-08-02Bump version: 3.11 → 3.12v3.12Maxim Devaev
2021-08-02rngd fixMaxim Devaev
2021-08-02noteMaxim Devaev
2021-08-02fixMaxim Devaev
2021-08-01upload image by url in web uiMaxim Devaev
2021-08-01css fixMaxim Devaev
2021-08-01changed /msd/write_remote formatMaxim Devaev
2021-07-31dark background for pak textareaMaxim Devaev
2021-07-31improved input file stylingMaxim Devaev
2021-07-30new sponsorMaxim Devaev
2021-07-30send error in streaming responseMaxim Devaev
2021-07-30refactoringMaxim Devaev
2021-07-30new sponsorMaxim Devaev
2021-07-29removed max_power option, added todo about remote wakeupMaxim Devaev
2021-07-29input file css for future needsMaxim Devaev
2021-07-29more compact msd menuMaxim Devaev
2021-07-29refactoringMaxim Devaev
2021-07-28new sponsorsMaxim Devaev
2021-07-28refactoringMaxim Devaev
2021-07-28get rid of multipart in /msd/writeMaxim Devaev
2021-07-28show remote uploading fileMaxim Devaev
2021-07-28another msd js fixesMaxim Devaev
2021-07-28fixed el variableMaxim Devaev
2021-07-28refactoringMaxim Devaev
2021-07-28ui fixMaxim Devaev
2021-07-27/msd/write_remote handleMaxim Devaev
2021-07-27dockerignored hid libsMaxim Devaev
2021-07-27refactoringMaxim Devaev
2021-07-26fixed long shutdownMaxim Devaev