mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-09-14 04:14:40 +08:00
update 2026-08-04 10:00:48
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
[Hardware]
|
||||
GPIOModemPowerChip=gpiochip4
|
||||
GPIOModemPowerLine=18
|
||||
GPIOModemPowerActiveLow=0
|
||||
GPIOModemRFKillChip=gpiochip4
|
||||
GPIOModemRFKillLine=20
|
||||
GPIOModemRFKillActiveLow=1
|
||||
GPIOModemResetChip=gpiochip0
|
||||
GPIOModemResetLine=8
|
||||
GPIOModemResetActiveLow=0
|
||||
|
||||
[PowerManager]
|
||||
SerialDevice=/dev/ttyS0
|
||||
SerialBaud=115200
|
||||
AutoShutdownVoltageGeneral=0
|
||||
AutoShutdownVoltageLTE=0
|
||||
AutoShutdownVoltage5G=3600
|
||||
LEDHighVoltage=0
|
||||
LEDMediumVoltage=0
|
||||
LEDLowVoltage=0
|
||||
LEDWorkLowVoltage=0
|
||||
StartupVoltage=0
|
||||
ChargerLimitVoltage=0
|
||||
ChargerFastVoltage=0
|
||||
BatteryFullThreshold=4100
|
||||
BatteryDischargeTableNormal=4100;4040;3980;3920;3870;3820;3790;3770;3740;3680;3450
|
||||
BatteryDischargeTable5G=4050;3980;3930;3890;3850;3815;3780;3740;3700;3655;3610
|
||||
BatteryChargeTable=4100;4085;4067;4040;4003;3942;3880;3825;3780;3725;3600
|
||||
@@ -0,0 +1,24 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
|
||||
START=45
|
||||
STOP=89
|
||||
|
||||
start() {
|
||||
service_start /usr/bin/pcat-manager -D
|
||||
}
|
||||
|
||||
stop() {
|
||||
service_stop /usr/bin/pcat-manager
|
||||
}
|
||||
|
||||
restart() {
|
||||
killall -USR1 pcat-manager
|
||||
stop
|
||||
start
|
||||
}
|
||||
|
||||
shutdown() {
|
||||
touch /tmp/pcat-manager-shutdown.tmp
|
||||
stop
|
||||
rfkill block wwan 2>/dev/null || true
|
||||
}
|
||||
Reference in New Issue
Block a user