LinHES Forums http://forum.linhes.org/ |
|
IRblaster won't work when Myth GUI is up - R5C7 http://forum.linhes.org/viewtopic.php?f=2&t=11226 |
Page 1 of 1 |
Author: | relder [ Sun Aug 20, 2006 11:57 pm ] |
Post subject: | IRblaster won't work when Myth GUI is up - R5C7 |
I have an odd problem that the irblaster won't work when mythfrontend or mythtv-setup are active. If neither of those GUIs are operational I can change channels fine with /etc/irblaster/channel_change.sh. Mythbackend can change channels fine as well (again as long as mythfrontend isn't up.) I fired up the irblasterd in the foreground to get errors, and I get the following when a myth GUI is active and I attempt to change a channel: Code: lircd-0.8.0pre4-pvr150[8461]: accepted new client on /dev/irblasterd lircd-0.8.0pre4-pvr150[8461]: could not open /dev/irblaster lircd-0.8.0pre4-pvr150[8461]: default_init(): Device or resource busy lircd-0.8.0pre4-pvr150[8461]: caught signal Terminated and irblasterd dies. restart with mythfrontend active gives the following output: Code: root@mythtv:~# /etc/init.d/irblaster restart Stopping irblaster daemon: irblasterdNo process in pidfile `/var/run/irblasterd.pid' found running; none killed. ERROR: Module lirc_serial is in use . ################################################## ## UNABLE TO DETERMINE WHICH DEVICE lirc_serial ## ## is using. ## ################################################## restart without mythfrontend active works: Code: root@mythtv:~# /etc/init.d/irblaster restart
Stopping irblaster daemon: irblasterdNo process in pidfile `/var/run/irblasterd.pid' found running; none killed. . Starting irblaster daemon:. lsof shows nothing grabbing /dev/irblaster[d] by mythfrontend Note that I do not have a lirc remote for controlling myth, I just have a learning remote that memorized the IR commands from my IR keyboard and control myth that way. I mention that since I'm wondering if the GUIs are trying to get a lirc connection of some sort, and since there isn't one for remotes it grabs the irblaster lirc. Seems far fetched but the only thing I can think of. I couldn't seem to find any settings related to lirc or items related to serial ports in the myth setup screens. Any ideas on how to get mythfrontend to leave irblasterd alone? |
Author: | Greg Frost [ Mon Aug 21, 2006 1:06 am ] |
Post subject: | |
Check the setup of the lirc daemon (I think you need to look in /etc/lirc/hardware.conf or something like that) and check that it is not using the serial module. Only one of the daemons can use lirc_serial. Most people would be using the lirc_i2c module (or whatever the pvr-x50 cards use) for lirc and lirc_serial for irblasterd. If you have a serial receiver and transmitter on the same port, you need to use lircd to control both or irblasterd to control both. |
Author: | relder [ Mon Aug 21, 2006 10:19 pm ] |
Post subject: | |
Greg Frost wrote: Check the setup of the lirc daemon (I think you need to look in /etc/lirc/hardware.conf or something like that) and check that it is not using the serial module. Only one of the daemons can use lirc_serial. Most people would be using the lirc_i2c module (or whatever the pvr-x50 cards use) for lirc and lirc_serial for irblasterd. I didn't see anything regarding lirc_serial in /etc/lirc/hardware Quote: If you have a serial receiver and transmitter on the same port, you need to use lircd to control both or irblasterd to control both.
It seemed both lirc and lirc_serial were using major device 61. I guessed that might be a conflict. I made attempts to get lirc_serial to use major device 72 (like the blaster howto at losdos.dyndns.org) instead with no success. I eventually built my own lirc as I usually do with the instructions at http://losdos.dyndns.org:8080/public/my ... _LIRC.html except with lirc 0.8.0 and it's working fine now. Thanks anyway! |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |