Linux Device Driver
如何控制背光亮度
如下:
#include <linux/backlight.h> static struct backlight_device *bl = backlight_device_get_by_type(BACKLIGHT_RAW); backlight_device_set_brightness(bl, 5);
如何控制背光亮度
如下:
#include <linux/backlight.h> static struct backlight_device *bl = backlight_device_get_by_type(BACKLIGHT_RAW); backlight_device_set_brightness(bl, 5);