Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#7921 closed defect (fixed)

MythTV Ignores LIRC Events for 2 minutes after startup

Reported by: mathew@… 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



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


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.


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)

remote-ignored-when-mounting-fix.patch (530 bytes) - added by mathew@… 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by mathew@…

comment:1 Changed 11 years ago by Stuart Auchterlonie

Milestone: unknown0.23

comment:2 Changed 11 years ago by danielk

Resolution: fixed
Status: newclosed

(In [23314]) Fixes #7921. Don't block LIRC & JOYSTICK when mounting a file-system.

comment:3 Changed 11 years ago by stuartm

(In [23670]) Backport [23314] to -fixes. Don't block lirc or joystick input on startup when the media monitor is inspecting the connected media. Refs #7921

Note: See TracTickets for help on using tickets.