Signal corruption UART native dmx raspian bookworm Pi 2 Model B Rev 1.1
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- debian, raspberry-pi
- Ambito
- embedded-iot, operating-systems
Direzione di ricerca
Start with the ola-uartdmx.conf, config.txt, and cmdline.txt settings, then inspect the UART-related log entries from ExtendedSerial.cpp and UartDmxThread.cpp. Reproduce the issue on the Raspberry Pi 2 with Bookworm and compare the configured UART timing with the emitted DMX signal. Done means the lamps receive stable, non-corrupt DMX frames.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi all,
I had a working raspberrypi / ola 10.5 setup thats been running for several years.
However I needed to upgrade to the newest OS (raspian bookworm) and have been unable to get ola to work on this platform.
I've got a https://www.bitwizard.nl/shop/DMX-interface-for-Raspberry-pi bitwizard card.
So I've compiled a 0.10.9 using the process on https://www.lautuscastings.nl/wiki/index.php/Dmx_interface_for_raspberry_pi#bullseye
then I've made sure I've put init_uart_clock=16000000 into the config.txt, theres no bluetooth to disable on this RPI.
my cmdline.txt is just
console=tty1 root=PARTUUID=55a70236-02 rootfstype=ext4 fsck.repair=yes rootwait
my ola-uartdmx.conf is
/dev/ttyAMA0-break = 100
/dev/ttyAMA0-malf = 24000
device = /dev/ttyAMA0
enabled = true
now the symptom is that the log shows its loading and running:
Dec 30 14:38:16 raspberrypi2 olad[703]: olad/PluginManager.cpp:195: Trying to start UART native DMX
Dec 30 14:38:16 raspberrypi2 olad[703]: common/io/ExtendedSerial.cpp:96: Port speeds for 24 are 250000 in and 250000 out
Dec 30 14:38:16 raspberrypi2 olad[703]: common/thread/Thread.cpp:200: Thread , policy SCHED_OTHER, priority 0
Dec 30 14:38:16 raspberrypi2 olad[703]: olad/plugin_api/DeviceManager.cpp:105: Installed device: UART native DMX:20-/dev/ttyAMA0
Dec 30 14:38:16 raspberrypi2 olad[703]: plugins/uartdmx/UartDmxThread.cpp:136: Granularity for UART thread is GOOD
Dec 30 14:38:16 raspberrypi2 olad[703]: olad/plugin_api/PortManager.cpp:119: Patched 20-/dev/ttyAMA0-O-0 to universe 0
Dec 30 14:38:16 raspberrypi2 olad[703]: olad/PluginManager.cpp:200: Started UART native DMX
Dec 30 14:38:16 raspberrypi2 olad[703]: olad/plugin_api/Universe.cpp:286: Added source client, 0x1b87858 to universe 0
Dec 30 14:38:17 raspberrypi2 olad[703]: olad/AvahiDiscoveryAgent.cpp:236: State for OLA Server._http._tcp,_ola, group 0x1bf7e10 changed to AVAHI_ENTRY_GROUP_ESTABLISHED
but the dmx lamps are flickering like they're receiving corrupt or just junk packets of nonsense. But it must be recognisable dmx frames, since they do attempt to display what they're told. I'm feeling like this is symptomatic of a speed mismatch on the uart or something?
At this point I'd appreciate any thoughts or ideas to get this hardware running again.
cheers all,
Rob
- Lingua principale
- C++
- Stelle
- 773
- Fork
- 233
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OpenLightingProject/ola
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
OpenLightingProject/ola#2075 ·
-
Digital Enlightenment / FX5 not recognizedForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaquestion Type-DeviceSupport
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
OpenLightingProject/ola#2056 · 2 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
OpenLightingProject/ola#2055 ·
-
Difficulty-Medium Language-C++ Maintainability OpSys-All
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
OpenLightingProject/ola#2053 · 1 commento ·
-
v0.11.0Forse di nuovo libera @peternewman l’ha presa 227 giorni fa e non c’è nessuna pull request aperta. Aperta
OpenLightingProject/ola#2038 · 18 commenti · 2 assegnatari ·
Tutte le issue di OpenLightingProject/ola
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
deepseek-ai/DeepEP#830 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
google-ai-edge/LiteRT-LM#4701 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
HarperFast/rocksdb-js#1131 ·
I maintainer di solito rispondono entro 1 giorno
-
Swapped cache lookups in ScanModelAndDecideAllDiffExpansionForse già presa @Lian292213 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
area/daemon bug good first issue platform/linux priority/p2
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ToshiNamura/Deimos#5 ·