×

INDI Library v1.9.6 Released (21 May 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Mount Bluetooth adapter binding with Ubuntu 20.04

  • Posts: 1067
  • Thank you received: 137
Hello all,
I have installed the latest Ubuntu 20.04 on a Intel NUC mini PC, and can bind the Bluetooth adapter which is the Shoestring astronomy HC-06 module, with the command 
 sudo rfcomm bind hci0 (MAC address) and it works great in ekos, BUT as soon as I re boot it is lost and the rfcomm0 file has gone, so I have to bind every time on re boot, the adapter is paired  and trusted…but am stuck 
Any ideas…. :)
Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85, FS60cb & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on all scopes
11 months 1 week ago #73804

Please Log in or Create an account to join the conversation.

  • Posts: 108
  • Thank you received: 19
Hi,
You can set the command in rc.local file in etc folder (with correct rights). if file does no exist, you should create it.
You need also check to that rc-local service exists (if no, you should create one too).

That's what i'm using and works great under ubuntu 20.04

Regards
----
ES ED 127mm FCD100, AZEQ6 GT, FocusLynx ESX25, Nikon D800 , ASI120mm-s, Polemaster
-- RPi4 4Gb Stellarmate , Windows 10 Pro, Kstars/VNC
-- RPi4 8Gb Ubuntu mate 20.04.1 LTS - Kstars/NoMachine
11 months 6 days ago #73821

Please Log in or Create an account to join the conversation.

  • Posts: 1067
  • Thank you received: 137
That sounds promising thanks, but I would not know where to start, I have been at this all day and not got anywhere, it will bind and work, but as soon as I reboot I have to bind again, there is no rfcomm.conf file and it creates an rfcomm0 port file but goes after I re boot….
I need real help here….
Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85, FS60cb & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on all scopes
11 months 6 days ago #73822

Please Log in or Create an account to join the conversation.

  • Posts: 1067
  • Thank you received: 137
Ok, I have managed to get the rc-local service running at boot up and create the rc.local file, now need to know what to put in them….
Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85, FS60cb & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on all scopes
Last edit: 11 months 6 days ago by AstroNerd.
11 months 6 days ago #73823

Please Log in or Create an account to join the conversation.

  • Posts: 108
  • Thank you received: 19
Hi,

I've attached my files (i change of course my bluetooth device mac adress)
Don't forget to set correct rights for /etc/rc.local (sudo chmod +x /etc/rc.local)

Regards
----
ES ED 127mm FCD100, AZEQ6 GT, FocusLynx ESX25, Nikon D800 , ASI120mm-s, Polemaster
-- RPi4 4Gb Stellarmate , Windows 10 Pro, Kstars/VNC
-- RPi4 8Gb Ubuntu mate 20.04.1 LTS - Kstars/NoMachine
The following user(s) said Thank You: AstroNerd
Last edit: 11 months 6 days ago by ouioui01.
11 months 6 days ago #73824
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.380 seconds