Building xone on VeroV

Hello, I just ran hissingsharks retrOSMCmk2 script on my Vero 5 without issues.

I have a pair of Xbox Series X|S controllers that always had issues when both connected to my Vero 4k via USB cables at the same time. I recently bought an xbox usb dongle and got the controllers working flawlessly on Ubuntu by building xone. I now want to build xone on my Vero 5.

Trying sudo make test on the Vero 5 gives the following error

make debug &&\
	make load
make[1]: Entering directory '/home/osmc/xone'
make -C /lib/modules/4.9.269-84-osmc/build M=$PWD clean
make[2]: Entering directory '/home/osmc/xone'
make[2]: *** /lib/modules/4.9.269-84-osmc/build: No such file or directory.  Stop.
make[2]: Leaving directory '/home/osmc/xone'
make[1]: *** [Makefile:12: clean] Error 2
make[1]: Leaving directory '/home/osmc/xone'
make: *** [Makefile:21: test] Error 2

LLMs hint that this is due to lack of headers. I did a quick apt search and saw these entries

vero564-headers-4.9.269-84-osmc - Linux OSMC kernel headers
vero564-headers-sanitised-4.9.269-84-osmc - Linux OSMC kernel headers sanitised for userland applications
vero5-userland-dev-osmc - Vero 5 userland package with headers

However, it seems kernel 5.13+ is required. I don’t mind experimenting, but it would be nice if someone could provide some guidance on what packages to install - or if this will even be possible with the kernel requirements. I noticed in some older threads newer kernels were mentioned about being planned at some point in the future.

Also I checked hissingsharks install script for drivers - only the old xpad and newer xpadneo drivers appear to be optional installs, but xpadneo has issues with BLE controllers like mine.

1 Like

Hi,

We are indeed moving to a newer kernel soon.

If >=5.13.x is needed, it won’t work for now. I am not familiar with the module, but you could ask the maintainer

Sam

1 Like

Thank you for the quick response Sam. I am in no hurry so I will wait for the new OSMC kernel. I assume it will be 5.13 or greater given your response?

And not holding you to any time-frame, but would you be aiming for the kernel upgrade to coincide with the move to Kodi 22.1?

We are looking at 5.15 kernel.

I think Kodi v22 will come sooner.

Sam