mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
深度适配私家云二代
This commit is contained in:
38
src/image/cumebox2/config.json
Executable file
38
src/image/cumebox2/config.json
Executable file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"seting":{
|
||||
"pixel":12864,
|
||||
"dev":"/dev/i2c-0",
|
||||
"addr":60
|
||||
},
|
||||
"draw1":{
|
||||
"seting":{
|
||||
"cycle":5,"time":40,"page":1
|
||||
},
|
||||
"display":[
|
||||
{"type":"r_rect","x0":2,"y0":2,"w":124,"h":60,"r":30,"fill":0,"color":1,"en":1},
|
||||
{"type":"str","data":"One-KVM","x0":23,"y0":9,"size":2,"color":1,"en":1}
|
||||
,
|
||||
{"type":"str","data":"CumeBox","x0":20,"y0":33,"size":2,"color":1,"en":1}
|
||||
]
|
||||
},
|
||||
"Temp":{
|
||||
"seting":{
|
||||
"cycle":5,"time":20,"page":2
|
||||
},
|
||||
"display":[
|
||||
{"type":"str","data":"Temp","x0":30,"y0":4,"size":3,"color":2,"en":1},
|
||||
{"type":"str","data":"'C","x0":90,"y0":36,"size":2,"color":2,"en":1},
|
||||
{"type":"base","func":2,"x0":30,"y0":36,"base":4,"class":0,"size":2,"color":1,"en":1}
|
||||
|
||||
]
|
||||
},
|
||||
|
||||
"IP":{
|
||||
"seting":{
|
||||
"cycle":5,"time":20,"page":3
|
||||
},
|
||||
"display":[
|
||||
{"type":"base","func":4,"x0":0,"y0":0,"port":"end0","base":15,"size":2,"color":1,"en":1}
|
||||
,
|
||||
{"type":"base","func":4,"x0":0,"y0":28,"port":"wlan0","base":15,"size":2,"color":1,"en":1}
|
||||
]
|
||||
8
src/image/cumebox2/rc.local
Executable file
8
src/image/cumebox2/rc.local
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
echo 4500 > /sys/class/hwmon/hwmon0/fan1_target
|
||||
echo 0 > /sys/class/leds/red/brightness
|
||||
echo 0 > /sys/class/leds/blue/brightness
|
||||
echo 1 > /sys/class/leds/green/brightness
|
||||
#https://github.com/bearcatl/SSD1306_OLED_json
|
||||
nohup /usr/bin/ssd > /var/log/ssd.log 2>&1 &
|
||||
exit 0
|
||||
BIN
src/image/cumebox2/ssd
Executable file
BIN
src/image/cumebox2/ssd
Executable file
Binary file not shown.
BIN
src/image/cumebox2/v-fix.dtb
Normal file
BIN
src/image/cumebox2/v-fix.dtb
Normal file
Binary file not shown.
BIN
src/image/onecloud/AmlImg_v0.3.1_linux_amd64
Executable file
BIN
src/image/onecloud/AmlImg_v0.3.1_linux_amd64
Executable file
Binary file not shown.
4
src/image/onecloud/rc.local
Executable file
4
src/image/onecloud/rc.local
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
green_on
|
||||
echo device > /sys/class/usb_role/c9040000.usb-role-switch/role
|
||||
exit 0
|
||||
Reference in New Issue
Block a user