-
Notifications
You must be signed in to change notification settings - Fork 616
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
error reading uart information #841
Comments
Could you please post the relevant libmraa logs? By default, the logs are stored in /var/log/syslog |
@kvkdileep I see the issue now! If the UART port you are trying to access is already occupied for console output, you will likely see that error message. It looks like from the error there is only one UART available in Raspberry pi3 and that is assigned as the console out. So, as a work around you can release the UART console by removing |
I removed the console=tty***115200 from /boot/cmdline.txt and rebooted, but still the same. In syslog it shows only two lines Nov 2 10:25:30 raspberrypi systemd-udevd[750]: Process '/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev' failed with exit code 1. |
I am not familiar with Rpi3 but it looks like there are 2 serial ports and one is used by the console and another one is used for Bluetooth. So, it would be great if you can disable both and login using the keyboard/monitor then execute For disabling Bluetooth, add the following line in For disabling console, remove Now, reboot and let us know. |
I have done the same, but same situation here. Here are the files attached. |
Iam using raspbian stretch image for pi3, is it a problem ? |
Not sure! Could you please remove |
tried the same. Here are the attached files & the result after reboot pi@raspberrypi:~ $ mraa-uart list |
@kvkdileep Got the issue! There is no Only way to get over this issue is to add
|
Let me know if this works for you. I will submit a patch to update the source! |
Holy Moly ! that saved my day.
Thanks Mani, it works. You may update the source with the patch |
Cool. Fix submitted #842. You can close the issue now! |
@alext-mkrs Not aware of this! Will do it for upcoming fixes ;-) Thanks. |
Iam using mraa on raspberry pi 3 which is running raspbian stretch
when i try to list the uart bus. It is throwing error
# mraa-uart list
0. ---- error reading uart information ----
Can anyone help me resolve the issue ?
The text was updated successfully, but these errors were encountered: