Hi Giulio and bela team!

I have recently to change the PCB and switch to another minibela from my current instrument and it seems that my OLED doesn't work anymore. I usually have it running on boot to print messages on my instrument. When I try to run the patch I get this message:

'opened i2c file 3
set i2c addr 3c
OscReceiver: Unable to initialise UDP socket: 98 Address already in use'

I am not sure what it means since I haven't changed the code myself. I have only replace the minibela and its PCB

Important info:

  • The OLED screen is beeing recognized on the same adress as 1x3c
  • I had to patches on the project folder for OLED , I disable both of them to try to tun manually. This trial didnt work as well.
  • the new minibela had already some OLED code running on background, but I changed to the current SD card of my isntrument.

    RafaeleAndrade OscReceiver: Unable to initialise UDP socket: 98 Address already in use'

    This means that there is another application running already bound on the same port. There probably is another instance of the same project running in the background, possibly as a service?

      To check backgroun running devices, When I run on linux command 'Run ps aux | grep oled ' I get:

      root 3056 0.0 0.2 2076 1148 ? S 10:47 0:00 grep oled

      It seems like I need to kill the process with sudo lsof -iUDP:<port_number> But this command doesnt exist on bela.

      giuliomoro Could you give some steps on how to reinstall ?

      I have already runned :

      systemctl disable O2O-main

      run this:

      hex_port=$(printf '%04x' 7562);
      inodes=$(grep ":$hex_port " /proc/net/tcp | awk '{print $10}');
      string=':\['$(echo $inodes | sed 's/ /\\]\\|:\\[/g')'\]';
      for i in $(ps axo pid); do  
        ls -l /proc/$i/fd 2> /dev/null | grep -q "$string" &&  ps axo "pid cmd" --no-headers -q $i
      done