[mythtv-users] Gentoo, kernel 2.6.9 and LIRC
Juan C. Gallardo
jgamo at cantv.net
Mon Jan 3 03:19:23 EST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am also using gentoo, and I didn't have the kernel options either.
I had to compile the Lirc by hand being sure to select the haupage driver.
Then I had to change the line in /etc/conf.d/lircd to the right
direction, I just found the right place looking at the existing address.
I think it was /dev/lirc/0.
Then I tried everything using the irw command.
Hope it helped.
Juan
Dennis B. Hopp wrote:
|I've searched the archvies and the forums at http://forums.gentoo.org
|and I'm having a hell of time getting the Gray remote that came with my
|PVR-250 working.
|
|I followed the instructions here:
|
|http://gentoo-wiki.com/HARDWARE_Setup_MythTV
|
|When I do a make menuconfig I do not have any option to enable Linux
|Infrared controller. lircd is using /dev/lirc/0. If I cat /dev/lirc/0
|and press buttons on the remote I get output on the screen (a bunch of
|garbage, but output none the less). irw doesn't seem to do anything
|
|my /etc/lircd.conf:
|
|begin remote
|
| name Hauppauge
| bits 13
| flags SHIFT_ENC
| eps 30
| aeps 100
|
| one 950 830
| zero 950 830
| plead 960
| gap 89584
| repeat_bit 2
|
| begin codes
| TV 0x000000000000100F
| RADIO 0x000000000000100C
| FULL_SCREEN 0x000000000000102E
| CH+ 0x0000000000001020
| CH- 0x0000000000001021
| VOL- 0x0000000000001011
| VOL+ 0x0000000000001010
| MUTE 0x000000000000100D
| SOURCE 0x0000000000001022
| 1 0x0000000000001001
| 2 0x0000000000001002
| 3 0x0000000000001003
| 4 0x0000000000001004
| 5 0x0000000000001005
| 6 0x0000000000001006
| 7 0x0000000000001007
| 8 0x0000000000001008
| 9 0x0000000000001009
| 0 0x0000000000001000
| RESERVED 0x000000000000101E
| MINIMIZE 0x0000000000001026
| end codes
|
|end remote
|
|
|begin remote
|
| name hauppauge_pvr
| bits 13
| flags RC5|CONST_LENGTH
| eps 30
| aeps 100
|
| one 969 811
| zero 969 811
| plead 1097
| gap 114605
| toggle_bit 2
|
|
| begin codes
| Power 0x00000000000017FD
| Go 0x00000000000017FB
| 1 0x00000000000017C1
| 2 0x00000000000017C2
| 3 0x00000000000017C3
| 4 0x00000000000017C4
| 5 0x00000000000017C5
| 6 0x00000000000017C6
| 7 0x00000000000017C7
| 8 0x00000000000017C8
| 9 0x00000000000017C9
| Back/Exit 0x00000000000017DF
| 0 0x00000000000017C0
| Menu 0x00000000000017CD
| Red 0x00000000000017CB
| Green 0x00000000000017EE
| Yellow 0x00000000000017F8
| Blue 0x00000000000017E9
| Ch+ 0x00000000000017E0
| Ch- 0x00000000000017E1
| Vol- 0x00000000000017D1
| Vol+ 0x00000000000017D0
| Ok 0x00000000000017E5
| Mute 0x00000000000017CF
| Blank 0x00000000000017CC
| Full 0x00000000000017FC
| Rewind 0x00000000000017F2
| Play 0x00000000000017F5
| Forward 0x00000000000017F4
| Record 0x00000000000017F7
| Stop 0x00000000000017F6
| Pause 0x00000000000017F0
| Replay 0x00000000000017E4
| Skip 0x00000000000017DE
| end codes
|
|end remote
|
|I've tried running mythfrontend as root and a normal user.
|
|my lircrc:
|
|begin
| prog = irxevent
| button = OK
| repeat = 3
| config = Key M CurrentWindow
|end
|begin
| prog = irxevent
| button = CH+
| repeat = 3
| config = Key Up CurrentWindow
|end
|begin
| prog = irxevent
| button = CH-
| repeat = 3
| config = Key Down CurrentWindow
|end
|begin
| prog = irxevent
| button = MENU
| repeat = 3
| config = Key Return CurrentWindow
|end
|begin
| prog = irxevent
| button = RECORD
| repeat = 3
| config = Key Return CurrentWindow
|end
|begin
| prog = irxevent
| button = RED
| repeat = 3
| config = Key X CurrentWindow
|end
|begin
| prog = irxevent
| button = GREEN
| repeat = 3
| config = Key I CurrentWindow
|end
|begin
| prog = irxevent
| button = YELLOW
| repeat = 3
| config = Key bracketleft CurrentWindow
|end
|begin
| prog = irxevent
| button = BLUE
| repeat = 3
| config = Key bracketright CurrentWindow
|end
|begin
| prog = irxevent
| button = BLANK
| repeat = 3
| config = Key D CurrentWindow
|end
|begin
| prog = irxevent
| button = VOL-
| repeat = 3
| config = Key Left CurrentWindow
|end
|begin
| prog = irxevent
| button = REV
| repeat = 3
| config = Key Left CurrentWindow
|end
|begin
| prog = irxevent
| button = PLAY
| repeat = 3
| config = Key P CurrentWindow
|end
|begin
| prog = irxevent
| button = MUTE
| repeat = 3
| config = Key backslash CurrentWindow
|end
|begin
| prog = irxevent
| button = VOL+
| repeat = 3
| config = Key Right CurrentWindow
|end
|begin
| prog = irxevent
| button = FFW
| repeat = 3
| config = Key Right CurrentWindow
|end
|begin
| prog = irxevent
| button = BACK/EXIT
| repeat = 3
| config = Key Escape CurrentWindow
|end
|begin
| prog = irxevent
| button = FULL
| repeat = 3
| config = Key Escape CurrentWindow
|end
|begin
| prog = irxevent
| button = PAUSE
| repeat = 3
| config = Key P CurrentWindow
|end
|begin
| prog = irxevent
| button = 0
| config = Key 0 CurrentWindow
|end
|begin
| prog = irxevent
| button = 1
| config = Key 1 CurrentWindow
|end
|begin
| prog = irxevent
| button = 2
| config = Key 2 CurrentWindow
|end
|begin
| prog = irxevent
| button = 3
| config = Key 3 CurrentWindow
|end
|begin
| prog = irxevent
| button = 4
| config = Key 4 CurrentWindow
|end
|begin
| prog = irxevent
| button = 5
| config = Key 5 CurrentWindow
|end
|begin
| prog = irxevent
| button = 6
| config = Key 6 CurrentWindow
|end
|begin
| prog = irxevent
| button = 7
| config = Key 7 CurrentWindow
|end
|begin
| prog = irxevent
| button = 8
| config = Key 8 CurrentWindow
|end
|begin
| prog = irxevent
| button = 9
| config = Key 9 CurrentWindow
|end
|
|I had to place the lircrc file as ~/.lircrc for irxevent to be able to
|find in. In my logs I can see where lircd accepts the new client and
|then disconnects it when I close mythfrontend but the remote doesn't
|work at all in myth.
|
|Any ideas?
|
|--Dennis
|
|
|-------------------------
|
|_______________________________________________
|mythtv-users mailing list
|mythtv-users at mythtv.org
|http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFB2QALinkYqF503K4RAsAAAJ4lOY9oYNxsC9kjnKEc6c5zWyhQNQCcCSo+
Z8zIR7e5G+vZVqyJhxRLy7o=
=1hNX
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20050103/84047aa6/attachment.html
More information about the mythtv-users
mailing list