add readme
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Dmitry Isaenko 2025-01-24 01:58:51 +03:00
parent e8915923f1
commit f33002f67e
3 changed files with 44 additions and 6 deletions

View file

@ -0,0 +1,13 @@
steps:
- name: build-archieve
when:
event: [tag, push]
image: alpine:3
commands:
- echo "FIX ME"
- apk update && apk add libusb-dev make gcc musl-dev
- make
- mkdir -p /builds/argbColors
- cp bin/argbColors /builds/argbColors/
volumes:
- /home/www/builds:/builds

View file

@ -6,13 +6,13 @@ all: $(APP_NAME)
argbColors: ./src/$(APP_NAME).c
$(MKDIR_P) ./bin
$(CC) -std=c17 -I/usr/include/ ./src/$(APP_NAME).c -lusb -lusb-1.0 -o ./bin/$(APP_NAME)
$(CC) -std=c17 -I/usr/include/ ./src/$(APP_NAME).c -lusb-1.0 -o ./bin/$(APP_NAME)
clean:
rm -rf ./bin/*.o \
./bin/$(APP_NAME)
#install:
# install ./bin/$(APP_NAME) /usr/bin
#
#uninstall:
# rm /usr/bin/$(APP_NAME)
install:
install ./bin/$(APP_NAME) /usr/bin
uninstall:
rm /usr/bin/$(APP_NAME)

25
README.md Normal file
View file

@ -0,0 +1,25 @@
# argb controls for 048d:5711 Integrated Technology Express, Inc. GIGABYTE Device
![License](https://img.shields.io/badge/License-GPLv3-blue.svg) [![status-badge](https://ci.redrise.ru/api/badges/13/status.svg)](https://ci.redrise.ru/repos/13)
Reference hardware used: Z890 AORUS PRO ICE
### udev rules
To make application work once started by user, and not only from root:
```
# vim /etc/udev/rules.d/99-gigabyte.rules
SUBSYSTEM=="input", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="048d", ATTRS{idProduct}=="5711", MODE="0666"
# udevadm control --reload-rules && udevadm trigger
```
### License
GPLv3 or higher
### Research
See SPECIFICATION.md
This application is in no way affiliated with GIGABYTE, Integrated Technology Express or any of its partners