View previous topic :: View next topic |
Author |
Message |
sp33dy n00b
Joined: 17 Apr 2003 Posts: 60
|
Posted: Fri Apr 25, 2003 8:40 pm Post subject: radeon 7500m, acpid, radeontool, atitvout...one happy family |
|
|
I was getting quite pissed off with atitvout...as it cannot display to both the tv and lcd at the same time. Anyhow after setting up radeontool to turn off the display when I close the lid, I decided to add to it atitvout.
When I close the lid, the lcd display is turned off and tvout is turned on. Open the lid and the reverse happens.
Here is the code for my acpi event handler...
Code: |
#!/usr/bin/perl
# Default acpi script that takes an entry for all actions
use strict;
if ($ARGV[0] eq "button/power") {
if ($ARGV[1] eq "PWRF") {
system("/sbin/init", 0);
}
else{
system("logger", "ACPI action $ARGV[1] is not defined");
}
}
elsif ($ARGV[0] eq "button/lid") {
if ($ARGV[3] =~ /[13579bdf]$/) {
system("/sbin/radeontool", "light", "off");
system("/usr/bin/atitvout", "-f", "t");
}
elsif ($ARGV[3] =~ /[02468ace]$/) {
system("/sbin/radeontool", "light", "on");
system("/usr/bin/atitvout", "-f", "l");
}
else{
system("logger", "ACPI action $ARGV[1] is not defined");
};
}
else{
system("logger", "ACPI group $ARGV[0] / action $ARGV[1] is not defined");
};
|
|
|
Back to top |
|
|
dabooty Guru
Joined: 15 May 2003 Posts: 482 Location: Belgium
|
Posted: Sat May 17, 2003 3:44 pm Post subject: Could you provide a little more information |
|
|
Could you provide a little more infomation as to how to get atitvout and the ati drivers working, so a noob could get it?
and would you know if the same would work on a radeon VE |
|
Back to top |
|
|
|
|
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 vote in polls in this forum
|
|