I'm trying to switch to the AMD gpu card on my laptop.
viewtopic.php?f=59&t=279363
I may have a solution with the help of roblm but I keep running into Permission denied.
steve@steve:~$ sudo echo ON > /sys/kernel/debug/vgaswitcheroo/switch
bash: /sys/kernel/debug/vgaswitcheroo/switch: Permission denied
steve@steve:~$
and
steve@steve:~$ sudo tee /sys/kernel/debug/vgaswitcheroo/switch <<< ON
[sudo] password for steve:
ON
steve@steve:~$ sudo echo DIS > /sys/kernel/debug/vgaswitcheroo/switch
bash: /sys/kernel/debug/vgaswitcheroo/switch: Permission denied
steve@steve:~$
How do I get permission?
(Solved) Permission denied
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
(Solved) Permission denied
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
If your query has been resolved, edit your first post and add [SOLVED] to the subject line.
If you found a solution on your own please post it.
A generation which ignores history has no past and no future.
If you found a solution on your own please post it.
A generation which ignores history has no past and no future.
Re: Permission denied
First try
If you want to use tee and not the root privileged terminal then
sudo -i
which will escalate to root privileges in the terminal then echo ON > /sys/kernel/debug/vgaswitcheroo/switch
If you want to use tee and not the root privileged terminal then
echo ON|sudo tee /sys/kernel/debug/vgaswitcheroo/switch
Re: Permission denied
Thank you WharfRat.
If your query has been resolved, edit your first post and add [SOLVED] to the subject line.
If you found a solution on your own please post it.
A generation which ignores history has no past and no future.
If you found a solution on your own please post it.
A generation which ignores history has no past and no future.