From 24e360651223366b9006e42673f2b937eadd32ae Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Fri, 28 Sep 2018 07:19:08 +0300 Subject: added service and edid for tc358743 --- PKGBUILD | 1 + configs/kvmd-tc358743.service | 13 +++++++++++++ configs/tc358743/edid.hex | 1 + 3 files changed, 15 insertions(+) create mode 100644 configs/kvmd-tc358743.service create mode 100644 configs/tc358743/edid.hex diff --git a/PKGBUILD b/PKGBUILD index e129a54f..4d8bccd0 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -36,6 +36,7 @@ package() { cd $srcdir/$pkgname-build python setup.py install --root="$pkgdir" install -Dm644 configs/kvmd.service "$pkgdir/usr/lib/systemd/system/kvmd.service" + install -Dm644 configs/kvmd-tc358743.service "$pkgdir/usr/lib/systemd/system/kvmd-tc358743.service" mkdir -p "$pkgdir/usr/share/kvmd" cp -r web "$pkgdir/usr/share/kvmd" cp -r configs "$pkgdir/usr/share/kvmd" diff --git a/configs/kvmd-tc358743.service b/configs/kvmd-tc358743.service new file mode 100644 index 00000000..95c85cc1 --- /dev/null +++ b/configs/kvmd-tc358743.service @@ -0,0 +1,13 @@ +[Unit] +Description=Loads EDID data to TC358743 +After=systemd-modules-load.service +Before=kvmd.service + +[Service] +Type=oneshot +ExecStart=/usr/bin/v4l2-ctl --set-edid=file=/usr/share/kvmd/configs/tc358743/edid.hex --fix-edid-checksums +ExecStop=/bin/true +RemainAfterExit=true + +[Install] +WantedBy=multi-user.target diff --git a/configs/tc358743/edid.hex b/configs/tc358743/edid.hex new file mode 100644 index 00000000..a0c345f2 --- /dev/null +++ b/configs/tc358743/edid.hex @@ -0,0 +1 @@ +00FFFFFFFFFFFF0052628888008888881C150103800000780AEE91A3544C99260F50542FDF0001000101010101010101010101010101011D007251D01E206E285500C48E2100001E8C0AD08A20E02D10103E9600138E2100001E000000FC00546F73686962612D4832430A20000000FD003B3D0F2E0F1E0A2020202020200142020321434E041303021211012021A23C3D3E1F2309070766030C00300080E3007F8C0AD08A20E02D10103E9600C48E210000188C0AD08A20E02D10103E9600138E210000188C0AA01451F01600267C4300138E210000980000000000000000000000000000000000000000000000000000000000000000000000000000000028 \ No newline at end of file -- cgit v1.2.3