Advertisement
Guest User

LIRC for Fedora 14: Mceusb

a guest
Jun 9th, 2011
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.17 KB | None | 0 0
  1. [root@OptiPlex280-mbe etc]# dmesg | grep -i lirc
  2. [ 12.011900] lirc_dev: IR Remote Control driver registered, major 61
  3. [ 12.015871] lirc_dev: lirc_register_driver: sample_rate: 0
  4. [ 12.017263] IR LIRC bridge handler initialized
  5. [ 34.290075] lirc_serial: port 03f8 already in use
  6. [ 34.290083] lirc_serial: use 'setserial /dev/ttySX uart none'
  7. [ 34.290088] lirc_serial: or compile the serial port driver as module and
  8. [ 34.290093] lirc_serial: make sure this module is loaded first
  9. [ 34.372915] lirc_zilog: module is from the staging directory, the quality is unknown, you have been warned.
  10. [ 34.376890] lirc_zilog: Zilog/Hauppauge IR driver initializing
  11. [ 34.388503] lirc_zilog: initialization complete
  12.  
  13. ---------------------------------------------------------------------------
  14.  
  15. [root@OptiPlex280-mbe etc]# ls -al /dev/ |grep lirc
  16. crw------- 1 root root 250, 0 Jun 9 23:11 lirc0
  17. srw-rw-rw- 1 root root 0 Jun 9 23:11 lircd1
  18.  
  19. ---------------------------------------------------------------------------
  20.  
  21. [root@OptiPlex280-mbe etc]# ps -ef | grep lircd
  22. root 3161 1 0 23:29 ? 00:00:00 /usr/sbin/lircd --driver=devinput --device=name=Media?Center?Ed.?eHome?Infrared?Remote?Transceiver?(1784:0008)
  23. root 3177 3098 0 23:34 pts/1 00:00:00 grep --color=auto lircd
  24.  
  25. ---------------------------------------------------------------------------
  26.  
  27. [root@OptiPlex280-mbe etc]# /usr/sbin/lircd --version
  28. lircd 0.8.7
  29.  
  30. ---------------------------------------------------------------------------
  31.  
  32. [root@OptiPlex280-mbe etc]# irsend LIST "" ""
  33. buffer: -BEGIN-
  34. buffer: -LIST -
  35. buffer: -SUCCESS-
  36. buffer: -END-
  37.  
  38. ---------------------------------------------------------------------------
  39.  
  40. [root@OptiPlex280-mbe etc]# irsend SEND_ONCE DC50X 1
  41. buffer: -BEGIN-
  42. buffer: -SEND_ONCE DC50X 1-
  43. buffer: -ERROR-
  44. irsend: command failed: SEND_ONCE DC50X 1
  45. buffer: -DATA-
  46. buffer: -1-
  47. buffer: -hardware does not support sending-
  48. irsend: hardware does not support sending
  49. buffer: -END-
  50.  
  51. ---------------------------------------------------------------------------
  52. sudo gedit /etc/rc.local
  53. #!/bin/sh
  54. #
  55. # This script will be executed *after* all the other init scripts.
  56. # You can put your own initialization stuff in here if you don't
  57. # want to do the full Sys V style init stuff.
  58.  
  59. touch /var/lock/subsys/local
  60. /sbin/modprobe lirc_i2c
  61. /sbin/modprobe lirc_serial
  62.  
  63. #/sbin/modprobe lirc_serial
  64. /usr/sbin/lircd --device=/dev/lirc0 --output=/dev/lircd
  65.  
  66.  
  67. #this starts the IR blaster
  68. /usr/sbin/lircd --driver=default --device=/dev/lirc --output=/dev/lircd1 --pidfile=/var/run/lircd.pid
  69. /usr/sbin/lircd --driver=default --device=/dev/lirc1 --output=/dev/lircd1 --pidfile=/var/run/lircd1.pid
  70.  
  71. echo lirc > /sys/class/rc/rc0/protocols
  72.  
  73. #this starts the TV card remote
  74. /usr/bin/mythlircd
  75.  
  76.  
  77. /sbin/modprobe lirc_dev debug=1 && modprobe lirc_zilog
  78. echo lirc > /sys/class/rc/rc0/protocols
  79.  
  80.  
  81. ---------------------------------------------------------------------------
  82. sudo gedit /etc/lirc/lircd.conf
  83.  
  84. # This configuration has been automatically generated
  85. # by the GNOME LIRC Properties control panel.
  86. #
  87. # Feel free to add any custom remotes to the configuration
  88. # via additional include directives or below the existing
  89. # include directives from your selected remote and/or
  90. # transmitter.
  91. #
  92.  
  93. # Configuration selected with GNOME LIRC Properties
  94. include </etc/lirc/lircd.conf.tsgpir01>
  95. include </etc/lirc/lircd.conf.lmilk>
  96. include </etc/lirc/lircd.conf.pace>
  97. include </etc/lirc/lircd.conf.mceusb>
  98. include </etc/lirc/lircd.conf.gnome>
  99. include </usr/local/bin/pace.conf>
  100.  
  101. include </etc/lirc/lircd.conf.mceusb2>
  102. #include </etc/lirc/lircd.conf.mceusb21069>
  103. include </etc/lirc/RC64>
  104. include </etc/lirc/lircd.conf.multi>
  105. ---------------------------------------------------------------------------
  106.  
  107. [root@OptiPlex280-mbe etc]# cd /etc/lirc
  108. [root@OptiPlex280-mbe lirc]# ls
  109. change_chan.sh lircd.conf.mceusb lircd.conf.pace
  110. lircd.conf lircd.conf.mceusb2 lircd.conf.tsgpir01
  111. lircd.conf.gnome lircd.conf.mceusb21069 RC64
  112. lircd.conf.lmilk lircd.conf.multi
  113. ---------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement