Can you confirm - did the deb package work for you or did you compile from source (for Buster)?

@tehn - what’s the best way to autolaunch serialoscd for use with pd?

‘best’ probably depends on context/application
systemd service?
login script?
pd launch script?

context would be eventually getting pd running as a norns engine (and thus being sure grid/arc were properly interfacing with pd).

So systemd service perhaps in that case?

deb package worked fine and serialosc is started on boot per default i think

I’m trying to work with a grid and a node.js script on Rasbian Buster but something is not working and it’s difficult to troubleshoot…

I’m on ARMv6, RPI Zero W, Raspbian Buster

Just to be clear, do I need to install libmonome-dev AND serialosc or libmonome-dev is sufficient ?


First, I followed these instructions https://monome.org/docs/serialosc/raspbian/
But I’m getting nothing from my node script, it’s supposed to print the grid keys pressed but… I assume there’s an issue with my serialosc install…

journalctl -u serialosc returns a blank log, that’s weird (same for serialoscd, I never know which one is correct).

When I try to start serialoscd manually (after a systemctl stop serialosc, just to be sure) it returns a “Segmentation fault”.

So I decided to remove the libmonome-dev and serialosc packages and tried to compile from source but I’m getting an error with serialosc this time, the build fails :

heres the output of ./waf -v

Am I missing something here ? Is this an issue with ARMv6 ?

Thanks :wink:

maybe a gcc version problem?

but wow that error’s not really giving much useful info, is it?

Ha yeah I know :slight_smile: The other part of the script is not throwing any error, this is all I have. I remember using a monome with pd on a rpi3 a few years ago without problem. The only difference here is RPI buster instead of Jessie (?) and the RPI model… I suspect armv6 is the cause… unless someone has successfully used a monome and a pi zero…

You could try doing a test install with Jessie on the PiZero and see if that works? Not ideal, but would narrow down causes.

I would suspect gcc being a much newer (more restrictive) version rather than armv6 off the top of my head.

I have 4.19.66+ armv6l on my pihole pizero I could test here if you like

1 Like

Yes, good idea. I can try that on a new SD card.

Just to be sure, the regular procedure for connecting and working with a grid on a RPI is to install the libmonome-dev package and that’s it ?
Because this package is not mentioned on the Monome docs (“install serialosc on raspbian”). That’s confusing. If so, you then add a script to start serialosc(d?) as a service ?

or
Is it libmonome-dev then the serialosc package ?

Oh and, when serialosc is working , is it supposed to log the ID of the grid in the console when you connect a grid ? At the moment, it’s not obviously but I’m looking for ways to troubleshoot the install… lsusb shows the device connected to the pi but that’s it.

Will try with Jessie tomorrow as you’ve suggested :wink:

noting here for others…

serialosc compile solution is to change the compile flags to not treat warnings as errors…

not sure how to do that with flags in waf so I changed the serialosc/wscript line 257 to conf.env.append_unique("CFLAGS", ["-std=c99", "-Wall", "-Wno-error"])

1 Like

The solution suggested by @okyeron seems to work.

Serialosc will compile after changing line 257 of wscript to not treat warnings as errors.

After a reboot, serialoscd will load without throwing a “segmentation fault” and detects my grid.

I’ve posted an issue with the details here https://github.com/monome/serialosc/issues/53