View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 23 posts ] 
Go to page Previous  1, 2

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Tue Jun 10, 2008 11:17 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,

It is only a matter of adjusting permissions and / or enabling the root power through /etc/sudoers

Mike


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 11, 2008 12:27 am 
Offline
Joined: Sat Dec 10, 2005 3:41 pm
Posts: 62
I didn't see a UseDisplayDevice option on your config. On your dual head card, do you have 2 DVIs or a DVI and a VGA? If you have the latter, I'm guessing the LCD is on the DVI. Correct me if I'm wrong.

You would need to add this option to your screen or display section:

Code:
 Option "UseDisplayDevice" "DFP"


If you have the LCD on the VGA then the option is


Code:
 Option "UseDisplayDevice" "CRT"


If you have two DVIs I think it's ... "DFP-0" for the first head or something like that.

More info on: ftp://download.nvidia.com/XFree86/Linux ... dix-d.html

As for running the code as root, that's what the sudo command is for.


Code:
# sudo /usr/bin/YourScriptName.sh


should give your script aliasing or copy/delete privileges of the root.

_________________
Skill level: 10^-3


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 14, 2008 11:10 pm 
Offline
Joined: Sat Jan 26, 2008 10:28 pm
Posts: 53
Location: Montreal, Canada
Hey Guys thanks for the help. I have the 2 scripts working no problem, I just need to figure out how to make the LCD (VGA) show video when the projector (DVI) is plugged in. The only way I can make it work is to unplug the projector and reboot. Any ideas?
JJ

edit: Upon closer inspection my 2 xorg.conf files are identical. Why when the projector is plugged in, there is no video on the LCD. Must be an issue of the resolution chosen by myth. I notice they are different.

_________________
roofchop
KnoppMyth R6, Antec Fusion, Asus P4P800-VM, Pentium 2.8Ghz, OCZ 2x1Gb RAM, 500Gb SATA, Hauppauge 2 PVR-150MCE, Nvidia GeForce 5600, Samsung SyncMaster 225BW (VGA), Optoma HD65 Projector (DVI)....


Last edited by roofchop on Sat Jun 14, 2008 11:15 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 14, 2008 11:14 pm 
Offline
Joined: Sat Dec 10, 2005 3:41 pm
Posts: 62
roofchop wrote:
Hey Guys thanks for the help. I have the 2 scripts working no problem, I just need to figure out how to make the LCD (VGA) show video when the projector (DVI) is plugged in. The only way I can make it work is to unplug the projector and reboot. Any ideas?
JJ


Did you add this line to your LCD xorg file?
Code:
 Option "UseDisplayDevice" "CRT"


It goes under

Code:
Section "Monitor"

_________________
Skill level: 10^-3


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 15, 2008 5:30 pm 
Offline
Joined: Sat Jan 26, 2008 10:28 pm
Posts: 53
Location: Montreal, Canada
I did add:
Code:
 Option "UseDisplayDevice" "CRT"

to both the monitor and the screen section with no effect.

Thanks for the input, I am completely lost on this problem these days.
JJ

_________________
roofchop
KnoppMyth R6, Antec Fusion, Asus P4P800-VM, Pentium 2.8Ghz, OCZ 2x1Gb RAM, 500Gb SATA, Hauppauge 2 PVR-150MCE, Nvidia GeForce 5600, Samsung SyncMaster 225BW (VGA), Optoma HD65 Projector (DVI)....


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 15, 2008 8:24 pm 
Offline
Joined: Sat Dec 10, 2005 3:41 pm
Posts: 62
roofchop wrote:
I did add:
Code:
 Option "UseDisplayDevice" "CRT"

to both the monitor and the screen section with no effect.

Thanks for the input, I am completely lost on this problem these days.
JJ

The first thing I'd test is boot with the projector unplugged. It should go to the monitor. Now plug the projector in and try the projector script. Make sure that works.

If that works, double check that your script is actually copying/linking the right file into the xorg.config file. You can double check this by running the monitor script and then using nano to look at xorg.config and looking for the new option.

If that checks out, your monitor must not be announcing itself when X starts.

In that case, you should also use

Code:
 Option "ConnectedMonitor" "CRT"


Which will force detection of the VGA attached device.

Documentation: ftp://download.nvidia.com/XFree86/Linux ... dix-d.html

_________________
Skill level: 10^-3


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 15, 2008 11:30 pm 
Offline
Joined: Sat Jan 26, 2008 10:28 pm
Posts: 53
Location: Montreal, Canada
Quote:
The first thing I'd test is boot with the projector unplugged. It should go to the monitor. Now plug the projector in and try the projector script. Make sure that works.

If that works, double check that your script is actually copying/linking the right file into the xorg.config file. You can double check this by running the monitor script and then using nano to look at xorg.config and looking for the new option.

I have done this. After some work I know both the scripts work. I added a line at the beginning of each xorg.conf file so I could identify them.
Code:
#LCD xorg.conf

I tried adding
Code:
 Option "ConnectedMonitor" "CRT"
but after either
Code:
pkill x
or a reboot there is no video on the lcd, the screen just turns blue. The only way I can get video on the lcd is to reboot with the projector unplugged.

Thanks for the input. I would be pretty happy to defeat this issue.
JJ

_________________
roofchop
KnoppMyth R6, Antec Fusion, Asus P4P800-VM, Pentium 2.8Ghz, OCZ 2x1Gb RAM, 500Gb SATA, Hauppauge 2 PVR-150MCE, Nvidia GeForce 5600, Samsung SyncMaster 225BW (VGA), Optoma HD65 Projector (DVI)....


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 16, 2008 12:24 am 
Offline
Joined: Sat Dec 10, 2005 3:41 pm
Posts: 62
I see the problem now. You have an ATI card and I was using Nvidia options.

Delete the other two option lines I wanted you to put in and use this one instead:

Code:
 Option "MonitorLayout" "CRT, AUTO"

I think that line goes in
Code:
Section "Device"

under
Code:
Driver "radeon"
More reading:
http://www2.ati.com/drivers/linux/linux_3.12.0.html
and
http://www.botchco.com/alex/radeon/merg ... eon.4.html

It might not work because the page says

Quote:
A connected digital display is always the primary display


If that doesn't work you might be able to set up cloning so both monitors display the same thing but it looks scary:

http://gentoo-wiki.com/HOWTO_Dual_Monitors#ATI

_________________
Skill level: 10^-3


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ] 
Go to page Previous  1, 2



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu