Update 28-10-2025-Configuration-Changes
@@ -1,5 +1,3 @@
|
||||
This is a work in progress
|
||||
|
||||
## Introduction
|
||||
|
||||
Many of the hardware drivers for the PCI cards used by Pixelator are from the Comedi project, which has been merged into the mainline Linux kernel. One consequence of this change is that the "comedi number" of a device is no longer stable between reboots and we have to switch to using the /sys virtual file system to refer to specific hardware in a stable way. So wherever we used to see things like a "device number", or a "/dev/comedi0", we will now need to set a "deviceName" option with a path string like "/sys/bus/pci/devices/0000:00:00.0/". This has been implemented in commits to the Pixelator repository on October 28th, 2025, and updating your installation after this date will require a change in configuration for both Pixelator and Orocos.
|
||||
@@ -70,14 +68,25 @@ Start Pixelator and check the output for issues. If you make it to "Pixelator is
|
||||
|
||||
## Save New Config Files in Gitea Repository
|
||||
|
||||
|
||||
It is strongly recommended to keep the Gitea.psi.ch Pixelator repository up to date with your working config files.
|
||||
|
||||
### With Internet Access
|
||||
|
||||
1. Check your startup script for PixelatorController to see which settings file (probably `settings.json`) file is being used (don't assume you know!).
|
||||
2. If they are not already there, copy the settings file and any other file that it references into your section of the local git repository. For example, `~/work/stxm/PixelatorController/config/MAXYMUS/`
|
||||
3. If it is not already there, copy the `start.ops` file that you are using to your section of the local git repository. For example, `~/work/stxm/PixelatorRealtime/startup/Maxymus/`
|
||||
4. Use `git status` to get a list of
|
||||
4. Use `git add FILE.json` to select files to be committed to the repository.
|
||||
5. Use `git status` to get a list of changed files - files that have been selected will show as green.
|
||||
6. Repeat steps 4&5 until all of your changed config files have been selected (don't forget your `start.ops`).
|
||||
7. Use the `git commit -m "update configs for BEAMLINE"` to finalise the set of changes as a "commit".
|
||||
8. Use the `git push` command to send the "commit" to the central repository on the Gitea.psi.ch server.
|
||||
|
||||
### Without Internet Access
|
||||
|
||||
1. Copy the relevant config files onto a PC that does have internet access. Don't forget the `start.ops` file.
|
||||
2. Visit the [Gitea.psi.cg Pixelator repository](https://gitea.psi.ch/MicroSpectro/Pixelator).
|
||||
3. Use the web interface to navigate to the appropriate config directory (e.g. `Pixelator/PixelatorController/config/MAXYMUS/`).
|
||||
4. Near the top of the page, to the left of where it displays the current path, there is a button labelled `Add File`. Click this button, then click on `Upload File` option that appears in the drop-down menu.
|
||||
5. Use the interface to upload the set of files that belong in the config directory.
|
||||
6. Click on the `Commit Changes` button.
|
||||
7. Repeat steps 3-6 to upload the `start.ops` file to the appropriate directory in `Pixelator/PixelatorRealtime/startup/`
|
||||
|
||||
Reference in New Issue
Block a user