bulletmark / edid-rw

A utility to read and write a display EDID value.
169 stars 22 forks source link

"[Errno 6] No such device or address" when trying to write EDID #3

Closed Bozzeye closed 7 years ago

Bozzeye commented 10 years ago

I am trying to update the EDID information on an HDMI adapter from Chalkboard Electronics. The operating system is Ubuntu 14.04 LTS running live on a USB stick.

This is what I get when reading: ubuntu@ubuntu:~/edid-rw$ sudo ./edid-rw 6 | edid-decode

Extracted contents: header: 00 ff ff ff ff ff ff 00 serial number: 30 e4 45 03 00 00 00 00 00 15 version: 01 04 basic params: 90 16 0e 78 02 chroma info: e8 87 96 5a 55 95 28 22 51 55 established: 00 00 00 standard: 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 descriptor 1: 4c 1d 00 ec 50 20 18 30 40 30 57 00 d9 88 00 00 00 1b descriptor 2: 16 12 00 80 50 20 16 30 30 20 47 00 d9 88 00 00 00 1b descriptor 3: 00 00 00 fe 00 43 33 47 52 4e 80 31 30 31 57 58 31 0a descriptor 4: 00 00 00 00 00 00 41 32 a8 00 00 00 00 01 01 0a 20 20 extensions: 00 checksum: 9a

Manufacturer: LGD Model 345 Serial Number 0 Made week 0 of 2011 EDID version: 1.4 Digital display 6 bits per primary color channel Digital interface is not defined Maximum image size: 22 cm x 14 cm Gamma: 2.20 Supported color formats: RGB 4:4:4 First detailed timing is preferred timing Established timings supported: Standard timings supported: Detailed mode: Clock 75.000 MHz, 217 mm x 136 mm 1280 1344 1392 1516 hborder 0 800 805 812 824 vborder 0 +hsync -vsync Detailed mode: Clock 46.300 MHz, 217 mm x 136 mm 1280 1328 1360 1408 hborder 0 800 804 811 822 vborder 0 +hsync -vsync ASCII string: C3GRN�101WX1 Manufacturer-specified data, tag 0 Checksum: 0x9a EDID block does NOT conform to EDID 1.3! Missing name descriptor Missing monitor ranges`

This is what I get when trying to update: ubuntu@ubuntu:~/edid-rw$ sudo ./edid-rw -w 6 <edid_auo14.bin

Traceback (most recent call last): File "./edid-rw", line 141, in main() File "./edid-rw", line 125, in main dev.write(i, val) File "./edid-rw", line 52, in write self.smb.write_byte_data(EDID_ADDR, n, val) IOError: [Errno 6] No such device or address

Edit: I have tried with Ubuntu 14.04 and 13.10. I have tried on a Lenovo IdeaPad Y510p and a desktop computer with a Gigabyte GA-Z77-D3H motherboard. The error is all the same.

lucaspirola commented 9 years ago

the same error here...

Bozzeye commented 9 years ago

Edit: Please see ChalkElec's comment below.

I sent an email to Ace Jeangle at Chalkboard Electronics about my problem. He wrote a script that worked for me, with the following instructions:

  1. Download and unzip attached archive on your target Linux PC/board with connected HDMI adapter.
  2. Use command "chmod a+x write-edid.sh" to set run permission
  3. Run script with command "./write-edid.sh 1 edid_auo14.bin", where 1 is the i2c bus number of our HDMI adapter (make sure that this number is correct based on How-to steps!)

Here I have uploaded the script: https://www.dropbox.com/s/i8c8i7t9a23fc24/write-edid.zip?dl=0

lucaspirola commented 9 years ago

That also worked flawlessly here! just be sure to run it with root privilegies. thanks!

magnulu commented 9 years ago

Hello! This worked flawlessly for me as well, and I am so very grateful for this, bringing my projector back to life! Thank you very much for providing this script, and please send my gratitude over to Ace Jeangle as well. You guys are totally great!

Edit: I have sent my gratitude to Mr. Jeangle, so forget about that part :-)

ChalkElec commented 9 years ago

Nice to hear guys that you got it working. Here is original repo with this script: https://github.com/ChalkElec/write-edid We are going to continue adding new features to this script in order to make it one-click solution.

CoffeeColombia commented 7 years ago

Hi I bought an HDMI to LVDS coverter to connect an Orange Pie Plus 2 with a ” LCD (15 inches) LG LP156WH4″ with a resolution 1366×768 60 Hz, Fclk 70Mhz. I need to program this chalkboard device but, I have not the binary file to configure it. How can I generate the binary file "edid_auo14.bin" with these parameters?

Thank’s

Best Regards

ChalkElec commented 7 years ago

Hello,

Please, find EDID file for 1366x768 attached.

On Thu, Mar 16, 2017 at 7:36 PM, CoffeeColombia notifications@github.com wrote:

Hi I bought an HDMI to LVDS coverter to connect an Orange Pie Plus 2 with a ” LCD (15 inches) LG LP156WH4″ with a resolution 1366×768 60 Hz, Fclk 70Mhz. I need to program this chalkboard device but, I have not the binary file to configure it. How can I generate the binary file "edid_auo14.bin" with these parameters?

Thank’s

Best Regards

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bulletmark/edid-rw/issues/3#issuecomment-287115840, or mute the thread https://github.com/notifications/unsubscribe-auth/AB1pmNyFh7CwRYVkAPpImZTEi__-rjLhks5rmWUXgaJpZM4CMu7h .

CoffeeColombia commented 7 years ago

Thank's for your support , I tested the file"edid_auo14.bin" but didn't work with the LCD;

LCD receives RGB666 format and a different fclk = 70 MHZ . this is the modeline with the LCD parameters : Modeline "1366x768" 70 1366 1402 1450 1492 768 771 776 782 +hsync +vsync;

how can I generate a file .bin with this parameters or others resolutions by example "1360x768", "1368x768", etc ?

thanks

bulletmark commented 7 years ago

Should move this issue to the @ChalkElec github repo.