I entered “AT!RIOWNER=1” and power off on WP7605.
Then, I checked gpioRI exported or not, using “ls /sys/class/gpio”.
Unfortunately, sometimes it does not exist gpioRI.
However, it returned “1”, when I entered “AT!RIOWNER?”.
Is it too fast power off after entering “AT!RIOWNER=1” to change controll core?
How long seconds must I wait for being changed it?
Sorry, i check again the AT command user guide, it says: “Reset required to apply changes: Yes (Changes take effect immediately, but a controlled reset
is required to make the change persistent.”
So i think you should do a power cycle to reset the wp76 module after entering the commnd.
After that, you can do the following:
echo RI > /sys/class/gpio/export
echo out > /sys/class/gpio/gpioRI/direction
After entering the commnd and resetting the wp76 module, “/sys/class/gpio/gpioRI” is exported automatically.
I think that it does’t need enter “echo RI > /sys/class/gpio/export”
Let’s go back to my question.
Unfortunately, sometimes it does not exist gpioRI.
Sholuld I enter “echo RI > /sys/class/gpio/export”?
Do you have any resolution to solve my problem certainly.
I understand gpioRI is exported after AT!RIOWNER=1 and "echo RI > /sys/class/gpio/export”.
In my experience, gpioRI is also exported after AT!RIOWNER=1 and resetting.
After resetting(power cycle), is it need to enter "echo RI > /sys/class/gpio/export”?
sometimes it does not exist gpioRI
Which documents or know‐how, the timing of gpioRI exported is written?
Please, let me check my goal.
I would like to use gpioRI certainly.
Therefore, I’ll do the followings.
①Enter “AT!RIOWNER=1”
②Check “1” returned, when I entered “AT!RIOWNER?”
③Do a power cycle. (AT!RESET or AT!POWERDOWN)
④After power-on, enter “echo RI > /sys/class/gpio/export”
⑤Check “gpioRI” existed, when I entered “ls /sys/class/gpio/”
Sorry, I modify that a little.
Please, check again.
①Enter “AT!RIOWNER=1”
②Check “1” returned, when I entered “AT!RIOWNER?”
③Enter “echo RI > /sys/class/gpio/export”
④Check “gpioRI” existed, when I entered “ls /sys/class/gpio/”
⑤Do a power cycle. (AT!RESET or AT!POWERDOWN)
⑥After power-on, enter “echo RI > /sys/class/gpio/export”
⑦Check “gpioRI” existed, when I entered “ls /sys/class/gpio/”
In this topic, the following ways sholud be needed.
Do a power cycle. (AT!RESET or AT!POWERDOWN)
After power-on, enter “echo RI > /sys/class/gpio/export”
Check “gpioRI” existed, when I entered “ls /sys/class/gpio/”
these are included in both ways.
The timing of gpioRI exported is not clear, so I will do the following ways before a power cycle to check it.
Enter “echo RI > /sys/class/gpio/export”
Check “gpioRI” existed, when I entered “ls /sys/class/gpio/”
Hi, jyijyi
Sorry for interrupt.
tanoue-san would like to know the specification of gpioRI exactly, because there is any behaviors either gpioRI was created automatically or not(need to execute “export”).
Q1;
I think they don’t need to execute “export” every power-on, because I guess the setting of gpioRI was saved in NV memory.
Is my understanding correct?
Q2:
Is gpioRI activated after power cycle?
Because of same as Q1.
how is your testing on that?
you can check whether there is gpioRI there after reboot.
But I remember there is no need to export actually, you can double check.
In my opinion, there is no harm to type such command even though that is already exported.