![]() etc/modprobe.d/nf options psmouse elantech_smbus=0 Fingerprint reader Create the file below and reload the psmouse module or reboot: The fix is to force it to use the primary one. It is related to an issue with the psmouse module trying to use a secondary bus for the touchpad device, and elan_i2c failing to do so. If an Elantech Touchpad is not being detected and the following line appears in your journal:Įlan_i2c 5-0015: 5-0015 supply vcc not found, using dummy regulator If a touchpad device is not detected and shown as a device at all, a possible solution might be using one or more of these kernel parameters: Touchpad Synaptics is the older input driver, which is currently in maintenance mode and is no longer updated. To get your touchpad working properly, see the libinput page. To find and configure these see wakeup triggers. Wakeup sources/events/triggers wake the system from any of the hardware power-saving states. Even the default values may be too aggressive. To prevent your laptop hard drive from spinning down too often, set less aggressive power management as described in hdparm#Power management configuration. See the main article Suspend and hibernate. Manually suspending the operating system, either to memory (standby) or to disk (hibernate) sometimes provides the most efficient way to optimize battery life, depending on the usage pattern of the laptop. For more advanced udev rule testing, see Udev#Testing rules before loading. You can test whether the rule worked by unplugging your laptop and looking for this file. This creates a file at /home/example/discharging when the laptop charger is unplugged. If your system has no or missing ACPI events, frequently run the following script which uses acpi:Īcpi -b | awk -F'' '="Discharging", RUN+="/usr/bin/touch /home/example/discharging" Other rules can be added to perform different actions depending on power supply status and/or capacity. The -i flag can be used to ignore shutdown inhibitors, see systemctl(1) § OPTIONS. To shutdown the system instead of hibernating, use /usr/bin/systemctl poweroff. Such new attribute/value pair can be obtained for example by checking /sys/class/power_supply/ nameOfMainBattery/ attributesAndOtherDirectories, or by running udevadm monitor -property and waiting for battery events.īatteries can jump to a lower value instead of discharging continuously, therefore a udev string matching pattern for all capacities 0 through 5 is used. If you have more than one battery or if you are using a battery powered peripheral device, the rule could be triggered unexpectedly by another battery discharging this can be fixed by obtaining another attribute/value pair to add to your udev rule that specifically match the main battery, for example model_name. Some laptops do not boot beyond a certain battery level, so the rule could be adjusted accordingly. As such, when resuming from hibernate when the battery is critical, the computer will hibernate directly. ![]() This rule will be repeated whenever the condition is set. For instance, /usr/bin/systemctl hibernate may return the error: "Call to Hibernate failed: Not enough swap space for hibernation"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |