Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-18-2009, 01:23 PM   #1
LQ Newbie
Registered: Mar 2007
Distribution: RHEL 5.1
Posts: 20

Rep: Reputation: 0
Is there a command to detect monitor brand?

Basically, is there a command (non-GUI) to detect the monitor brand. Let's say either IBM or ViewSonic.

I tried something along the lines of "nvidia-settings -q all", but nothing is really there.

Old 02-18-2009, 01:44 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272

In Debian, the package to install is xresprobe which contains the ddcprobe command. Not sure about your distro...
Old 02-18-2009, 02:06 PM   #3
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,096

Rep: Reputation: 408Reputation: 408Reputation: 408Reputation: 408Reputation: 408
Basically, is there a command (non-GUI) to detect the monitor brand. Let's say either IBM or ViewSonic.
It would help us help you if you told us why you want to do this.

There's the read-edid utility. Install it, try it, but I never had much fun with it.

You can also try:
Shutting down X then restarting it with
startx -- -logverbose 6
then look at the logfile /var/log/Xorg.0.log where you'll find information on the monitor, as reported by itself and interpreted by xorg.

Please put your distro in your LQ profile (See mine, at the left?), or at least mention it. It matters.
Old 02-18-2009, 02:12 PM   #4
Registered: Jan 2009
Posts: 100

Rep: Reputation: 17

xresprobe is not available on all distributions, at least not by default.

On a well-installed Linux system the monitor should be recognized correctly and contained in the /etc/xorg.conf file among the Monitor section settings. Some shell script should be able to parse the appropriate line from that file.

For a more fool-proof way you should check the code for some distro installer, like Anaconda for Fedora installations, which is a script itself, as far as I know, and extract the monitor probing code.


Last edited by servat78; 02-19-2009 at 12:27 PM.
Old 02-18-2009, 03:42 PM   #5
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,243
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Interesting tools..
it looks like my KVM is blocking the probes because none of those tools gave me a valid response..
I'll have to try this on another machine that doesn't have a KVM hooked up.
Good info all the same though.. New tools to add to my list

it-lenny:~# xresprobe ati

it-lenny:~# ddcprobe
vbe: VESA 2.0 detected.
oem: ATI RADEON XPRESS 200 Series
memory: 16384kb

it-lenny:~# get-edid
        Monitor and video card combination does not support DDC1 transfers
	Monitor and video card combination does not support DDC2 transfers
	0 seconds per 128 byte EDID block transfer
        Call failed


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
X doesn't detect my monitor Pablo88 Linux - Hardware 3 02-17-2006 09:18 AM
Reset Kudzu to re-detect monitor baldmrx Linux - Hardware 2 12-21-2004 08:58 AM
Suse 8.1 fails to detect my monitor jpogrady Linux - Hardware 1 02-10-2003 09:03 AM
Redhat 8.0 does not detect my monitor gadgetboy Linux - Newbie 3 11-14-2002 05:54 AM
Can't detect my monitor ... jimdigi Linux - Software 3 04-26-2001 11:29 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration