Bug 6878
Summary: | v4l2 cx88 driver cannot tune analog channels | ||
---|---|---|---|
Product: | v4l-dvb | Reporter: | Matthew Schultz (mattsch) |
Component: | cx88 | Assignee: | Michael Krufky (mkrufky) |
Status: | CLOSED INVALID | ||
Severity: | high | CC: | adobriyan, bunk |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.17.5 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
grep ioctl from the strace file
ioctl from tvtime Dmesg output with debug on |
Description
Matthew Schultz
2006-07-20 11:07:27 UTC
Please, try strace -o mplayer.strace mplayer [...] [while it's playing, tune analog channels] [exit] and post output of grep ioctl mplayer.strace Created attachment 8822 [details]
grep ioctl from the strace file
Created attachment 8823 [details]
ioctl from tvtime
Just to clarify, this was done on amd64 or i386 box? please add options tuner debug=9 and collect dmesg while tunning again. Yes this is done on an AMD64 box: processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 5 model name : AMD Opteron(tm) Processor 144 stepping : 10 cpu MHz : 1800.000 cache size : 1024 KB fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow bogomips : 3608.94 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp Created attachment 8828 [details]
Dmesg output with debug on
There doesn't seem to be a debug option for cx8800 but I did find a vbi_debug
and video_debug option. I removed it with this: modprobe -rv cx8800 and
reinserted it with this: modprobe -v cx8800 vbi_debug=9 video_debug=9. I
opened up mplayer with this: mplayer -tv
driver=v4l2:chanlist=us-cable:channel=56:amode=1 tv://
Then I attempted to change channels in mplayer which then recorded the output
to dmesg.
I am now using kernel 2.6.19.1 and I still cannot tune analog NTSC channels on the AMD64 arch with the cx88 driver. Is there a fix in the works for this problem? user did not have the "tuner" module loaded. the "tuner" module is required for analog television reception. This is not a driver bug, file a bug with gentoo -- most likely udev is the problem. (upgrade udev and test again before filing the bug ;-) ) User has already expressed in irc that his device is now working: http://linuxtv.org/irc/v4l/index.php?date=2007-02-09 (scroll down to 2:02) Yes I was able to finally get this to work. I wasn't aware that I had to load a tuner module as well. I suppose it must have done that automatically on x86 at some point. Anyway, I've posted instructions for this card here: http://linuxtv.org/v4lwiki/index.php/DViCO_FusionHDTV_5_Gold it is not a difference of x86 vs. AMD64 -- The problem is in your system software -- it should load the appropriate modules, which it is not doing. I recommend that you upgrade udev and test again. If it still doesnt work automatically, then file a bug with gentoo. I repeat -- this is a bug with your distro -- not a kernel bug. Thanks. ok, i was slightly wrong... the problem was because the kernel module autoloader was disabled. Now that the user has enabled it in his kernel, all is well :-) |