Author Topic: Loopstyler Headless Interface?  (Read 497 times)


  • Newbie
  • *
  • Posts: 5
  • GechoLoopSynth V2, PolyphonicWhale Glo, MMXX-TAPE
    • View Profile
    • default_test_tone
Loopstyler Headless Interface?
« on: June 01, 2024, 04:50:40 AM »
I'm wondering since the Loopstyler is running on Linux, if there is a way to SSH to it via Terminal or some other method. To be able to view it's output, and also to decide if one would want to interact with it, ie, before it becomes self aware... jk.


  • Administrator
  • Full Member
  • *****
  • Posts: 230
    • View Profile
Re: Loopstyler Headless Interface?
« Reply #1 on: June 02, 2024, 11:39:28 AM »
Hi Michael,

Thank you for the first question about Loopstyler, yay! ;D

Yes absolutely, you can connect to it via the virtual COM port at 115200 baud rate, using any common terminal utility (e.g. PuTTY).

To find out which port it is, in Windows you can check control panel / device manager, and in Mac, it should be something like /dev/tty.usbmodemXXXXXX or /dev/cu.usbserial-XXXXXX. It should just work without installing any drivers, it's a very standard USB interface that is widely supported in various operating systems.

It may happen that you can see the port but can't connect to it, then you may need to disable the LS app so it does not take over the resources right after power on. There is a file on SD card in "system" directory named "midi_init_enabled". It triggers this script to run: "/root/". If you rename that file to something else, e.g. "midi_init_enabled.not", and power cycle the unit, you will get access to the console. Then, to restart the app from there, you can run the script again using "/root/ &".

If you can connect without disabling the app, there is a script to stop it (so you can take over the audio interface): "/root/". It's not a permanent disable, after restart the app will be back.

By connecting you gain root access, no login info necessary. You can look around and try a few debug commands like "dmesg" (kernel log), "cat /proc/iomem" (to show hardware interfaces, for which the device tree configuration is in /boot/sun8i-v3s-ls257.dtb), "mount" (list file systems), "fdisk -l" (list SD card partitions), "top" (interesting to see the CPU load while something plays) etc.. There are also commands available to play and record various formats: "aplay", "arecord" and "mpg123" (LS could be a MP3 player too). Also SOX command and library is available for processing audio files. Voice messages that LS uses are in /data/voice/ and could be replaced with another voice, keeping the file names.

Have fun and let me know if you need any help or advice.