Ticket #10501 (closed Patch - Bug Fix: Fixed)
Opened 14 months ago
Last modified 14 months ago
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 |
Description
According to http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;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
Change History
Changed 14 months ago by Anthony Messina <amessina@…>
- Attachment mythtv-0.25-v4l2_EINVAL_ENOTTY.patch added
comment:1 Changed 14 months ago by danielk
- Status changed from new to closed
- Resolution set to Fixed
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.

Small patch to check for ENOTTY in mpegrecorder.cpp