View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Dec 05, 2011 4:59 pm 
Offline
Joined: Wed Apr 28, 2004 10:42 pm
Posts: 405
Location: Bendigo, Victoria, Australia
I am using a mce-usb irblaster to "forward" volume and power button presses from my (non-learning) MCE remote to my Loewe TV.
It all works but it is very slow, which is annoying when you need to change the volume. You hit the button a couple of times and its still too loud so you push it again, but the first commands are still flowing through and the volume ends up too quiet.
This is particularly noticeable if you hold down the button for a couple of seconds as the volume keeps changing for several seconds after you release the button.

I have created a test script that sends ten commands and it takes 5 seconds to complete.
Code:
[root@mythtv mythtv]# cat irsendTest.sh
#!/bin/bash
/usr/bin/irsend SEND_ONCE Loewe_150_TV Left; echo "Sent."
/usr/bin/irsend SEND_ONCE Loewe_150_TV Left; echo "Sent."
/usr/bin/irsend SEND_ONCE Loewe_150_TV Left; echo "Sent."
/usr/bin/irsend SEND_ONCE Loewe_150_TV Left; echo "Sent."
/usr/bin/irsend SEND_ONCE Loewe_150_TV Left; echo "Sent."
/usr/bin/irsend SEND_ONCE Loewe_150_TV Left; echo "Sent."
/usr/bin/irsend SEND_ONCE Loewe_150_TV Left; echo "Sent."
/usr/bin/irsend SEND_ONCE Loewe_150_TV Left; echo "Sent."
/usr/bin/irsend SEND_ONCE Loewe_150_TV Left; echo "Sent."
/usr/bin/irsend SEND_ONCE Loewe_150_TV Left; echo "Sent."
[root@mythtv mythtv]# time ./irsendTest.sh
Sent.
Sent.
Sent.
Sent.
Sent.
Sent.
Sent.
Sent.
Sent.
Sent.

real    0m5.369s
user    0m0.006s
sys     0m0.012s


Does anyone know how I can speed this up?

_________________
Paul Turpie
-------------
<--Is your location in your profile? Why not?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 06, 2011 1:39 am 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
buy a universal remote that "knows" the MCE codes and your TV codes save yourself all the hassle.

_________________
My System


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 06, 2011 4:27 pm 
Offline
Joined: Wed Apr 28, 2004 10:42 pm
Posts: 405
Location: Bendigo, Victoria, Australia
Well I had a Logitech Harmony 525 but even though I had it programmed properly no one ever used the extra features, and I didn't really like the feel of it.
So when it died I bought a MCE remote because they are good quality, come with a usb ir receiver, and were supposed to have programmable power and volume buttons. Unfortunately the newer models are unable to learn commands from your existing tv remotes.
Using irsend I can get 95% of what I want, it'll just be a little confusing for people not used to the lag in processing volume buttons.

_________________
Paul Turpie
-------------
<--Is your location in your profile? Why not?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 07, 2011 10:48 am 
Offline
Site Admin
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
Don't have a solution for you, but others have also reported irsend to be laggie. This is regards to lirc in general, even for people not using linhes.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 07, 2011 1:45 pm 
Offline
Joined: Sat Feb 03, 2007 12:52 am
Posts: 187
Location: Manitoba, Canada
For interest sake, I ran your script on my hardware substituting my remote name. It completed in half the time.
Code:
time ./irsendtest
Sent.
Sent.
Sent.
Sent.
Sent.
Sent.
Sent.
Sent.
Sent.
Sent.

real    0m2.457s
user    0m0.009s
sys     0m0.011s

I'm running R7.1 with a serial ir blaster from irblaster.info


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 16 guests


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 post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu