Go to advanced search

by incognitum
Wed Dec 01, 2021 11:45 am
Forum: Raspberry Pi Desktop for PC and Mac
Topic: PiServer Best Practices?
Replies: 2
Views: 169

Re: PiServer Best Practices?

Jon Witts has some information about his school's deployment on his blog: https://www.jonwitts.co.uk/archives/tag/piserver I am not sure if Piserver is the best choice for web hosting. Yes, it can be done with the Apache userdir stuff like in Jon's example (if you don't mind that users are able to a...
by incognitum
Mon Nov 29, 2021 5:49 pm
Forum: General discussion
Topic: SD Card Imaging Not Working
Replies: 11
Views: 414

Re: SD Card Imaging Not Working

Switched to rdisk. Seemed to move faster, yes, but the copy is still bad. I don't really understand how this works. Seems crazy that something digital like this can't just be duplicated exactly, byte-for-byte, and at least raise a flag if there's an error. May want to feed your image file to Imager...
by incognitum
Sat Nov 27, 2021 7:05 pm
Forum: Raspberry Pi OS
Topic: [SOLVED] Using Raspberry Pi Imager for writing OS image to NVMe
Replies: 11
Views: 295

Re: [SOLVED] Using Raspberry Pi Imager for writing OS image to NVMe

that one? https://github.com/raspberrypi/rpi-imager/commit/b42342d0ace8d6292b2a9c524b91c9e5a2339adf Yes. If building from source you currently do need to manually add: _initFormat = "auto"; Here: https://github.com/raspberrypi/rpi-imager/blob/qml/imagewriter.cpp#L203 (In the new version O...
by incognitum
Sat Nov 27, 2021 6:45 pm
Forum: Raspberry Pi OS
Topic: [SOLVED] Using Raspberry Pi Imager for writing OS image to NVMe
Replies: 11
Views: 295

Re: [SOLVED] Using Raspberry Pi Imager for writing OS image to NVMe

Conclusion: someone from RPT might give final insight on what is going on here and if that what I've reported is the 'intended behaviour'. I am afraid you are stuck with me instead. :) Anyway, there was indeed a problem when a password was needed on mounting (which is normally not the case when mou...
by incognitum
Sat Nov 27, 2021 2:46 pm
Forum: Raspberry Pi OS
Topic: [SOLVED] Using Raspberry Pi Imager for writing OS image to NVMe
Replies: 11
Views: 295

Re: [SOLVED] Using Raspberry Pi Imager for writing OS image to NVMe

Starting over (using gparted for deleting sectors on NVMe), this time I've selected to eject the drive when process is completed. Suspect that the second time it may have remembered that you already granted permission to mount the drive. If password is necessary, it may have already given up on the...
by incognitum
Sat Nov 27, 2021 1:21 pm
Forum: Raspberry Pi OS
Topic: [SOLVED] Using Raspberry Pi Imager for writing OS image to NVMe
Replies: 11
Views: 295

Re: Using Raspberry Pi Imager for writing OS image to NVMe

The boot partition was mounted, but tool says file config.txt does not exist, which is strange though. That's why I wanted to understand the process. Could be that it fails at detecting it is already mounted. It waits for 3 seconds first, testing if your Linux distribution mounts the partition auto...
by incognitum
Sat Nov 27, 2021 12:08 pm
Forum: Raspberry Pi OS
Topic: [SOLVED] Using Raspberry Pi Imager for writing OS image to NVMe
Replies: 11
Views: 295

Re: Using Raspberry Pi Imager for writing OS image to NVMe

If you open a terminal first, type "rpi-imager" there, and try again, does it output any debug information about being unable to mount the partition?
by incognitum
Wed Nov 17, 2021 4:11 pm
Forum: Troubleshooting
Topic: raspberry pi imager behind proxy
Replies: 4
Views: 151

Re: raspberry pi imager behind proxy

'Is it possible to set a proxy for "raspberry pi imager"?' Isn't that a responsibility of the (unspecified) Operating System on your workstation, not for an individual application? Recall OS proxy settings are currently not respected for the final image download. (At least not on Mac OS, ...
by incognitum
Tue Oct 26, 2021 2:22 pm
Forum: Teaching and learning resources
Topic: Advocacy of Cybersecurity
Replies: 13
Views: 3473

Re: Advocacy of Cybersecurity

ejolson wrote:
Wed Feb 03, 2021 5:27 pm
Have you ever heard a similar statement made by a cabinet minister in the UK or anywhere else in the West?
Government does have a vulnerability disclosure program here.
They are known to only hand out lousy t-shirts though.
by incognitum
Wed Oct 20, 2021 7:17 pm
Forum: Other
Topic: Buildroot on CM3+ pitfalls? Stuck during boot
Replies: 14
Views: 766

Re: Buildroot on CM3+ pitfalls? Stuck during boot

It lured me initially by looking so simple, just pick what you want in your image from menuconfig, build, and go, eh? Not quite ;) It is simple if you came from the "Linux from scratch" route. Not if you are used to full distributions. 8-) audit: type=1326 ... uid=1000 gid=1000 ... comm=&...
by incognitum
Fri Oct 15, 2021 8:53 pm
Forum: Compute Module
Topic: CM4 Mass Programming
Replies: 39
Views: 4109

Re: CM4 Mass Programming

Anyway, added some minimal API support in 1.1 available on github . == API endpoints: | GET | api/cms | | GET | api/firmware | | GET|POST | api/images | | GET|DELETE | api/images/{imageId} | | GET | api/labels | | GET | api/projects | | GET|PATCH | api/projects/{projectId} | | GET | api/projects/{pr...
by incognitum
Fri Oct 15, 2021 11:20 am
Forum: General discussion
Topic: Adjust RTC on Zebra printer USB connected
Replies: 3
Views: 305

Re: Adjust RTC on Zebra printer USB connected

Have not tried with a Zebra, but generally speaking you can simply save your raw commands to a text file, and then send them to a CUPS printer with:

Code: Select all

lpr -o raw your-text-file.txt
(Assuming printer is already in CUPS and set as default printer).
by incognitum
Fri Oct 15, 2021 10:35 am
Forum: Compute Module
Topic: CM4 Mass Programming
Replies: 39
Views: 4109

Re: CM4 Mass Programming

Sorry, didn't see your reply. In an ideal world there should be second optional API call to switch images. Basically, first API call to upload image, second API call to switch. At the very least, having the upload would streamline things immensely. Currently when we release new firmware we have to ...
by incognitum
Fri Oct 15, 2021 10:15 am
Forum: Other
Topic: Buildroot on CM3+ pitfalls? Stuck during boot
Replies: 14
Views: 766

Re: Buildroot on CM3+ pitfalls? Stuck during boot

dwc2 is on "on" as statically build into the kernel ( =y ) ? As opposed to being a module (=m). Which are only loaded automatically if you are using (e)udev or systemd for device node management. Not if you had chosen say the devtmpfs only option. Edit: I saw someone who had this "no...
by incognitum
Thu Oct 14, 2021 12:00 pm
Forum: Other
Topic: Buildroot on CM3+ pitfalls? Stuck during boot
Replies: 14
Views: 766

Re: Buildroot on CM3+ pitfalls? Stuck during boot

Now I do get a login on the same console where things started to output (and I can't find the actual login username in the Buildroot menu, lol! The password is there... and a machine name). root In linux-menuconfig, I added everything seemingly related to gadget stuff, e.g. anything mentioning ACM,...
by incognitum
Thu Oct 14, 2021 8:05 am
Forum: Other
Topic: Buildroot on CM3+ pitfalls? Stuck during boot
Replies: 14
Views: 766

Re: Buildroot on CM3+ pitfalls? Stuck during boot

3) The cmdline.txt has this in it: "console=serial0,115200 console=tty1" That typically means: "send kernel messages to both serial0 and tty1 (HDMI), let /dev/console point to tty1 (HDMI), as that is the last parameter" Might want to check if your login prompt isn't at HDMI then...
by incognitum
Tue Oct 12, 2021 1:20 pm
Forum: Other
Topic: Buildroot on CM3+ pitfalls? Stuck during boot
Replies: 14
Views: 766

Re: Buildroot on CM3+ pitfalls? Stuck during boot

It's getting further now, but not alot. It complains about g_cdc not working apparently, although support for gadget stuff looks to be enabled in the linux-menuconfig. No idea whether that's why it's now stuck at this: 1) g_* modules are deprecated, and could disappear in a future kernel version. B...
by incognitum
Mon Oct 11, 2021 4:20 pm
Forum: Other
Topic: Buildroot on CM3+ pitfalls? Stuck during boot
Replies: 14
Views: 766

Re: Buildroot on CM3+ pitfalls? Stuck during boot

[ 3.024257] Waiting for root device ROOTDEV... Any chance you are using a custom cmdline.txt that says "root=ROOTDEV", instead of "root=/dev/mmcblk0p2" ? (The Linux kernel has no logic to resolve file system labels by itself, so root=FILESYSTEMLABEL is NOT going to work. Linux d...
by incognitum
Thu Oct 07, 2021 11:38 pm
Forum: General discussion
Topic: WARNING: Cancer and Reproductive Harm
Replies: 28
Views: 1474

Re: WARNING: Cancer and Reproductive Harm

I do hope they don't have that on roads and signpost..... :shock: ....or lawn grass..... Last time I was in California, the apartment building I stayed at, actually did had their sign in the lawn... "This property contains chemicals known to the state to cause ...." Apparently covering th...
by incognitum
Wed Oct 06, 2021 12:43 pm
Forum: General
Topic: USB Vendor ID/Product ID
Replies: 24
Views: 1950

Re: USB Vendor ID/Product ID

Adding a serial display to a HID device is more problematic, because it's no longer 'Pico with HID' or 'Pico with CDC' but 'Pico with HID and CDC', and should have a VID:PID different to those two. Or just use the "Pico with HID" VID:PID, but with a different bcdDevice hw revision number?...
by incognitum
Tue Oct 05, 2021 12:45 pm
Forum: General
Topic: USB Vendor ID/Product ID
Replies: 24
Views: 1950

Re: USB Vendor ID/Product ID

Probably not but Linux does accept the use of "allocated for sole use VID:PID" even if deemed by the USB-IF to have been revoked. Yes, and PIDs from a "revoked" VID can be found for around 20 EUR. Is that really a problem for a project that justifies kernel driver development?
by incognitum
Tue Oct 05, 2021 10:03 am
Forum: General
Topic: USB Vendor ID/Product ID
Replies: 24
Views: 1950

Re: USB Vendor ID/Product ID

If anyone has a suitable suggestion as to how this would work, I'm happy to hear it. But I think this will only work for Linux drivers which are upstreamed. On Linux you can choose your own VID/PID if you are building the gadget properly through configfs, instead of the (deprecated) method of loadi...
by incognitum
Mon Oct 04, 2021 10:01 am
Forum: General
Topic: USB Vendor ID/Product ID
Replies: 24
Views: 1950

Re: USB Vendor ID/Product ID

I know there are some things (like udev) that do things based on VID/PID which might mean this allocation system wouldn't work... Can let udev rules match on more exact criteria as well... As in: make sure everyone enters custom manufacturer and product string in the USB descriptor (perhaps even le...
by incognitum
Tue Sep 28, 2021 2:55 pm
Forum: Other
Topic: Custom OS image
Replies: 3
Views: 518

Re: Custom OS image

Is there any tool like https://github.com/gitbls/sdm that lets us create non-RPI OS image (e.g. Ubuntu) with device configuration during image burning? My devices needs to have geo-location setup entered and it would be helpful not to modify it at startup (via ssh) to save time. Thanks in advance f...
by incognitum
Mon Sep 27, 2021 9:07 am
Forum: Compute Module
Topic: CM4 Buildroot Qt5 missing swrast_dri.so
Replies: 3
Views: 400

Re: CM4 Buildroot Qt5 missing swrast_dri.so

if I remove osmesa library then the KMS will not initialise/detect the GPU and will not display the /dri folder in in dev Sounds more like that you have problems elsewhere. I do am using fkms (not kms): kernel=zImage initramfs rootfs.cpio.xz disable_overscan=1 dtoverlay=vc4-fkms-v3d dtoverlay=dwc2,...

Go to advanced search