← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 582523] [NEW] Analog tuner does not work on boot, but restarting cx8800 allows it to work

 

Public bug reported:

Binary package hint: xserver-xorg-video-v4l

I have been trying to get an ATI HDTV Wonder card to work with analog NTSC television on MythTV without success. (note that this card works fine for ATSC, or clear QAM digital broadcasts).
With the tuner set up following the MythTV wiki, I get a blank screen, and a channel scan finds no channels.
everything appears to be set up properly, /dev/video0 exists. 
Running 

"mplayer tv://32 -tv device=/dev/video0:driver=v4l2:chanlist=us-
cable:alsa:adevice=hw.1,0:amode=1:audiorate=48000:forceaudio:volume=100:immediatemode=0:norm=NTSC-M"

gets me  a black window with static playing from the speakers.

As per a suggestion by Harry Orenstein on the mythtv-users mailing list,
if I stop mythtvbackend, and run the following script:

#!/bin/sh
#
# unload hdtv wonder modules
#
/sbin/modprobe -r cx8800
/sbin/modprobe -r cx88_dvb
/sbin/modprobe -r nxt200x
/usr/bin/pkill pulseaudio; /sbin/modprobe -r cx88_alsa
/sbin/modprobe -r tuner
/sbin/modprobe -r tuner_simple
/sbin/modprobe -r tuner_types
/sbin/modprobe -r tda9887
/sbin/modprobe -r tda8290
#
# reload hdtv wonder modules
#
/sbin/modprobe cx88_dvb
/sbin/modprobe cx8800 video_nr=1 vbi_nr=1
/sbin/modprobe cx88_alsa index=1

then run

"mplayer tv://32 -tv device=/dev/video1:driver=v4l2:chanlist=us-
cable:alsa:adevice=hw.1,0:amode=1:audiorate=48000:forceaudio:volume=100:immediatemode=0:norm=NTSC-M"

both video and audio play properly.
I do not understand all of what the script is doing. At the very least it is changing the device from /dev/video0 to /dev/video1. I have tried changing the script so that the device is /dev/video0, but then I get video with static instead of sound.

In any case, after running this script and restarting mythbackend,
mythTV can now find channels when it scans, but when I try and do live
TV, I get a bit over a second of video & sound before the picture
freezes then switches to garbage.

How do I make this work properly on startup?

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: xserver-xorg-video-v4l 1:0.2.0-4
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
CheckboxSubmission: 4f08ac62e89ad166a1e0b05f95495253
CheckboxSystem: fd6c484c0b5d20a2f1cd036ef0f63975
Date: Tue May 18 13:45:49 2010
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: xserver-xorg-video-v4l

** Affects: xserver-xorg-video-v4l (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
Analog tuner does not work on boot, but restarting cx8800 allows it to work 
https://bugs.launchpad.net/bugs/582523
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-v4l in ubuntu.



Follow ups

References