Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#12336 closed Patch - Bug Fix (fixed)

Attempting to use cx88 Blackbird tuner in LiveTV mode fails

Reported by: kb9vqf@… Owned by: Karl Dietz <dekarl@…>
Priority: minor Milestone: 0.28
Component: MythTV - General Version: Unspecified
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Attempting to use cx88 Blackbird tuner in LiveTV mode (and possibly when recording, not tested) fails when issuing the streaming disable ioctl (error -22).

The attached patch fixes the issue; it was patterned after this patch: http://www.gossamer-threads.com/lists/mythtv/users/510316?do=post_view_threaded#510316

Attachments (1)

mythtv_cx88_streaming_ioctl_failed_fix.diff (635 bytes) - added by kb9vqf@… 9 years ago.
Fix LiveTV failure

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by kb9vqf@…

Fix LiveTV failure

comment:1 Changed 9 years ago by kb9vqf@…

To help Google these are the error messages associated with the failure fixed with this patch:

2014-12-21 04:08:04.007638 N  MythBackend: Running as a slave backend.
2014-12-21 04:08:04.052909 I  V4LChannel[68](/dev/mythcapture1): SetInputAndFormat(96, NTSC) (v4l v2) input_switch: 0 mode_switch: 1
2014-12-21 04:08:04.053260 E  V4LChannel[68](/dev/mythcapture1): SetInputAndFormat(96, NTSC)
                        while disabling streaming (v4l v2)
                        eno: Invalid argument (22)
2014-12-21 04:08:04.056564 I  V4LChannel[68](/dev/mythcapture1): SetInputAndFormat(96, NTSC) (v4l v2) input_switch: 0 mode_switch: 1
2014-12-21 04:08:04.056726 E  V4LChannel[68](/dev/mythcapture1): SetInputAndFormat(96, NTSC)
                        while disabling streaming (v4l v2)
                        eno: Invalid argument (22)
2014-12-21 04:08:04.065079 I  V4LChannel[68](/dev/mythcapture1): SetInputAndFormat(96, NTSC) (v4l v2) input_switch: 0 mode_switch: 1
2014-12-21 04:08:04.065247 E  V4LChannel[68](/dev/mythcapture1): SetInputAndFormat(96, NTSC)
                        while disabling streaming (v4l v2)
                        eno: Invalid argument (22)
2014-12-21 04:08:04.066128 E  V4LChannel[68](/dev/mythcapture1): SetInputAndFormat() failed
2014-12-21 04:08:04.150492 I  Registering HouseKeeperTask 'JobQueueRecover'.
2014-12-21 04:08:04.150657 I  Registering HouseKeeperTask 'HardwareProfiler'.
Last edited 9 years ago by Stuart Auchterlonie (previous) (diff)

comment:2 Changed 9 years ago by Stuart Auchterlonie

Milestone: unknown0.28

comment:3 Changed 9 years ago by Karl Dietz <dekarl@…>

Owner: set to Karl Dietz <dekarl@…>
Resolution: fixed
Status: newclosed

In 0810a9eff09f100db2a4f1aa1aedfe9a54c63790/mythtv:

Fix using cx88 Blackbird in LiveTV mode

Patch by Timothy Pearson <kb9vqf@>
Fixes #12336

comment:4 Changed 8 years ago by Stuart Auchterlonie <stuarta@…>

In 52e124b552bb2c99fb247c2eef43abcbe2d42e61/mythtv:

2 additional streaming driver workarounds
Fixes #12629, Fixes #12336

Note: See TracTickets for help on using tickets.