Ticket #5608 (closed defect: fixed)
Opened 5 years ago
Last modified 5 years ago
bttv driver not initializing properly through V4L compatibility interface in recent kernels (2.6.25/2.6.26)
| Reported by: | david.madsen@… | Owned by: | janne |
|---|---|---|---|
| Priority: | major | Milestone: | 0.21.1 |
| Component: | mythtv | Version: | 0.21-fixes |
| Severity: | high | Keywords: | |
| Cc: | Ticket locked: | no |
Description
After upgrading to recent kernels that have removed V4L I had to switch my bttv card over to use V4L2. Without similar changes to those in the above patch my recordings from that tuner ended up just recording a green screen. It appears to be due to the card/tuner not being initialized fully through the V4L compatibility interface.
Attachments
Change History
Changed 5 years ago by david.madsen@…
- Attachment bttv-v4l2.patch added
comment:1 Changed 5 years ago by anonymous
Bug #1068 from long ago is referring to this issue as well, but I was unable to re-open it.
comment:2 Changed 5 years ago by PsychoI3oy
I had the same issue after upgrading and the patch fixed it
comment:3 follow-up: ↓ 10 Changed 5 years ago by amb@…
I had the same problem with V4L1 and kernel 2.6.25 and the patch removed that problem.
The patch did however add a new problem which was that individual interlaced fields would appear out of place several frames later than they should have been displayed. This caused frequent jumps in the picture (although they only showed up clearly on fast moving images).
I have no objections to applying the patch, but please don't remove the dead code that is left behind.
comment:4 Changed 5 years ago by stuartm
- Priority changed from minor to major
- Version changed from unknown to 0.21-fixes
- Severity changed from medium to high
- Milestone changed from unknown to 0.21.1
comment:5 Changed 5 years ago by laga@…
For those using Ubuntu Hardy:
I've uploaded a package which contains a possible fix to the mythbuntu-testing PPA. Version number is 0.21.0+fixes18337-0ubuntu1~ppa4
comment:6 Changed 5 years ago by anonymous
I'm using debian lenny. Which source package do I have to download in order to patch?
comment:7 Changed 5 years ago by stuartm
- Owner changed from ijr to janneg
- Status changed from new to assigned
comment:8 Changed 5 years ago by cardoe@…
Gentoo's patch can be seen at http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/mythtv/files/mythtv-0.21-bttv.patch?rev=1.1&view=markup
comment:9 Changed 5 years ago by saintdev@…
I'm on Gentoo, and using the above patch does correctly give me video, however, it changes the volume on my card resulting in no audio. As if the "Do not adjust volume" box were unchecked in mythtv-setup.
comment:10 in reply to: ↑ 3 Changed 5 years ago by amb@…
Replying to amb@gedanken.demon.co.uk:
I had the same problem with V4L1 and kernel 2.6.25 and the patch removed that problem.
The patch did however add a new problem which was that individual interlaced fields would appear out of place several frames later than they should have been displayed. This caused frequent jumps in the picture (although they only showed up clearly on fast moving images).
With kernel version 2.6.27 this patch works fine for me and the problems I had with 2.6.25 are no longer present.
comment:11 Changed 5 years ago by scottadmi@…
I am having the same problem as saintdev under gentoo linux - the video now displays properly using my bttv card - however the card remains muted so no TV audio can be captured and I have been unable to find a way to unmute it via mythtv or the console. At present, I'm forced to downgrade back to the 2.6.24 kernel.
comment:12 Changed 5 years ago by janne
comment:13 Changed 5 years ago by janne
- Status changed from assigned to closed
- Resolution set to fixed

Use V4L2 for bttv