I have a bespoke hardware controller that uses tty0, however on this build tty0 has been assigned
to bluetooth serial (as best I can figure).
Hence my controller will not work with this software build as I do not have access to tty0.
I am looking for a workaround in the short term. Does anyone have an idea on where this tty0 bluetooth serial service can be disabled? In the longer term, could the use of tty0 be configurable?
Have been looking for some instructions on how to re-enable the use of ttyAMA0 as a serial port after disabling the Bluetooth service as outlined in previous post. The closest instructions that seem to make sense I have found at:
This gives a quite detailed list of instructions to resolve the problem. However, on OSMC, I have not been able to find the hciuart.service. Is this service missing or just hiding somewhere. Any help on this would be appreciated.
If all else fails, I might have to go down the route of creating a software serial tx/rx on different gpio pins.
I have disabled the bcm43xx.service and added the dtoverlay=pi3-disable-bt to /boot/config.txt. I understand that is the procedure to remove the bluetooth service that was on ttyAMA0.
Found a library called pigpio (search google) which provides serial access over any GPIO. I had to modify my hardware away from the RX/TX pins of the Rpi and use different gpio’s. The library works very well so far. Hope this might help anyone else stuck with this issue.