Firmware of Silead Touchscreen Controller for Jumper EZpad 6 Pro.
Révision | 55334529d497923d09c163c8275c9ca4c348c2ee (tree) |
---|---|
l'heure | 2019-04-08 06:16:53 |
Auteur | Van Laser <gabi_laser@yaho...> |
Commiter | Gregor Riepl |
add myria my8307 support
@@ -65,6 +65,7 @@ for copyright information. | ||
65 | 65 | | Proworx | MX049 | yes | [firmware/proworx/mx049](firmware/proworx/mx049) | |
66 | 66 | | Insignia | Flex 11 | yes | [firmware/insignia/flex11](firmware/insignia/flex11) | |
67 | 67 | | iLife | ZedBook 2 | yes | [firmware/ilife/zedbook2](firmware/ilife/zedbook2) | |
68 | +| Myria | MY8307 | yes | [firmware/myria/my8307](firmware/myria/my8307) | | |
68 | 69 | |
69 | 70 | |
70 | 71 | ## Adding new firmware |
@@ -0,0 +1,20 @@ | ||
1 | +Myria/my8307 | |
2 | +--------------------------------------------- | |
3 | + | |
4 | +| Item | Description | | |
5 | +|---------------------------|-------------| | |
6 | +| Manufacturer | Myria ('Complet Electro Serv') | | |
7 | +| Device | my8307 | | |
8 | +| Website | http://myria.ro | | |
9 | +| Vendor driver (Windows) | [SileadTouch.sys](SileadTouch.sys), https://www.dropbox.com/sh/9j3p7sjg35v2r8p/AABCpualjSzk6Ybu1mlEpQWZa?dl=0 | | |
10 | +| Extracted firmware | [firmware.fw](firmware.fw) | | |
11 | +| Firmware for gslx680-acpi | [silead_ts.fw](silead_ts.fw) | | |
12 | +| Display resolution | 1280x800 | | |
13 | +| Touch panel resolution | 1720x1140 | | |
14 | +| Touch controller | GSL1680 | | |
15 | +| Multitouch support | Yes (10 points) | | |
16 | +| Finger tracking | No | | |
17 | +| Mirrored horizontally | No | | |
18 | +| Mirrored vertically | Yes | | |
19 | +| Axes swapped | No | | |
20 | +| Comments | fwtool -c firmware.fw -m 1680 -w 1720 -h 1140 -f track,yflip -t 10 silead_ts.fw | |
@@ -0,0 +1,35 @@ | ||
1 | +#!/bin/bash | |
2 | + | |
3 | +# NOTE: this is a 2-in-1 laptop (detachable keyboard) | |
4 | +# The following script can be used with 'monitor-sensor' in order to | |
5 | +# automatically rotate the tablet *and* calibrate both touchscreen and | |
6 | +# touchpad input (if keyboard is connected) | |
7 | + | |
8 | + | |
9 | +TOUCHPAD="SIPODEV USB Composite Device Mouse" | |
10 | +TOUCHSCREEN="Silead GSLx680 Touchscreen" | |
11 | + | |
12 | +stdbuf -oL monitor-sensor | | |
13 | + while IFS= read -r line; do | |
14 | + if [ -z "${line##*right*}" ]; then | |
15 | + xrandr -o left --dpi 96 | |
16 | + xinput set-prop "$TOUCHPAD" --type=float "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 1 | |
17 | + xinput set-prop "$TOUCHSCREEN" --type=float "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 1 | |
18 | + fi | |
19 | + if [ -z "${line##*normal*}" ]; then | |
20 | + xrandr -o normal --dpi 96 | |
21 | + xinput set-prop "$TOUCHPAD" --type=float "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1 | |
22 | + xinput set-prop "$TOUCHSCREEN" --type=float "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1 | |
23 | + fi | |
24 | + if [ -z "${line##*left*}" ]; then | |
25 | + xrandr -o right --dpi 96 | |
26 | + xinput set-prop "$TOUCHPAD" --type=float "Coordinate Transformation Matrix" -1 0 1 0 -1 1 0 0 1 | |
27 | + xinput set-prop "$TOUCHSCREEN" --type=float "Coordinate Transformation Matrix" -1 0 1 0 -1 1 0 0 1 | |
28 | + fi | |
29 | + if [ -z "${line##*bottom*}" ]; then | |
30 | + xrandr -o inverted --dpi 96 | |
31 | + xinput set-prop "$TOUCHPAD" --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1 | |
32 | + xinput set-prop "$TOUCHSCREEN" --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1 | |
33 | + fi | |
34 | + done | |
35 | + |
@@ -0,0 +1,16 @@ | ||
1 | +#!/bin/bash | |
2 | + | |
3 | +# extract firmware from the Windows driver | |
4 | +../../../tools/scanwindrv SileadTouch.sys | |
5 | + | |
6 | +# rename the result | |
7 | +mv firmware_00.fw firmware.fw | |
8 | + | |
9 | +# align with touchpad orientation | |
10 | +../../../tools/fwtool -c firmware.fw -m 1680 -w 1720 -h 1140 -f track,yflip -t 10 silead_ts.fw | |
11 | + | |
12 | +## when used with gslx680_ts_acpi module: | |
13 | +#sudo rmmod gslx680_ts_acpi | |
14 | +#sudo cp silead_ts.fw /lib/firmware/ | |
15 | +#sudo modprobe gslx680_ts_acpi | |
16 | + |