-
Notifications
You must be signed in to change notification settings - Fork 5
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
Migrate daemon to libgpiod #48
base: dev
Are you sure you want to change the base?
Commits on Feb 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2c2ea97 - Browse repository at this point
Copy the full SHA 2c2ea97View commit details
Commits on Feb 28, 2021
-
Started modifying pigpiodhandler class to switch over to libgpiod. No…
…t finished yet...code will not compile.
Configuration menu - View commit details
-
Copy full SHA for 954588c - Browse repository at this point
Copy the full SHA 954588cView commit details
Commits on Mar 8, 2021
-
added start() and stop() slots to PigpiodHandler class to always have…
… a defined run status of the internal thread
Configuration menu - View commit details
-
Copy full SHA for bd42fc4 - Browse repository at this point
Copy the full SHA bd42fc4View commit details -
Cleaned up PigpiodHandler class a bit and implemented one signal to f…
…orward a detected event to the daemon. With this, all basic functions of the daemon seem to work. Not working yet and to be implemented in the new gpio readout scheme: - pulse rate limitation for high freq. bursts - sampling trigger signals (for triggering the ADC readout) - time and time difference measurements for the population of two histos Note: For the daemon to work with the new libgpiod based readout, several things have to be changed from the pigpiod scheme: - the user who is executing the daemon (usually muonuser) must be added to the system group 'gpio' with 'sudo usermod -a -G gpio muonuser' - the pigpiod daemon must be switched off - the libgpiod-dev package must be installed on the system prior to compilation
Configuration menu - View commit details
-
Copy full SHA for 98624a7 - Browse repository at this point
Copy the full SHA 98624a7View commit details
Commits on Mar 9, 2021
-
Implemented pure usage of libgpiod in PigpiodHandler class. Signals f…
…rom the former callback function are not yet forwarded, but the core mechanism of event detection works. Pins may be registered/unregistered during runtime and set/get gpio functions also seem to work. Note, that the executing user must be member of gpio group.
Configuration menu - View commit details
-
Copy full SHA for 6874389 - Browse repository at this point
Copy the full SHA 6874389View commit details
Commits on Mar 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 921d09c - Browse repository at this point
Copy the full SHA 921d09cView commit details
Commits on Jul 10, 2021
-
Further implemented functionality equal to the old pigpiod implementa…
…tion: - implemented trigger for ADC sampling - implemented GPIO inhibit - default eventTrigger signal is now GPIO_UNDEFINED_PIN, i.e. no trigger set up. This still has to be implemented as valid selection in the GUI
Configuration menu - View commit details
-
Copy full SHA for 7d32d00 - Browse repository at this point
Copy the full SHA 7d32d00View commit details
Commits on Jul 11, 2021
-
Added RateBuffer class for handling of all GPIO rates. Still to be im…
…plemented for the tracking of the XOR and AND rates in the daemon.
Configuration menu - View commit details
-
Copy full SHA for 8f301b1 - Browse repository at this point
Copy the full SHA 8f301b1View commit details -
Embedded RateBuffer in daemon. All rate handling should be supervised…
… by an instance of this class now. RateBuffer contains a smart rate throttling which prevents lock-up of daemon and GUI at excessive rates. This branch should now privide equal or better functionality compared to the pigpiod daemon. However, the following features are not yet implemented: - Measurement of the system time deviation from GNSS (timpulse) time - Measurement of the GPIO event interval (as in the histogram under statistics tab of the GUI with the same name). This may be implemented easily with the help of the RateBuffer class.
Configuration menu - View commit details
-
Copy full SHA for ecbc059 - Browse repository at this point
Copy the full SHA ecbc059View commit details
Commits on Jul 12, 2021
-
Added measurement of gpio interval time (in histogram "gpioEventInter…
…val"). Adjusted scaling of several histograms.
Configuration menu - View commit details
-
Copy full SHA for 6188502 - Browse repository at this point
Copy the full SHA 6188502View commit details
Commits on Jul 13, 2021
-
Renamed enum GPIO_PIN to the more reasonable GPIO_SIGNAL, since this …
…signal is explicitly not bound to a fixed GPIO pin. Corrected some wrong assignments in the GPIO pin list for HW Ver 1.
Configuration menu - View commit details
-
Copy full SHA for 0a4d40a - Browse repository at this point
Copy the full SHA 0a4d40aView commit details
Commits on Jul 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d00fd6f - Browse repository at this point
Copy the full SHA d00fd6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb60a3b - Browse repository at this point
Copy the full SHA cb60a3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea0f327 - Browse repository at this point
Copy the full SHA ea0f327View commit details -
Updated preinst script to add muonuser to gpio group. This is require…
…d for running the daemon with access to the gpio kernel subsystem.
Configuration menu - View commit details
-
Copy full SHA for 3c5eda7 - Browse repository at this point
Copy the full SHA 3c5eda7View commit details
Commits on Jul 15, 2021
-
- modified all control scripts for prerequisites etc. wrt libgpiod
- added measurement of time pulse to system time
Configuration menu - View commit details
-
Copy full SHA for 0af2564 - Browse repository at this point
Copy the full SHA 0af2564View commit details
Commits on Jul 16, 2021
-
adjust measured TPDiff values symmetrically around 0, i.e. to fall in…
… the range -0.5s...+0.5s, instead of 0...1s as before
Configuration menu - View commit details
-
Copy full SHA for 2b6697b - Browse repository at this point
Copy the full SHA 2b6697bView commit details -
Update source/daemon/include/daemon.h
Co-authored-by: Daniel Treffenstädt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d4fb9e1 - Browse repository at this point
Copy the full SHA d4fb9e1View commit details -
Update source/daemon/include/pigpiodhandler.h
Co-authored-by: Daniel Treffenstädt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 98f4d8c - Browse repository at this point
Copy the full SHA 98f4d8cView commit details -
Update source/daemon/include/pigpiodhandler.h
Co-authored-by: Daniel Treffenstädt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 59cdb10 - Browse repository at this point
Copy the full SHA 59cdb10View commit details -
Update source/daemon/include/pigpiodhandler.h
Co-authored-by: Daniel Treffenstädt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8732af1 - Browse repository at this point
Copy the full SHA 8732af1View commit details -
Update source/daemon/include/pigpiodhandler.h
Co-authored-by: Daniel Treffenstädt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4b209be - Browse repository at this point
Copy the full SHA 4b209beView commit details -
Update source/daemon/include/pigpiodhandler.h
Co-authored-by: Daniel Treffenstädt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1db133c - Browse repository at this point
Copy the full SHA 1db133cView commit details -
Update source/daemon/include/pigpiodhandler.h
Co-authored-by: Daniel Treffenstädt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 207dd0f - Browse repository at this point
Copy the full SHA 207dd0fView commit details -
Update source/daemon/include/pigpiodhandler.h
Co-authored-by: Daniel Treffenstädt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d7c1136 - Browse repository at this point
Copy the full SHA d7c1136View commit details -
Update source/daemon/src/ratebuffer.cpp
Co-authored-by: Daniel Treffenstädt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 750d0f2 - Browse repository at this point
Copy the full SHA 750d0f2View commit details -
Update source/gui/src/mainwindow.cpp
Co-authored-by: Daniel Treffenstädt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 98dd05a - Browse repository at this point
Copy the full SHA 98dd05aView commit details -
Update source/gui/src/parametermonitorform.cpp
Co-authored-by: Daniel Treffenstädt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 23340b1 - Browse repository at this point
Copy the full SHA 23340b1View commit details -
Update source/gui/src/status.cpp
Co-authored-by: Daniel Treffenstädt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 40b7512 - Browse repository at this point
Copy the full SHA 40b7512View commit details -
Update source/daemon/config/preinst
Co-authored-by: Daniel Treffenstädt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4016e1b - Browse repository at this point
Copy the full SHA 4016e1bView commit details
Commits on Jul 18, 2021
-
- removed separate the samplingTrigger handling in PigpiodHandler - merged slots for gpio events in daemon into one onGpioPinEvent() slot - removed unregistering interrupts in PigpiodHandler before registering them again. This would be the cleanest procedure but somehow it doesn't work from gpiod side
Configuration menu - View commit details
-
Copy full SHA for ad7e129 - Browse repository at this point
Copy the full SHA ad7e129View commit details
Commits on Jul 20, 2021
-
- Renamed signal and throttledSignal signals in PigpioHandler and Rat…
…eBuffer classes to more descriptive event and filteredEvent. - Added transmission of interrupt timestamp to event and filteredEvent signals.
Configuration menu - View commit details
-
Copy full SHA for 6f4bcff - Browse repository at this point
Copy the full SHA 6f4bcffView commit details
Commits on Jan 14, 2022
-
Further work on libgpiod functionality for event handling:
- moved all event handlers to separately spawned threads for each interrupt line - added map to store the last time intervals between events from different gpios in RateBuffer class - changed filling of gpioTimeIntervalShort histogram to time intervals measured between the currently selected eventTrigger and the rising edge of TIME_MEAS_OUT signal
Configuration menu - View commit details
-
Copy full SHA for 1319d93 - Browse repository at this point
Copy the full SHA 1319d93View commit details
Commits on Jan 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3db51a3 - Browse repository at this point
Copy the full SHA 3db51a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1073433 - Browse repository at this point
Copy the full SHA 1073433View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b0e74d - Browse repository at this point
Copy the full SHA 5b0e74dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b74c00 - Browse repository at this point
Copy the full SHA 2b74c00View commit details
Commits on Feb 8, 2022
-
Restored muondetector-daemon service file which was corrupted from a …
…prior merge conflict. Added ratebuffer.cpp file which was not commited properly during the last big PR.
Configuration menu - View commit details
-
Copy full SHA for 80f040b - Browse repository at this point
Copy the full SHA 80f040bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b86d232 - Browse repository at this point
Copy the full SHA b86d232View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95a3f17 - Browse repository at this point
Copy the full SHA 95a3f17View commit details
Commits on Feb 19, 2022
-
added suffix string "libgpiod" to version strings (e.g. used in packa…
…ge descriptor) to make this libgpiod-development branch discernible from the mainstream packages
Configuration menu - View commit details
-
Copy full SHA for e9030c6 - Browse repository at this point
Copy the full SHA e9030c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4eb121 - Browse repository at this point
Copy the full SHA f4eb121View commit details
Commits on Feb 20, 2022
-
improved preinst script to check whether muonuser exists and already …
…is in gpio group
Configuration menu - View commit details
-
Copy full SHA for 1445d35 - Browse repository at this point
Copy the full SHA 1445d35View commit details
Commits on Feb 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 45196fc - Browse repository at this point
Copy the full SHA 45196fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1a0444 - Browse repository at this point
Copy the full SHA f1a0444View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2521c4 - Browse repository at this point
Copy the full SHA e2521c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7b8ad8 - Browse repository at this point
Copy the full SHA c7b8ad8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e19e60 - Browse repository at this point
Copy the full SHA 0e19e60View commit details
Commits on May 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ea3159c - Browse repository at this point
Copy the full SHA ea3159cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cecacd - Browse repository at this point
Copy the full SHA 6cecacdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2d240f - Browse repository at this point
Copy the full SHA a2d240fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90d6c46 - Browse repository at this point
Copy the full SHA 90d6c46View commit details -
Configuration menu - View commit details
-
Copy full SHA for a099785 - Browse repository at this point
Copy the full SHA a099785View commit details -
Configuration menu - View commit details
-
Copy full SHA for d38a9ec - Browse repository at this point
Copy the full SHA d38a9ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for ffe1523 - Browse repository at this point
Copy the full SHA ffe1523View commit details
Commits on May 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for eec0256 - Browse repository at this point
Copy the full SHA eec0256View commit details