Hello. I recently setup my Apple TV with OSMC 2017-01-1 (as later versions don’t support the Crystal HD decoder card). I have a TP-Link AC600 T2U Nano (small form factor USB wifi adapter) that I’d like to use, but the 8812au drivers are not built in.
Your kernel headers for kernel 4.2.3-22-osmc cannot be found at
/lib/modules/4.2.3-22-osmc/build or /lib/modules/4.2.3-22-osmc/source.
I saw one other thread here about someone asking about the headers, but no solution. I’m not very Linux or Make savvy, but I figure that someone had to have had the headers in the past to be able to compile other drivers for ATV.
That article was written in 2021 and it looks the dongle was released end of year 2019.
Have you checked they have support for 4.2 kernel?
Your error doesn’t indicate that this will be a problem, just that headers and sources are missing, but I think it’s worth checking if they will support this kernel before proceeding.
The oldest branch in that driver git appears to be created in 2016 and is based off of the Realtek drivers from then. It does specifically have a mention of supporting “>4.14 kernel”. So I suppose the actual dongle is based off a chipset from 2016 if not older.
Well, “adding support” for 4.14 kernel. I just mean that’s the oldest specific kernel version in the commit summaries I saw. But I don’t know what the oldest supported is.