Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@OptiPlex280-mbe etc]# dmesg | grep -i lirc
- [ 12.011900] lirc_dev: IR Remote Control driver registered, major 61
- [ 12.015871] lirc_dev: lirc_register_driver: sample_rate: 0
- [ 12.017263] IR LIRC bridge handler initialized
- [ 34.290075] lirc_serial: port 03f8 already in use
- [ 34.290083] lirc_serial: use 'setserial /dev/ttySX uart none'
- [ 34.290088] lirc_serial: or compile the serial port driver as module and
- [ 34.290093] lirc_serial: make sure this module is loaded first
- [ 34.372915] lirc_zilog: module is from the staging directory, the quality is unknown, you have been warned.
- [ 34.376890] lirc_zilog: Zilog/Hauppauge IR driver initializing
- [ 34.388503] lirc_zilog: initialization complete
- ---------------------------------------------------------------------------
- [root@OptiPlex280-mbe etc]# ls -al /dev/ |grep lirc
- crw------- 1 root root 250, 0 Jun 9 23:11 lirc0
- srw-rw-rw- 1 root root 0 Jun 9 23:11 lircd1
- ---------------------------------------------------------------------------
- [root@OptiPlex280-mbe etc]# ps -ef | grep lircd
- 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)
- root 3177 3098 0 23:34 pts/1 00:00:00 grep --color=auto lircd
- ---------------------------------------------------------------------------
- [root@OptiPlex280-mbe etc]# /usr/sbin/lircd --version
- lircd 0.8.7
- ---------------------------------------------------------------------------
- [root@OptiPlex280-mbe etc]# irsend LIST "" ""
- buffer: -BEGIN-
- buffer: -LIST -
- buffer: -SUCCESS-
- buffer: -END-
- ---------------------------------------------------------------------------
- [root@OptiPlex280-mbe etc]# irsend SEND_ONCE DC50X 1
- buffer: -BEGIN-
- buffer: -SEND_ONCE DC50X 1-
- buffer: -ERROR-
- irsend: command failed: SEND_ONCE DC50X 1
- buffer: -DATA-
- buffer: -1-
- buffer: -hardware does not support sending-
- irsend: hardware does not support sending
- buffer: -END-
- ---------------------------------------------------------------------------
- sudo gedit /etc/rc.local
- #!/bin/sh
- #
- # This script will be executed *after* all the other init scripts.
- # You can put your own initialization stuff in here if you don't
- # want to do the full Sys V style init stuff.
- touch /var/lock/subsys/local
- /sbin/modprobe lirc_i2c
- /sbin/modprobe lirc_serial
- #/sbin/modprobe lirc_serial
- /usr/sbin/lircd --device=/dev/lirc0 --output=/dev/lircd
- #this starts the IR blaster
- /usr/sbin/lircd --driver=default --device=/dev/lirc --output=/dev/lircd1 --pidfile=/var/run/lircd.pid
- /usr/sbin/lircd --driver=default --device=/dev/lirc1 --output=/dev/lircd1 --pidfile=/var/run/lircd1.pid
- echo lirc > /sys/class/rc/rc0/protocols
- #this starts the TV card remote
- /usr/bin/mythlircd
- /sbin/modprobe lirc_dev debug=1 && modprobe lirc_zilog
- echo lirc > /sys/class/rc/rc0/protocols
- ---------------------------------------------------------------------------
- sudo gedit /etc/lirc/lircd.conf
- # This configuration has been automatically generated
- # by the GNOME LIRC Properties control panel.
- #
- # Feel free to add any custom remotes to the configuration
- # via additional include directives or below the existing
- # include directives from your selected remote and/or
- # transmitter.
- #
- # Configuration selected with GNOME LIRC Properties
- include </etc/lirc/lircd.conf.tsgpir01>
- include </etc/lirc/lircd.conf.lmilk>
- include </etc/lirc/lircd.conf.pace>
- include </etc/lirc/lircd.conf.mceusb>
- include </etc/lirc/lircd.conf.gnome>
- include </usr/local/bin/pace.conf>
- include </etc/lirc/lircd.conf.mceusb2>
- #include </etc/lirc/lircd.conf.mceusb21069>
- include </etc/lirc/RC64>
- include </etc/lirc/lircd.conf.multi>
- ---------------------------------------------------------------------------
- [root@OptiPlex280-mbe etc]# cd /etc/lirc
- [root@OptiPlex280-mbe lirc]# ls
- change_chan.sh lircd.conf.mceusb lircd.conf.pace
- lircd.conf lircd.conf.mceusb2 lircd.conf.tsgpir01
- lircd.conf.gnome lircd.conf.mceusb21069 RC64
- lircd.conf.lmilk lircd.conf.multi
- ---------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement