[mythtv-commits] Ticket #7921: MythTV Ignores LIRC Events for 2 minutes after startup

MythTV mythtv at cvs.mythtv.org
Sun Jan 17 01:30:05 UTC 2010


#7921: MythTV Ignores LIRC Events for 2 minutes after startup
----------------------------------+-----------------------------------------
 Reporter:  mathew@…              |       Owner:  ijr       
     Type:  defect                |      Status:  new       
 Priority:  minor                 |   Milestone:  unknown   
Component:  MythTV - General      |     Version:  0.22-fixes
 Severity:  medium                |     Mlocked:  0         
----------------------------------+-----------------------------------------
 '''Summary'''

 When MythTV Starts it ignores LIRC events for the first two minutes. After
 this time period, the remote works as expected.

 '''Analysis'''

 MythTV attempts to mount some devices on my system which eventually time
 out. While MythTV is doing this, it effectively blocks LIRC commands on
 the mythfrontend. This is the default behaviour of myth_system(). I have 4
 of these devices (multimedia card readers) and on startup Myth attempts to
 mount these, each of which fails after 30 seconds, adding up to two
 minutes.

 {{{
 mount: can't find /dev/sdb in /etc/fstab or /etc/mtab
 2010-01-10 12:05:18.390 Failed to mount /dev/sdb.
 mount: can't find /dev/sdc in /etc/fstab or /etc/mtab
 2010-01-10 12:05:48.465 Failed to mount /dev/sdc.
 mount: can't find /dev/sdd in /etc/fstab or /etc/mtab
 2010-01-10 12:06:18.582 Failed to mount /dev/sdd.
 mount: can't find /dev/sde in /etc/fstab or /etc/mtab
 2010-01-10 12:06:48.655 Failed to mount /dev/sde.
 }}}

 '''Fix'''

 I have patched my system by adding MYTH_SYSTEM_DONT_BLOCK_LIRC to
 myth_system() when called from libs/libmyth/mythmedia.cpp, and have
 attached my patch to the bug report. This causes the mount command to run,
 while not requiring mythfrontend to ignore LIRC commands.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7921>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list