LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-18-2009, 01:23 PM   #1
Passions
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.


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

Rep: Reputation: 271Reputation: 271Reputation: 271
http://www.cyberciti.biz/faq/howto-u...probe-command/

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
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Quote:
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
Code:
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
servat78
Member
 
Registered: Jan 2009
Posts: 100

Rep: Reputation: 17
/etc/xorg.conf

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.

Debian

Last edited by servat78; 02-19-2009 at 12:27 PM.
 
Old 02-18-2009, 03:42 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,241
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

Code:
it-lenny:~# xresprobe ati
id: 
res: 
freq: 
disptype: 



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


it-lenny:~# get-edid
 <truncated>
        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
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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