Advertisement
ficus

LIRC options/configuration files

May 2nd, 2016
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.81 KB | None | 0 0
  1. [me@server ~]$ cat /usr/lib/systemd/system/lircd.service
  2. [Unit]
  3. Description=LIRC Infrared Signal Decoder
  4. After=network.target
  5.  
  6. [Service]
  7. Type=simple
  8. ExecStart=/usr/sbin/lircd --nodaemon
  9.  
  10. [Install]
  11. WantedBy=multi-user.target
  12.  
  13. [me@server ~]$ cat /etc/lirc/lircd.conf.d/mceusb.conf
  14. #
  15. # brand: HP
  16. # model no. of remote control: TSGH-IR01
  17. # devices being controlled by this remote: HP Slimline S3100y
  18. #
  19. # RC-6 config file
  20. #
  21. # source: http://home.hccnet.nl/m.majoor/projects_remote_control.htm
  22. # http://home.hccnet.nl/m.majoor/pronto.pdf
  23. #
  24. # used by: Philips
  25. #
  26. #########
  27. #
  28. # Philips Media Center Edition remote control
  29. # For use with the USB MCE ir receiver
  30. #
  31. # Dan Conti dconti|acm.wwu.edu
  32. #
  33. # Updated with codes for MCE 2005 Remote additional buttons
  34. # *, #, Teletext, Red, Green, Yellow & Blue Buttons
  35. # Note: TV power button transmits no code until programmed.
  36. # Updated 12th September 2005
  37. # Graham Auld - mce|graham.auld.me.uk
  38. #
  39. # Radio, Print, RecTV are only available on the HP Media Center remote control
  40. #
  41. #
  42. # Updated with codes for MCE 2007 Remote additional buttons
  43. # Visualization, Aspect, SlideShow, Eject
  44. # Note:
  45. # Renamed some buttons: DVD->DVDMenu, More->MoreInfo, Star->Asterisk, Hash->Pound
  46. # Note:
  47. # Blue, Yellow, Green, Red, and Teletext buttons do not exist on the HP remote
  48. </code>
  49. <code>
  50. begin remote
  51.  
  52. name mceusb
  53. bits 16
  54. flags RC6|CONST_LENGTH
  55. eps 30
  56. aeps 100
  57.  
  58. header 2667 889
  59. one 444 444
  60. zero 444 444
  61. pre_data_bits 21
  62. pre_data 0x37FF0
  63. gap 105000
  64. toggle_bit 22
  65. rc6_mask 0x100000000
  66.  
  67.  
  68. begin codes
  69.  
  70. #unused by HP remote
  71. Blue 0x00007ba1
  72. Yellow 0x00007ba2
  73. Green 0x00007ba3
  74. Red 0x00007ba4
  75. Teletext 0x00007ba5
  76.  
  77. #ba6 - bae unused
  78. BA6 0x00007ba6
  79. BA7 0x00007ba7
  80. BA8 0x00007ba8
  81. BA9 0x00007ba9
  82. BAA 0x00007baa
  83. BAB 0x00007bab
  84. BAC 0x00007bac
  85. BAD 0x00007bad
  86. BAE 0x00007bae
  87.  
  88. Radio 0x00007baf
  89. Print 0x00007bb1
  90.  
  91. #bb2 - bb4 unused
  92. BB2 0x00007bb2
  93. BB3 0x00007bb3
  94. BB4 0x00007bb4
  95.  
  96. Videos 0x00007bb5
  97. Pictures 0x00007bb6
  98. RecTV 0x00007bb7
  99. Music 0x00007bb8
  100. TV 0x00007bb9
  101.  
  102. #bba - bbf unused
  103. BBA 0x00007bba
  104. BBB 0x00007bbb
  105. BBC 0x00007bbc
  106. BBD 0x00007bbd
  107. BBE 0x00007bbe
  108. BBF 0x00007bbf
  109. #bc1 - bca unused
  110. BC1 0x00007bc1
  111. BC2 0x00007bc2
  112. BC3 0x00007bc3
  113. BC4 0x00007bc4
  114. BC5 0x00007bc5
  115. BC6 0x00007bc6
  116. BC7 0x00007bc7
  117. BC8 0x00007bc8
  118. BC9 0x00007bc9
  119. BCA 0x00007bca
  120.  
  121. Eject 0x00007bcb
  122. SlideShow 0x00007bcc
  123. Visualization 0x00007bcd
  124.  
  125. #bce - bcf unused
  126. BCE 0x00007bce
  127. BCF 0x00007bcf
  128. #bd1 - bd7 unused
  129. BD1 0x00007bd1
  130. BD2 0x00007bd2
  131. BD3 0x00007bd3
  132. BD4 0x00007bd4
  133. BD5 0x00007bd5
  134. BD6 0x00007bd6
  135. BD7 0x00007bd7
  136.  
  137. Aspect 0x00007bd8
  138. Guide 0x00007bd9
  139. LiveTV 0x00007bda
  140. DVD 0x00007bdb
  141. #NoGap
  142. Back 0x00007bdc
  143. OK 0x00007bdd
  144. Right 0x00007bde
  145. Left 0x00007bdf
  146. Down 0x00007be0
  147. Up 0x00007be1
  148. #NoGap
  149. Star 0x00007be2
  150. Hash 0x00007be3
  151. #NoGap
  152. Replay 0x00007be4
  153. Skip 0x00007be5
  154. Stop 0x00007be6
  155. Pause 0x00007be7
  156. Record 0x00007be8
  157. Play 0x00007be9
  158. Rewind 0x00007bea
  159. Forward 0x00007beb
  160. #NoGap
  161. ChanDown 0x00007bec
  162. ChanUp 0x00007bed
  163. VolDown 0x00007bee
  164. VolUp 0x00007bef
  165. #NoGap
  166. More 0x00007bf0
  167. Mute 0x00007bf1
  168. Home 0x00007bf2
  169. Power 0x00007bf3
  170. #NoGap
  171. Enter 0x00007bf4
  172. Clear 0x00007bf5
  173. #NoGap
  174. Nine 0x00007bf6
  175. Eight 0x00007bf7
  176. Seven 0x00007bf8
  177. Six 0x00007bf9
  178. Five 0x00007bfa
  179. Four 0x00007bfb
  180. Three 0x00007bfc
  181. Two 0x00007bfd
  182. One 0x00007bfe
  183. Zero 0x00007bff
  184. end codes
  185.  
  186. end remote
  187.  
  188. [me@server ~]$ more /etc/lirc/lirc_options.conf
  189. # These are the default options to lircd, if installed as
  190. # /etc/lirc/lirc_options.conf. See the lircd(8) and lircmd(8)
  191. # manpages for info on the different options.
  192.  
  193. [lircd]
  194. nodaemon = False
  195. driver = default
  196. device = /dev/lirc0
  197. output = /var/run/lirc/lircd
  198. pidfile = /var/run/lirc/lircd.pid
  199. plugindir = /usr/lib64/lirc/plugins
  200. permission = 666
  201. allow-simulate = No
  202. repeat-max = 600
  203. effective-user = lirc
  204. #listen = [address:]port
  205. #connect = host[:port]
  206. #debug = 6
  207. #uinput = ...
  208. #release = ...
  209. #logfile = ...
  210.  
  211. [lircmd]
  212. uinput = False
  213. nodaemon = False
  214.  
  215. [modprobe]
  216. #modules = [lircd_dev, lirc_sir...]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement