Files
jcd3198-t6-driver/bin/t6evdi-apply-layout
Jacob Nelson 5dbbb34096 Initial commit: JCD3198 second HDMI driver setup for Fedora
Enables the MCT T6 USB Station (0711:5601) chip on the J5 Create JCD3198
dock, which drives the 4K30 HDMI port with no native Linux kernel driver.

Stack: EVDI 1.14.16 (kernel module + libevdi) → t6evdi userspace daemon
(mobilepixels-linux-driver, patched for EVDI 1.14 API) → MCT T6 over USB.

Includes DKMS registration for evdi.ko (auto-rebuilds on kernel updates)
and a Mutter D-Bus layout script that restores monitor positions by serial
number after each daemon restart, working around the incrementing DVI-I-N
connector name assigned by EVDI on every reconnect.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 18:36:35 -05:00

13 lines
440 B
Bash
Executable File

#!/bin/bash
# Called by t6evdi.service after startup.
# Waits for GNOME to enumerate the new display, then uses the Mutter
# DisplayConfig DBus API to apply the correct monitor positions by serial
# number — independent of whatever connector name t6evdi assigns.
sleep 6
exec runuser -u jake -- env \
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus \
XDG_RUNTIME_DIR=/run/user/1000 \
/usr/local/bin/fix-monitor-layout