Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hello everyone,
i m pretty new to linux. i m trying to figure out whether monitor is on or off by using a c program.i have tried using ddcprobe, it works well with CRT monitor,But in case of LCD monitor it works only when monitor cable is disconnected or power turned off from mains not when u use the monitor button for power ON/OFF.
So is there any way i can tell whether monitor is ON/OFF(i.e button on monitor panel ) without disconnecting power from it?
I m using fc7, monitor is samsung LCD .
Can anyone please help?
Thanks.
hello everyone,
i m pretty new to linux. i m trying to figure out whether monitor is on or off by using a c program.i have tried using ddcprobe, it works well with CRT monitor,But in case of LCD monitor it works only when monitor cable is disconnected or power turned off from mains not when u use the monitor button for power ON/OFF.
So is there any way i can tell whether monitor is ON/OFF(i.e button on monitor panel ) without disconnecting power from it?
I m using fc7, monitor is samsung LCD .
Can anyone please help?
Thanks.
That would depend on the hardware specs of your monitor. Get the programming guide for the particular monitor you're using, and check it out. There's probably a sense-code to look for.
That would depend on the hardware specs of your monitor. Get the programming guide for the particular monitor you're using, and check it out. There's probably a sense-code to look for.
what is sense code? i thought i need to do something like ddcprobe.
what is sense code? i thought i need to do something like ddcprobe.
Sense code is something like ddcprobe, but a generic term. Sense code can be anything the hardware says, like "someone pressed this button", "someone plugged a cable in", etc. That's why you should refer to the manual on your hardware, or look through their docs.
What you're trying to do isn't uncommon...alot of LCD's use the same sort of 'soft' off switch, so I'd guess that they'd all use the same sense code for it.
Sense code is something like ddcprobe, but a generic term. Sense code can be anything the hardware says, like "someone pressed this button", "someone plugged a cable in", etc. That's why you should refer to the manual on your hardware, or look through their docs.
What you're trying to do isn't uncommon...alot of LCD's use the same sort of 'soft' off switch, so I'd guess that they'd all use the same sense code for it.
But it is not necessarily going to be LCD it can be CRT too. And is it possible to read sense code through c program?
But it is not necessarily going to be LCD it can be CRT too. And is it possible to read sense code through c program?
Yes, since (as I said), that's what a ddcprobe does...reads a particular sense code from a particular piece of the hardware.
If you're not knowing what to do with the on/off state, why check it at all? The LCD's aren't really going 'off'...just sleeping. Sending a video signal will probably 'wake' them.
Yes, since (as I said), that's what a ddcprobe does...reads a particular sense code from a particular piece of the hardware.
If you're not knowing what to do with the on/off state, why check it at all? The LCD's aren't really going 'off'...just sleeping. Sending a video signal will probably 'wake' them.
I got the same info that LCD's dont really go off.but what do u suggest then? i should use ddcprobe source code?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.