How to install headers for ATV?

I need to compile the rtl8821 driver (the preinstalled is not working - no search results in wireless menu) so I need the headers for atv osmc, how can I install them?

This driver is included in OSMC. It is possible we don’t have your VID/PID combo covered in the driver yet, and you would be better off providing it so we can include it in OSMC.

Nonetheless, apt-get update && apt-cache search atv-headers should provide you with a list of header packages.

Ok, the lspci -nn says:
Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter [10ec:8821]

Can you chek is it already included or not, please?

Ah, PCI-E, that makes more sense…

It’s probably not included


So need I just wait for update or something?

Not for a while, as the driver is unified across all platforms. I don’t have plans to add PCI-E support until we separate out for x64.

You will be better off building manually for now and pinning the kernel



Ok, when I run apt-cache search atv-headers there is nothing in output

atv-headers-4.2.3-6-osmc - Header files related to Linux kernel, specifically,

Make sure you run apt-get update first.

yes, double check it, update first then search - still nothing

alsto trying sudo apt-get install atv-headers-4.2.3-6-osmc:
E: Unable to locate package atv-headers-4.2.3-6-osmc
E: Couldn’t find any package by regex ‘atv-headers-4.2.3-6-osmc’