[linux-dvb] Birth-pangs with Winfast 2000XP Expert card

Roger rde at qdos.net.au
Wed Jan 25 10:28:41 CET 2006


Hi,
  My son has the above card, sporting a Conexant CX23881 chip and a 
tuner marked FM1216ME/I H-3 with eeprom = 107d:6611

When we run xawtv we get a splatter of messages out on the console - all 
complaining about "Invalid argument" for ioctl. I fiddled with an 
ioctl-test routine, and it looks like a number of the ioctl calls return 
   0x16 (which I make to be EINVAL).

Have we got something wrong in our setup - or is there an inherent 
problem with these ioctl calls with the drivers in use - or some other 
explanation?

The modules in use are built straight from the cvs tree - yesterday. 
(Jan 24, 2006)

scantv finds the appropriate local channels - so my feeling is that the 
card/tuner combination is correct. (Location is Australia and the norm 
is PAL-BG.)

Thanks for any advice/help that can be offered.

See log and other info below..

rde
------------



/var/log/messages shows the following:
....
Jan 23 17:59:20 daniel kernel: Linux video capture interface: v1.00
Jan 23 17:59:20 daniel kernel: cx2388x v4l2 driver version 0.0.5 loaded
Jan 23 17:59:20 daniel kernel: ACPI: PCI Interrupt 0000:02:0b.0[A] -> 
Link [LNKH] -> GSI 9 (level, low) -> IRQ 9
Jan 23 17:59:20 daniel kernel: CORE cx88[0]: subsystem: 107d:6611, 
board: Leadtek Winfast 2000XP Expert [card=5,autodetected]
Jan 23 17:59:20 daniel kernel: TV tuner 44 at 0x1fe, Radio tuner -1 at 0x1fe
Jan 23 17:59:20 daniel kernel: cx88[0]: Leadtek Winfast 2000XP Expert 
config: tuner=38, eeprom[0]=0x01
Jan 23 17:59:20 daniel kernel: cx88[0]: registered IR remote control
Jan 23 17:59:20 daniel kernel: cx88[0]/0: found at 0000:02:0b.0, rev: 5, 
irq: 9, latency: 32, mmio: 0xed000000
Jan 23 17:59:20 daniel kernel: tuner 0-0060: chip found @ 0xc0 (cx88[0])
Jan 23 17:59:20 daniel kernel: tuner 0-0060: All bytes are equal. It is 
not a TEA5767
Jan 23 17:59:20 daniel kernel: tuner 0-0060: type set to 38 (Philips 
PAL/SECAM multi (FM1216ME MK3))
Jan 23 17:59:20 daniel kernel: tda9885/6/7: chip found @ 0x86
Jan 23 17:59:20 daniel kernel: cx88[0]/0: registered device video0 [v4l2]
Jan 23 17:59:20 daniel kernel: cx88[0]/0: registered device vbi0
Jan 23 17:59:20 daniel kernel: cx88[0]/0: registered device radio0

....

lsmod output as follows:
Module                  Size  Used by
nfsd                   64200  13
exportfs                4864  1 nfsd
parport_pc             22724  1
lp                      9416  0
parport                20416  2 parport_pc,lp
nfs                    74664  2
lockd                  48136  3 nfsd,nfs
sunrpc                129596  13 nfsd,nfs,lockd
binfmt_misc             9352  1
nls_iso8859_1           3968  2
tda9887                15632  0
tuner                  51884  0
cx8800                 27916  0
cx88xx                 56100  1 cx8800
ir_common              23556  1 cx88xx
video_buf              17284  2 cx8800,cx88xx
tveeprom               13584  1 cx88xx
compat_ioctl32          1024  1 cx8800
v4l1_compat            13828  1 cx8800
v4l2_common             6656  2 tuner,cx8800
btcx_risc               4104  2 cx8800,cx88xx
videodev                7296  2 cx8800,cx88xx
snd_ens1371            19108  3
snd_rawmidi            21536  1 snd_ens1371
snd_ac97_codec         97148  1 snd_ens1371
snd_seq_oss            34432  0
snd_seq_midi_event      6016  1 snd_seq_oss
snd_seq                54416  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          7564  3 snd_rawmidi,snd_seq_oss,snd_seq
snd_pcm_oss            60832  0
snd_mixer_oss          19712  1 snd_pcm_oss
snd_pcm                93960  4 snd_ens1371,snd_ac97_codec,snd_pcm_oss
snd_timer              22788  3 snd_seq,snd_pcm
snd                    57220  15 
snd_ens1371,snd_rawmidi,snd_ac97_codec,snd_seq_oss,snd_seq_midi_event,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore               7520  1 snd
snd_page_alloc          9224  1 snd_pcm
snd_ac97_bus            2048  1 snd_ac97_codec

Error messages from xawtv:
This is xawtv-3.95, running on Linux/i686 (2.6.14.5)
/dev/video0 [v4l2]: ioctl VIDIOC_G_FBUF: Invalid argument
ioctl: VIDIOC_G_FBUF(capability=0x0 [];flags=0x0 
[];base=(nil);fmt.width=0;fmt.height=0;fmt.pixelformat=0x00000000 
[....];fmt.field=ANY;fmt.bytesperline=0;fmt.sizeimage=0;fmt.colorspace=unknown;fmt.priv=0): 
Invalid argument
config: invalid value for norm: PAL_BG
valid choices for "norm": "NTSC-M", "NTSC-JP", "PAL-BG", "PAL-DK", 
"PAL-I", "PAL-M", "PAL-N", "PAL-Nc", "PAL-60", "SECAM-L", "SECAM-DK"
ioctl: 
VIDIOC_TRY_FMT(type=VIDEO_OVERLAY;fmt.win.w.left=4;fmt.win.w.top=699;fmt.win.w.width=384;fmt.win.w.height=288;fmt.win.field=ANY;fmt.win.chromakey=0;fmt.win.clips=(nil);fmt.win.clipcount=0;fmt.win.bitmap=(nil)): 
Invalid argument
ioctl: 
VIDIOC_S_FMT(type=VIDEO_OVERLAY;fmt.win.w.left=4;fmt.win.w.top=699;fmt.win.w.width=384;fmt.win.w.height=288;fmt.win.field=ANY;fmt.win.chromakey=0;fmt.win.clips=(nil);fmt.win.clipcount=0;fmt.win.bitmap=(nil)): 
Invalid argument
ioctl: VIDIOC_OVERLAY(int=0): Invalid argument

--------------







More information about the linux-dvb mailing list