Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Update: No udev event for fglrx HDMI] Auto-run HDMI script?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
grubber33
n00b
n00b


Joined: 27 Aug 2003
Posts: 62

PostPosted: Sun Feb 26, 2012 4:26 pm    Post subject: [Update: No udev event for fglrx HDMI] Auto-run HDMI script? Reply with quote

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
View user's profile Send private message
skunk
l33t
l33t


Joined: 28 May 2003
Posts: 646
Location: granada, spain

PostPosted: Sun Feb 26, 2012 7:57 pm    Post subject: Reply with quote

an example for audio switching...
Back to top
View user's profile Send private message
grubber33
n00b
n00b


Joined: 27 Aug 2003
Posts: 62

PostPosted: Mon Feb 27, 2012 2:43 am    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23082

PostPosted: Mon Feb 27, 2012 4:16 am    Post subject: Reply with quote

Does it work if you use the open Radeon driver instead?
Back to top
View user's profile Send private message
grubber33
n00b
n00b


Joined: 27 Aug 2003
Posts: 62

PostPosted: Mon Feb 27, 2012 11:35 am    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23082

PostPosted: Tue Feb 28, 2012 3:49 am    Post subject: Reply with quote

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
View user's profile Send private message
grubber33
n00b
n00b


Joined: 27 Aug 2003
Posts: 62

PostPosted: Tue Feb 28, 2012 12:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23082

PostPosted: Wed Feb 29, 2012 3:21 am    Post subject: Reply with quote

Since it works with the open driver, I think that is a fair assumption.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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