trust already work Редактирование EDID матриц ( ) » Портал инженера

Редактирование EDID матриц ( )

"Скучная предыстория :)"
Недавно столкнулся с проблемой при замене матрицы на ноутбуке Samsung: с новой матрицей некорректно работала клавиатура. Оригинальная матрица: Samsung LTN173KT01, новая LG LP173WF1-TLA2 (FullHD).
Прочитал много тем на форумах по ремонту, просмотрел кучу решений и обсуждений, начиная с замены клавиатуры и заканчивая югом. Самым разумным мне показалась прошивка EDID из старой матрицы. В моём случае прошивка не помогла, полагаю, матрицы слишком разные. В нужную сторону меня подтолкнул пост с этого форума про определение EC Micom типа клавиатуры по информации о размере матрицы из EDID.

Проблема: "Некорректно работает клавиатура при замене матрицы на ноутбуке Samsung с EC Micom"
Суть: "Micom некорректно определяет размер и тип клавиатуры по данным EDID из матрицы"
Решение: "Отредактировать EDID новой матрицы"

Редактирование EDID матрицы
Я не буду рассказывать как считать и записать EDID из матрицы, т.к. всё есть на форуме. Это обычная процедура прошивки SPI EEPROM типа 24cXX. Для удобства можно шить переходником из шлейфа матрицы.

"Структура EDID v1.3"
BytesDescription
0–19Header information
0–7Fixed header pattern: 00 FF FF FF FF FF FF 00
8–9Manufacturer ID. These IDs are assigned by Microsoft, they are PNP IDs "00001=A”; “00010=B”; ... “11010=Z”. Bit 7 (at address 08h) is 0, the first character (letter) is located at bits 6 → 2 (at address 08h), the second character (letter) is located at bits 1 & 0 (at address 08h) and bits 7 → 5 (at address 09h), and the third character (letter) is located at bits 4 → 0 (at address 09h).
Bit 15(Reserved, always 0)
Bits 14–10First letter of manufacturer ID (byte 8, bits 6–2)
Bits 9–5Second letter of manufacturer ID (byte 8, bit 1 through byte 9 bit 5)
Bits 4–0Third letter of manufacturer ID (byte 9 bits 4–0)
10–11Manufacturer product code. 16-bit number, little-endian.
12–15Serial number. 32 bits, little endian.
16Week of manufacture. Week numbering is not consistent between manufacturers.
17Year of manufacture, less 1990. (1990–2245). If week=255, it is the model year instead.
18EDID version, usually 1 (for 1.3)
19EDID revision, usually 3 (for 1.3)
20–24Basic display parameters.
20Video input parameters bitmap
Bit 7=1Digital input. If set, the following bit definitions apply:
Bits 6–1Reserved, must be 0
Bit 0Signal is compatible with VESA DFP 1.x TMDS CRGB, 1 pixel per clock, up to 8 bits per color, MSB aligned,
Bit 7=0Analog input. If clear, the following bit definitions apply:
Bits 6–5Video white and sync levels, relative to blank: 00=+0.7/−0.3 V; 01=+0.714/−0.286 V; 10=+1.0/−0.4 V; 11=+0.7/0 V
Bit 4Blank-to-black setup (pedestal) expected
Bit 3Separate sync supported
Bit 2Composite sync (on HSync) supported
Bit 1Sync on green supported
Bit 0VSync pulse must be serrated when composite or sync-on-green is used.
21Maximum horizontal image size, in centimetres (max 292 cm/115 in at 16:9 aspect ratio)
22Maximum vertical image size, in centimetres. If either byte is 0, undefined (e.g. projector)
23Display gamma, datavalue = (gamma*100)-100 (range 1.00–3.54)
24Supported features bitmap
Bit 7DPMS standby supported
Bit 6DPMS suspend supported
Bit 5DPMS active-off supported
Bits 4–3Display type (digital): 00 = RGB 4:4:4; 01 = RGB 4:4:4 + YCrCb 4:4:4; 10 = RGB 4:4:4 + YCrCb 4:2:2; 11 = RGB 4:4:4 + YCrCb 4:4:4 + YCrCb 4:2:2
Bits 4-3Display type (analog): 00 = Monochrome or Grayscale; 01 = RGB color; 10 = Non-RGB color; 11 = Undefined
Bit 2Standard sRGB colour space. Bytes 25–34 must contain sRGB standard values.
Bit 1Preferred timing mode specified in descriptor block 1. For EDID 1.3+ the preferred timing mode is always in the first Detailed Timing Descriptor. In that case, this bit specifies whether the preferred timing mode includes native pixel format and refresh rate.
Bit 0GTF supported with default parameter values.
25–34Chromaticity coordinates.
10-bit CIE xy coordinates for red, green, blue, and white. [0–1023/1024].
25Red and green least-significant bits
Bits 7–6Red x value least-significant 2 bits
Bits 5–4Red y value least-significant 2 bits
Bits 3–2Green x value least-significant 2 bits
Bits 1–0Green y value least-significant 2 bits
26Blue and white least-significant 2 bits
27Red x value most significant 8 bits. 0–255 encodes 0–0.996 (255/256); 0–0.999 (1023/1024) with lsbits
28Red y value most significant 8 bits
29–30Green x and y value most significant 8 bits
31–32Blue x and y value most significant 8 bits
33–34Default white point x and y value most significant 8 bits
35–37Established timing bitmap. Supported bitmap for (formerly) very common timing modes.
35Bit 7720×400 @ 70 Hz
Bit 6720×400 @ 88 Hz
Bit 5640×480 @ 60 Hz
Bit 4640×480 @ 67 Hz
Bit 3640×480 @ 72 Hz
Bit 2640×480 @ 75 Hz
Bit 1800×600 @ 56 Hz
Bit 0800×600 @ 60 Hz
36Bit 7800×600 @ 72 Hz
Bit 6800×600 @ 75 Hz
Bit 5832×624 @ 75 Hz
Bit 41024×768 @ 87 Hz, interlaced (1024×768i)
Bit 31024×768 @ 60 Hz
Bit 21024×768 @ 72 Hz
Bit 11024×768 @ 75 Hz
Bit 01280×1024 @ 75 Hz
37Bit 71152x870 @ 75 Hz (Apple Macintosh II)
Bits 6–0Other manufacturer-specific display modes
38–53Standard timing information. Up to 8 2-byte fields describing standard display modes.
Unused fields are filled with 01 01
Byte 0X resolution, divided by 8, less 31 (256–2288 pixels, value 00 is reserved and should not be used)
Byte 1 bits 7–6X:Y pixel ratio: 00=16:10; 01=4:3; 10=5:4; 11=16:9.
(Versions prior to 1.3 defined 00 as 1:1.)
Byte 1 bits 5–0Vertical frequency, less 60 (60–123 Hz)
54–71Descriptor 1Descriptor blocks. Detailed timing descriptors, in decreasing preference order. After all detailed timing descriptors, additional descriptors are permitted:
Monitor range limits (required)
ASCII text (monitor name (required), monitor serial number or unstructured text)
6 Additional standard timing information blocks
Colour point data
72–89Descriptor 2
90–107Descriptor 3
108–125Descriptor 4
126Number of extensions to follow. 0 if no extensions.
127Checksum. Sum of all 128 bytes should equal 0 (mod 256).

В данном случае нас интересуют биты отвечающие за размер изображения: "horizontal image size" (21 бит) и "vertical image size" (22 бит).
Дампы старой и новой матриц соответственно:
На скриншотах выделены 21 и 22 биты. Размер изображения в первом случае 38x21 см. во втором 38x22 см.
Меняем 22 бит с 0x16 на 0x15.
Но у EDID есть контрольная сумма (127 бит), если просто поменять какое-нибудь значение, то матрица работать не будет.
Спецификация подсказывает нам как её посчитать. Сделать это можно в онлайн калькуляторе на сайте http://www.planetimming.com/checksum8.html. Чтобы скопировать дамп для вставки на сайт, открываем его, например, в winhex, выделяем всё кроме последнего байта, копируем "как hex" через меню.
Новая контрольная сумма 0xF5
Прошиваем новый дамп.
Готово! Надеюсь кому-нибудь пригодится :)

Источник: http://vlab.su


Обсудить на форуме

Комментарии

Добавить комментарий
    • bowtiesmilelaughingblushsmileyrelaxedsmirk
      heart_eyeskissing_heartkissing_closed_eyesflushedrelievedsatisfiedgrin
      winkstuck_out_tongue_winking_eyestuck_out_tongue_closed_eyesgrinningkissingstuck_out_tonguesleeping
      worriedfrowninganguishedopen_mouthgrimacingconfusedhushed
      expressionlessunamusedsweat_smilesweatdisappointed_relievedwearypensive
      disappointedconfoundedfearfulcold_sweatperseverecrysob
      joyastonishedscreamtired_faceangryragetriumph
      sleepyyummasksunglassesdizzy_faceimpsmiling_imp
      neutral_faceno_mouthinnocent

    TruTool TF 350 (1A1), (1B1) Замена поворотного рычага для матрицы

    Потянуть хомут вверх и повернуть всю консоль матрицы так, чтобы был обеспечен доступ к винту с цилиндрической головкой...

    Расшифровка параметров контроллера Сервокон 1000

    Расшифровка параметров контроллера Сервокон 1000

    Принудительный режим прошивки Samsung серий ML, SCX и CLP

    Довольно часто ко мне попадают устройства Samsung, которые были некорректно прошиты модифицированной прошивкой.

    Samsung 720N, описание и ремонт

    Довольно интересный монитор, не смотря на наличие сервисной документации на монитор Samsung 720N, именно эти мониторы  чаще всего приходят из других ремонтных мастерских с диагнозом – ремонту не подлежит по причине высокой стоимости ремонта.

    Расшифровка диагностической информации Samsung

    Samsung NX Series: NX70-CPU70p1, NX70-CPUp2, NX-CPU700p

    Опыт ремонта LCD-матрицы. Дефект - нарушена цветопередача

    Диагноз «неисправность матрицы» звучит как приговор для LCD-дисплея. Ремонт матрицы не предусмотрен ни одними фирменными регламентами. И многие сервисные специалисты даже не пытаются что-либо предпринимать в ситуации, когда дефект матрицы очевиден и