-
-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow for other user than "pi" #81
Comments
Agree that this should be tied to the hostname configured in the edited "inventory" file. I might tinker around to change this and put up a PR when I have a bit more time, but I think the fix idea would be
Short-term solution EDIT: The above is not sufficient. The systemd services will be pointing to incorrect locations. Hase-berlin's approach of symlinking is a better solution
These are called during the boot by systemd - see the systemd unit file piwebcam.service at In addition to the symlinking, the service unit file must have its user and group modified
Change the username and group
Note these are set up during the clone of https://github.com/geerlingguy/uvc-gadget (Note no success yet, so this may be a path it is very tricky to go down - but the errors I'm seeing look like device errors as opposed to user errors, so that's progress) |
Hello, I'm replying to this issue because it's likely linked to mine : I could follow the instructions only on Bullseye successfully, but when connected to my laptop, nothing happened. So I connected the RPi4B back to a monitor : it boots, but there's no scripts running, absolutely nothing. I'm a noob in the RPi world, could you tell me what's going on ? Okay, I've tried to follow all of your tips but as Nbaldy said : "no success yet". When connected to my laptop, I get the following errors with dmesg -w command : [24061.017260] usb 2-1: new high-speed USB device number 14 using xhci_hcd The two last lines are a first since days, I never saw them before |
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution! Please read this blog post to see the reasons why I mark issues as stale. |
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details. |
The Rasbi-Imager propts for username and password to be baked into the written image. This user then replaces the traditional "pi" user.
When using this, it seems to interfere with the playbook: on a Zero (PiOS Buster 32bit, so as "legacy" as it comes :-)) this results in the playbook terminating.
The simple fix of symlinking /home/pi to /home/hase made the playbook run through just fine.
But the resulting image does not enumerate on USB as the camera (instead it enumerates as Vendor 0000, Device 0002, clearly somethig uninitialized).
I am trying to find out, where in the boot process the multi-gadget.sh and picam shell scripts should be called: it seems that in my broken installation they never are executed at all, leaving the usb gadget functionality disabled.
Manually calling the multi-gadget.sh from command lime makes the Zero enumerate as a USB-Video-Class, but does not work as a camera (maybe again something not called?)
I think I have to reverse-enginner this stuff to learn, what part of the setup does what and what gets called when.
Or maybe watch an instructive Youtube video by that Geerling guy about this?
The text was updated successfully, but these errors were encountered: