From: Matrix200 <mat...@gm...> - 2013-04-29 22:53:22
|
<html><head><title>Re: Odd air condition codes not working with irrecord / manual configuration</title> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> </head> <body> <span style=" font-family:'Arial'; font-size: 10pt;">Hi Omer,<br> <br> I tried to make the same remote work with some limited success.<br> With commandir it works about 30% of the time for some of the keys.<br> If you want I can send you some codes I had generated.<br> <br> <br> Monday, April 29, 2013, 11:39:31 PM, you wrote:<br> <br> </span><table> <tr> <td width=2 bgcolor= #0000ff><br> </td> <td width=1><br> </td> </tr> </table> <span style=" font-family:'arial'; font-size: 10pt;">Hey,<br> <br> I've been trying for some while now to get lirc working with my air condition unit (remote control RC-4(HL)) without success.<br> The remote does not repeat the codes, so every key press only sends one burst of information.<br> (Another TV remote I have works perfectly with irrecord)<br> <br> Here is what I tried:<br> <b>irrecord</b> (with and without --force), does not find gap, and does not register most of my clicks.<br> I assume this is because the key does not repeat.<br> <br> mode2 works with this output:<br> mode2: uirt2_raw: checksum error<br> mode2: uirt2_raw: UIRT version 0905 ok<br> 1526500<br> <br> </span><a style=" font-family:'arial'; font-size: 10pt;" href="tel:3250">3250</a><span style=" font-family:'arial'; font-size: 10pt;"> </span><a style=" font-family:'arial'; font-size: 10pt;" href="tel:3800">3800</a><span style=" font-family:'arial'; font-size: 10pt;"> 1950 800 1050 1750<br> </span><a style=" font-family:'arial'; font-size: 10pt;" href="tel:2000">2000</a><span style=" font-family:'arial'; font-size: 10pt;"> 800 1050 800 1000 900<br> 950 900 1000 800 1050 850<br> 1050 1800 1950 900 1050 1800<br> 1950 900 950 900 1000 850<br> 1000 900 1000 800 1050 850<br> 1000 900 1000 850 1050 850<br> 1050 800 1050 850 1050 800<br> 1050 850 1000 900 1000 800<br> 1000 900 950 1850 1900 900<br> </span><a style=" font-family:'arial'; font-size: 10pt;" href="tel:2900">2900</a><span style=" font-family:'arial'; font-size: 10pt;"> </span><a style=" font-family:'arial'; font-size: 10pt;" href="tel:3800">3800</a><span style=" font-family:'arial'; font-size: 10pt;"> </span><a style=" font-family:'arial'; font-size: 10pt;" href="tel:2000">2000</a><span style=" font-family:'arial'; font-size: 10pt;"> 850 1000 1850<br> 1950 800 1050 800 1050 800<br> 1050 800 1000 900 1050 800<br> 1050 1750 </span><a style=" font-family:'arial'; font-size: 10pt;" href="tel:2000">2000</a><span style=" font-family:'arial'; font-size: 10pt;"> 800 1050 1800<br> </span><a style=" font-family:'arial'; font-size: 10pt;" href="tel:2000">2000</a><span style=" font-family:'arial'; font-size: 10pt;"> 800 1050 850 1000 900<br> 1050 800 1050 800 1000 900<br> 1000 800 1050 850 1050 800<br> 1050 800 1100 800 1050 800<br> 1000 900 1050 800 1000 900<br> 950 900 1000 1750 </span><a style=" font-family:'arial'; font-size: 10pt;" href="tel:2000">2000</a><span style=" font-family:'arial'; font-size: 10pt;"> 850<br> </span><a style=" font-family:'arial'; font-size: 10pt;" href="tel:2950">2950</a><span style=" font-family:'arial'; font-size: 10pt;"> </span><a style=" font-family:'arial'; font-size: 10pt;" href="tel:3850">3850</a><span style=" font-family:'arial'; font-size: 10pt;"> 1950 850 1050 1750<br> 1950 900 1050 850 1000 900<br> 950 900 1000 850 1000 900<br> 950 1850 1950 850 1050 1800<br> 1950 900 1050 800 1050 850<br> 1050 800 1050 850 1050 800<br> 1050 800 1050 800 1050 800<br> 1050 800 1050 800 1050 850<br> 1050 850 1050 850 1000 900<br> 950 900 1000 1800 1950 900<br> </span><a style=" font-family:'arial'; font-size: 10pt;" href="tel:3950">3950</a><br> <br> <span style=" font-family:'arial'; font-size: 10pt;">trying to use this output in the config file:<br> <br> <i>begin remote<br> name test<br> flags RAW_CODES<br> eps 30<br> aeps 100<br> <br> ptrail 0<br> repeat 0 0<br> begin raw_codes<br> <br> name power<br> [...] CODES as shown above [...]<br> end raw_codes<br> end remote<br> <br> </i>This does not work properly.<br> irw identifies the key "power", but I cannot send the key with irsend.<br> Here is the output:<br> <br> lircd: registering local client<br> lircd: accepted new client on /var/run/lirc/lircd<br> lircd: writing command 23<br> lircd: 23 dd <br> lircd: wrote 2<br> lircd: cmd res 3:<br> lircd: 09 05 01 <br> lircd: <br> lircd: uirt2_raw: checksum error<br> lircd: uirt2: detection of uirt2 failed<br> lircd: uirt2: trying to detect newer uirt firmware<br> lircd: writing command 23<br> lircd: 23 dd <br> lircd: wrote 2<br> lircd: cmd res 8:<br> lircd: 09 05 01 01 1a 03 04 cf <br> lircd: <br> lircd: uirt2_raw: UIRT version 0905 ok<br> lircd: writing command 21<br> lircd: 21 df <br> lircd: wrote 2<br> lircd: cmd res 1:<br> lircd: 21 <br> lircd: <br> lircd: tty_setdtr: 1->0<br> lircd: received command: "send_start ct power"<br> lircd: clearing transmit buffer<br> lircd: transmit buffer ready<br> lircd: Trying REMSTRUC1 transmission<br> lircd: uirt2_raw: UIRT version 0905<br> lircd: hw_uirt2_raw.c:477<br> lircd: table[0] = 38<br> <br> lircd: hw_uirt2_raw.c:496 - signal 2000, tunit 52, bit: 0<br> lircd: table[0] = 16<br> <br> [...]<br> <br> lircd: hw_uirt2_raw.c:496 - signal 1950, tunit 52, bit: 0<br> lircd: expect 17, table[0] = 16<br> <br> lircd: hw_uirt2_raw.c:496 - signal 900, tunit 52, bit: 0<br> lircd: Couldn't find 57<br> <br> lircd: hw_uirt2_raw.c:496 - signal 3000, tunit 52, bit: -1<br> lircd: hw_uirt2_raw.c:508<br> lircd: uirt2_send: remote not supported<br> lircd: error processing command: send_start ct power<br> lircd: transmission failed<br> lircd: removed client<br> lircd: tty_setdtr: 0->1<br> <br> <br> I added some debugging info (shown in lines with __FILE__:__LINE__)<br> <br> Can anyone help with this? If code needs to be changed I can do it with a little guidance.<br> <br> Regards,<br> Omer.<br> <br> <br> <br> <br> <br> <br> <br> <span style=" font-size: 8pt; color: #c0c0c0;"><i>-- <br> Best regards,<br> Matrix200 </i></span></span><a style=" font-family:'arial';" href="mailto:mat...@gm...">mailto:mat...@gm...</a></body></html> |