Skip to content

Instantly share code, notes, and snippets.

level323

Block or report user

Report or block level323

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@level323
level323 / 99-voyo-v3-n4200-touchpad.rules
Created Mar 30, 2017
Voyo VBook V3 (Apollo Lake N4200): PERMANENT Touchscreen calibration adjustment that works for me. Set via `udev` rules. Survives reboot.
View 99-voyo-v3-n4200-touchpad.rules
# Note: Tested and works on Debian Stretch (2017-03-29)
# Locate at /etc/udev/rules.d/99-voyo-v3-n4200-touchpad.rules
KERNEL=="event*",SUBSYSTEM=="input",ATTRS{name}=="silead_ts",ENV{LIBINPUT_CALIBRATION_MATRIX}="-2.072 0 1 0 -2.698 1"
@level323
level323 / voyo-vbook-v3-touchscreen-calibration-set-via-xinput.sh
Created Mar 30, 2017
Voyo VBook V3 (Apollo Lake N4200): Touchscreen calibration adjustment that works for me. Set via `xinput`
View voyo-vbook-v3-touchscreen-calibration-set-via-xinput.sh
#!/bin/sh
#
# This script adjusts the Calibration Matrix for Debian Stretch running on my Voyo VBook V3 (Apollo Lake N4200)
# This calibration matrix works for me. It's likely the manufacturer changes the touchscreen sensor setup
# from time to time and so these particular factors may not work for you.
#
# Tested on Debian Stretch ONLY.
#
# Note: Debian Stretch uses libinput for touchscreen settings. Thus, xinput_calibrator didn't work for me so I had
# to research and roll-my-own solution, which is as shown below.
@level323
level323 / altnetworking.sh
Created Aug 3, 2016
Run a command inside a customised networking environment (using cgroups)
View altnetworking.sh
#!/bin/bash
# === INFO ===
# altnetworking.sh
# Description: Run the specified application in a custom networking environment.
# Uses cgroups to run process(es) in a network environment of your own choosing (within limits!)
VERSION="0.1.0"
# Author: John Clark
# Requirements: Debian 8 Jessie (plus iptables 1.6 from unstable)
#
You can’t perform that action at this time.