Permission denied when I am trying to change memory or GPU frequency on Odroid XU4

Post Reply
somdipdey
Posts: 4
Joined: Thu Jun 25, 2020 8:00 pm
languages_spoken: english
ODROIDs: Odroid XU3, Odroid XU4
Has thanked: 1 time
Been thanked: 0
Contact:

Permission denied when I am trying to change memory or GPU frequency on Odroid XU4

Post by somdipdey »

I am trying to change the frequency of memory and GPU by using the following commands:

Code: Select all

echo 177 > /sys/devices/11800000.mali/dvfs_max_lock 
[For GPU]

Code: Select all

echo 633000 > /sys/class/devfreq/exynos5-devfreq-mif/cur_freq
[For memory]

For both the commands I am getting Permission denied error as follows:
bash: /sys/devices/11800000.mali/dvfs_max_lock: Permission denied
bash: /sys/class/devfreq/exynos5-devfreq-mif/cur_freq: Permission denied
How can I change the frequency of memory and GPU using command line such as 'echo X > file_name' on Odroid XU4?

HisDudeness
Posts: 14
Joined: Mon May 30, 2016 7:10 pm
languages_spoken: English, Italian
ODROIDs: XU4, XU4Q
Has thanked: 10 times
Been thanked: 2 times
Contact:

Re: Permission denied when I am trying to change memory or GPU frequency on Odroid XU4

Post by HisDudeness »

Are you issuing those commands as super user? You must be root to write into system files, and the > will make sudo useless. Check you have # instead of $ in your bash prompt.

Switch to root on your terminal emulator or shell by issuing su command and providing your root password.
These users thanked the author HisDudeness for the post:
somdipdey (Fri Jun 26, 2020 6:42 am)
The Dude minds.

somdipdey
Posts: 4
Joined: Thu Jun 25, 2020 8:00 pm
languages_spoken: english
ODROIDs: Odroid XU3, Odroid XU4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Permission denied when I am trying to change memory or GPU frequency on Odroid XU4

Post by somdipdey »

HisDudeness wrote:
Fri Jun 26, 2020 12:11 am
Are you issuing those commands as super user? You must be root to write into system files, and the > will make sudo useless. Check you have # instead of $ in your bash prompt.

Switch to root on your terminal emulator or shell by issuing su command and providing your root password.
Thank you. This worked. Not sure, how I missed this one. Was an easy fix. :D

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 1 guest