Opened 14 years ago
Closed 14 years ago
Last modified 14 years ago
#7921 closed defect (fixed)
MythTV Ignores LIRC Events for 2 minutes after startup
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | 0.23 |
Component: | MythTV - General | Version: | 0.22-fixes |
Severity: | medium | Keywords: | lirc mythfrontend remote |
Cc: | Ticket locked: | no |
Description
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.
Attachments (1)
Change History (4)
Changed 14 years ago by
Attachment: | remote-ignored-when-mounting-fix.patch added |
---|
comment:1 Changed 14 years ago by
Milestone: | unknown → 0.23 |
---|
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [23314]) Fixes #7921. Don't block LIRC & JOYSTICK when mounting a file-system.