0
1
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?
and what about
kernel-headers
package? – Zina – 2016-08-15T17:39:53.853"zypper search kernel-headers", gives me no results found. – Ilian Zapryanov – 2016-08-15T17:44:56.367
It`s also said that the headers are in "linux-glibc-devel" package, which I have. – Ilian Zapryanov – 2016-08-15T17:47:02.287
ah, okay, I am on Ubuntu / CentOS. Maybe this will help you further ->
– Zina – 2016-08-15T17:48:47.907And I also install the "kernel-syms" package, which brings in the headers as a dependency
Yes, I just did that, however, the headers are still missing. Can you check if your distro has them? – Ilian Zapryanov – 2016-08-15T17:56:23.613
on CentOS 7 -
yum install kernel-headers.x86_64
- when I use the tab expansion. Currently I have no SuSe VM (and as told before I am on Ubuntu/CentOS) – Zina – 2016-08-15T17:58:21.037Too bad... I still don`t have them ... – Ilian Zapryanov – 2016-08-15T18:03:50.553
I`ve checked this topic, and even this did not work for me?
maybe just download backlight.h, gpio.h, driver.h ?
– Zina – 2016-08-15T19:39:20.110