I am trying to make a custom API for maintaining the backlight of the computer, however, as the examples suggest, the "backlight.h" is to be included, and there is no such a file on my Open SUSE distro. Ive installed kernel-devel package, and kernel-source, however nothing. Also I need more libs like "gpio.h" and "driver.h". So why I don
t have them?
1 Answer
Try to run
zypper se kernel | grep header
Most likely then you can see what packages do you have to install
-
1Hello, the command you proposed gives me gives me no output :) Aug 21, 2016 at 11:28
kernel-headers
package?And I also install the "kernel-syms" package, which brings in the headers as a dependency