Friday 27 May 2016

1.How to restart subsystem in MSM(qualcomm)

Shows the restart level of a subsystem. The level is taken into account when the subsystem is restarted via
subsystem_restart{_dev}(). Current supported states are:

SYSTEM    - reset the entire system
RELATED    - reset this subsystem and the other subsystems related to this one. Having no other
          subsystems related to this subsystem is valid.

SSR
        
    a) how to get system name
    adb root
    adb shell cat /sys/bus/msm_subsys/devices/subsysX/name 
                     with X=0, 1, 2, 3 etc

    b) enable SSR
    echo related > /sys/bus/msm_subsys/devices/subsys1/restart_level
   
    c) disable SSR
    echo system > /sys/bus/msm_subsys/devices/subsys1/restart_level

2 comments:

  1. Hi Sir,
    Can you please help to get understand what is mean by Subsystem restart ?

    ReplyDelete
  2. In fact, you can see qualcomm document or kernel code.

    ReplyDelete