FreeBSD 5.5, PVR500, MythTV svn
Sean West
sean.west at gmail.com
Sun Mar 25 17:12:12 UTC 2007
Hi All,
I have been scouring this list (and others) for solutions to several
problems I have encountered, with much success. I now have the cxm
drivers installed and working (?). I installed the latest MythTV
sources (as of yesterday, rev 13117) and applied the lock-fix.diff
patch (thanks usleep!). The only problem I'm having is that if I start
reading from the cxm driver for more than say 30 seconds (it seems
quite random), my computer reboots. It doesnt freeze and then reboot
after a bit, it just reboots immediately.
I think the problem may be the "tuner code" that I have added to the
cxm_eeprom.c file. My tuner code is 0x5c. I looked up in the ivtv
sources and they point to Philips FQ1236A MK4, which is no where to be
found in the current cxm_eeprom.c. I tried some of the other Philips
tuners, to no avail, all of them give "video signal: not present",
along with a staticy picture. I had noticed that a few people on the
list had success with the TCL 2002N-6A tuner. I tried it, and voila!
It worked. Well for a few seconds atleast. It doesnt matter whether I
am reading with MythTV or doing a cat /dev/cxm0, it will still reboot
after a few seconds.
Here is my cxm driver output:
cxm0: <Conexant iTVC16 MPEG Coder> mem 0xe0000000-0xe3ffffff irq 16 at
device 8.0 on pci2
cxm_iic0: <Conexant iTVC15 / iTVC16 I2C controller> on cxm0
iicbb0: <I2C bit-banging driver> on cxm_iic0
iicbus0: <Philips I2C bus> on iicbb0 master-only
second(radio) tuner 101
tuner code 92
tuner_type = 20
cxm0: TCL 2002N-6A tuner
<2>cxm 0-0000: loaded /lib/modules/v4l-cx25840.fw firmware (14264 bytes)
<2>cxm debug 0-0000: decoder set input (0)
<2>cxm debug 0-0000: now setting Tuner input
<2>cxm debug 0-0000: set audio input (0)
<2>cxm debug 0-0000: set audio input (0)
cxm0: Eeprom NTSC
<2>tda 0-0000: switching to v4l2
<2>tda 0-0000: configure for: NTSC-M
<2>tda 0-0000: writing: b=0xd4 c=0x30 e=0x44
<2>tda 0-0000: read: 0xe0
<2>tda 0-0000: after power on : no
<2>tda 0-0000: afc : - 12.5 kHz
<2>tda 0-0000: fmif level : high
<2>tda 0-0000: afc window : in
<2>tda 0-0000: vfi level : high
<2>cxm 0-0000: Video signal: present
<2>cxm 0-0000: Detected format: NTSC-M
<2>cxm 0-0000: Detected audio mode: mono
<2>cxm 0-0000: Detected audio standard: NICAM-I
<2>cxm 0-0000: Audio muted: yes
<2>cxm 0-0000: Audio microcontroller: running
<2>cxm 0-0000: Configured audio standard: automatic detection
<2>cxm 0-0000: Configured audio system: BTSC
<2>cxm 0-0000: Specified standard: NTSC-M
<2>cxm 0-0000: Specified input: Tuner
<2>cxm 0-0000: Specified audio input: Tuner
<2>cxm 0-0000: Specified audioclock freq: 48 kHz
<2>cxm 0-0000: Preferred audio mode: stereo
cxm0: encoder firmware version 0x2050032
cxm1: <Conexant iTVC16 MPEG Coder> mem 0xe4000000-0xe7ffffff irq 17 at
device 9.0 on pci2
cxm_iic1: <Conexant iTVC15 / iTVC16 I2C controller> on cxm1
iicbb1: <I2C bit-banging driver> on cxm_iic1
iicbus1: <Philips I2C bus> on iicbb1 master-only
second(radio) tuner 101
tuner code 92
tuner_type = 20
cxm1: TCL 2002N-6A tuner
<2>cxm 0-0000: loaded /lib/modules/v4l-cx25840.fw firmware (14264 bytes)
<2>cxm debug 0-0000: decoder set input (0)
<2>cxm debug 0-0000: now setting Tuner input
<2>cxm debug 0-0000: set audio input (0)
<2>cxm debug 0-0000: set audio input (0)
cxm1: Eeprom NTSC
<2>tda 0-0000: switching to v4l2
<2>tda 0-0000: configure for: NTSC-M
<2>tda 0-0000: writing: b=0xd4 c=0x30 e=0x44
<2>tda 0-0000: read: 0xe0
<2>tda 0-0000: after power on : no
<2>tda 0-0000: afc : - 12.5 kHz
<2>tda 0-0000: fmif level : high
<2>tda 0-0000: afc window : in
<2>tda 0-0000: vfi level : high
<2>cxm 0-0000: Video signal: present
<2>cxm 0-0000: Detected format: NTSC-M
<2>cxm 0-0000: Detected audio mode: mono
<2>cxm 0-0000: Detected audio standard: NICAM-I
<2>cxm 0-0000: Audio muted: yes
<2>cxm 0-0000: Audio microcontroller: running
<2>cxm 0-0000: Configured audio standard: automatic detection
<2>cxm 0-0000: Configured audio system: BTSC
<2>cxm 0-0000: Specified standard: NTSC-M
<2>cxm 0-0000: Specified input: Tuner
<2>cxm 0-0000: Specified audio input: Tuner
<2>cxm 0-0000: Specified audioclock freq: 48 kHz
<2>cxm 0-0000: Preferred audio mode: stereo
cxm1: encoder firmware version 0x2050032
[(9:41)(root at unf)(~)]> uname -a
FreeBSD unf 5.5-STABLE FreeBSD 5.5-STABLE #12: Sun Mar 18 12:01:20 PDT
2007 root at unf:/usr/obj/usr/src/sys/UNF i386
Anything else needed?
Thanks!
Sean
More information about the freebsd-multimedia
mailing list