From cb16c782b34656c5338df1d7825420f19c1f2ecb Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sun, 12 Oct 2014 07:11:56 +0000 Subject: [PATCH] 00_LIRC.pm: Use select instead of Poll (Forum #27821) git-svn-id: https://svn.fhem.de/fhem/trunk@6748 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/00_LIRC.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/00_LIRC.pm b/fhem/FHEM/00_LIRC.pm index a09a72c67..de5154520 100644 --- a/fhem/FHEM/00_LIRC.pm +++ b/fhem/FHEM/00_LIRC.pm @@ -57,9 +57,9 @@ LIRC_Define($$) $hash->{LircObj} = $lirc; - $hash->{FD} = $lirc->{sock}; # is not working and sets timeout to undefined + $hash->{FD} = $lirc->{sock}->fileno; # is not working and sets timeout to undefined $selectlist{"$name"} = $hash; # - $readyfnlist{"$name"} = $hash; # thats why we start polling + #$readyfnlist{"$name"} = $hash; # thats why we start polling $hash->{SelectObj} = $select; $hash->{DeviceName} = $name; $hash->{STATE} = "Opened";