1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Update to 0.0.40

Also, explain how to configure USB for qmk flash.
This commit is contained in:
Mateusz Piotrowski 2021-03-02 22:20:45 +00:00
parent 8330f27251
commit 27a0951fe3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=566996
3 changed files with 31 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= qmk
PORTVERSION= 0.0.39
PORTVERSION= 0.0.40
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1613584355
SHA256 (qmk-0.0.39.tar.gz) = 21532ca4daa40c01f0727a162f9b67e5cd070cacfc636739b87460065a5f1863
SIZE (qmk-0.0.39.tar.gz) = 9457
TIMESTAMP = 1614722022
SHA256 (qmk-0.0.40.tar.gz) = b4c051d2cb922dda1561069d7d98e9300071d37a27d96610cc5cc703eccb5d06
SIZE (qmk-0.0.40.tar.gz) = 10474

View File

@ -1,13 +1,39 @@
[
{ type: install
message: <<EOM
Setup
=====
Before finishing the setup of QMK by running `qmk setup`, it is advised to
install the python3 package first:
pkg install python3
# pkg install python3
The reason for this is that the qmk_firmware scripts which are downloaded
during the setup expect python3 to be installed (instead of %%PYTHON_CMD%%).
Granting Write Permissions to USB Controllers
=============================================
Flashing images to controllers as a non-root user requires
some additional setup:
1. Add the user to the "operator" group:
# pw groupmod operator -m piotr
2. Add the following ruleset to /etc/devfs.rules:
[qmk=10]
add path 'ttyU*' mode 0660 group operator
3. Enable "qmk" ruleset:
# sysrc devfs_system_ruleset+="qmk"
4. Restart the devfs service to load the new rules:
# service devfs restart
EOM
}
]