Comments (17)
Thanks, testing it now.
from raspberrypi-ua-netinst.
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.
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.
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.
Im using an eglfs Qt 5.7 app and without this vchiq rule the app wouldn't start.
from raspberrypi-ua-netinst.
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.
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.
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.
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.
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.
@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.
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.
@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.
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.
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.
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.
@FooDeas awesome it worked! And you were right, the vchiq rule isn't needed any longer.
from raspberrypi-ua-netinst.
Related Issues (20)
- Doesn't boot reliably on RPi 4B HOT 4
- Adapt the install script for Raspi4 USB mass storage boot, and regenerate the image HOT 1
- Kernel 5.10 issues HOT 1
- Installation works, reinstallation doesn't
- buildroot.sh ends in :(stdin) HOT 1
- Booting release 2.4.0+ (caf7423) on RPi 3B+ using WiFi fails HOT 2
- Build ceases and reboot before post-install.txt executes HOT 1
- cp: cannot stat 'tmp/lib/modules/5.10.17- HOT 6
- Reproducible Installs HOT 3
- Replace existing system HOT 3
- apt list --installed reports testing HOT 3
- How to enable Bluetooth HOT 4
- Selecting a specific version of kernel HOT 1
- Raspbian bullseye - Installation fails "Iek!" HOT 6
- Please add support for bullseye HOT 5
- Raspberry pi Zero 2 W support HOT 3
- Bookworm support HOT 6
- Configuration to disable root HOT 4
- build.sh continues even if cpio command fails
- Use genimage for rootless image generation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raspberrypi-ua-netinst.