Opened 16 years ago

Closed 16 years ago

#5711 closed defect (invalid)

mythtv cannot open cx88_blackbird video device

Reported by: lfarkas@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: 0.21
Severity: high Keywords:
Cc: Ticket locked: no

Description

I've a Leadtek PVR2000 tv card. mythtv cannot open the /dev/v4l/video1 file. So I cannot watch LiveTV or record anything.

When I log in as mythtv, and try to open the file, with the

cat /dev/v4l/video1 > something.mpg

command, it works without problems.

Attachments (1)

mythbackend.log (1.5 KB) - added by lfarkas@… 16 years ago.
last 25 lines of mythbackend.log

Download all attachments as: .zip

Change History (3)

Changed 16 years ago by lfarkas@…

Attachment: mythbackend.log added

last 25 lines of mythbackend.log

comment:1 Changed 16 years ago by lfarkas@…

The problem is that my device cannot be opened twice. For example:

cat /dev/v4l/video1 > something1.mpg

works, but

cat /dev/v4l/video1 > something2.mpg

gives

error: Device or resource busy

If I patch the the libmythtv/mpegrecorder.cpp file to

close(chanfd)

before the command

open(readfd ...

then the device can be opened, but the channel cannot be set in LiveTV.

comment:2 Changed 16 years ago by danielk

Resolution: invalid
Status: newclosed

V4L devices that can only be opened once are not supported in MythTV.

Closing, feature request without a patch.

Note: See TracTickets for help on using tickets.