New port: pvrxxx for Hauppauge PVR150/500
Hans Nieser
h.nieser at xs4all.nl
Mon Oct 16 04:35:51 PDT 2006
usleepless at gmail.com wrote:
> Dear List,
>
> i just want to make people aware that now there is a driver for the
> Hauppauge PVR150 and PVR500 cards ( multimedia/pvrxxx ).
>
> it is based on the pvr250 port and some linuxtv.org code.
>
> features and missing features:
> - stable
> - supports more than 1 card in a single machine
> - runs on 4.x, 5.x, 6.x
> - partial v4l(2) interface, currently only tested with MythTV 0.18-fixes
> - tuner input and composite input
> - no radio support yet
> - no ir support yet
>
> i am currently working on vbi support. if someone has a pvr250 and a
> pvr150/500, i would be interested in making this driver support
> 150+250+500. it should not be too hard.
>
> any feedback is welcome.
Yesterday I finally installed the card and the driver, and although it
sort off seems to work, I can't seem to tune it. When I do 'cat /dev/cxm0
> foo.mpg' I get static with both audio and video, but it doesn't change
after tuning. I've ensured that I have the cable connected properly and
that I am using the right frequencies. I am using the pvr250-setchannel
command in this manner:
pvr250-setchannel -d 0 -a on -m 4 189.25
This is what I get on dmesg after loading the driver modules (cxm and
cxm_iic):
cxm0: <Conexant iTVC16 MPEG Coder> mem 0xf0000000-0xf3ffffff irq 21 at
device 10.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
tuner code 57
tuner_type = 4
cxm0: Philips FM1216ME MK3 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 PAL
<2>tda 0-0000: switching to v4l2
<2>tda 0-0000: configure for: PAL-BG
<2>tda 0-0000: writing: b=0xd4 c=0x70 e=0x09
<2>tda 0-0000: read: 0x4e
<2>tda 0-0000: after power on : no
<2>tda 0-0000: afc : -187.5 kHz [min]
<2>tda 0-0000: fmif level : low
<2>tda 0-0000: afc window : in
<2>tda 0-0000: vfi level : low
<2>cxm 0-0000: Video signal: not present
<2>cxm 0-0000: Detected format: NTSC-M
<2>cxm 0-0000: Detected audio mode: forced mode
<2>cxm 0-0000: Detected audio standard: forced audio standard
<2>cxm 0-0000: Audio muted: no
<2>cxm 0-0000: Audio microcontroller: running
<2>cxm 0-0000: Configured audio standard: A2-BG
<2>cxm 0-0000: Configured audio mode: undefined
<2>cxm 0-0000: Specified standard: PAL-BDGHI
<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
<2>cxm 0-0000: Selected 65 MHz format: system DK
<2>cxm 0-0000: Selected 45 MHz format: chroma
cxm0: [GIANT-LOCKED]
cxm0: encoder firmware version 0x2050032
After running the pvr250-setchannel command I get this on dmesg:
device cxm0 opened
<2>cxm 0-0000: Video signal: not present
<2>cxm 0-0000: Detected format: NTSC-M
<2>cxm 0-0000: Detected audio mode: forced mode
<2>cxm 0-0000: Detected audio standard: forced audio standard
<2>cxm 0-0000: Audio muted: no
<2>cxm 0-0000: Audio microcontroller: running
<2>cxm 0-0000: Configured audio standard: A2-BG
<2>cxm 0-0000: Configured audio mode: undefined
<2>cxm 0-0000: Specified standard: PAL-BDGHI
<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
<2>cxm 0-0000: Selected 65 MHz format: system DK
<2>cxm 0-0000: Selected 45 MHz format: chroma
I guess the "Video signal: not present" indicates its some problem with
the signal but still, the cable is definitely plugged in. (I'll try
another cable later on just to be sure, if I can find one)
Also, everytime I run the pvr250-setchannel command, this is outputted on
the console:
ioctl( tfd, BT848_GAUDIO ) failed.: Device not configured
More information about the freebsd-multimedia
mailing list