Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 29th August 2010, 04:39 AM
ASillyQuestion Offline
Registered User
 
Join Date: Dec 2007
Posts: 5
linuxfedorafirefox
Exclamation Extract Monitor Serial Number / Manufacture Date Using EDID?

Hello,

I can not for the life of me determine how to get the monitor serial number / manufacture date using Extended Display Identification Data (EDID). Does anyone know?

None of the following provide this info:

monitor-get-edid
monitor-edid --v
monitor-edid --MonitorsDB
monitor-get-edid | monitor-parse-edid
dmidecode -q

Thanks!
Reply With Quote
  #2  
Old 29th August 2010, 07:55 AM
sonoran Offline
Registered User
 
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,312
linuxfirefox
Re: Extract Monitor Serial Number / Manufacture Date Using EDID?

The info is in the Xorg log, thus:
Code:
[    30.459] (II) MGA(0): I2C monitor info
[    30.459] (II) MGA(0): Manufacturer: VSC  Model: 7d20  Serial#: 16843009
[    30.459] (II) MGA(0): Year: 2010  Week: 20
[    30.459] (II) MGA(0): EDID Version: 1.3
[    30.459] (II) MGA(0): Digital Display Input
[    30.459] (II) MGA(0): Max Image Size [cm]: horiz.: 38  vert.: 30
[    30.459] (II) MGA(0): Gamma: 2.20
It appears X gets this info via the driver, in my case mga.

---------- Post added at 11:55 PM CDT ---------- Previous post was at 09:07 PM CDT ----------

I downloaded the read-edid package from the wikipedia link, compiled it, but get-edid went through a few iterations and then told me
Quote:
EDID claims 10 more blocks left
EDID blocks left is wrong.
Your EDID is probably invalid.
I also downloaded the source code for the mga driver, which I always wanted an excuse to look at anyway. The driver communicates directly with the graphics card, and sends a message to the Xorg server with the edid monitor info, which the server then writes to the log.

If you just want the edid information, it's in the log. If you're writing code for this purpose, you could get the data from the driver the same way the server does. There is probably a way to query the server for the information as well.
Reply With Quote
  #3  
Old 29th August 2010, 08:06 AM
ASillyQuestion Offline
Registered User
 
Join Date: Dec 2007
Posts: 5
linuxfedorafirefox
Re: Extract Monitor Serial Number / Manufacture Date Using EDID?

Thanks, sorry, I should have added that to my list of unsuccessfully attempts. I'm using the Nvidia driver and /var/log/Xorg.0.log lists the manufacturer, but not the serial number or manufacture date. :-/

---------- Post added at 02:06 AM CDT ---------- Previous post was at 02:02 AM CDT ----------

Also, I discovered in my trials that you shouldn't need to compile anything manually, I don't believe, everything should be available via yum.

As root:

yum install monitor-edid i2c-tools
modprobe i2c-dev (May or may not be needed)

Possible options:

monitor-get-edid
monitor-edid --v
monitor-edid --MonitorsDB
monitor-get-edid | monitor-parse-edid
Reply With Quote
  #4  
Old 29th August 2010, 09:42 AM
sonoran Offline
Registered User
 
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,312
linuxfedorafirefox
Re: Extract Monitor Serial Number / Manufacture Date Using EDID?

Okay, tried it the easy way, ,and you're right, none of those programs reports the serial # or date of manufacture. Odd, considering that the Xorg server manages to get both for me, so that info must be available.

Looking at the way that information is presented in my log, the "I2C monitor info" comes first, including serial # and date, and THEN it says "EDID Version:" with the rest of the data. Maybe these are two separate steps. The man pages for the i2c tools are full of dire warnings, though: "WARNING: This program can confuse your I2C bus, cause data loss and worse!" So I don't really feel like toying with them and finding out what they mean by "worse".
Reply With Quote
  #5  
Old 30th August 2010, 03:22 AM
ASillyQuestion Offline
Registered User
 
Join Date: Dec 2007
Posts: 5
linuxfedorafirefox
Re: Extract Monitor Serial Number / Manufacture Date Using EDID?

Thanks for trying. That is weird that the Xorg server gives you this info, but it doesn't work for me. I'd be okay parsing it from that if I could, but it just isn't there.

I still haven't figured out how to do this yet. If anyone has any suggestions, I'd love to hear them, thanks!
Reply With Quote
  #6  
Old 30th August 2010, 03:57 AM
sonoran Offline
Registered User
 
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,312
linuxfedorafirefox
Re: Extract Monitor Serial Number / Manufacture Date Using EDID?

I was reading some more on this and found references to a package called xresprobe and a program called ddcprobe, but could not find a current rpm for either. http://www.cyberciti.biz/faq/howto-u...probe-command/

And the danger in messing around on the I2C bus is that you can scramble, clear, or reprogram eproms in your hardware unless you know what you're doing - which I certainly don't here.

Interesting problem, though.
Reply With Quote
  #7  
Old 30th August 2010, 04:17 PM
SiliconSlick Offline
Registered User
 
Join Date: Aug 2009
Location: College Station, TX
Posts: 501
linuxfedorafirefox
Re: Extract Monitor Serial Number / Manufacture Date Using EDID?

FWIW, here's a couple pennies from me:

1) a quick search reveals ddcprobe was replaced with dmidecode (and similar) around Fedora 9 and the introduction of HAL

2) on my FC13 x86_64 server running the RPMFusion nvidia driver, /var/log/Xorg.0.log, the nvidia driver correctly detects the monitor model (Viewsonic G90mb), but doesn't give the serial number

3) on my FC13 x86_64 laptop running the nouveau driver and with the same monitor attached, the nouveau driver not only gets the model but also the serial number (Serial No: 319004300773), which happens to match the serial number on the back of the CRT (i.e. it is correct)

4) on that same laptop, the serial number also shows up in a hex dump of a file in /sys. e.g.
Code:
$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 440 Go 64M] (rev a3)
$ xxd  /sys/devices/pci0000:00/0000:00:0b.0/0000:01:00.0/drm/card0/card0-VGA-1/edid
0000000: 00ff ffff ffff ff00 5a63 0213 0101 0101  ........Zc......
0000010: 2b0a 0103 1c25 1bb0 eb00 b8a0 5749 9b26  +....%......WI.&
0000020: 1048 4cff ff80 8199 8159 714f 6159 4559  .HL......YqOaYEY
0000030: 3159 a94f 0101 863d 00c0 5100 3040 40a0  1Y.O...=..Q.0@@.
0000040: 1300 680e 1100 001e 0000 00ff 0033 3139  ..h..........319
0000050: 3030 3433 3030 3737 330a 0000 00fd 0032  004300773......2
0000060: a01e 6114 000a 2020 2020 2020 0000 00fc  ..a...      ....
0000070: 0047 3930 6d62 0a20 2020 2020 2020 00ba  .G90mb.       ..
(bytes 0x4D-0x58)

There is no similar file anywhere in /sys on the server running the nvidia driver.

So, at the very least, you might want to try the nouveau drivers instead of the nvidia one since it seems to be a feature of the display driver

SS.
Reply With Quote
  #8  
Old 30th August 2010, 11:27 PM
sonoran Offline
Registered User
 
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,312
linuxfirefox
Re: Extract Monitor Serial Number / Manufacture Date Using EDID?

Quote:
Originally Posted by SiliconSlick View Post
which happens to match the serial number on the back of the CRT
Gasp! You looked at the back of the monitor? That seems unfair, somehow. But thanks for the info.
Reply With Quote
  #9  
Old 31st August 2010, 01:07 AM
ASillyQuestion Offline
Registered User
 
Join Date: Dec 2007
Posts: 5
linuxfedorafirefox
Re: Extract Monitor Serial Number / Manufacture Date Using EDID?

LOL.

This also worked for me on a RedHat machine:

startx -- -logverbose 6
Reply With Quote
Reply

Tags
edid, manufacture date, monitor serial, s/n, serial

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU/mother board serial number cweng Hardware & Laptops 12 19th January 2012 05:43 PM
not show battery serial number arjunjain Hardware & Laptops 1 29th August 2009 06:45 PM
How can Fedora get the serial number of a U-Disk youhaodeyi Hardware & Laptops 4 3rd February 2008 07:42 AM
Maximum number of non-legacy 8250/16550 serial ports sunracesuraj Hardware & Laptops 0 6th August 2006 07:45 PM


Current GMT-time: 03:06 (Saturday, 26-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat