How do I get plug and play controllers to work?

I’m on the newest oram, updated it too…

I’ve got an apc25 and an mpk mini mk3, I’ve adapted the apc 25 mk2 file since I’ve written c scripts based on it before and the new model just has differences to the lights…

I could not get the mpk mini or or the apc25 even though their device names appear coorect in zynthian e.g. ‘MPK mini 3’, midi works as normal, but no controller functionality

Am I missing a crucial step here?

Hi @lanmower !

Have you tried to load the driver from the admin’s MIDI input dialog?

If you do so, please could you send the UI logs?

Thanks!

I switched debug on… and this is what I got

Restarting UI in normal mode
Oct 28 20:37:30 zynthian startx[11170]: xinit: connection to X server lost
Oct 28 20:37:30 zynthian startx[11170]:
Oct 28 20:37:30 zynthian startx[11170]: waiting for X server to shut down
Oct 28 20:37:30 zynthian startx[11171]: (II) Server terminated successfully (0). Closing log file.
Oct 28 20:37:31 zynthian startx[11170]: xinit: unexpected signal 15
Oct 28 20:37:31 zynthian systemd[1]: zynthian.service: Main process exited, code=exited, status=1/FAILURE
Oct 28 20:37:31 zynthian systemd[1]: zynthian.service: Failed with result ‘exit-code’.
Oct 28 20:37:31 zynthian systemd[1]: Stopped zynthian.service - Zynthian User Interface.
Oct 28 20:37:31 zynthian systemd[1]: zynthian.service: Consumed 6.112s CPU time.
Oct 28 20:40:45 zynthian systemd[1]: Started zynthian.service - Zynthian User Interface.
Oct 28 20:40:45 zynthian startx[12941]: X.Org X Server 1.21.1.7
Oct 28 20:40:45 zynthian startx[12941]: X Protocol Version 11, Revision 0
Oct 28 20:40:45 zynthian startx[12941]: Current Operating System: Linux zynthian 6.6.47-v8-16k+ #1794 SMP PREEMPT Thu Aug 29 16:30:28 BST 2024 aarch64
Oct 28 20:40:45 zynthian startx[12941]: Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 smsc95xx.macaddr=2C:CF:67:0C:4E:C9 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 root=PARTUUID=e249d476-02 rootfstype=ext4 fsck.repair=yes rootwait console=tty1 logo.nologo modules-load=dwc2,libcomposite
Oct 28 20:40:45 zynthian startx[12941]: xorg-server 2:21.1.7-3+rpt3+deb12u7 (Debian -- User Support)
Oct 28 20:40:45 zynthian startx[12941]: Current version of pixman: 0.42.2
Oct 28 20:40:45 zynthian startx[12941]: Before reporting problems, check http://wiki.x.org
Oct 28 20:40:45 zynthian startx[12941]: to make sure that you have the latest version.
Oct 28 20:40:45 zynthian startx[12941]: Markers: (–) probed, (**) from config file, (==) default setting,
Oct 28 20:40:45 zynthian startx[12941]: (++) from command line, (!!) notice, (II) informational,
Oct 28 20:40:45 zynthian startx[12941]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Oct 28 20:40:45 zynthian startx[12941]: (==) Log file: “/var/log/Xorg.0.log”, Time: Mon Oct 28 20:40:45 2024
Oct 28 20:40:45 zynthian startx[12941]: (==) Using config directory: “/etc/X11/xorg.conf.d”
Oct 28 20:40:45 zynthian startx[12941]: (==) Using system config directory “/usr/share/X11/xorg.conf.d”
Oct 28 20:40:45 zynthian startx[12953]: ----------------------------------------------
Oct 28 20:40:45 zynthian startx[12953]: Linux Version: bookworm
Oct 28 20:40:45 zynthian startx[12953]: Kernel Version: 6.6.47-v8-16k+
Oct 28 20:40:45 zynthian startx[12953]: ZynthianOS Version: 2409
Oct 28 20:40:45 zynthian startx[12953]: Virtualization: none
Oct 28 20:40:45 zynthian startx[12953]: Hardware Architecture: aarch64
Oct 28 20:40:45 zynthian startx[12953]: Hardware Model: Raspberry Pi 5 Model B Rev 1.0
Oct 28 20:40:45 zynthian startx[12953]: ----------------------------------------------
Oct 28 20:40:45 zynthian startx[12982]: /zynthian/config/img/fb_zynthian_boot.jpg is a 1920x1080 JPEG image, color space Grayscale, 1 comp, Huffman coding.
Oct 28 20:40:45 zynthian startx[12982]: Zooming image by 100%…done
Oct 28 20:40:45 zynthian startx[12982]: Merging…didn’t find evidence of prior run.
Oct 28 20:40:45 zynthian startx[12982]: done
Oct 28 20:40:45 zynthian startx[12982]: Building XImage…done
Oct 28 20:40:46 zynthian startx[12984]: ZynCore: Configured 8 x Logical Zynswitches…
Oct 28 20:40:46 zynthian startx[12984]: ZynCore: Setting-up 0 x Physical Zynswitches…
Oct 28 20:40:46 zynthian startx[12984]: ZynCore: Setting-up 0 x Zynpots (zyncoders)…
Oct 28 20:40:46 zynthian startx[12984]: Started libzynaudioplayer using libsndfile-1.2.0
Oct 28 20:40:46 zynthian startx[12984]: Started libzynmixer