From: Juerg H. <ju...@gm...> - 2007-08-06 18:06:58
|
Hi, I'm having troubles getting a space encoded remote to work with lirc. I'm using a serial receiver, lirc 0.8.3-CVS and kernel 2.6.22. I created a config file for this remote a while ago with lirc 0.7.0 without any problems but it doesn't work anymore with the latest version. I checked the HW with a scope and xmode2 and it all looks fine. When I try to create a new config file, irrrecord figures that the remote sends 17 bits but in fact it's only 12. No wonder it's confused :-) If I use an RC5 remote, everything works just fine. Below are the tail of the irrecord output and the headers of the two config files, the original one created with 0.7.0 and the new failed attempt with 0.8.3.-CVS. Any help is greatly appreciated ...juerg # Please make this file available to others # by sending it to <li...@ba...> # # this config file was automatically generated # using lirc-0.7.0(serial) on Sun Jul 10 08:43:37 2005 # # brand: Sony # model no. of remote control: RM-V402 # devices being controlled by this remote: TV # begin remote name RM-V402-TV.conf bits 12 flags SPACE_ENC|CONST_LENGTH eps 30 aeps 100 header 2482 519 one 1283 511 zero 685 511 gap 45000 toggle_bit 0 # Please make this file available to others # by sending it to <li...@ba...> # # this config file was automatically generated # using lirc-0.8.3-CVS(default) on Sun Aug 5 15:40:42 2007 # # contributed by # # brand: /tmp/rm-v402-0.8.3.conf # model no. of remote control: # devices being controlled by this remote: # begin remote name /tmp/rm-v402-0.8.3.conf bits 17 flags SPACE_ENC|CONST_LENGTH eps 30 aeps 100 header 8447 4205 one 533 1559 zero 533 505 ptrail 535 gap 63188 toggle_bit_mask 0x0 957 x 505 [416,570] 320 x 1559 [1481,1620] 79 x 4190 [4120,4238] 1 x 4065 [4065,4065] 1358 x 533 [471,646] 958 x 505 [416,570] 320 x 1559 [1481,1620] 79 x 4190 [4120,4238] 1 x 4065 [4065,4065] 1359 x 533 [471,646] 959 x 505 [416,570] 320 x 1559 [1481,1620] 79 x 4190 [4120,4238] 1 x 4065 [4065,4065] 1360 x 533 [471,646] 960 x 505 [416,570] 320 x 1559 [1481,1620] 79 x 4190 [4120,4238] 1 x 4065 [4065,4065] 80 x 535 [493,595] 35 x 38752 [38702,38798] 10 x 40853 [40837,40866] 20 x 37683 [37670,37705] 10 x 39804 [39782,39832] 5 x 36652 [36625,36673] 76 x 539 [513,620] 76 x 8447 [8408,8486] 76 x 4205 [4180,4239] 36: 80 get_scheme(): sum: 80 length: 37 signals: 80 first_lengths: 16 second_lengths: 0 Space/pulse encoded remote control found. Signal length is 37. get_header_length(): sum: 76, max_count 76 get_header_length(): sum: 76, max_count 76 Found possible header: 8447 4205 get_trail_length(): sum: 80, max_count 80 Found trail pulse: 535 No repeat code found. get_data_length(): sum: 1360, max_count 1360 Pulse canditates: 1360 x 533 320 x 1559 79 x 4190 1 x 4065 get_data_length(): sum: 1360, max_count 960 79 x 4190 1 x 4065 Space canditates: 960 x 505, 320 x 1559 Signals are space encoded. Signal length is 17 17 533 1559 533 505 535 8208 30 100 63188 Now enter the names for the buttons. Please enter the name for the next button (press <ENTER> to finish recording) Now hold down button "1". Something went wrong. Please try again. (9 retries left) |