View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Aug 20, 2006 11:57 pm 
Offline
Joined: Tue May 31, 2005 6:27 pm
Posts: 7
Location: Tucson, AZ
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?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 21, 2006 1:06 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
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.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 21, 2006 10:19 pm 
Offline
Joined: Tue May 31, 2005 6:27 pm
Posts: 7
Location: Tucson, AZ
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!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu