linux:notes:cru_to_modeline
Table of Contents
Information
- Generate Linux-compatible Modeline syntax from CRU-generated values
Syntax
- Modeline
- Name
- Pixel clock
- Horizontal Active
- Horizontal Active + Horizontal Front porch
- Horizontal Active + Horizontal Front porch + Horizontal Sync width
- Horizontal Total
- Vertical Active
- Vertical Active + Vertical Front porch
- Vertical Active + Vertical Front porch + Vertical Sync width
- Vertical Total
- Horizontal Sync polarity
- Vertical Sync polarity
Example
- From HP L2245w notes
- If copy/pasting and modifying the example Modeline, maintain the spacing, particularly the double-spaces
Modeline "1680x1050_80" 158.24 1680 1728 1760 1840 1050 1053 1059 1075 +hsync -vsync
- Modeline =
Modeline
- Name =
“1680x1050_80”
- Pixel clock =
158.24
- Horizontal Active =
1680
- Horizontal Active + Horizontal Front porch =
1728
(1680 + 48) - Horizontal Active + Horizontal Front porch + Horizontal Sync width =
1760
(1680 + 48 + 32) - Horizontal Total =
1840
- Vertical Active =
1050
- Vertical Active + Vertical Front porch =
1053
(1050 + 3) - Vertical Active + Vertical Front porch + Vertical Sync width =
1059
(1050 + 3 + 6) - Vertical Total =
1075
- Horizontal Sync polarity =
+hsync
- Vertical Sync polarity =
-vsync
/var/www/wiki/data/pages/linux/notes/cru_to_modeline.txt · Last modified: by 127.0.0.1