Giter Club home page Giter Club logo

Comments (17)

thijstriemstra avatar thijstriemstra commented on September 4, 2024 1

Thanks, testing it now.

from raspberrypi-ua-netinst.

thijstriemstra avatar thijstriemstra commented on September 4, 2024

I have another rule 92-local-vchiq-permissions.rules with contents:

SUBSYSTEM=="vchiq",GROUP="video",MODE="0660"

But maybe this is Qt-ish related and doesn't necessary need a new setting.

from raspberrypi-ua-netinst.

FooDeas avatar FooDeas commented on September 4, 2024

Why belongs the vchiq rule to gpio? As I know, it's only needed if a user application needs direct access to the GPU. Please give a short explanation.

from raspberrypi-ua-netinst.

thijstriemstra avatar thijstriemstra commented on September 4, 2024

No the 2nd comment is another udev rule i had to add but it's not related to gpio, no. Should i open a new ticket for that?

from raspberrypi-ua-netinst.

thijstriemstra avatar thijstriemstra commented on September 4, 2024

Im using an eglfs Qt 5.7 app and without this vchiq rule the app wouldn't start.

from raspberrypi-ua-netinst.

FooDeas avatar FooDeas commented on September 4, 2024

I did a bit research and I'm pretty sure, that the vchiq udev rule is redundant.
Group video is set already without the rule:
crw-rw---- 1 root video 248, 0 Aug 5 15:05 /dev/vchiq
So adding the user to the group video should be enough.

Try the new commit dbba3ba, which has the two new installer variables. Feel free to close this issue if it fits to your conception!

from raspberrypi-ua-netinst.

thijstriemstra avatar thijstriemstra commented on September 4, 2024

Here's the problem I ran into without the vchiq rule: https://raspberrypi.stackexchange.com/questions/19436/how-can-i-permanently-fix-dev-vchiq-permission-errors. I'll do a fresh install and see what happens without the rule. Thanks for all the enhancements!

from raspberrypi-ua-netinst.

FooDeas avatar FooDeas commented on September 4, 2024

That would be curious because the rule doesn't change anything in result. Permissions and owners keep absolutely the same.
Maybe this was changed during the last 2 years... I'm expecting your report.

from raspberrypi-ua-netinst.

FooDeas avatar FooDeas commented on September 4, 2024

I found a c/p-mistake which didn't add the user to the system groups correctly and belongs to this, too.
So please checkout to 39ea9e2.

from raspberrypi-ua-netinst.

thijstriemstra avatar thijstriemstra commented on September 4, 2024

ha @FooDeas I was about to report an error my build ends with "/etc/init.d/rcS: line 885: syntax error: bad substitution". There we go again..

from raspberrypi-ua-netinst.

thijstriemstra avatar thijstriemstra commented on September 4, 2024

@FooDeas it's failing again (on a different line) with etc/init.d/rcS: line 880: syntax error: bad substitution. My configuration is:

disable_root=1
username=foo
userpw=bar
usersysgroups=lpadmin,input
user_is_admin=1
timezone=Europe/Amsterdam
locales="en_US.UTF-8 nl_NL"
system_default_locale="en_US.UTF-8"
gpu_mem=512
sound_enable=1
camera_enable=1
camera_disable_led=1
usergpio=1
usergpu=1

from raspberrypi-ua-netinst.

FooDeas avatar FooDeas commented on September 4, 2024

I used bash instead of ash for testing my code. That has led me to the usage of the wrong syntax.
Did you try it again with the new commit 7712ae3? This should fix all the substitution issues.

from raspberrypi-ua-netinst.

thijstriemstra avatar thijstriemstra commented on September 4, 2024

@FooDeas just tried again and everything installed fine. Unfortunately it seems sudo is missing and I have no way to install other packages.

foo@bar:~$ sudo apt-get install nano
-bash: sudo: command not found
foo@bar:~$ apt-get install nano
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
foo@bar:~$ /sbin/s
setcap             shadowconfig       slattach           sulogin            swapoff            switch_root        
sfdisk             shutdown           start-stop-daemon  swaplabel          swapon             sysctl   

See my config in prev comment.

from raspberrypi-ua-netinst.

FooDeas avatar FooDeas commented on September 4, 2024

This was broken with 39ea9e2. 9fb81c6 should finally do the trick.
I'll add some code sanitation because inconsistencies (from base repository) this afternoon and fully test it before merging that to master branch.
Nevertheless, you could use 9fb81c6 because the sanitation doesn't change functionality.

from raspberrypi-ua-netinst.

thijstriemstra avatar thijstriemstra commented on September 4, 2024

Tried again but still no sudo. I saw that during installation the following message was printed: Can't find package libraspberrypi-bin for inclusion. Is this maybe the issue?

from raspberrypi-ua-netinst.

FooDeas avatar FooDeas commented on September 4, 2024

I fixed everything and tested it (bf797fa) successfully, using your config.

(Notice, that disabling root has changed in current master branch.)

from raspberrypi-ua-netinst.

thijstriemstra avatar thijstriemstra commented on September 4, 2024

@FooDeas awesome it worked! And you were right, the vchiq rule isn't needed any longer.

from raspberrypi-ua-netinst.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.