×

INDI Library v1.7.8 Released (11 May 2019)

Mid year release of INDI Library v1.7.8 comes with a few drivers and improvements to to existing drivers.

Keep getting 'device or resource busy' error when connecting

  • Posts: 34
  • Thank you received: 1

Replied by TheRealEleven on topic Keep getting 'device or resource busy' error when connecting

Ihoujin wrote: I am sorry you are having so much difficulty.
Could you post some logs and a screenshot?


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: 1 year 3 months ago by TheRealEleven.
1 year 3 months ago #23956
Attachments:

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

  • Posts: 525
  • Karma: 1
  • Thank you received: 94

Replied by Ihoujin on topic Keep getting 'device or resource busy' error when connecting

Did you remove modemmanager on this installation?
INDI/KStars on Raspberry Pi 3B+
Lubuntu 16.04
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
1 year 3 months ago #23957

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

  • Posts: 34
  • Thank you received: 1

Replied by TheRealEleven on topic Keep getting 'device or resource busy' error when connecting

Ihoujin wrote: Did you remove modemmanager on this installation?


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)
1 year 3 months ago #23958

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

  • Posts: 525
  • Karma: 1
  • Thank you received: 94

Replied by Ihoujin on topic Keep getting 'device or resource busy' error when connecting

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 3B+
Lubuntu 16.04
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
Last edit: 1 year 3 months ago by Ihoujin.
1 year 3 months ago #23959

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

  • Posts: 34
  • Thank you received: 1

Replied by TheRealEleven on topic Keep getting 'device or resource busy' error when connecting

Ihoujin wrote: 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.


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: 1 year 3 months ago by TheRealEleven.
1 year 3 months ago #23960
Attachments:

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

  • Posts: 525
  • Karma: 1
  • Thank you received: 94

Replied by Ihoujin on topic Keep getting 'device or resource busy' error when connecting

Have you repaired the dongle since the last time you connected it to the PC?
INDI/KStars on Raspberry Pi 3B+
Lubuntu 16.04
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
1 year 3 months ago #23961

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

  • Posts: 34
  • Thank you received: 1

Replied by TheRealEleven on topic Keep getting 'device or resource busy' error when connecting

Ihoujin wrote: Have you repaired the dongle since the last time you connected it to the PC?


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

SS and log attached
1 year 3 months ago #23963
Attachments:

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

  • Posts: 525
  • Karma: 1
  • Thank you received: 94

Replied by Ihoujin on topic Keep getting 'device or resource busy' error when connecting

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 3B+
Lubuntu 16.04
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
Last edit: 1 year 3 months ago by Ihoujin.
1 year 3 months ago #23964

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

  • Posts: 34
  • Thank you received: 1

Replied by TheRealEleven on topic Keep getting 'device or resource busy' error when connecting

Ihoujin wrote: 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.


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.
1 year 3 months ago #23965

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

  • Posts: 303
  • Karma: 1
  • Thank you received: 30

Replied by HelgeMK on topic Keep getting 'device or resource busy' error when connecting

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!
1 year 3 months ago #23970

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

  • Posts: 34
  • Thank you received: 1

Replied by TheRealEleven on topic Keep getting 'device or resource busy' error when connecting

HelgeMK wrote: 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!


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.
1 year 3 months ago #23977

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

  • Posts: 303
  • Karma: 1
  • Thank you received: 30

Replied by HelgeMK on topic Keep getting 'device or resource busy' error when connecting

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
1 year 3 months ago #23978

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

Time to create page: 0.210 seconds