Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PSM is Enabled by default which shutsdown the modem #46

Open
akankshaashwini opened this issue Aug 5, 2019 · 2 comments
Open

PSM is Enabled by default which shutsdown the modem #46

akankshaashwini opened this issue Aug 5, 2019 · 2 comments

Comments

@akankshaashwini
Copy link

akankshaashwini commented Aug 5, 2019

With MCU version 002.011 PSM is enabled by default which shutsdown the modem after ~40 minutes:
root@swi-mdm9x28-wp:/data/psm# cat ./psm_nv_backup.txt
PSM_ENABLED=1
PSM_THRESHOLD=60
PSM_OOS_DURATION=86400
PSM_RANDOMIZATION_WINDOW=5
PSM_PERIODIC_TAU_TIMER=11520
PSM_PERIODIC_TAU_RCVD_TIME=2936
PSM_APP_ACTIVE_TIME=0
PSM_BOOTUP_DELAY=3

Logs from the console:
Aug 5 15:42:41 swi-mdm9x28-wp user.warn kernel: [ 2933.713140] PSM: Supported: 1
Aug 5 15:42:41 swi-mdm9x28-wp user.warn kernel: [ 2933.713298] PSM: Auto ready rcvd, tau timer: 11520
Aug 5 15:42:41 swi-mdm9x28-wp user.warn kernel: [ 2933.713620] PSM: backup_nv_path /data/psm/psm_nv_backup.txt
Aug 5 15:42:41 swi-mdm9x28-wp user.warn kernel: [ 2933.726941] PSM: Sent enter req. Waiting for modem Complete indication.
Aug 5 15:42:41 swi-mdm9x28-wp user.warn kernel: [ 2933.986883] PSM: Supported: 1
Aug 5 15:42:41 swi-mdm9x28-wp user.warn kernel: [ 2933.986993] PSM: Ready for shutdown


Checked with a previous MCU version 002.009 and found it to be disabled:
root@swi-mdm9x28-wp:~# cat /data/psm/psm_nv_backup.txt
PSM_ENABLED=0
PSM_THRESHOLD=0
PSM_OOS_DURATION=0
PSM_RANDOMIZATION_WINDOW=0
PSM_PERIODIC_TAU_TIMER=0
PSM_PERIODIC_TAU_RCVD_TIME=0
PSM_APP_ACTIVE_TIME=0
PSM_BOOTUP_DELAY=-1

@Redferne
Copy link

It is possible to disable PSM directly on the modem using:

root@swi-mdm9x28-wp:~# microcom /dev/ttyAT
at+cpsms=0
OK

Exit microcom by CTRL+a and then CTRL+x

@vondraussen
Copy link

Good point, we could probably reconfigure it via AT. However we need PSM, so deactivating it wouldn't help us much.
We're switching back to 19.02. which works for us.

It's still an issue that it is activated by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants