Scott Baker replied to the topic 'Raspberry Pi3 dedicated to Kstars/Ekos only, what can I delete?' in the forum. 7 months ago

wvreeven wrote: As it happens I ordered an XU4 recently and it is due to arrive next Monday. I'll inform you about it as soon as I have it working which probably will be Monday night (CEST) ;-)


I have an XU4 serving as my home NAS, it almost seems a waste in that capacity but the USB3 was a huge bonus for the file transfer and backup. Keep me informed how that works out for Kstars/Ekos. Is there an Odroid thread yet? I know there is the Rock64 thread.

I got excited after Rob said his 64bit script works well on the Odroid and I ordered all the parts to do this project with a C2, including an EMMC module. Maybe it's not a horrible idea to start an Odroid thread so we can compare and troubleshoot them?

My stuff should be arriving Monday Apr 2.

Read More...

Scott Baker replied to the topic 'Raspberry Pi3 dedicated to Kstars/Ekos only, what can I delete?' in the forum. 7 months ago

rlancaste wrote: The odroid is very nice, my 64 bit script works well with that. I can't use it really with my camera due to the issue of SBIG not releasing a 64 bit arm version of their driver, but other than that the odroid c2 works great. I have had way more problems with trying the Rock64. But despite having them, i am still imaging with the raspberry pi.

I do bet there are some things you can delete to answer the question, and when i first started in 2016, I did try to delete as many as I could, but I found that it was a lot of extra effort to do so, so now I just ignore the extra stuff.

Thanks,

Rob


Good to know, ever tried the Odroid XU4? As for deleting things, It's not like a few hundred megs will make a huge difference in the grand scheme of things, especially if there is a chance to break dependencies or crash the OS.

Read More...

Scott Baker replied to the topic 'Raspberry Pi3 dedicated to Kstars/Ekos only, what can I delete?' in the forum. 7 months ago

I had already deleted libreoffice and thunderbird before posting this. And I think I saw some of the effects from it. I started getting errors out of nowhere, and sometimes trying to connect via VNC just didn't work right. So....back to square one with a fresh install. Now I know :)


El Corazon wrote:
Here's a link to a recent post ( www.indilib.org/forum/embedded-indi/3185...t-connect.html#24517 )where I summed up some of my experience with the Pi3. An additional piece of info, not covered here, is the importance of the read and write speed of the SD card. Not all Class10 cards are the same. I use the 128GB Samsung EvoSelect microSDXC UHS-I card ($40). That works very well in the Pi3. I have used another Class10 SD card with similar read and write speed (supposedly!) that slows my Pi3 down to snail sprinting speed (you don't want to go there). The card IS important. Also, I put a Swap file on an external USB 2.5" HD, which I also use for storing captured video. But the most important thing is the I/O on the SD card. You have to use the fastest one you can get. A speedy wireless connection is also important.



I'm not *too* worried about storage, I have a nice 16gb card running ubuntu mate, and I plan on storing all images on the camera. I actually considered trying this on an Odroid XU4, I have one running my home NAS and I love it. They are hard to keep in stock, and I'm unsure if Mate would run on it but that's the type of machine I'd really want to do this sort of work.

Read More...

Scott Baker created a new topic ' Raspberry Pi3 dedicated to Kstars/Ekos only, what can I delete?' in the forum. 7 months ago

Lets say I only want to use the RPI for my AP needs, utilizing Rlancaste's awesome Setup Script. After that, is there a list of things I can get rid of to free up storage space? Libreoffice and Thunderbird are 2 very obvious ones that come to mind. Just wondering what else lurks in the install that is just bloat when it comes to what we're using these RPI's for.

Read More...

Scott Baker replied to the topic 'Keep getting 'device or resource busy' error when connecting' in the forum. 7 months ago

Another update:

I ordered a serial to usb cable from Amazon and made my own shoestring-style USB2EQ5 cable. I still have my Lubuntu OS running on the Raspberry Pi. Everything connected just fine. No issues I could see (Other than my lack of knowledge in actually operating Kstars/Ekos).

Telescope control was as expected, I could slew the scope around with Kstars or manually with the scope control window. I could lock back on the Sun (I'm indoors, was just making sure it all worked) and sync and track it.

Some day I'd love to figure out why the bluetooth dongle can't connect on the RPI, that will probably drive me insane. Seriously.

But for now, I'll deal with one additional cable on the mount and consider this a win. Now to learn how to actually use Kstars to do my imaging :)

Thanks to everyone who helped, if anyone ever comes up with additional info or suggestions on getting the BT2EQ5 working I'd love to hear it. I'm off to Kstars school in the meantime!

Read More...

Scott Baker replied to the topic 'Keep getting 'device or resource busy' error when connecting' in the forum. 7 months ago

I've tried a few different flavors of linux on my laptop and all can pair and connect and run Ekos/Kstars with very little trouble. Mint, Ubuntu Mate, Lubuntu and even Peppermint all do just fine, just like my windows machine. At least I have that going for me, I can always leave that laptop outside and VNC into it with my windows machine.

Raspberry Pi is a whole different story. I've tried Ubuntu Mate and Lubuntu on 2 different Raspberry Pi 3's, and nothing will allow me to connect. Bluetooth pairing works, binding rfcomm works via command line, and /etc/rc.local, but I get the same error I've documented previously in this thread. Every single time, no matter what steps I take to detect, pair and assign a serial port, all goes well up to the actual point where Indi tries to connect to the Shoestring dongle.

I'm going to try and find another RPI OS that may work, and in the meantime I'm just going to take my linux laptop back to Mint, it was my favorite flavor and I ran it for years. As for the raspberry pi 3 issues, it's beyond me. Doesn't make a lick of sense, and the same issue cropping up on 2 different machines and 2 different operating systems is mind boggling, especially with people claiming they get the exact same hardware to work on their machines.

Read More...

Scott Baker replied to the topic 'Keep getting 'device or resource busy' error when connecting' in the forum. 7 months ago

Ihoujin wrote: I got this tip from the INDI Support FAQ

You have read and write permissions to the port. In some Linux distros, this is not the default setting. Under Ubuntu, you need to add your user to the dialout group:

sudo adduser $USER dialout
Then you must restart your PC for this to take effect and try again.


I haven't given up, my kid and his GF were here for a week, so I packed the scope up. In that time I installed Lubuntu on the RPI3 and even tried it on my laptop but I just didn't like it, so I went with Ubuntu Mate there. I was hoping to get out late, late tonight for some imaging but I'll probably stick with my windows setup for that At least I'll have the scope up and ready to tackle this fiasco again :)

Read More...

Scott Baker replied to the topic 'Raspberry Pi 3 Setup Script' in the forum. 7 months ago

rlancaste wrote: I am not an expert on conky by any means. I found a tutorial on how to set it up and configure it online and I then incorporated it into the script because I liked it. Currently I'm not having problems with it, but maybe it just happened recently. I do know that there is a new format for the configuration file, but the older format was working for me still. If you have any suggestions on how I should update it let me know.


I'm pretty sure it's an Lubuntu thing. I can't get it to load at boot at all. The format of the config file doesn't really seem to make a difference. Via command line, it does whine a little bit when loading but it starts just fine. I don't think the new format has anything to do with it not auto-starting in Lubuntu.

Read More...

Scott Baker replied to the topic 'Raspberry Pi 3 Setup Script' in the forum. 7 months ago

I've used the script about a million times with Ubuntu Mate on my Raspberry Pi3 while trying to track down why my bluetooth dongle doesn't work correctly. The script is great, I can't say enough good things about it!

I used it again last night on the RPI3 but this time with Lubuntu. It seems that conky is not starting on it's own. When starting manually, conky give syntax errors but it does start. Apparently there is a new conky config file format. I've found a script that converts the config file to the new format but haven't tried it yet. Are there any other suggestions?

Read More...

Scott Baker replied to the topic 'Keep getting 'device or resource busy' error when connecting' in the forum. 8 months ago

Kaczorek wrote:

TheRealEleven wrote: 1. The only changes I've ever made to /boot/config.txt is to add rfcomm bind hci0 MACADDRESS 1 &

I mean /boot/config.txt NOT /etc/rc.local. This is the place where you enable various overlays for RPi. One of them is to disable BT (internal), and this one can give you hard time. Just review the very end of the file and paste here these a few lines that are sitting there.

TheRealEleven wrote: 2. I use the external dongle from Shoestring Astronomy LINK

This might be the root cause of your problems. If you use Raspberry Pi 3 it has bluetooth built-in. Use it instead of an external dongle. If it is Raspberry Pi 2 you need to stick to a dongle, it does not have bluetooth device. In any case you need to pair the devices before successful binding. To do this start bluetoothctl in your terminal and run:
scan on
agent on
pair XX:XX:XX:XX:XX:XX
trust XX:XX:XX:XX:XX:XX

TheRealEleven wrote: 3. I did try rfcomm1 once, but usually with the /boot/config.txt or even binding via command line it defaulted to rfcomm0.

Either it is /dev/rfcomm0 or /dev/rfcomm1 depends on what is you bind command. I think now you mix internal BT device with external BT dongle. For RPi3 just disconnect the dongle and stick to internal BT device and bind it to /dev/rfcomm0 as you have already done.

TheRealEleven wrote: 4. I'll break out the RPI and try to connect my phone, I'd never considered something like that.

I don't think you can just connect to your phone. You need a BT serial device. If you don't have anything like this at you hand just skip this step.


PS. If you will not be able to get it through let me know. I can do it for you remotely.


Ah yea I confused /etc/rc.local with /boot/config.txt. The only changes I make to config.txt is the normal headless settings. hdmi_force_hotplug=1 hdmi_group=2, and hdmi_mode=82. Nothing else is changed there.

As for the dongle, its the device that's plugged into my mount. I do use the RPI3's built in bluetooth to connect to my mount. I DO NOT use any external BT devices on the RPI itself.

Read More...

Scott Baker replied to the topic 'Keep getting 'device or resource busy' error when connecting' in the forum. 8 months ago

Kaczorek wrote:

TheRealEleven wrote: So I have a second Rasperry Pi 3 running another home project. I took that SD card out, installed Ubuntu Mate on a new SD and tried again. Same exact results as the other RPI. So my BT dongle works with no issues in Windows and Linux Mint, but fails the exact same way on 2 different Raspberry Pi's running Ubuntu Mate.


A few questions before we nail it ;-)
1. Do you have any custom changes to /boot/config.txt on you RPi system?
2. Do you use built-in BT or external dongle?
3. Can you connect to EQMod with miniterm /dev/rfcomm0 or any other serial terminal?
4. Can you connect to any other BT device with a serial terminal?

Regards

Radek


My son and his GF are visiting for Spring Break so I broke the mount/scope down. I can bring out the RPI and test those things though, thanks for the suggestions. I'll just edit this post as I do the test. As for what I can tell you now:

1. The only changes I've ever made to /boot/config.txt is to add rfcomm bind hci0 MACADDRESS 1 &

2. I use the external dongle from Shoestring Astronomy LINK

3. I did try rfcomm1 once, but usually with the /boot/config.txt or even binding via command line it defaulted to rfcomm0.

4. I'll break out the RPI and try to connect my phone, I'd never considered something like that.

Read More...

Scott Baker replied to the topic 'Keep getting 'device or resource busy' error when connecting' in the forum. 8 months ago

Ihoujin wrote: What version of Linux are you using?
Ubuntu Mate is popular here, even recommended. I use LUbuntu because I find it's a bit lighter weight and I like the plain theme. Perhaps try a different distro?


Ubuntu Mate 16.04.2 for Raspberry Pi. I do have a laptop with Linux Mint but...going to try that and see if I can connect.

Read More...

Scott Baker replied to the topic 'Keep getting 'device or resource busy' error when connecting' in the forum. 8 months ago

HelgeMK wrote: It somehow strikes me that it is not working. I have both the Shoestring BT adapters for eq5 and eq6 managed to get running with the instructions shared (I am using the astroberry image).

The only issue I was running into was that initially I bought the EqDir Adapter and got annoyed that I could not receive any signal - thought it was the BT Adapter... so maybe two other options:

Are you 100% sure about the address and did not pick up accidentally another BT device in your neighborhood?

Start with a fresh image and try again the procedure.


The MAC address don't lie. I've verified it on other laptops, it's the correct BT device that's being connected. I've started with clean Ubuntu installs almost daily. With all the different things I've tried, I didn't want to take any chance of just continuing to work on a broken install.

Read More...

Scott Baker replied to the topic 'Keep getting 'device or resource busy' error when connecting' in the forum. 8 months ago

nmac wrote: Onde simple thing tha drived me almost nuts!
Change the rfcomm0 device permissions to your user and try again, I had to do just that, even if the user is in the dialout group.

"sudo chown user:user /dev/rfcomm0", where user is your username.

This after the pair and trust and before the connect.


Worth a try, but nothing changed, same exact responses when trying to connect.

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


Same results with nothing except the mount attached (It did complain about not finding the camera and guide camera).

Read More...

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!