Ticket #5711 (closed defect: invalid)
Opened 5 years ago
Last modified 5 years ago
mythtv cannot open cx88_blackbird video device
| Reported by: | lfarkas@… | Owned by: | ijr |
|---|---|---|---|
| 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
Change History
Changed 5 years ago by lfarkas@…
- Attachment mythbackend.log added
comment:1 Changed 5 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 5 years ago by danielk
- Status changed from new to closed
- Resolution set to invalid
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