×

INDI Library v2.0.4 Released (01 Oct 2023)

Bi-monthly release with minor bug fixes and improvements

Keep getting 'device or resource busy' error when connecting

  • Posts: 24
  • Thank you received: 1

Here's a SS of it all in action. What logs would be good?

(EDIT) Here's the logfile from EKOS as well.
Last edit: 5 years 8 months ago by Scott Baker.
5 years 8 months ago #23956
Attachments:

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

  • Posts: 1309
  • Thank you received: 226
Did you remove modemmanager on this installation?
INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
5 years 8 months ago #23957

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

  • Posts: 24
  • Thank you received: 1

Yes. The only change made. Clean install, installed all relevant Indi/Kstars stuff, removed modemmanager. No script install on this one (although now I don't think that is the problem)
5 years 8 months ago #23958

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

  • Posts: 1309
  • Thank you received: 226
What happens if you use the bluetooth manager to create a serial connection?
I predict it will create one on /dev/rfcomm1
Do you have any success connecting to /dev/rfcomm1 under those conditions?

Edit: Also when I check my Bluetooth Devices, I do not have the colorful connection bars associated with the device under my working configuration until after EQMOD has connected.
INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
Last edit: 5 years 8 months ago by Andrew.
5 years 8 months ago #23959

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

  • Posts: 24
  • Thank you received: 1

It created /dev/rfcomm0 with the same results. Here is the SS and the logs from this attempt. I did notice that the permissions on /dev/rfcomm0 this time were different, but it still didn't work.

(EDIT) I should note, I had to disable the bind command in /etc/rc.local, I could not bind to a serial port with the BT manager if one was already created at boot.
Last edit: 5 years 8 months ago by Scott Baker.
5 years 8 months ago #23960
Attachments:

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

  • Posts: 1309
  • Thank you received: 226
Have you repaired the dongle since the last time you connected it to the PC?
INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
5 years 8 months ago #23961

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

  • Posts: 24
  • Thank you received: 1

Pretty much the same results, only this time I didn't get the graphical bars when the BT connected.

SS and log attached
5 years 8 months ago #23963
Attachments:

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

  • Posts: 1309
  • Thank you received: 226
Try it with the rc.local setting back on and reboot. Then do not touch the bluetooth manager, just fire up KStars.
Edit: Perhaps continue this in Private Messages.
INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
Last edit: 5 years 8 months ago by Andrew.
5 years 8 months ago #23964

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

  • Posts: 24
  • Thank you received: 1

No change. We can go to PMs.

If anyone else has any ideas, please chime in. It appears everything is fine up to the 'handshake' when Ekos tries to connect to the BT via /dev/rfcomm0. That's where the first error is.
5 years 8 months ago #23965

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

  • Posts: 281
  • Thank you received: 29
Hi Scott,

You may have seen this one already:

www.indilib.org/forum/general/3100-how-t...uetooth-adapter.html

One element needed could also be “trust xx:xx:xx:xx:xx” when running bluetoothctl but have to admit my technical skills are very limited.

Good luck!
5 years 8 months ago #23970

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

  • Posts: 24
  • Thank you received: 1

Thanks for responding! I followed those instructions you linked and ended up with the exact same results. According to the logs the failure happens at 'handshake'. Ekos sees the port, Indi appears to be using the port, but the connection always fails at the handshake.
5 years 8 months ago #23977

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

  • Posts: 281
  • Thank you received: 29
Hm... did you try only to connect to the BT Adapter, leaving the cameras outside?

I had once an identification-problem with the serial ports when using Eq mount and Arduino based focuser, resolved with this approach:

indilib.org/support/tutorials/157-persis...al-port-mapping.html
5 years 8 months ago #23978

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

Time to create page: 0.274 seconds