-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Disable kernel console debug messages for ttyS2 #31
Comments
Most likely the BTW I found a file with following content:
Perhaps you may avoid second line condition explicitly declaring |
@Phil1988
to grant user permissions and prevent getty from taking over the port |
@redrathnure Im running the MKS OEM maiboard for Qidi named X-6 (similar to X-4). The armbianEnv.txt cotains @frap129
I can measure signals on the pins, even if nothing should actually access the serial ports. I hope you can help. |
I made Could you share more details on how your script connects, like baud rate? Also, have you checked that your user has permissions on /dev/ttyS1? |
I do also think that the X-6 uses the same as the X-7. Permissions look good for both:
nothing uses them:
and user mks is part of the "dialout" group:
PS: I would appreciate if you could accept my DM in discord - maybe we solve it there better (tomorrow) and I will post the findings here |
We could figure out and solve the problem. Instead ttyS1 is the one that is sending something on the onboard serial pins. I leave this open for you @redrathnure to see it. |
Sorry, I was bit busy and lost the meaning of this thread:)
|
Hey @redrathnure
|
I don't think the remark about the specific board is needed. UART1 is a valid port on all MKS PI based boards, per the schematic in makerbase-mks/MKS-PI, not just the ones QIDI uses
I think thats a good idea, it would be useful for any needing ttyS2
Yes! |
I think I misread the question of @redrathnure. |
What happened?
I cant get my serial port ttyS2 to work as I want to.
I am using this OS:
Armbian-unofficial_24.2.0-trunk_Mkspi_bookworm_edge_6.6.7.img.xz
Its seems that even if all services being shut down/disabled/stopped, there is something using it.
How do I know?
My oscilloscope shows something.
TL;DR - nothing is actively running on the ttyS2
No process is using the ttyS2:
no systemd-services running;
Permissions look good:
But the kernel messages seems to be configured to use ttyS2 as console:
How can I shut ther kernel down so its not using
console=ttyS2,1500000
?I simply want to use this serial port for serial communication :)
Not related:
And it would be great of you can change the links from:
https://openqidi.com/books/build-entire-operating-system-and-klipper-from-scratch/page/freeqidi
to
https://github.com/Phil1988/FreeQIDI
See here:
![image](https://private-user-images.githubusercontent.com/6054234/348548456-c8d70945-819f-42fd-9ca8-304da3d8710a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MzE3NjQsIm5iZiI6MTczOTYzMTQ2NCwicGF0aCI6Ii82MDU0MjM0LzM0ODU0ODQ1Ni1jOGQ3MDk0NS04MTlmLTQyZmQtOWNhOC0zMDRkYTNkODcxMGEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMTQ1NzQ0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YWIxYTNlZmQzOWZkNWQzODNkNWE0NDc3NTRjNGIzYzc1Njk1MjBlOTYyZmEyNWI0NzY5MTBiY2I5ODQ0M2MxMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.PWvpf2MnLm-hyWCnISDQSY9RPRp22uB2FflTHLJy4VM)
https://github.com/redrathnure/armbian-mkspi/releases
and there
![image](https://private-user-images.githubusercontent.com/6054234/348548424-18ea934f-7091-4c09-9f4a-bec34248d203.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MzE3NjQsIm5iZiI6MTczOTYzMTQ2NCwicGF0aCI6Ii82MDU0MjM0LzM0ODU0ODQyNC0xOGVhOTM0Zi03MDkxLTRjMDktOWY0YS1iZWMzNDI0OGQyMDMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMTQ1NzQ0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZGUwYWI4ZGI3YmVkNDIxZmU2YjhiMjIyY2Y5NWU5MGFiNThkZTU2NjNlODdkZjkwYTk5NDhkYzQ3NTI5Y2FhYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.1ISXn_2Lwsu-cC9wbxvmONyKXWQiqvhxAUbZZISQSUo)
https://github.com/redrathnure/armbian-mkspi
How to reproduce?
Branch
other
On which host OS are you observing this problem?
Other
Relevant log URL
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: