Author Topic: IR Code capture  (Read 3677 times)

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
IR Code capture
« on: February 21, 2010, 03:29:56 pm »
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

maybeoneday

  • Guru
  • ****
  • Posts: 194
    • View Profile
Re: IR Code capture
« Reply #1 on: February 21, 2010, 03:35:27 pm »

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: IR Code capture
« Reply #2 on: February 21, 2010, 03:55:40 pm »
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
« Last Edit: February 22, 2010, 02:08:06 am by pw44 »

maybeoneday

  • Guru
  • ****
  • Posts: 194
    • View Profile
Re: IR Code capture
« Reply #3 on: February 21, 2010, 04:44:59 pm »
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

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: IR Code capture
« Reply #4 on: February 21, 2010, 05:04:52 pm »
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

  • Guru
  • ****
  • Posts: 194
    • View Profile
Re: IR Code capture
« Reply #5 on: February 21, 2010, 08:06:11 pm »
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

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: IR Code capture
« Reply #6 on: February 22, 2010, 02:06:38 am »
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