LinuxMCE Forums
May 21, 2013, 01:06:10 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
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
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: IR Code capture  (Read 734 times)
pw44
Addicted
*
Posts: 651


View Profile
« 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
Logged
maybeoneday
Guru
****
Posts: 194


View Profile
« Reply #1 on: February 21, 2010, 03:35:27 pm »

Hi pw44,
is
http://wiki.linuxmce.org/index.php/Add_support_for_new_remote_controls   point 5

of any use?

regards,
Ian
Logged
pw44
Addicted
*
Posts: 651


View Profile
« 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 » Logged
maybeoneday
Guru
****
Posts: 194


View Profile
« Reply #3 on: February 21, 2010, 04:44:59 pm »

Hi paulo,
the only thing I can suggest  (but i know sweet FA  Grin ) 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 ?
Logged
pw44
Addicted
*
Posts: 651


View Profile
« 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
Logged
maybeoneday
Guru
****
Posts: 194


View Profile
« 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
Logged
pw44
Addicted
*
Posts: 651


View Profile
« 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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!