Raspbian stretch and flotilla


#1

Hi just thought I would document that I did a fresh install of rasbian stretch today and now rockpool will not find my flotilla dock. I have tried it on the pi itself and on a tablet browser.

I haven’t tried it with Python yet so that could be ok.

Just wanted to make you aware of this.

Cheers


#2

I’m going to guess the problem is as follows:

pi@raspberrypi:~/flotilla-offline $ /usr/bin/flotilla
/usr/bin/flotilla: error while loading shared libraries: libboost_system.so.1.50.0: cannot open shared object file: No such file or directory

Because we’re (still) not properly shipping Flotilla as a deb (we need to fix that) it has dependency quirks, since we’re manually copying in a binary built for a specific version of Raspbian (Wheezy/Jessie and now Stretch).

I’ll see if I can whip up a fixed binary for you to try out.


#3

Hi
Thanks for the reply, I am not going to pretend to understand it entirely.
No major hurry required for me, I have another pi still running Jessie that I will not update for a while.

Cheers


#4

If you want to give it a try, you can grab the “flotilla-stretch” file from: https://github.com/pimoroni/flotilla-offline

On your Stretch Pi:

sudo apt install libboost-system1.58 libboost-filesystem1.58 libboost-program-options1.58
git clone https://github.com/pimoroni/flotilla-offline
sudo cp flotilla-offline/flotilla-stretch /usr/bin

Raspbian Stretch can't support Flotilla Dock?
#5

Hi,

I tried those instructions but I still cant get my pi to find the dock, any ideas?

Cheers


#6

Drat my instructions are flawed. The flotilla-stretch file should overwrite the one in /usr/bin, so the correct copy command is: cp flotilla-offline/flotilla-stretch /usr/bin/flotilla


#7

Great, thanks for that. I will give it a go later today


#8

Hi,
I have a fresh Stretch install updated / upgraded on an Raspberry pi Zero W.
I have the Mega Treasure Chest Starter Kit ordered few months ago.
So I followed the instructions :
here http://learn.flotil.la/getting-started/installation

And did the improvement found in this topic

sudo apt install libboost-system1.58 libboost-filesystem1.58 libboost-program-options1.58
git clone https://github.com/pimoroni/flotilla-offline
sudo cp flotilla-offline/flotilla-stretch /usr/bin/flotilla

But i keep on getting the message “searching for docks no docks found, yet! =(” on rockpool

Is flotilla compatible with Raspberry Pi Zero W ?
Thank you


#9

Yes- how are you connecting the dock to the Pi Zero W? It could easily be a flaky USB cable/hub/adaptor in the chain.

What do you see if you run: lsusb with the dock plugged in?


#10

Yes good point : I had a problem with an USB cable, but it’s now solved :)

The USB adapter I use is good and lsusb gave me a list of my things connected to my USB adapter, including the flotilla dock.
If you want to, I can try tonight to give you the precise item list returned by the command lsusb


#11

so lsusb give me this :

Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 003: ID 16d0:08c3 MCS
Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

MCS is the dock. In my memory the name was a bit more explicit :)


#12

Hmm, I do wonder if the Flotilla service is running at all.

Try grabbing and installing the offline repo, I’ve updated it recently to detect and -hopefully- support stretch:

git clone https://github.com/pimoroni/flotilla-offline
cd flotilla-offline
sudo ./install
``

#13

Thanks for the suggestions above. I tried the suggestion of installing flotilla-offline, followed by sudo ./install.

The response is “Unsupported version of Raspbian”

uname -r gives 4.9.59-v7+


#14

That’s… odd… what does it say if you run:

lsb_release -a

#15

This is what I get:

> pi@raspberrypi:~ $ lsb_release -a
> No LSB modules are available.
> Distributor ID:	Raspbian
> Description:	Raspbian GNU/Linux 9.3 (stretch)
> Release:	9.3
> Codename:	stretch

#16

Also uname -a gives

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux


#17

Ok so I changed the install file to include 9.3, and it all works now.


#18

Good spot! D’oh. I’ll get the installer updated.

Edit: I seem to have totally missed that an apt update && apt upgrade bumps the version from 9.0/9.1 to 9.3. I’ll have to keep an eye on that in future!