0

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 dont have them?

9
  • and what about kernel-headers package?
    – Zina
    Aug 15, 2016 at 17:39
  • "zypper search kernel-headers", gives me no results found. Aug 15, 2016 at 17:44
  • It`s also said that the headers are in "linux-glibc-devel" package, which I have. Aug 15, 2016 at 17:47
  • ah, okay, I am on Ubuntu / CentOS. Maybe this will help you further -> And I also install the "kernel-syms" package, which brings in the headers as a dependency
    – Zina
    Aug 15, 2016 at 17:48
  • Yes, I just did that, however, the headers are still missing. Can you check if your distro has them? Aug 15, 2016 at 17:56

1 Answer 1

0

Try to run

zypper se kernel | grep header

Most likely then you can see what packages do you have to install

1
  • 1
    Hello, the command you proposed gives me gives me no output :) Aug 21, 2016 at 11:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .