Maxim Devaev
|
2db0656df3
|
unified udc code and automatic driver detection
|
2021-08-28 19:01:13 +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 |
|
Devaev Maxim
|
19a68887e4
|
janus runner draft
|
2021-05-24 05:08:53 +03:00 |
|
Devaev Maxim
|
5eb0d71cfd
|
dynamic import
|
2021-05-16 23:47:16 +03:00 |
|
Devaev Maxim
|
bbf6529510
|
janus stubs
|
2021-05-14 05:48:49 +03:00 |
|
Devaev Maxim
|
1ca341069d
|
ipmi gpio driver uses ipmitool
|
2021-04-09 06:20:51 +03:00 |
|
Devaev Maxim
|
99a6e1644a
|
npm workaround
|
2021-03-07 15:32:24 +03:00 |
|
Devaev Maxim
|
36e3013f18
|
fixed Makefile for vnc ssl
|
2021-02-15 05:51:42 +03:00 |
|
Devaev Maxim
|
13057e7d48
|
using archlinux/archlinux:base-devel
|
2021-01-25 12:19:38 +03:00 |
|
Devaev Maxim
|
573d622a44
|
systemd-tmpfiles hangs
|
2021-01-24 12:20:59 +03:00 |
|
Devaev Maxim
|
ebe40697a5
|
sink source for vnc
|
2021-01-22 04:26:04 +03:00 |
|
Devaev Maxim
|
ada307c624
|
fixed missing package
|
2020-10-17 19:10:22 +03:00 |
|
Devaev Maxim
|
751305828e
|
use packages from the repo
|
2020-10-17 02:32:06 +03:00 |
|
Devaev Maxim
|
fd008fcda1
|
new attempt
|
2020-10-16 18:01:08 +03:00 |
|
Devaev Maxim
|
0e069de389
|
attempt to fix github actions
|
2020-10-16 17:01:00 +03:00 |
|
Devaev Maxim
|
6f75496550
|
libgpiod initials
|
2020-09-12 15:37:51 +03:00 |
|
Devaev Maxim
|
b377123e48
|
hid relay driver
|
2020-09-09 10:00:08 +03:00 |
|
Devaev Maxim
|
78c9cd3d4f
|
removed loop msd
|
2020-08-21 01:38:55 +03:00 |
|
Devaev Maxim
|
9b3e113772
|
pug
|
2020-07-14 12:28:57 +03:00 |
|
Devaev Maxim
|
53eb74670d
|
hw monitoring
|
2020-07-09 05:13:03 +03:00 |
|
Devaev Maxim
|
8abe4b1ac9
|
v2 testing
|
2019-11-07 06:42:48 +03:00 |
|
Devaev Maxim
|
74449c81ad
|
set --process-name-prefix
|
2019-10-11 23:43:59 +03:00 |
|
Devaev Maxim
|
e97a2ea251
|
otg service and helper
|
2019-09-24 05:50:21 +03:00 |
|
Devaev Maxim
|
d55a8b1bd1
|
changed upstream url
|
2019-09-01 22:52:55 +03:00 |
|
Devaev Maxim
|
47d7e4f234
|
don't use packer-kit
|
2019-08-23 12:29:04 +03:00 |
|
Devaev Maxim
|
7b98777ed0
|
USTREAMER_MIN_VERSION
|
2019-07-15 03:28:19 +03:00 |
|
Devaev Maxim
|
ad97aecaf4
|
new ustreamer and fps max
|
2019-07-13 04:52:19 +03:00 |
|
Devaev Maxim
|
18fa69b779
|
improved users/groups
|
2019-05-10 14:36:28 +03:00 |
|
Devaev Maxim
|
def5346b4b
|
using unix sockets
|
2019-05-09 20:52:15 +03:00 |
|
Devaev Maxim
|
9f78c7e637
|
fixed make run
|
2019-04-16 00:33:24 +03:00 |
|
Devaev Maxim
|
cb56aeea0a
|
build fixes
|
2019-04-13 22:06:28 +03:00 |
|
Devaev Maxim
|
38445f2a95
|
updated docker image
|
2019-04-13 07:57:02 +03:00 |
|
Devaev Maxim
|
0c82937d3c
|
refactoring
|
2019-04-13 06:18:33 +03:00 |
|
Devaev Maxim
|
1d75b738a0
|
validators, tests
|
2019-04-06 08:04:26 +03:00 |
|
Devaev Maxim
|
68f28c69f3
|
actualized dockerfile
|
2019-03-27 06:48:48 +03:00 |
|
Devaev Maxim
|
cca04b10e0
|
package fixes
|
2019-02-17 05:38:15 +03:00 |
|
Devaev Maxim
|
3c33bd3719
|
own auth
|
2018-12-15 04:29:40 +03:00 |
|
Devaev Maxim
|
9762c82d0a
|
moved lua crutch to kvmd
|
2018-11-18 08:11:18 +03:00 |
|
Devaev Maxim
|
cd6e490d0f
|
moved tox to testenv
|
2018-11-16 09:25:39 +03:00 |
|
Devaev Maxim
|
72003095b3
|
/extensions using lua
|
2018-11-12 04:03:21 +03:00 |
|
Devaev Maxim
|
ab342111d0
|
log interface
|
2018-10-28 07:03:14 +03:00 |
|
Devaev Maxim
|
054f8e44db
|
some fixes for ustreamer
|
2018-09-28 06:13:38 +03:00 |
|
Devaev Maxim
|
81a5311349
|
moved kvmd to the root
|
2018-09-26 02:57:24 +03:00 |
|