net-misc/eg25-manager: Version Bump
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Gerben Jan Dijkman <gjdijkman@gjdwebserver.nl>
This commit is contained in:
parent
20e17ce7b9
commit
9ae596b651
@ -1 +1 @@
|
||||
DIST eg25-manager-0.4.1.tar.gz 48735 BLAKE2B 1bd95e796cf2f812a106367cda2c8934c01258fc6c3084ab19df28c5b7f91c850eeaa78812ee49ac0b6d3650b2168066800d9f19797b913b31ce06c5a05b9887 SHA512 6007dbee125fbc484299859bdefd9b0b515b45db99d00c2634eea8545ca3b9eea90e7334847e3982c1d4126ba0900d49aeb33ba3f5c964bed0354e8197316695
|
||||
DIST eg25-manager-0.4.2.tar.gz 51795 BLAKE2B 07693661dca36aea4668fb0918f992df9f5df6de33f79b9d8bbd1744770684fe01a22bfde1e5b4cc35c8512a01a238ee2bb6f6da6b5822faac26ebeb13498fae SHA512 ae2e812b7659a4585fd012df0dec47451d18ae447d1d810b03875318e0a9eb3a4271dddbf42e28820c1d0153cc199f8310c794873528d9b98d03b944e54a09ba
|
||||
|
@ -5,7 +5,7 @@ EAPI=7
|
||||
|
||||
inherit meson systemd
|
||||
|
||||
COMMIT="c11f68f40212981e82cdbc09cff005bc02670705"
|
||||
COMMIT="a91bc71e23e5a8d5e17b32bb5fa8f3691251dfeb"
|
||||
|
||||
DESCRIPTION="Daemon for managing the Quectel EG25 modem"
|
||||
HOMEPAGE="https://gitlab.com/mobian1/devices/eg25-manager"
|
||||
@ -30,6 +30,7 @@ src_install() {
|
||||
newins "${FILESDIR}"/eg25-pinephone-1.0.toml pine64,pinephone-1.0.toml
|
||||
newins "${FILESDIR}"/eg25-pinephone-1.1.toml pine64,pinephone-1.1.toml
|
||||
newins "${FILESDIR}"/eg25-pinephone-1.2.toml pine64,pinephone-1.2.toml
|
||||
newins "${FILESDIR}"/eg25-pinephone-pro.toml pine64,pinephone-pro.toml
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
97
net-misc/eg25-manager/files/eg25-pinephone-pro.toml
Normal file
97
net-misc/eg25-manager/files/eg25-pinephone-pro.toml
Normal file
@ -0,0 +1,97 @@
|
||||
[manager]
|
||||
# Delay between setting GPIO and PWRKEY sequence, set in microseconds
|
||||
poweron_delay = 100000
|
||||
|
||||
# Uncomment the following if you need to change the modem detection timeout on
|
||||
# resume and/or the time during which suspend is blocked after modem boot
|
||||
#[suspend]
|
||||
#boot_timeout = 120
|
||||
#recovery_timeout = 9
|
||||
|
||||
[gpio]
|
||||
chips = [ "gpio0", "gpio3" ]
|
||||
dtr = { chip = 0, line = 3 }
|
||||
pwrkey = { chip = 0, line = 13 }
|
||||
reset = { chip = 1, line = 8 }
|
||||
apready = { chip = 0, line = 12 }
|
||||
disable = { chip = 0, line = 8 }
|
||||
status = { chip = 1, line = 6 }
|
||||
|
||||
[at]
|
||||
uart = "/dev/ttyS3"
|
||||
configure = [
|
||||
# Each command has 4 possible elements:
|
||||
# * `cmd` : the AT command itself, which will be translated to "AT+`cmd`"
|
||||
# * `subcmd`: the subcommand in case a single AT command can be used
|
||||
# to change multiple parameters, such as QCFG (optional)
|
||||
# * `value` : the commands, argument, usually used to set the value of
|
||||
# a specific parameter (optional)
|
||||
# * `expect`: the expected return value; the command is first executed
|
||||
# without any value in order to query the current state. This
|
||||
# state is then compared to the `expect` string; if they don't
|
||||
# match, the command is then executed with value `expect` in
|
||||
# order to set the parameter to the configured value (optional)
|
||||
# A command can have `expect` OR `value` configured, but it shouldn't have both
|
||||
# Print software version
|
||||
{ cmd = "QGMR" },
|
||||
# Configure audio
|
||||
{ cmd = "QDAI", expect = "3,0,0,4,0,0,1,1" },
|
||||
# RI signaling using physical RI pin
|
||||
{ cmd = "QCFG", subcmd = "risignaltype", expect = "\"physical\"" },
|
||||
# Enable VoLTE support
|
||||
{ cmd = "QCFG", subcmd = "ims", expect = "1" },
|
||||
# Enable APREADY for PP 1.2
|
||||
{ cmd = "QCFG", subcmd = "apready", expect = "1,0,500" },
|
||||
# URC configuration for PP 1.2 (APREADY pin connected):
|
||||
# * RING URC: normal pulse length
|
||||
# * Incoming SMS URC: default pulse length
|
||||
# * Other URC: default length
|
||||
# * Report URCs on all ports (serial and USB) for FOSS firmware
|
||||
# * Reporting of URCs without any delay
|
||||
# * Configure URC pin to UART Ring Indicator
|
||||
{ cmd = "QCFG", subcmd = "urc/ri/ring", expect = "\"pulse\",120,1000,5000,\"off\",1" },
|
||||
{ cmd = "QCFG", subcmd = "urc/ri/smsincoming", expect = "\"pulse\",120,1" },
|
||||
{ cmd = "QCFG", subcmd = "urc/ri/other", expect = "\"off\",1,1" },
|
||||
{ cmd = "QCFG", subcmd = "urc/delay", expect = "0" },
|
||||
{ cmd = "QCFG", subcmd = "urc/cache", expect = "0" },
|
||||
{ cmd = "QCFG", subcmd = "urc/ri/pin", expect = "uart_ri" },
|
||||
{ cmd = "QURCCFG", subcmd = "urcport", expect = "\"all\"" },
|
||||
# Allow sleeping for power saving
|
||||
{ cmd = "QSCLK", value = "1" },
|
||||
# GNSS configuration:
|
||||
# * Enable A-GPS data upload support (XTRA)
|
||||
# * Disable On-Demand-Positioning (ODP) mode
|
||||
# to avoid running the GNSS system in the background, even when not enabled.
|
||||
# * Enable Dynamic Power Optimizations (DPO) mode to turn off GNSS RF radios
|
||||
# when they are not in use.
|
||||
# * Only enable GPS and GLONASS, disable other GNSS systems.
|
||||
# A-GPS data upload doesn't work for Galileo anyway.
|
||||
# * Avoid turning on GNSS support automatically when the modem boots.
|
||||
{ cmd = "QGPSXTRA", expect = "1" },
|
||||
{ cmd = "QGPSCFG", subcmd = "gnssconfig", expect = "4" },
|
||||
{ cmd = "QGPSCFG", subcmd = "odpcontrol", expect = "0" },
|
||||
{ cmd = "QGPSCFG", subcmd = "dpoenable", expect = "1" },
|
||||
{ cmd = "QGPSCFG", subcmd = "gpsnmeatype", expect = "31" },
|
||||
{ cmd = "QGPSCFG", subcmd = "glonassnmeatype", expect = "7" },
|
||||
{ cmd = "QGPSCFG", subcmd = "galileonmeatype", expect = "0" },
|
||||
{ cmd = "QGPSCFG", subcmd = "beidounmeatype", expect = "0" },
|
||||
{ cmd = "QGPSCFG", subcmd = "autogps", expect = "0" },
|
||||
# Disable fast poweroff for stability
|
||||
{ cmd = "QCFG", subcmd = "fast/poweroff", expect = "0" },
|
||||
# Configure sleep and wake up pin levels to active low
|
||||
{ cmd = "QCFG", subcmd = "sleepind/level", expect = "0" },
|
||||
{ cmd = "QCFG", subcmd = "wakeupin/level", expect = "0,0" },
|
||||
# Do not enter RAMDUMP mode, auto-reset instead
|
||||
{ cmd = "QCFG", subcmd = "ApRstLevel", expect = "1" },
|
||||
{ cmd = "QCFG", subcmd = "ModemRstLevel", expect = "1" },
|
||||
]
|
||||
suspend = [
|
||||
]
|
||||
resume = [
|
||||
]
|
||||
reset = [ { cmd = "CFUN", value = "1,1" } ]
|
||||
|
||||
[gnss]
|
||||
enabled = true
|
||||
url = "https://xtrapath4.izatcloud.net"
|
||||
file = "xtra2.bin"
|
Loading…
Reference in New Issue
Block a user