[Pkg-fglrx-devel] Pkg-fglrx-devel Digest, Vol 48, Issue 1
Sql Sql
firebirdsql at yahoo.com
Thu Feb 2 13:51:06 UTC 2012
The script is as belows. Is there anyway to run it automatically when a monitor hotplug event is detected OR is there a way to display monitor hotplug completely?
#!/bin/bash
echo '1. Dual Monitor';
echo '2. Triple Monitor';
echo '3. TV Only';
toggle_tv_panel() {
if [ "$1" == "TV" ]; then
gconftool-2 --set "/apps/panel/general/toplevel_id_list" --type list --list-type string "[top_panel_screen0,panel_0,bottom_panel_screen2,bottom_panel_screen1,panel_1]"
gconftool-2 --set "/apps/panel/toplevels/panel_1/monitor" --type integer 1
else
gconftool-2 --set "/apps/panel/general/toplevel_id_list" --type list --list-type string "[top_panel_screen0,panel_0,bottom_panel_screen2,bottom_panel_screen1]"
fi
}
move_gnome_panels() {
gconftool-2 --set "/apps/panel/toplevels/top_panel_screen0/monitor" --type integer $1
}
enable_dual() {
xrandr --output DFP1 --mode 1920x1200
xrandr --output DFP3 --mode 1920x1200 --right-of DFP1
xrandr --output DFP2 --off
move_gnome_panels "1"
toggle_tv_panel
}
enable_tv() {
xrandr --output DFP2 --mode 1920x1080 --right-of DFP3
aticonfig --set-dispattrib=DFP2,positionX:0
aticonfig --set-dispattrib=DFP2,positionY:0
aticonfig --set-dispattrib=DFP2,sizeX:1920
aticonfig --set-dispattrib=DFP2,sizeY:1080
move_gnome_panels "2"
toggle_tv_panel "TV"
}
case $1 in
1)
enable_dual
;;
2)
enable_tv
;;
3)
xrandr --output DFP1 --off
xrandr --output DFP3 --off
enable_tv
;;
esac
________________________________
From: "pkg-fglrx-devel-request at lists.alioth.debian.org" <pkg-fglrx-devel-request at lists.alioth.debian.org>
To: pkg-fglrx-devel at lists.alioth.debian.org
Sent: Thursday, February 2, 2012 3:57 AM
Subject: Pkg-fglrx-devel Digest, Vol 48, Issue 1
Send Pkg-fglrx-devel mailing list submissions to
pkg-fglrx-devel at lists.alioth.debian.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-fglrx-devel
or, via email, send a message with subject or body 'help' to
pkg-fglrx-devel-request at lists.alioth.debian.org
You can reach the person managing the list at
pkg-fglrx-devel-owner at lists.alioth.debian.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Pkg-fglrx-devel digest..."
Today's Topics:
1. disabling hotplug events (Sql Sql)
2. Re: disabling hotplug events (Patrick Matth?i)
3. disabling hot plug events (Sql Sql)
4. What's the problem? (Kiwi Bank Limited)
5. Bug#649346: fglrx-driver smplayer, suspend (aladjev.andrew)
----------------------------------------------------------------------
Message: 1
Date: Wed, 1 Feb 2012 07:34:34 -0800 (PST)
From: Sql Sql <firebirdsql at yahoo.com>
To: "pkg-fglrx-devel at lists.alioth.debian.org"
<pkg-fglrx-devel at lists.alioth.debian.org>
Subject: [Pkg-fglrx-devel] disabling hotplug events
Message-ID:
<1328110474.25000.YahooMailNeo at web124708.mail.ne1.yahoo.com>
Content-Type: text/plain; charset="us-ascii"
I have a triple monitor (one is TV) setup on radeon HD 5800 and using the fglrx driver on debian Squeeze.
Monitor #1 is connected directly through DisplayPort
Monitor #2 is connected directly throught DVI.
Monitor #3 (TV) is connected to receiver that is connected to video card through HDMI
Both HDMI and DisplayPort support hot plug notification where it notifies the OS that the monitor is turned off.
The problem is that I only use 2 monitors or just the TV. However, when I turn on the receiver to listen to music, fglrx receives a hot plug event (cause it's connected to the receiver through HDMI).
This cause fglrx to swap the desktops. The desktop displayed on monitor #2 will be displayed on the TV etc.
It's even worse if I turn off monitor #1. Now all 3 desktops display on monitor #2. All my panels, icons, and configuration will moved to the wrong monitor and will not be moved back when monitor is turned on.
I wrote a script to fix these issues. Now when a hot plug event occurs, I manually run the script and it restores the original desktop configuration.
Is there a way to disable hot plug events? If there isn't, is there at least a way to have the script run automatically?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-fglrx-devel/attachments/20120201/def4cde0/attachment-0001.html>
------------------------------
Message: 2
Date: Wed, 01 Feb 2012 16:39:17 +0100
From: Patrick Matth?i <pmatthaei at debian.org>
To: pkg-fglrx-devel at lists.alioth.debian.org
Subject: Re: [Pkg-fglrx-devel] disabling hotplug events
Message-ID: <4F295CA5.5060103 at debian.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Am 01.02.2012 16:34, schrieb Sql Sql:
> I have a triple monitor (one is TV) setup on radeon HD 5800 and using
> the fglrx driver on debian Squeeze.
>
> Monitor #1 is connected directly through DisplayPort
> Monitor #2 is connected directly throught DVI.
> Monitor #3 (TV) is connected to receiver that is connected to video card
> through HDMI
>
> Both HDMI and DisplayPort support hot plug notification where it
> notifies the OS that the monitor is turned off.
>
> The problem is that I only use 2 monitors or just the TV. However, when
> I turn on the receiver to listen to music, fglrx receives a hot plug
> event (cause it's connected to the receiver through HDMI).
>
> This cause fglrx to swap the desktops. The desktop displayed on monitor
> #2 will be displayed on the TV etc.
>
> It's even worse if I turn off monitor #1. Now all 3 desktops display on
> monitor #2. All my panels, icons, and configuration will moved to the
> wrong monitor and will not be moved back when monitor is turned on.
>
> I wrote a script to fix these issues. Now when a hot plug event occurs,
> I manually run the script and it restores the original desktop
> configuration.
>
> Is there a way to disable hot plug events? If there isn't, is there at
> least a way to have the script run automatically?
>
>
> _______________________________________________
> Pkg-fglrx-devel mailing list
> Pkg-fglrx-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-fglrx-devel
COuld you send us the script?
------------------------------
Message: 3
Date: Wed, 1 Feb 2012 08:36:06 -0800 (PST)
From: Sql Sql <firebirdsql at yahoo.com>
To: "pkg-fglrx-devel at lists.alioth.debian.org"
<pkg-fglrx-devel at lists.alioth.debian.org>
Subject: [Pkg-fglrx-devel] disabling hot plug events
Message-ID:
<1328114166.59381.YahooMailNeo at web124708.mail.ne1.yahoo.com>
Content-Type: text/plain; charset="us-ascii"
I have a triple monitor (one is TV) setup on radeon HD 5800 and using the fglrx driver on debian Squeeze.
Monitor #1 is connected directly through DisplayPort
Monitor #2 is connected directly throught DVI.
Monitor #3 (TV) is connected to receiver that is connected to video card through HDMI
Both HDMI and DisplayPort support hot plug notification where it notifies the OS that the monitor is turned off.
The problem is that I only use 2 monitors or just the TV. However, when I
turn on the receiver to listen to music, fglrx receives a hot plug event (cause it's connected to the receiver through HDMI).
This cause fglrx to swap the desktops. The desktop displayed on monitor #2 will be displayed on the TV etc.
It's even worse if I turn off monitor
#1. Now all 3 desktops display on monitor #2. All my panels, icons, and
configuration will moved to the wrong monitor and will not be moved back when monitor is turned on.
I wrote a script to fix these issues. Now when a hot plug event occurs, I manually run the
script and it restores the original desktop configuration.
Is there a way to disable hot plug events? If there isn't, is there at least a way to have the script run automatically?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-fglrx-devel/attachments/20120201/065b9213/attachment-0001.html>
------------------------------
Message: 4
Date: Wed, 1 Feb 2012 10:06:20 +1000
From: "Kiwi Bank Limited"<customerservice at kiwibank.co.nz>
Subject: [Pkg-fglrx-devel] What's the problem?
Message-ID: <SERVERZ6VzvdrEb6MXb00000a38 at hkyaf.com>
Content-Type: text/plain; charset="us-ascii"
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-fglrx-devel/attachments/20120201/4e6d151d/attachment-0001.html>
------------------------------
Message: 5
Date: Thu, 02 Feb 2012 11:50:43 +0300
From: "aladjev.andrew" <aladjev.andrew at gmail.com>
To: 649346 at bugs.debian.org
Subject: [Pkg-fglrx-devel] Bug#649346: fglrx-driver smplayer, suspend
Message-ID: <4F2A4E63.30303 at gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
asus x53b: amd e-350 + ati 6470
debian wheezy/sid linux-image 3.1.0-1 fglrx 12.1
When I start watching video using mplayer computer freezes, black
screen, I cant do anything except hard reset
When I want to suspend-to-ram it works. but when I am trying to resume
from this suspend the same freeze appears! no usefull log errors exists!
only in /var/log/messages
[fglrx] IRQ 42 Disabled
[fglrx] IRQ 43 Disabled
Using free driver all works perfect but I cant game with free driver.
wine wont build with free driver and have no acceleration. ati + linux =
sucks. nvidia + linux = rulez!
But I am from very poor country I cant buy another notebook in this
year. Please try make a pressure on ati because this bugs exist at least
about a year!
------------------------------
_______________________________________________
Pkg-fglrx-devel mailing list
Pkg-fglrx-devel at lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-fglrx-devel
End of Pkg-fglrx-devel Digest, Vol 48, Issue 1
**********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-fglrx-devel/attachments/20120202/6ff1605a/attachment-0001.html>
More information about the Pkg-fglrx-devel
mailing list