-
Notifications
You must be signed in to change notification settings - Fork 204
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
/dev/ttyAMA0 Short or failed write! #1762
Comments
@MagnusHerrlin can we see your ola-uartdmx.conf file please? |
I'd also be curious what this outputs: |
Hi Sorry my fault
So everyting is working now Except for one thing that I think is more important and that is vcgencmd get_config init_uart_clock But as you might already know vcgencmd is'nt installed on Bullseye Speaking about Bullseye I am not impressed of how this (upgrade?) was done. I'm amazed of how much that was destroyed with the move to Bullseye You don't just don't remove programs and folders like that. I don't like it at all and it makes me quite angry. I have tried several installations with Bullseye now, but it feels unstable. So I have moved back to Buster for the time being. Anyway this issue turned out not to be an issue so I guess it can be closed now. Thanks |
Hey @MagnusHerrlin , you can download patch files for github pull requests: Just add https:/OpenLightingProject/ola/pull/1680.patch Git should be able to apply that patch (assuming that there's no conflicts) Or you can cherry pick commits by having my branch fetched as well. I've used this quick and dirty approach for quite a few interesting pulls 😆 I've gotten lost in that PR myself now since that was so long ago - I've switched to figuring out if there's some sort of playback engine that we can use as a dependency instead of rolling a complete one ourselves (I experimented with using VLC to playback universes that were converted to video files through its raw YUV output). If there's still interest in that PR I can go and address some of the comments and fix that up. |
Thanks @shenghaoyang So do I
Thanks |
You can simply download those and supply them to git apply.
I've a repo here: https:/shenghaoyang/ola_video_convert Takes a bit too much setup to be practical, though. But may be useful for 24x7 looping style stuff. |
Then I made a test to leave the first serialport alone and use it for bluetooth instead
so I commented out the following in /boot/config.txt
#dtoverlay=disable-bt
#init_uart_clock=16000000
#enable UART
#enable_uart=1
please note even the line with the baudrate setting is commented out.
I only use uart2 to uart5
dtoverlay=uart2
dtoverlay=uart3
dtoverlay=uart4
dtoverlay=uart5
and the baudrate is still correct on the used ports
However when I run olad with --log-level 3
I get a lot of errors about the uart that is not in use:
plugins/uartdmx/UartWidget.cpp:129: /dev/ttyAMA0 Short or failed write!
the port It is not patched to any universe.
but anyway its working.
Thanks
/Magnus
Originally posted by @MagnusHerrlin in #1749 (comment)
The text was updated successfully, but these errors were encountered: