Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: How do I find my monitor type and model?

by markseger (Beadle)
on Jul 07, 2010 at 17:10 UTC ( #848510=note: print w/ replies, xml ) Need Help??


in reply to Re: How do I find my monitor type and model?
in thread How do I find my monitor type and model?

sorry about overriding original request, which asked how to get the terminal type/model. When I look at display/hardware settings via the desktop GUI, I clearly see HP LP2465 but if a do a recursive grep of everything in /etc/X11 there's nothing to be found so the data is obviously being pulled from somewhere else. -mark


Comment on Re^2: How do I find my monitor type and model?
Re^3: How do I find my monitor type and model?
by markseger (Beadle) on Jul 07, 2010 at 17:32 UTC
    I think I've found at least an alternative mechanism. When Xorg runs, it logs this info to /var/log/Xorg.X.log where X is the display number. Perhaps the next step is to look t the source and see how it gets the info it's reporting

      I'm running Ubuntu and Gnome, but this should be generally relevant to any system using X11.

      I had a look at the source of the Gnome tools that read monitor information. They all use the X RandR (Resize and Rotate) library under the hood to gather monitor information

      The xrandr command line tool shows the raw data provided by your monitor

      $ xrandr --verbose Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 1280 x 1024 VGA connected 1280x1024+0+0 (0x3c) normal (normal left inverted right +x axis y axis) 338mm x 270mm Identifier: 0x3b Timestamp: 33753 Subpixel: unknown Clones: CRTC: 0 CRTCs: 0 1 Panning: 0x0+0+0 Tracking: 0x0+0+0 Border: 0/0/0/0 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: EDID_DATA: 00ffffffffffff0010ac0ba0554a4632 110f010368221b78eecaf6a357479e23 114f54a54b00714f8180010101010101 010101010101302a009851002a403070 1300520e1100001e000000ff00553439 333135344b32464a550a000000fc0044 454c4c204531373346500a20000000fd 00384b1f500e000a2020202020200099

      The EDID_DATA is particularly relevant to us. The read-edid project has utilities that turn the EDID information into something we can use:

      $sudo get-edid 2>/dev/null| parse-edid 2>/dev/null| grep ModelName ModelName "DELL E173FP"
Re^3: How do I find my monitor type and model?
by afoken (Parson) on Jul 07, 2010 at 17:33 UTC

    See http://en.wikipedia.org/wiki/Display_Data_Channel and especially the links at the end of http://en.wikipedia.org/wiki/Extended_display_identification_data.

    Without DDC, you can not identify the monitor. This happens for ancient monitors, and for monitor cables that do not connect the required pins. On my desktops at home and at work, the CRT monitors are connected via five BNC jacks, just RGB and H-Sync/V-Sync, no DDC pins. No software running on the PCs can identify the monitors.

    How much information you get from the monitor depends on the DDC version implemented by the monitor.

    And as a last detail, the graphics card has to be able to talk DDC with the monitor. Ancient VGAs can't do that.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://848510]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2014-08-29 08:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (277 votes), past polls