Opened 9 years ago

Closed 9 years ago

#10501 closed Patch - Bug Fix (Fixed)

Fix for MPEGRec(/dev/video0): StartEncoding failed eno: Inappropriate ioctl for device (25)

Reported by: Anthony Messina <amessina@…> Owned by: danielk
Priority: major Milestone: 0.25
Component: MythTV - Recording Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no


According to;a=commit;h=9190d191b1b814dfb488125b54cf0de6eedd9220, the return value for unimplemented ioctls has been updated to ENOTTY (from EINVAL). This patch fixes the issue for analog recording from the HVR-2250 (saa7164), which would fail to record anything.

Attachments (1)

mythtv-0.25-v4l2_EINVAL_ENOTTY.patch (1.0 KB) - added by Anthony Messina <amessina@…> 9 years ago.
Small patch to check for ENOTTY in mpegrecorder.cpp

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by Anthony Messina <amessina@…>

Small patch to check for ENOTTY in mpegrecorder.cpp

comment:1 Changed 9 years ago by danielk

Resolution: Fixed
Status: newclosed

In [e967e30578e205b062821817002411c12c6390a8] Fixes #10501. Adapt to new return ioctl return value in Linux 3.1. Thanks to Anthony Messina for discovering the issue and the original patch. A different change was used only because #10501 will require a single point of exit from the functions affected.

Note: See TracTickets for help on using tickets.