HackingVGAforFun: Unterschied zwischen den Versionen
Aus LaborWiki
Siro (Diskussion | Beiträge) |
Siro (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 39: | Zeile 39: | ||
* the tool outputs .dat-files, that need to be editet by hand, it contains invalid symbols | * the tool outputs .dat-files, that need to be editet by hand, it contains invalid symbols | ||
* you can use the export function to generate .raw files and use hexdump to convert them to plain/text hex | * you can use the export function to generate .raw files and use hexdump to convert them to plain/text hex | ||
== hack the kernel module drm == | |||
* get the sourcecode, e.g. From kernel.org | |||
* install linux-kernel-headers | |||
* modify the Makefile | |||
Todo | |||
Edited makefile goes here | |||
* patch todo.c , it doesn't accept vsync_width OR hsync_width to be 0 | |||
* copy the newly built .ko files to todo | |||
* depmod -a | |||
* mkinitramfs -u |
Version vom 26. Juli 2012, 17:36 Uhr
VGA
Video Grapbics Adapter
pinouts
edid
EDID
I used EDID 1.3
Windows
- standart timings
- established timings
- it looks like Windows XP doesnt like "prefered timings"
Linux
- The kernel module drm handels all the display stuff
- it accepts:
- established timings
- standart timings
- prefered timings
build a fake monitor
- Terminate the color lines with 75ohms
- Attach a 24C02 serial eeprom to the specified pins (24c04 - 24c16 is possible to )
flash a new edid
- Load the kernelmodule i2c-dev
- Get i2c-tools
- build the i2c-tools
- Become root: Sudo -s
- Add the tools folder to the PATH: PATH=$PATH:< ... >/i2c-tools/tools
- Run i2cdump to find the correct BUSID (device at 0x50 and 0x51)
- Flash new EDID with write-edid.sh
- Note the input file is plain/text with hexvalues, spaces and newlines only
create custom edid
- use Phoenix EDID Designer to create custom EDIDs
Note
- the tool outputs .dat-files, that need to be editet by hand, it contains invalid symbols
- you can use the export function to generate .raw files and use hexdump to convert them to plain/text hex
hack the kernel module drm
- get the sourcecode, e.g. From kernel.org
- install linux-kernel-headers
- modify the Makefile
Todo Edited makefile goes here
- patch todo.c , it doesn't accept vsync_width OR hsync_width to be 0
- copy the newly built .ko files to todo
- depmod -a
- mkinitramfs -u