-
-
Notifications
You must be signed in to change notification settings - Fork 501
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
DietPi-Config | Enhance Bluetooth + serial console options compatibility #2607
Comments
@RynFlutsch |
@RynFlutsch If not could you try: |
Yes it shows: |
Also cant setup wiringPi. But i already opened another issue. |
@RynFlutsch Aside from that, is the bluetooth daemon in correct stage? |
No its all lower case. |
root@Gara:~# journalctl -u bluetooth |
root@Gara:~# bluetoothctl |
@RynFlutsch Lets find out which console is used by what in your case. Perhaps there is some incompatibility by certain configs or settings applied during software installs. Also lets verify the required modules are enabled:
|
@RynFlutsch
Then lets disable all serial consoles, I hope your don't require them?
Then we also remove the serial console from cmdline.txt:
I actually think the issue is that we enable the serial console on Now I think Bluetooth can be forced to use ttyS0 via Further reading:
Now that I am aware of this, I think we need to change how we enable serial consoles on DietPi. This should be done only for one serial device, on RPi1+2 on ttyAMA0 (ttyS0 is not available anyway, AFAIK) and on RPi3 on ttyS0 only, to follow the default intention. |
Hey, |
Had a similar issue, BT works on initial activation, however, after reboot BT fails in dmesg. Enable:
reboot:
🈯️ Disabling serial console seems to resolve:
|
Test:
|
Fixed for v6.22, solution to apply now: Step 1
Step 2
|
@Fourdee
The Anyhow, since on RPi3, bluetooth uses ttyAMA0, ttyS0 can be freely used for boot messages and/or as login console and/or for other I2C/SPI/I2S/UART devices.
So yeah, actually to have it all consistent on RPi3:
Perhaps even a second option to toggle the ttyAMA0 would be great as well. However I think this is toggled automatically by the dtoverlays/params, kernel modules and such, when enabling bluetooth, I2C/... |
So yeah all of them use/block a serial "console/device" from which are as mention two available.
|
Not working same error: I will check michaing's solution or wait for 6.22. |
PR opened which allows to toggle serial login console (+ boot message output) on individual existent serial devices: #2678 When on RPi Bluetooth is enabled while serial console on ttyAMA0 is active, a warning prompts and allows to disable the serial console to continue or cancel. As well on RPi the primary serial/UART device can be enabled/disabled completely but this has no effect on Bluetooth since:
@RynFlutsch If you need Bluetooth + I2C you need both UART devices, so
And in I hope this helps. |
I just tried to activate bluetooth @ dietpi-config
The text was updated successfully, but these errors were encountered: