Skip to content
This repository has been archived by the owner on Mar 6, 2022. It is now read-only.

Execute 'sudo chmod u+s /opt/vc/bin/tvservice' does not work in Bullseye #123

Open
aegis1980 opened this issue Nov 14, 2021 · 6 comments
Open

Comments

@aegis1980
Copy link

aegis1980 commented Nov 14, 2021

In latest Raspberry Pi OS release (Bullseye) the following command from Installation in readme.md does not work:

  1. Execute sudo chmod u+s /opt/vc/bin/tvservice && sudo chmod u+s /bin/chvt to allow turning on/off the hdmi output.

You'll get the following error:

chmod: cannot access '/opt/vc/bin/tvservice': No such file or directory

note: sudo chmod u+s /bin/chvt executed separately still works ok.

@skippy-oz
Copy link

I think may found something when running tvservice I get the below error

tvservice is not supported when using the vc4-kms-v3d driver.
Similar features are available with standard linux tools
such as modetest from libdrm-tests.

@2wenty2wo
Copy link

I have the exact same issue, "no such file or directory".
Is there a fix/work-around for this?

Thank you.

@skippy-oz
Copy link

I downgraded to the latest version of buster I had an image for as Bulleye change the video driver and tvservice is not supported

@2wenty2wo
Copy link

I was really hoping I wouldn't have to do that. I only just finished setting up Bullseye.

@Gillemo
Copy link

Gillemo commented Dec 19, 2021

this module was created on buster, the latest version is bullseye.
In the buster version the tvservice file is located as shown: /opt/vc/bin/tvservice
however, on the bullseye version this file is here: /bin/tvservice

Thats why i can't find it.
you can recreate the same path and copy the file to "fool" the os.

cd /
cd opt
sudo mkdir vc
cd vc
sudo mkdir bin
`sudo cp /bin/tvservice /opt/vc/bin/'

Now is you should have created the same path.

@mike4192
Copy link

mike4192 commented Dec 27, 2021

I believe tvservice is no longer used by this module, and the instructions are outdated. If anything, the instructions I think should be replaced with:
Execute sudo chmod u+s /usr/bin/vcgencmd && sudo chmod u+s /bin/chvt

I opened a PR to address this (#126)

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

No branches or pull requests

5 participants