This commit is contained in:
parent
e8915923f1
commit
f33002f67e
3 changed files with 44 additions and 6 deletions
13
.woodpecker/woodpecker.yml
Normal file
13
.woodpecker/woodpecker.yml
Normal 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
|
12
Makefile
12
Makefile
|
@ -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
25
README.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# argb controls for 048d:5711 Integrated Technology Express, Inc. GIGABYTE Device
|
||||
|
||||
|
||||
 [](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
|
Loading…
Reference in a new issue