News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

IR Code capture

Started by pw44, February 21, 2010, 03:29:56 PM

Previous topic - Next topic

pw44

Hia,
is there a way to see which IR remote code is being read by the UIRT, like a log which shows what is being read?
TIA


pw44

#2
Hi Ian,

yes, it is, but my /var/log/pluto/32_USB_UIRT_0038.log shows nothing.....
tail -f /var/log/pluto/32_USB_UIRT_0038.log does not give any message, and previous logs, like /var/log/pluto/32_USB_UIRT_0038.log.1 shows:

Fri Feb 19 22:52:37 BRST 2010 Restart
========== NEW LOG SECTION ==========
1 02/19/10 22:52:45     32 (spawning-device)    Starting... 1
1 02/19/10 22:52:45     32 (spawning-device)    Found /usr/pluto/bin/USB_UIRT_0038
05 02/19/10 22:52:46.839             Connect() failed, Error Code 111 (Connection refused)) <0xb79ba6c0>
05 02/19/10 22:52:47.839             Connect() failed, Error Code 111 (Connection refused)) <0xb79ba6c0>
05 02/19/10 22:52:50.185             Creating child 33 <0xb79ba6c0>
05 02/19/10 22:52:50.185             Note: Device manager has attached a device of type 1784 that this has no custom event handler for.  It will not fire events. <0xb79ba6c0>
05 02/19/10 22:52:50.185             Note: Device manager has attached a device of type 1784 that this has no custom handler for.  This is normal for IR. <0xb79ba6c0>


When i point the IR remote to the UIRT and press a key, the red led lights, but nothing is recorded and the log shows no activity.

Regards,

Paulo

maybeoneday

Hi paulo,
the only thing I can suggest  (but i know sweet FA  ;D ) is
1) remove uirt from system & reinsert in a different port.......it should be redected
2) reboot
regards,
Ian

ps : don't want to insult ,But ,are the batteries in the remote ok ?   & not rechageables, also how close to usbuirt are you ?

pw44

Hi Ian,
I will do it, changing usb ports and reboot.
yes, batteries are ok... i'm testing it with several remotes which are working with their respective appliances (amp, tv, roku' s soundbridge), and the distance from the remotes being tested to the uirt is around 1,5 meters.
Regards,
Paulo

maybeoneday

HI paulo

when capturing remote codes try and setup a stable base between uirt and the remote and have them about 50mm apart max

regards
Ian

pw44

Thx Ian,
it worked, after unplugging, removing uirt from the system and rebooting. After rebooting, i reinserted it and it was automatically recognized, now as 60_USB_UIRT_0038, instead of 32_USB_UIRT_0038. Then sitting 1,5 meter away and tail -f /var/log/pluto/60_USB_UIRT_0038.log, the IR Codes are showing... like:
05      02/21/10 22:01:12.604           Cannot find anything for IR 430A505451F5 <0xb7865b90>
05      02/21/10 22:01:15.193           Cannot find anything for IR 430A444051F5 <0xb7865b90>
05      02/21/10 22:01:17.683           Cannot find anything for IR 430A505451F5 <0xb7865b90>
05      02/21/10 22:01:19.575           Cannot find anything for IR 430A444051F5 <0xb7865b90>
05      02/21/10 22:01:22.155           Cannot find anything for IR 430A505451F5 <0xb7865b90>
So i think the codes i need are: 430A444051F5 and 430A505451F5.
Thx again for the hint.
Regards,
Paulo