Opened 16 years ago
Closed 16 years ago
#5711 closed defect (invalid)
mythtv cannot open cx88_blackbird video device
Reported by: | 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)
Change History (3)
Changed 16 years ago by
Attachment: | mythbackend.log added |
---|
comment:1 Changed 16 years ago by
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
Resolution: | → invalid |
---|---|
Status: | new → closed |
V4L devices that can only be opened once are not supported in MythTV.
Closing, feature request without a patch.
last 25 lines of mythbackend.log