Maxim Devaev
c162bb7ea4
style fixes
2021-10-02 01:47:20 +03:00
Sebastian Goscik
2f92e95bf0
Added driver for xh_hk4401 4 port HDMI/USB KVM ( #69 )
...
* 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-10-01 15:25:43 +03:00
Maxim Devaev
67b67f6cbc
Bump version: 3.25 → 3.26
2021-09-26 09:33:04 +03:00
Maxim Devaev
51ed538415
renamed device to rtc
2021-09-26 09:31:54 +03:00
Maxim Devaev
2a0ed6a92c
Bump version: 3.24 → 3.25
2021-09-26 08:54:05 +03:00
Maxim Devaev
c585dfc483
parse yes/no/on/off as string
2021-09-26 08:51:37 +03:00
Maxim Devaev
89a0ec8cc8
don't pulse ipmi gpio
2021-09-26 04:00:06 +03:00
Maxim Devaev
ae81fced3d
Bump version: 3.23 → 3.24
2021-09-25 18:29:15 +03:00
Maxim Devaev
977c8a1ade
refactoring
2021-09-24 09:33:15 +03:00
Maxim Devaev
487476afe4
aioproc: use killpg() for SIGKILL
2021-09-24 04:47:11 +03:00
Maxim Devaev
ab92a2d708
rtc watchdog for v3
2021-09-23 17:12:15 +03:00
Maxim Devaev
701df3c76f
rewrited #65
2021-09-20 07:14:38 +03:00
Shantur Rathore
f160fb561f
Implement macro recording for gpio ( #65 )
2021-09-20 03:22:48 +03:00
Maxim Devaev
b6a59941c8
kvmd/kvmd#62 : alternative implementation
2021-09-16 09:45:10 +03:00
Maxim Devaev
8f11fa3b91
small rebranding
2021-09-08 06:47:54 +03:00
Maxim Devaev
ca812117e4
improved pins validation
2021-09-08 06:08:11 +03:00
Maxim Devaev
5d1228eb9e
fix
2021-09-08 06:04:52 +03:00
Maxim Devaev
4e478f968c
refactoring
2021-09-08 05:45:11 +03:00
Maxim Devaev
98ad1145a8
string pins
2021-09-08 05:43:36 +03:00
Maxim Devaev
939c63fe7d
fixed msg
2021-09-08 04:07:58 +03:00
Maxim Devaev
cc5b2a42b8
refactoring
2021-09-07 10:31:28 +03:00
Maxim Devaev
a6f869bbd5
Bump version: 3.22 → 3.23
2021-08-31 18:14:52 +03:00
Maxim Devaev
066a2a4625
configurable bcdUSB
2021-08-31 18:12:47 +03:00
Maxim Devaev
2db0656df3
unified udc code and automatic driver detection
2021-08-28 19:01:13 +03:00
Maxim Devaev
08dad87fea
Bump version: 3.21 → 3.22
2021-08-27 00:14:45 +03:00
Maxim Devaev
214bce2d15
Bump version: 3.20 → 3.21
2021-08-21 18:57:26 +03:00
Maxim Devaev
3c59bdcea3
improved otg messages
2021-08-21 18:55:44 +03:00
Maxim Devaev
52bf4a22a7
set wakeup_on_write as optional flag
2021-08-21 18:32:21 +03:00
Maxim Devaev
0a27176c5c
Bump version: 3.19 → 3.20
2021-08-21 12:48:22 +03:00
Maxim Devaev
6fe19c50a2
Bump version: 3.18 → 3.19
2021-08-21 12:22:50 +03:00
Maxim Devaev
1e7aac27b2
option to enable remote wakeup
2021-08-20 21:12:44 +03:00
Maxim Devaev
2fdbf0d5f4
Bump version: 3.17 → 3.18
2021-08-17 15:13:52 +03:00
Maxim Devaev
df098bd075
win95 runtime switching
2021-08-15 20:16:48 +03:00
Maxim Devaev
9afa6efbe4
Merge branch 'servo'
2021-08-15 10:27:18 +03:00
Maxim Devaev
a340fc6053
minor servo fixes
2021-08-15 10:26:13 +03:00
Shantur Rathore
c644a9f6e1
Implement servo angles ( #58 )
...
/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-15 10:15:53 +03:00
Maxim Devaev
541e57105d
Bump version: 3.16 → 3.17
2021-08-14 10:40:47 +03:00
Maxim Devaev
40c326ba08
Bump version: 3.15 → 3.16
2021-08-14 09:32:36 +03:00
Maxim Devaev
ed5952f13e
fixed pikvm/pikvm#159 : workaround for windows 98 absolute mouse bug
2021-08-14 09:29:12 +03:00
Maxim Devaev
ec5b194625
Bump version: 3.14 → 3.15
2021-08-14 03:38:03 +03:00
Maxim Devaev
c6c4592dfb
servo template
2021-08-14 03:08:28 +03:00
Maxim Devaev
7d89a54572
refactoring
2021-08-14 02:01:37 +03:00
Shantur Rathore
e4903c5184
Implement button push using servo motors controlled via pwm ( #55 )
...
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-14 01:14:22 +03:00
Maxim Devaev
68897c94ac
Bump version: 3.13 → 3.14
2021-08-11 17:11:28 +03:00
Maxim Devaev
647251647d
pikvm/pikvm#245 : using sbin for some binaries
2021-08-11 17:00:30 +03:00
Maxim Devaev
8732b1be1f
Bump version: 3.12 → 3.13
2021-08-02 23:50:22 +03:00
Maxim Devaev
fa4c173eb7
Bump version: 3.11 → 3.12
2021-08-02 23:43:26 +03:00
Maxim Devaev
d6fd2e3775
changed /msd/write_remote format
2021-08-01 09:26:54 +03:00
Maxim Devaev
4a1f51bc30
send error in streaming response
2021-07-30 07:30:22 +03:00
Maxim Devaev
7d7f4965de
refactoring
2021-07-30 06:53:09 +03:00