Comprehensive EDID parsing and analysis skill for Linux systems.
bash
# From sysfs (Linux)
edid-decode /sys/class/drm/card0-HDMI-A-1/edid
# Or use our script
python3 scripts/parse_edid.py /sys/class/drm/card0-HDMI-A-1/edid
bash
bash scripts/list_outputs.sh
bash
bash scripts/validate_edid.sh /path/to/edid.bin
bash
python3 scripts/extract_info.py /path/to/edid.bin
bash
python3 scripts/batch_validate.py /path/to/edid/directory/
Validates if EDID is:
Usage:
bash
bash scripts/validate_edid.sh /sys/class/drm/card0-HDMI-A-1/edid
Generates human-readable diagnostic report with:
Usage:
bash
python3 scripts/diagnostic_report.py /path/to/edid.bin
Converts technical EDID data to easy-to-understand Chinese report.
Usage:
bash
python3 scripts/extract_info.py /path/to/edid.bin
Output example:
text
📺 Display Info
Manufacturer: Samsung (SAM)
Model: FTV
Production Date: Week 4, 2020
🖥️ Display Capabilities
Max Resolution: 1920x1080 @ 60Hz
Screen Size: 32 inches
Audio: Supported (2-channel PCM)
🎨 Color Space
RGB: Supported
YCbCr 4:4:4: Supported
YCbCr 4:2:2: Supported
⚠️ Issues/Warnings
- Only 60Hz supported, no high refresh rate
Process multiple EDID files and generate summary report.
Usage:
bash
python3 scripts/batch_validate.py ~/Downloads/edid/test-samples/Digital/
Output:
text
=== Batch EDID Validation ===
Total: 10 | Valid: 9 | Invalid: 1 | Warnings: 3
Invalid:
- Digital/Sony/MS_0003/F19C835333F6 (128 bytes - Too small)
With Warnings:
- Digital/Goldstar/GSM0000/A36298C521A5
- Digital/TCL/TCL0000/0067660D05BD
ScriptDescriptionlist_outputs.shList all available display outputs on Linuxparse_edid.shParse and display EDID in detailextract_info.pyExtract key info as JSONvalidate_edid.shValidate EDID and check for issuesdiagnostic_report.pyGenerate human-readable diagnostic reportbatch_validate.pyBatch process multiple EDID files
edid-decode must be installed:
bash
sudo apt-get install edid-decode
bash
# Find all EDID files
find /sys/class/drm -name "edid" -type f
# Typical paths
/sys/class/drm/card0-HDMI-A-1/edid
/sys/class/drm/card0-DP-1/edid
/sys/class/drm/card0-DVI-D-1/edid
bash
# Extract binary from text file
cat EDID.txt | grep -E '^([a-f0-9]{32}|[a-f0-9 ]{47})$' | tr -d '[:space:]' | xxd -r -p > EDID.bin
User says: "What resolutions and refresh rates does my monitor support?"
Action:
bash
python3 scripts/extract_info.py /path/to/edid.bin
# Or use built-in test sample:
python3 scripts/extract_info.py samples/test_tv_4k.bin
The skill includes sample EDID files for testing:
bash
# 4K TV sample (3840x2160 @ 30Hz)
python3 scripts/extract_info.py samples/test_tv_4k.bin
# 1080p Monitor sample (1920x1080 @ 60Hz)
python3 scripts/extract_info.py samples/test_monitor_1080p.bin
# 4K Streaming stick sample (3840x2160 @ 60Hz)
python3 scripts/extract_info.py samples/test_stick_4k.bin
User says: "Check if all EDID files in this directory have any issues"
Action:
bash
python3 scripts/batch_validate.py ~/Downloads/edid/test-samples/Digital/
User says: "Monitor not displaying, is it an EDID issue?"
Action:
bash
bash scripts/validate_edid.sh /sys/class/drm/card0-HDMI-A-1/edid
Check for:
/sys/class/drm/ for available outputsreferences/manufacturer_codes.md - EDID manufacturer codesreferences/edid_spec.md - EDID specification overviewreferences/feature_plan.md - Feature roadmap