[mythtv-users] Another Lirc & Mythtv issue

Dan Morphis dan at milkcarton.com
Sun Feb 22 00:18:04 EST 2004


Did you:
 - Compile in LIRC support?
 - Set the "prog = " tag to mythtv?

-dan

bill at stephens-family.com wrote:

>Ok, I'm stumped.  I have one of the el-cheapo Packard Bell remotes and
>receivers. I'm running suse 9.0, with lirc included in the distribution. 
>Myth runs fine.  My remote is now working fine for Kwintv, so I know the
>remote and lirc are now functioning correctly.  However, myth doesn't
>respond to any functions.
>
>I've created the ~/.lircrc as in the instructions, but nothing is
>happening.  I'm attaching my lircd.conf and .lircrc file.  Any help is
>appreciated.
>
>Thanks,
>
>Bill Stephens
>
>lircd.conf:
>
># cat /etc/lircd.conf
># Config file for Packard Bell Remotes (with repeat codes!)
># created by Samuel Wood (sjw at umr.edu)
>#
># brand:             Packard Bell Remote
># model:             El Cheapo Packard Bell Remote
>#
># This is a config file for the cheap excess Packard Bell remotes
># you sometimes can buy from online auctions like www.onsale.com.
>#
># The receiver that comes with it hooks into the serial port and works
># fine with lirc 0.5.4.
>#
># The receiver that comes with the remote is near garbage. If
># you don't point almost directly at it, it will not detect. But
># it's simpler than building your own. :-)
>#
># Repeat works fine for me. You just have to modify or add the
># "repeat=" lines in your .lircrc.
>#
># irrecord was used to generate the file, then I modified and
># added repeat codes.
>#
># The button names used are identical to what was printed on the
># remote, except for the number pads (using actual numbers like
># "1" and so forth did not seem to work. Similarly, '*' is Star
># and '#' is Hash. LMB and RMB refer to the two mousepad buttons
># on the left and right respectively.
>#
># I still need to modify the gap setting. Right now, if you don't
># hold the button down long enough, it may not register, but if
># you hold it too long, it will detect a repeat or two. Feel free
># to modify this to work better. If you get it to work better, send
># me a copy. :-)
>
>begin remote
>
>  name  PackBell
>  bits           15
>  flags SPACE_ENC|CONST_LENGTH
>  eps            30
>  aeps          100
>
>  header       9065  4500
>  one           597   532
>  zero          597  1643
>  ptrail        597
>  pre_data_bits   16
>  pre_data       0xF708
>  post_data_bits  1
>  post_data      0x0
>  gap          107000
>  repeat_bit      0
>  repeat          9050 2250
>
>      begin codes
>          Help                     0x0000000000006F90
>          Phone                    0x0000000000004FB0
>          Message                  0x0000000000006E91
>          SRS                      0x0000000000004EB1
>          CD                       0x0000000000002FD0
>          Aux1                     0x0000000000000FF0
>          Aux2                     0x0000000000002ED1
>          Aux3                     0x0000000000000EF1
>          LMB                      0x00000000000023DC
>          RMB                      0x000000000000639C
>          Up                       0x00000000000037C8
>          Down                     0x00000000000057A8
>          Left                     0x0000000000007788
>          Right                    0x00000000000017E8
>          Menu                     0x0000000000007B84
>          Mute                     0x0000000000003BC4
>          Enter                    0x00000000000047B8
>          CHUp                     0x00000000000027D8
>          CHDown                   0x0000000000006798
>          VolUp                    0x0000000000005BA4
>          VolDown                  0x0000000000001BE4
>          Display                  0x00000000000007F8
>          One                      0x0000000000005EA1
>          Two                      0x0000000000001EE1
>          Three                    0x0000000000000BF4
>          Four                     0x0000000000007E81
>          Five                     0x0000000000003EC1
>          Six                      0x0000000000004BB4
>          Seven                    0x0000000000005FA0
>          Eight                    0x0000000000001FE0
>          Nine                     0x0000000000002BD4
>          Zero                     0x0000000000003FC0
>          Star                     0x0000000000007F80
>          Hash                     0x0000000000006B94
>      end codes
>
>end remote
>
>.lircrc:
>
>begin
>    prog = irxevent
>    button = CHUp
>    repeat = 3
>    config = Key Up CurrentWindow
>end
>
>begin
>    prog = irxevent
>    button = CHDown
>    repeat = 3
>    config = Key Down CurrentWindow
>end
>
>begin
>    prog = irxevent
>    button = LMB
>    config = Key Escape CurrentWindow
>end
>
>begin
>    prog = irxevent
>    button = Menu
>    config = Key M CurrentWindow
>end
>
>begin
>    prog = irxevent
>    button = Up
>    repeat = 3
>    config = Key W CurrentWindow
>end
>
>begin
>    prog = irxevent
>    button = Right
>    repeat = 3
>    config = Key D CurrentWindow
>end
>
>begin
>    prog = irxevent
>    button = Down
>    repeat = 3
>    config = Key S CurrentWindow
>end
>
>begin
>    prog = irxevent
>    button = Left
>    repeat = 3
>    config = Key A CurrentWindow
>end
>
>begin
>    prog = irxevent
>    button = Enter
>    config = Key KP_Enter CurrentWindow
>end
>
>begin
>    prog = irxevent
>    button = Zero
>    config = Key KP_0 CurrentWindow
>end
>
>begin
>    prog = irxevent
>    button = One
>    config = Key 1 CurrentWindow
>end
>
>begin
>    prog = irxevent
>    button = Two
>    config = Key 2 CurrentWindow
>end
>
>begin
>    prog = irxevent
>    button = Three
>    config = Key 3 CurrentWindow
>end
>
>begin
>    prog = irxevent
>    button = Four
>    config = Key 4 CurrentWindow
>end
>
>begin
>    prog = irxevent
>    button = Five
>    config = Key 5 CurrentWindow
>end
>
>begin
>    prog = irxevent
>    button = Six
>    config = Key 6 CurrentWindow
>end
>
>begin
>    prog = irxevent
>    button = Seven
>    config = Key 7 CurrentWindow
>end
>
>begin
>    prog = irxevent
>    button = Eight
>    config = Key 8 CurrentWindow
>end
>
>begin
>    prog = irxevent
>    button = Nine
>
>    config = Key 9 CurrentWindow
>end
>
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>  
>


More information about the mythtv-users mailing list