Page 1 of 1

New HTPC, Ubuntu 11.10 - Can't Send

PostPosted: Mon 7. Nov 2011, 04:41
by fergusf
I am struggling greatly with IRTrans on linux. Here's where I am at the moment.

I have irserver64 running. I have created my own remote control using irclient for my denon receiver. The definition for that remote is attached. When I run a command like "/usr/local/irtrans/irclient 127.0.0.1 DENON_AVR_1909 OFF" it reaches the server (standard out is attached for the irserver). The single LED on the top of the unit blinks red once, but it does not affect the receiver. I have it 30 centimeters from the remote. The IR emitters do not produce any signal.

Here's the log for irserver
=================================
Init Server Socket done
IRServer64 Version 6.08.28
Init Events done
Opening Device: /dev/ttyUSB0
IRTRans Send Done: 1
Name : IRTrans USB
Version: U6.04.09
FW SNo : 41876
Capab : Power On; Soft ID; Dual Transmitter Drivers;
FW Cap : 0x43850db
FW Cap2: 0x8196c71
USB SNo:
Node : /dev/ttyUSB0

Init communication ...
[ 0]: IRTrans USB U6.04.09 SN: 41876
Chdir to DB OK
Read routing OK
Read Switches OK
Open DIR: 12
Get Dirent: 584
Remote kathrein-ufs compiled: 2 Timings - 36 Commands
**** CCF Error: ac1 [See below for Remote name]
Remote ccf compiled: 20 Timings - 20 Commands
Remote dream compiled: 0 Timings - 36 Commands
Remote mce-mouse compiled: 1 Timings - 1 Commands
Remote mediacenter compiled: 1 Timings - 49 Commands
Remote dbox2 compiled: 1 Timings - 26 Commands
Remote denon_avr_1909 compiled: 1 Timings - 19 Commands
Remote irtrans compiled: 1 Timings - 33 Commands
Remote sky-hd compiled: 1 Timings - 34 Commands
Remote mce-keyboard compiled: 1 Timings - 77 Commands
Remote sky-digital compiled: 1 Timings - 31 Commands
Remote pace compiled: 2 Timings - 38 Commands
Get Dirent: 0
Duplicate Commands for ccf.1: ccf.2 ccf.3 ccf.4
Duplicate Commands for ccf.2: ccf.3 ccf.4
Duplicate Commands for ccf.3: ccf.4
Duplicate Commands for denon_avr_1909.3: denon_avr_1909.zone_2_vol_up
Duplicate Commands for denon_avr_1909.zone_vol_dwn: denon_avr_1909.zone_2_vol_dwn
Duplicate Commands for pace.0: pace.0-
Total: 12 Remotes - 32 Timings - 400 Commands - 0 Calib. Commands
0 Togglec. - 19 CCF Data - 0 CCF RAW - 1 CCF Error
IRTRans Send Done: 1
IRTRans Send Done: 1

+++++++++++++++++++++++++++++++++
Here's the remote definition:
+++++++++++++++++++++++++++++++++
[REMOTE]
[NAME]irtrans

[TIMING]
[0][N]0[RC]2[RP]82[FREQ]36[RC5]

[COMMANDS]
[power][T]0[D]11000111001100
[mute][T]0[D]11000111001101
[1][T]0[D]11000111000001
[2][T]0[D]11000111000010
[3][T]0[D]11000111000011
[4][T]0[D]11000111000100
[5][T]0[D]11000111000101
[6][T]0[D]11000111000110
[7][T]0[D]11000111000111
[8][T]0[D]11000111001000
[9][T]0[D]11000111001001
[0][T]0[D]11000111000000
[list][T]0[D]11000111100011
[speaker][T]0[D]11000111100100
[Up][T]0[D]11000111100000
[Down][T]0[D]11000111100001
[+][T]0[D]11000111010000
[-][T]0[D]11000111010001
[OK][T]0[D]11000111111011
[TV][T]0[D]11000111111111
[Radio][T]0[D]11000111110101
[Menu][T]0[D]11000111100101
[Text][T]0[D]11000111111100
[Help][T]0[D]11000111001110
[Select][T]0[D]11000111011110
[i][T]0[D]11000111111000
[AV][T]0[D]11000111101010
[Exit][T]0[D]11000111101001
[Timer][T]0[D]11000111101011
[Red][T]0[D]11000111110111
[Green][T]0[D]11000111110110
[Yellow][T]0[D]11000111110010
[Blue][T]0[D]11000111110100

Re: New HTPC, Ubuntu 11.10 - Can't Send

PostPosted: Mon 7. Nov 2011, 13:56
by IRTrans
Hi,
in general there are two possible problems:

1. The Remote control has not been learned correctly. - The remote definition you have attached is not the one for your receiver. The name of your file should be denon_avr_1909.rem.
2. The settings of the IRTrans USB are incorrect. Please do not use the irclient for the device settings. Only use the GUI Client (with Mono on LINUX).

IRTrans

Re: New HTPC, Ubuntu 11.10 - Can't Send

PostPosted: Mon 7. Nov 2011, 15:27
by fergusf
oops, here's my remote def - does the casing matter? I've used camel casing Denon_AVR verses denon_avr?

[REMOTE]
[NAME]Denon_AVR_1909

[TIMING]
[0][N]6[1]392 464[2]504 344[3]400 1280[4]576 1104[5]3320 1696[6]424 74520[RC]1[RP]0[FREQ]38

[COMMANDS]
[ON][T]0[D]010001000011100201000011110001120100010000111000
[OFF][T]0[D]010000100011100201000101110001120100001000111000
[TUNER][T]0[D]010001010001100201000010111001120100010100011000
[VCR][T]0[D]010001011001100201000010011001120100010110011000
[TV_CBL][T]0[D]010001001001100201000011011001120100010010011000
[DVD][T]0[D]010001100011100201000001110001120100011000111000
[CDR_TAPE][T]0[D]01000010010110020100010110100112010000100101100201000101101001120100001001011000
[CD][T]0[D]01000001000110020100011011100112010000010001100201000110111001120100000100011000
[ZONE_2_ON][T]0[D]01000110111100020100000100001112010001101111000201000001000011120100011011110000
[ZONE_2_OFF][T]0[D]01000001111100020100011000001112010000011111000201000110000011120100000111110000
[MAIN_ON][T]0[D]01000100111100020100001100001112010001001111000201000011000011120100010011110000
[MAIN_OFF][T]0[D]01000010111100020100010100001112010000101111000201000101000011120100001011110000
[VOL_UP][T]0[D]010001000111100201000011100001120100010001111000
[VOL_DWN][T]0[D]021000210222201302010202201002230200102012222010
[MUTE][T]0[D]010000000111100201000111100001120100000001111000
[3][T]0[D]S0010101001001100000000100010000011101000110010100
[ZONE_VOL_DWN][T]0[D]S0010101001001100000000100010100011101000110000100
[ZONE_2_VOL_UP][T]0[D]S0010101001001100000000100010000011101000110010100
[ZONE_2_VOL_DWN][T]0[D]S0010101001001100000000100010100011101000110000100

Re: New HTPC, Ubuntu 11.10 - Can't Send

PostPosted: Mon 7. Nov 2011, 19:33
by IRTrans
Hi,
upper/lower case does not matter.

The file itself looks good. I suppose a configuration problem - e.g. internal transmitters disabled.

I would suggest checking the settings using the GUI Client (NOT irremote!).

IRTrans

Re: New HTPC, Ubuntu 11.10 - Can't Send

PostPosted: Tue 8. Nov 2011, 01:38
by fergusf
I plugged the IRTrans unit into a WinDoze box, installed the software, re-created the remote, copied it over to my linux computer and it worked. Thanks for the help,