Try this?
diff --git a/src/serialosc-device/config.c b/src/serialosc-device/config.c
index b6fda47..69e5401 100644
--- a/src/serialosc-device/config.c
+++ b/src/serialosc-device/config.c
@@ -124,6 +124,7 @@ sosc_config_write(const char *config_dir, const char *serial, sosc_state_t *stat
const char *p;
FILE *f;
+ printf("sosc_config_write(%s, %s, %p)\n", config_dir ? config_dir : "(null)", serial ? serial : "(null)", state);
if (!serial)
return 1;
@@ -135,6 +136,7 @@ sosc_config_write(const char *config_dir, const char *serial, sosc_state_t *stat
path = path_for_serial(sosc_get_default_config_dir(), serial);
}
+ printf("FOPEN PATH %s\n", path);
if (!(f = fopen(path, "w"))) {
s_free(path);
return 1;
Honestly, I don't think there's anything Bela-specific here, I am wondering if it's an upstream issue or an issue with your device (does it work elsewhere?)