mirror of
https://github.com/koreader/koreader
synced 2024-11-16 06:12:56 +00:00
1e69fae7bc
Adds support for devices found in https://blog.bq.com/es/bq-ereaders-developers-program/. Tested on BQ Cervantes 4 (last BQ device from 2017). It adds a new touch input event handler (discussed in #4275) which should work on other single touch devices (ie: Kobo Touch, Mini, Glo, Aura HD) but wasn't tested. Includes base bump with: [feat] Add BQ/Fnac device support (https://github.com/koreader/koreader-base/pull/745)
16 lines
261 B
Bash
Executable File
16 lines
261 B
Bash
Executable File
#! /bin/sh
|
|
|
|
# De-activate the touch screen.
|
|
echo 1 >/sys/power/state-extended
|
|
|
|
# Prevent the following error on the last line:
|
|
# *write error: Operation not permitted*.
|
|
sleep 2
|
|
|
|
# Synchronize the file system.
|
|
sync
|
|
|
|
# Suspend to RAM.
|
|
echo mem >/sys/power/state
|
|
|