View previous topic :: View next topic |
Author |
Message |
grubber33 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Aug 2003 Posts: 62
|
Posted: Sun Feb 26, 2012 4:26 pm Post subject: [Update: No udev event for fglrx HDMI] Auto-run HDMI script? |
|
|
Greetings everyone. My search hasn't led me to much on this subject so I'll ask here. I would like to know if it's possible to run a script when an HDMI cord is plugged in/out of my laptop. I'm not entirely familiar with how Linux handles things being plugged in/out so a bit of a newbie explanation would be really appreciated. Thanks!
Last edited by grubber33 on Mon Feb 27, 2012 2:44 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
skunk l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/11317999223f8841cedbe91.gif)
Joined: 28 May 2003 Posts: 646 Location: granada, spain
|
Posted: Sun Feb 26, 2012 7:57 pm Post subject: |
|
|
an example for audio switching... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
grubber33 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Aug 2003 Posts: 62
|
Posted: Mon Feb 27, 2012 2:43 am Post subject: |
|
|
Okay so apparently there is no udev event when you use fglrx. udevadm monitor comes up with nothing when the cable is plugged in/out. Is this an ATI-side issue or is there something I can enable? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23082
|
Posted: Mon Feb 27, 2012 4:16 am Post subject: |
|
|
Does it work if you use the open Radeon driver instead? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
grubber33 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Aug 2003 Posts: 62
|
Posted: Mon Feb 27, 2012 11:35 am Post subject: |
|
|
Presumably yes since a post I found through google said the event started working when they switched to the radeon driver. However I am intent on gaming with wine so fglrx is my only option right now. If it is something that needs to be enabled on ATI's side that's fine, I was just wondering if there was something I could enable on my side since xrandr can properly detect the external monitor (not) being plugged in? Otherwise I can just set up a hotkey for every time I switch. Thanks again. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23082
|
Posted: Tue Feb 28, 2012 3:49 am Post subject: |
|
|
I have used Radeon with Wine for games and not seen any particular problems. Have you tried it and found it lacking? If so, in what way did it fail? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
grubber33 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Aug 2003 Posts: 62
|
Posted: Tue Feb 28, 2012 12:14 pm Post subject: |
|
|
I haven't tried it because everything I've read points to fglrx being better. Here's an example:
http://ubuntuforums.org/archive/index.php/t-1730006.html
I'm also using a HD5870M and the consensus seems to be that more recent + laptop = fglrx whereas older desktop cards work better with radeon. Regardless, I'm assuming the lack of a udev event for HDMI is an issue on ATI's side? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23082
|
Posted: Wed Feb 29, 2012 3:21 am Post subject: |
|
|
Since it works with the open driver, I think that is a fair assumption. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|