514 Commits

Author SHA1 Message Date
Maxim Devaev
12bed58e6b using python 3.10 for pkg 2021-12-31 01:20:20 +03:00
Maxim Devaev
d3bb04f949 Bump version: 3.49 → 3.50 2021-11-28 08:40:39 +03:00
Maxim Devaev
1551f34bf6 Bump version: 3.48 → 3.49 2021-11-21 21:54:22 +03:00
Maxim Devaev
444603cbb2 Bump version: 3.47 → 3.48 2021-11-20 05:29:49 +03:00
Maxim Devaev
308e5c1779 Bump version: 3.46 → 3.47 2021-11-20 01:36:23 +03:00
Maxim Devaev
2e77917785 added zero 2 w support 2021-11-20 01:35:39 +03:00
Maxim Devaev
6f423cb7da Bump version: 3.45 → 3.46 2021-11-18 01:00:36 +03:00
Maxim Devaev
eb95257c60 Bump version: 3.44 → 3.45 2021-11-12 03:55:28 +03:00
Maxim Devaev
a3812dda69 renamed scripts directory 2021-11-12 03:53:04 +03:00
Maxim Devaev
8e60b84288 listen configs 2021-11-12 01:49:51 +03:00
Maxim Devaev
aa2de59ff5 Bump version: 3.43 → 3.44 2021-11-08 04:27:35 +03:00
Maxim Devaev
fde4539e36 pikvm/pikvm#73: run custom bootconfig scripts from /etc/kvmd/bootconfig.d 2021-11-08 04:25:29 +03:00
Maxim Devaev
6f56c40436 Bump version: 3.42 → 3.43 2021-11-08 01:33:05 +03:00
Maxim Devaev
b31dde20e0 move kvmd-udev-hdmiusb-check to the platform package 2021-11-08 01:32:23 +03:00
Maxim Devaev
39e2719b9b Bump version: 3.41 → 3.42 2021-11-07 16:09:13 +03:00
Maxim Devaev
6afe551cd4 display edid info after loading 2021-11-07 16:07:39 +03:00
Maxim Devaev
7d683aeccd Bump version: 3.40 → 3.41 2021-11-04 02:43:23 +03:00
Maxim Devaev
367048aff1 Bump version: 3.39 → 3.40 2021-10-30 12:54:03 +03:00
Maxim Devaev
9fb67e9777 Bump version: 3.38 → 3.39 2021-10-28 14:13:04 +03:00
Maxim Devaev
9f9d8a5347 Bump version: 3.37 → 3.38 2021-10-28 01:24:28 +03:00
Maxim Devaev
ea896f7116 Bump version: 3.36 → 3.37 2021-10-27 18:20:19 +03:00
Maxim Devaev
940539f6f5 using override.d 2021-10-27 17:37:21 +03:00
Maxim Devaev
f01a29b80c Bump version: 3.35 → 3.36 2021-10-24 12:11:02 +03:00
Maxim Devaev
278b4b335c Bump version: 3.34 → 3.35 2021-10-23 11:34:25 +03:00
Maxim Devaev
d8d043679d Bump version: 3.33 → 3.34 2021-10-19 08:18:27 +03:00
Maxim Devaev
b20d201517 Bump version: 3.32 → 3.33 2021-10-19 04:34:56 +03:00
Maxim Devaev
db144eb775 kvmd-bootconfig prototype 2021-10-19 04:34:22 +03:00
Maxim Devaev
b4ca93dac1 Bump version: 3.31 → 3.32 2021-10-17 08:06:36 +03:00
Maxim Devaev
a4dbea4274 Bump version: 3.30 → 3.31 2021-10-16 04:31:21 +03:00
Maxim Devaev
7cee13d599 Bump version: 3.29 → 3.30 2021-10-14 08:04:21 +03:00
Maxim Devaev
ca0ba6cc86 Bump version: 3.28 → 3.29 2021-10-04 19:58:22 +03:00
Maxim Devaev
2641ef74f8 Bump version: 3.27 → 3.28 2021-10-04 19:16:59 +03:00
Maxim Devaev
b1b008f6e1 Bump version: 3.26 → 3.27 2021-10-03 01:57:12 +03:00
Maxim Devaev
67b67f6cbc Bump version: 3.25 → 3.26 2021-09-26 09:33:04 +03:00
Maxim Devaev
2a0ed6a92c Bump version: 3.24 → 3.25 2021-09-26 08:54:05 +03:00
Maxim Devaev
ae81fced3d Bump version: 3.23 → 3.24 2021-09-25 18:29:15 +03:00
Maxim Devaev
8f11fa3b91 small rebranding 2021-09-08 06:47:54 +03:00
Maxim Devaev
a6f869bbd5 Bump version: 3.22 → 3.23 2021-08-31 18:14:52 +03:00
Maxim Devaev
08dad87fea Bump version: 3.21 → 3.22 2021-08-27 00:14:45 +03:00
Shantur Rathore
9b4622b498
Remove wiringpi and use already included libgpiod (#59) 2021-08-25 17:37:27 +03:00
Maxim Devaev
9aadb78ebc fixed pillow dep 2021-08-22 14:52:22 +03:00
Maxim Devaev
214bce2d15 Bump version: 3.20 → 3.21 2021-08-21 18:57:26 +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
2fdbf0d5f4 Bump version: 3.17 → 3.18 2021-08-17 15:13:52 +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
ec5b194625 Bump version: 3.14 → 3.15 2021-08-14 03:38:03 +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