Notices


Reply
Thread Tools
Posts: 631 | Thanked: 837 times | Joined on May 2007 @ Milton, Ontario, Canada
#31
I haven't downloaded the package yet though I will shortly... here's my question though; does this include a full port of LIRC that runs on the tablet itself, or does it simply emulate/have some way of creating fake signals that then get sent across the network to trigger LIRC on another machine somewhere?

I'm going to see if I can figure out a way to throw together a quick and dirty little IR blaster (either serial or USB), but if the package doesn't include LIRC or any modules then it's going to be a lot more complicated...

Thanks,
-Rob
 
Posts: 29 | Thanked: 7 times | Joined on May 2007
#32
Originally Posted by gerolf.ziegenhain View Post
Hi,

Great work

What about implementing the full button set for MythTV? Buttons like pause, play, stop, Recordings, TV etc would be very nice

Best regards: Gerolf
The theme packages have some of those buttons:
http://irreco.garage.maemo.org/themes.html#themes

By the way, what would be the "full button set for MythTV"? I could ask the graphics dude to make such a set if i had a complete list of the buttons. I dont actually use MythTv personally .. so ..
 
Posts: 29 | Thanked: 7 times | Joined on May 2007
#33
Originally Posted by jolouis View Post
I haven't downloaded the package yet though I will shortly... here's my question though;
Nope, there has been no need to port it to the tablet.

does this include a full port of LIRC that runs on the tablet itself, or does it simply emulate/have some way of creating fake signals that then get sent across the network to trigger LIRC on another machine somewhere?
Sort of. LIRC actually has builtin support for controlling the lircd daemon though network. You just need give lircd daemon the "--listen" option.

I'm going to see if I can figure out a way to throw together a quick and dirty little IR blaster (either serial or USB), but if the package doesn't include LIRC or any modules then it's going to be a lot more complicated...

Thanks,
-Rob
That would be cool.
 
Posts: 149 | Thanked: 21 times | Joined on Jun 2007 @ Germany
#34
Is there any useful readme for irreco <-> lirc and irreco only?

I've running lirc <-> lirc over network running w/o problems, but irreco <-> lirc doesn't work as expected. Maybe I must do something more on irreco, but where can I find more docs?

Thanks a lot!
 
Posts: 29 | Thanked: 7 times | Joined on May 2007
#35
Originally Posted by slha89 View Post
Is there any useful readme for irreco <-> lirc and irreco only?

I've running lirc <-> lirc over network running w/o problems, but irreco <-> lirc doesn't work as expected. Maybe I must do something more on irreco, but where can I find more docs?

Thanks a lot!
There is now. I took some time to write one.

http://irreco.garage.maemo.org/documentation.html#lirc

Tell me if theres any problems and ill try to improve it.

Also you might want to make sure that your N8xx is in the same network as your Linux. Your wlan basestation might have some kind of filtering / firewall / nat which breaks things.

Last edited by eXeonical; 2008-03-20 at 15:30.
 

The Following User Says Thank You to eXeonical For This Useful Post:
Posts: 149 | Thanked: 21 times | Joined on Jun 2007 @ Germany
#36
Thank you But it doesn't work. Irreco displays 'can not open socket'.

iptables -F INPUT/OUTPUT/FORWARD
iptables -P INPUT/OUTPUT/FORWARD ACCEPT
selinux=0 (I use Fedora)

lirc <-> lirc from one pc to another works, for example:

PC1
lircd -c 192.168.1.119 -H udp -n
PC2
lircd -l -H pinsys -n

wlan basestation might have some kind of filtering / firewall / nat which breaks things
If I start httpd on port 8765, I can access it with N810 and I'm in the same network (192.168.1.0/24)

edit: tcpdump & other informations added

at 1st start or Irreco, I get following tcpdump (Server: *.254, N810: *.40)
[root@server ~]# tcpdump -nni eth1 port 8765
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
00:20:23.237468 IP 192.168.1.40.51706 > 192.168.1.254.8765: S 564523059:564523059(0) win 5840 <mss 1460,sackOK,timestamp 5050050 0,nop,wscale 2>
00:20:23.237563 IP 192.168.1.254.8765 > 192.168.1.40.51706: S 3301026896:3301026896(0) ack 564523060 win 5792 <mss 1460,sackOK,timestamp 1344061286 5050050,nop,wscale 6>
00:20:23.239809 IP 192.168.1.40.51706 > 192.168.1.254.8765: . ack 1 win 1460 <nop,nop,timestamp 5050054 1344061286>
00:20:23.239883 IP 192.168.1.40.51706 > 192.168.1.254.8765: P 1:6(5) ack 1 win 1460 <nop,nop,timestamp 5050054 1344061286>
00:20:23.239919 IP 192.168.1.254.8765 > 192.168.1.40.51706: . ack 6 win 91 <nop,nop,timestamp 1344061289 5050054>
00:20:23.241714 IP 192.168.1.254.8765 > 192.168.1.40.51706: F 1:1(0) ack 6 win 91 <nop,nop,timestamp 1344061290 5050054>
00:20:23.242236 IP 192.168.1.254.8765 > 192.168.1.40.51706: R 2:2(0) ack 6 win 91 <nop,nop,timestamp 1344061291 5050054>
00:20:23.245244 IP 192.168.1.40.51706 > 192.168.1.254.8765: . ack 2 win 1460 <nop,nop,timestamp 5050055 1344061290>
00:20:23.245316 IP 192.168.1.254.8765 > 192.168.1.40.51706: R 3301026898:3301026898(0) win 0
After that, Irreco doesn't respond. Now I killed Irreco and it looks like lircd dies too:
[root@server ~]# tcpdump -nni eth1 port 8765
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
00:13:22.881446 IP 192.168.1.40.55734 > 192.168.1.254.8765: S 126136818:126136818(0) win 5840 <mss 1460,sackOK,timestamp 4996244 0,nop,wscale 2>
00:13:22.881524 IP 192.168.1.254.8765 > 192.168.1.40.55734: R 0:0(0) ack 126136819 win 0
After that, I get the open socket message on N810

Some other informations:
[root@server ~]# rpm -qv lirc
lirc-0.8.1-1.fc6
[root@server ~]# ps ax | grep lircd
25253 ? Ss 0:00 /usr/sbin/lircd -l -H pinsys

Last edited by slha89; 2008-03-20 at 23:24.
 
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#37
Are there any screenshots of this app?
 
Posts: 29 | Thanked: 7 times | Joined on May 2007
#38
Originally Posted by slha89 View Post
Thank you But it doesn't work. Irreco displays 'can not open socket'.
Could you see what Irreco says if you start Irreco with
Code:
irreco -d 9
in xterminal.

edit:
After that, Irreco doesn't respond. Now I killed Irreco and it looks like lircd dies too:
I have got the problem with lirc dieing on me with wrong driver / config setup, but if it works with you other PC this probably is not the problem. It seems that the only way LIRC handles errors is to just DIE.

Last edited by eXeonical; 2008-03-22 at 13:17.
 
Posts: 149 | Thanked: 21 times | Joined on Jun 2007 @ Germany
#39
I found something. I have no /dev/lirc device, only a /dev/lircd

Do I understand Irreco?

now:
PC, controlled with IR remote

wish:
PC, controlled with N810/Irreco

If I have a client/server combination, it's following:
PC1 ("client") with IR receiver / remote attached: lircd -l -H pinsys
PC2 ("server", controlled from PC1): lircd -c <IP of PC1> -H udp

With Irreco (and following your documentation), my PC acts like PC1!?
But this isn't what I want. My PC should act like PC2, it should be controllable from Irreco.
So my question is again: do I have understand Irreco? I think, I want something different...

Last edited by slha89; 2008-03-25 at 09:37.
 
ImMelody's Avatar
Posts: 30 | Thanked: 3 times | Joined on Jan 2008 @ Connecticut, USA
#40
I feel kinda silly for asking this, and maybe it's just because we haven't got our MythTV up and running. But how do I make the buttons know what to do? There's a Play/Pause button, but the command chain doesn't give me a list of functions so I can't specify when that button is pressed to play/pause (depending of course). I can't imagine that it'd do this automatically, and I don't see a way to put in scripts otherwise.
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:29.