Author Topic: GC100 vs USB-UIRT  (Read 1154 times)

gadget

  • Veteran
  • ***
  • Posts: 136
    • View Profile
GC100 vs USB-UIRT
« on: June 30, 2009, 04:36:05 pm »
I have recently installed a ISB-UIRT to be able to learn the pronto codes for my devices, which I have now done and been able to test using the USB-UIRT as the controlling device.

However when I switch it back to the GC100 as the controlling device the codes no longer work. I did have the GC100 working initially with 1 of my devices via IR but that doesn't work ant more. The transmit lights still show that it is trying but it doesn't work.

The serial port of the GC100 is working as it can still switch my Projector on and off.

gadget

Domodude

  • Guest
Re: GC100 vs USB-UIRT
« Reply #1 on: June 30, 2009, 11:03:16 pm »
Did you double-check that you're using the right IR port of the gc100? I assume so, since you say the lights blink when transmitting.

Just to make sure: you programmed the code using a USBUIRT. The (LMCE) device that uses the template thus generated, controls your hardware through one of the IR ports of the GC100?


gadget

  • Veteran
  • ***
  • Posts: 136
    • View Profile
Re: GC100 vs USB-UIRT
« Reply #2 on: July 01, 2009, 05:01:35 am »
I have switched the controlled via back to the GC100 ( and selected port) but it doesn't do anyhthing. light on port an IR do show activity though. When I then switch the controlled by to the USB-UIRT it works OK.

gadget

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5502
  • DOES work for LinuxMCE.
    • View Profile
Re: GC100 vs USB-UIRT
« Reply #3 on: July 01, 2009, 06:20:23 am »
It is worth noting that the GC100 device driver underwent some patching in 0810 to fix problems with IR transmitting. Are you using 0810?

-Thom

gadget

  • Veteran
  • ***
  • Posts: 136
    • View Profile
Re: GC100 vs USB-UIRT
« Reply #4 on: July 01, 2009, 12:59:02 pm »
Hi Thom,

Yes, I am using 810 because of the GC100 not working in 710. The strange thing is that it "was" working on port1 with my amplifier and port 3 to my cable box initially. I then got a new cable box which required the learning hence the purchase of the USB-UIRT to do the learning. Somewhere in between it stopped working. I have rebooted with and without the USB-UIRT without luck.

I have a development VM built and I will attempt to look at the GC100 code , but have no C++ experience. If you can point me to where approx in the code or which function to focus on i may be able to find something.   

gadget

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5502
  • DOES work for LinuxMCE.
    • View Profile
Re: GC100 vs USB-UIRT
« Reply #5 on: July 01, 2009, 07:24:43 pm »
I think at this point, cross referencing your DCERouter, GC100, and USB_UIRT_0038 logs might yield some better answers.

-Thom

gadget

  • Veteran
  • ***
  • Posts: 136
    • View Profile
Re: GC100 vs USB-UIRT
« Reply #6 on: July 02, 2009, 04:15:01 pm »
Hi Thom

I have only been checking the GC100 log so will check what i get from the others this weekend. I have noticed that there is a lot more logging in the GC100 source. How do i enable more logging?.

gadget

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5502
  • DOES work for LinuxMCE.
    • View Profile
Re: GC100 vs USB-UIRT
« Reply #7 on: July 02, 2009, 06:32:02 pm »
The quickest way is to modify /etc/pluto.conf and comment out LogLevels with a #.

-Thom

gadget

  • Veteran
  • ***
  • Posts: 136
    • View Profile
Re: GC100 vs USB-UIRT
« Reply #8 on: July 03, 2009, 04:23:44 pm »
Hi Thom,

This is the log of the 2 devices when sending the 'ON' command.

Code: [Select]
GC100

10 07/03/09 23:58:39.885 Sending IR to port '2:1', code '0000 006D 0022 0002 0155 00AB 0016 0015 0016 0040 0016 0015 0016 0015 0016 0040 0016 0015 0016 0040 0016 0040 0016 0040 0016 0015 0016 0040 0016 003F 0016 0015 0016 0040 0016 003F 0016 0015 0016 0015 0016 0015 0016 0040 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 003F 0016 0040 0016 0015 0016 003F 0016 0040 0016 0040 0016 003F 0016 0040 0016 05BB 0155 0055 0016 0E35' <0xb71c0b90>
10 07/03/09 23:58:39.885 SendIR wrapper: Port = 2:1 code = 0000 006D 0022 0002 0155 00AB 0016 0015 0016 0040 0016 0015 0016 0015 0016 0040 0016 0015 0016 0040 0016 0040 0016 0040 0016 0015 0016 0040 0016 003F 0016 0015 0016 0040 0016 003F 0016 0015 0016 0015 0016 0015 0016 0040 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 003F 0016 0040 0016 0015 0016 003F 0016 0040 0016 0040 0016 003F 0016 0040 0016 05BB 0155 0055 0016 0E35 <0xb71c0b90>
10 07/03/09 23:58:39.885 SendIR_Loop: Port = 2:1, Times = 1 <0xb71c0b90>
10 07/03/09 23:58:39.885 SendIR: Port = 2:1 <0xb71c0b90>
10 07/03/09 23:58:39.885 convert_pronto: Total code length is 379, expecting 379 <0xb71c0b90>
10 07/03/09 23:58:39.885 SendIR: Result of Pronto conversion was: 38000,2,69,341,171,22,21,22,64,22,21,22,21,22,64,22,21,22,64,22,64,22,64,22,21,22,64,22,63,22,21,22,64,22,63,22,21,22,21,22,21,22,64,22,21,22,21,22,21,22,21,22,21,22,63,22,64,22,21,22,63,22,64,22,64,22,63,22,64,22,1467,341,85,22,3637 <0xb71c0b90>
21 07/03/09 23:58:39.885 lock(0x84f6310) (>358) gc100: gc100.cpp:1307  <0xb71c0b90>
21 07/03/09 23:58:39.885 acquired(0x84f6310) #0 (>358) gc100 gc100.cpp:1307  <0xb71c0b90>
10 07/03/09 23:58:39.885 Sending command sendir,2:1,1,38000,2,69,341,171,22,21,22,64,22,21,22,21,22,64,22,21,22,64,22,64,22,64,22,21,22,64,22,63,22,21,22,64,22,63,22,21,22,21,22,21,22,64,22,21,22,21,22,21,22,21,22,21,22,63,22,64,22,21,22,63,22,64,22,64,22,63,22,64,22,1467,341,85,22,3637

 <0xb71c0b90>
10 07/03/09 23:58:40.256 Reply received from GC100: completeir,2:1,1 <0xb61beb90>
10 07/03/09 23:58:40.256 Finished sending IR <0xb71c0b90>

USB-UIRT
10 07/04/09 0:00:39.038 UsbUirt Sending with repeat 1: 0000 006D 0022 0002 0155 00AB 0016 0015 0016 0040 0016 0015 0016 0015 0016 0040 0016 0015 0016 0040 0016 0040 0016 0040 0016 0015 0016 0040 0016 003F 0016 0015 0016 0040 0016 003F 0016 0015 0016 0015 0016 0015 0016 0040 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 003F 0016 0040 0016 0015 0016 003F 0016 0040 0016 0040 0016 003F 0016 0040 0016 05BB 0155 0055 0016 0E35 <0xb5fa6b90>

The pronto codes are the same but the GC100 seems to convert it before sending.

gadget

gadget

  • Veteran
  • ***
  • Posts: 136
    • View Profile
Re: GC100 vs USB-UIRT
« Reply #9 on: July 14, 2009, 03:13:38 pm »
I have done some further testing using "simpleir" from the global cache website and transmitting the pronto code with it also doesn't work, so there must be an issue with the GC100 itself. I know port 1 of the GC100 works as i am controlling my receiver with it. I have also switched the ports and it still doesn't work.

gadget