• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Firmware of Silead Touchscreen Controller for Jumper EZpad 6 Pro.


Commit MetaInfo

Révision55334529d497923d09c163c8275c9ca4c348c2ee (tree)
l'heure2019-04-08 06:16:53
AuteurVan Laser <gabi_laser@yaho...>
CommiterGregor Riepl

Message de Log

add myria my8307 support

Change Summary

Modification

--- a/README.md
+++ b/README.md
@@ -65,6 +65,7 @@ for copyright information.
6565 | Proworx | MX049 | yes | [firmware/proworx/mx049](firmware/proworx/mx049) |
6666 | Insignia | Flex 11 | yes | [firmware/insignia/flex11](firmware/insignia/flex11) |
6767 | iLife | ZedBook 2 | yes | [firmware/ilife/zedbook2](firmware/ilife/zedbook2) |
68+| Myria | MY8307 | yes | [firmware/myria/my8307](firmware/myria/my8307) |
6869
6970
7071 ## Adding new firmware
--- /dev/null
+++ b/firmware/myria/my8307/README.md
@@ -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 |
Binary files /dev/null and b/firmware/myria/my8307/SileadTouch.sys differ
--- /dev/null
+++ b/firmware/myria/my8307/auto-rotate.sh
@@ -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+
--- /dev/null
+++ b/firmware/myria/my8307/convert.sh
@@ -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+
Binary files /dev/null and b/firmware/myria/my8307/firmware.fw differ
Binary files /dev/null and b/firmware/myria/my8307/gsl1680-myria-my8307.fw differ
Binary files /dev/null and b/firmware/myria/my8307/silead_ts.fw differ