Welcome, Guest
Username: Password: Remember me
08 Apr 2018
INDI development team is happy to announce the release of INDI Library v1.7.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers.
Read More...

TOPIC: Keep getting 'device or resource busy' error when connecting

Keep getting 'device or resource busy' error when connecting 3 months 2 weeks ago #23956

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.
Attachments:

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

Last Edit: by TheRealEleven.

Keep getting 'device or resource busy' error when connecting 3 months 2 weeks ago #23957

Did you remove modemmanager on this installation?

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

Keep getting 'device or resource busy' error when connecting 3 months 2 weeks ago #23958

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)

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

Keep getting 'device or resource busy' error when connecting 3 months 2 weeks ago #23959

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.

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

Last Edit: by Ihoujin.

Keep getting 'device or resource busy' error when connecting 3 months 2 weeks ago #23960

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.
Attachments:

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

Last Edit: by TheRealEleven.

Keep getting 'device or resource busy' error when connecting 3 months 2 weeks ago #23961

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

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

Keep getting 'device or resource busy' error when connecting 3 months 2 weeks ago #23963

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
Attachments:

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

Keep getting 'device or resource busy' error when connecting 3 months 2 weeks ago #23964

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.

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

Last Edit: by Ihoujin.

Keep getting 'device or resource busy' error when connecting 3 months 2 weeks ago #23965

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.

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

Keep getting 'device or resource busy' error when connecting 3 months 2 weeks ago #23970

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!

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

Keep getting 'device or resource busy' error when connecting 3 months 1 week ago #23977

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.

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

Keep getting 'device or resource busy' error when connecting 3 months 1 week ago #23978

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

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

Time to create page: 0.162 seconds

Login

3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica