Lưu ý
Mục đích của file này là để độc giả tiếng Việt có thể đọc và hiểu tài liệu nhân kernel dễ dàng hơn, không phải để tạo ra một nhánh tài liệu riêng. Nếu bạn có bất kỳ nhận xét hoặc cập nhật nào cho file này, vui lòng thử cập nhật file tiếng Anh gốc trước. Nếu bạn thấy có sự khác biệt giữa bản dịch và bản gốc, hoặc có vấn đề về bản dịch, vui lòng gửi góp ý hoặc patch cho người dịch của file này, hoặc nhờ người bảo trì và người review tài liệu tiếng Việt giúp đỡ.
- Bản gốc:
- Người dịch:
Google Translate (machine translation)
- Phiên bản gốc:
8541d8f725c6
Cảnh báo
Tài liệu này được dịch tự động bằng máy và chưa được review bởi người dịch. Nội dung có thể không chính xác hoặc khó hiểu ở một số chỗ. Khi có sự khác biệt với bản gốc, bản gốc luôn là chuẩn. Bản dịch chất lượng cao (được review) được đặt trong thư mục vi_VN/.
LG Gram laptop extra features¶
By Matan Ziv-Av <matan@svgalib.org>
Hotkeys¶
The following FN keys are ignored by the kernel without this driver:
FN-F1 (LG control panel) - Generates F15
FN-F5 (Touchpad toggle) - Generates F21
FN-F6 (Airplane mode) - Generates RFKILL
FN-F9 (Reader mode) - Generates F14
The rest of the FN keys work without a need for a special driver.
Reader mode¶
Writing 0/1 to /sys/devices/platform/lg-laptop/reader_mode disables/enables reader mode. In this mode the screen colors change (blue color reduced), and the reader mode indicator LED (on F9 key) turns on.
FN Lock¶
Writing 0/1 to /sys/devices/platform/lg-laptop/fn_lock disables/enables FN lock.
Battery care limit¶
Writing 80/100 to /sys/class/power_supply/CMB0/charge_control_end_threshold sets the maximum capacity to charge the battery. Limiting the charge reduces battery capacity loss over time.
This value is reset to 100 when the kernel boots.
Fan mode¶
Writing 0/1/2 to /sys/devices/platform/lg-laptop/fan_mode sets fan mode to Optimal/Silent/Performance respectively.
USB charge¶
Writing 0/1 to /sys/devices/platform/lg-laptop/usb_charge disables/enables charging another device from the USB port while the device is turned off.
This value is reset to 0 when the kernel boots.
LEDs¶
The are two LED devices supported by the driver:
Keyboard backlight¶
A led device named kbd_led controls the keyboard backlight. There are three lighting level: off (0), low (127) and high (255).
The keyboard backlight is also controlled by the key combination FN-F8 which cycles through those levels.
Touchpad indicator LED¶
On the F5 key. Controlled by led device names tpad_led.