Bryan Mayland wrote:

Morten Rønseth wrote:

As it turns out, I'm not using tda9887 - I have an udefined symbol "msleep_interruptible" when compiling/loading and ivtv doesn't seem to need it either. Anything else I could do?


hehe, you're blowing my mind! I'm hoping that this is because your tda9887 is the 0.3.5 version. 0.3.6a and above have a ifdef which /should/ define msleep_interruptible for kernels which don't have it (2.6.7 and below?). Which kernel version are you on (I can't seem to find it in your messages although I know you've said it before)? Can you also make sure the tda9887 module is from the current ivtv? You'll also have to make sure the module loads, because it seems you do need it (the "magic" patch sends a command to the tda9887, which must be there). You can either insmod it before ivtv, or use the ivtv module options:
options ivtv tda9887=0

I just sussed it.
My kernel version is 2.6.8.1-12mdk - tda9887.c, line 548 defines msleep_iterruptible iff version is 2.6.7 or older. Don't know why, but I seem to need it, version 2.6.8 ( can't believe I haven't seen this before...). I changed the "7" to an "8" and voila! it compiles, installs and loads...:-)

Below is my dmesg ivtv. Does it make any more sense?


Cheers,


-Morten


tda9887: Unknown parameter `debug'
tda9887: Ignoring new-style parameters in presence of obsolete ones
Linux video capture interface: v1.00
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.6 (r) loading
ivtv: Linux version: 2.6.8.1-12mdk 686 gcc-3.4
ivtv: In case of problems please include the debug info
ivtv: between the START INIT IVTV and END INIT IVTV lines when
ivtv: mailing the ivtv-devel mailinglist.
ivtv: Autodetected WinTV PVR 150 card
ivtv: Found an iTVC16 based chip
ivtv: VIA PCI device: 0x3205 vendor: 0x1106
tda9885/6/7: chip found @ 0x86
ivtv: i2c attach [client=tda9887,ok]
tveeprom: Ignoring new-style parameters in presence of obsolete ones
tveeprom: Hauppauge: model = 26559, rev = C257, serial# = 7607292
tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
tveeprom: audio_processor = MSP3410D (type = 5)
ivtv: i2c attach [client=tveeprom[50],ok]
ivtv: Tuner Type 38, Tuner formats 0x00400e17, Radio: yes, Model 0x008d2557, Revision 0x00000001
ivtv: PAL tuner detected
ivtv: Radio detected
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
cx25840: Ignoring new-style parameters in presence of obsolete ones
cx25840: starting probe for adapter ivtv i2c driver #0 (0x10005)
cx25840: detecting cx25840 client on address 0x88
cx25840: cx25843-23 found. Initializing...
cx25840: requesting /lib/modules/HcwMakoA.ROM
cx25840: firmware loaded
ivtv: i2c attach [client=cx25840[50],ok]
wm8775: Ignoring new-style parameters in presence of obsolete ones
ivtv: i2c attach [client=wm8775[50],ok]
ivtv: Encoder revision: 0x02050032
ivtv: Encoder Firmware may be buggy, use version 0x02040011
ivtv: Configuring WinTV PVR 150 card with 5 streams
ivtv: Registered v4l2 device for encoder MPEG minor 0
ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total)
ivtv: Registered v4l2 device for encoder YUV minor 32
ivtv: Create DMA encoder YUV stream: 0 x 12960 buffers (0KB total)
ivtv: Registered v4l2 device for encoder VBI minor 224
ivtv: Create DMA encoder VBI stream: 0 x 12740 buffers (0KB total)
ivtv: Registered v4l2 device for encoder PCM audio minor 24
ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB total)
ivtv: Registered v4l2 device for encoder radio minor 64
ivtv: Create encoder radio stream
ivtv: Setting Tuner 38
tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by ivtv i2c driver #0
cx25840: decoder set norm PAL
cx25840: decoder set input (6)
cx25840: now setting Tuner input
cx25840: set audio input (0)
ivtv: Switching standard to PAL.
cx25840: decoder set norm PAL
ivtv: Initialized WinTV PVR 150, card #0
ivtv: ====================  END INIT IVTV  ====================
ivtv: ivtv_enc_thread: pid = 12543, itv = 0xe0e8e880
ivtv: ivtv_enc_vbi_thread: pid = 12544, itv = 0xe0e8e880
cx25840: decoder set size: ignoring bad config request Hsrc=720 Vsrc=576 width=720 height=576
cx25840: decoder set picture bright=128 contrast=63 saturation=64 hue=0
cx25840: decoder set picture bright=128 contrast=63 saturation=63 hue=0
cx25840: decoder set picture bright=127 contrast=63 saturation=63 hue=0
cx25840: decoder set picture bright=127 contrast=63 saturation=63 hue=0
cx25840: decoder disable output
cx25840: decoder enable output
cx25840: decoder set norm PAL
cx25840: decoder set input (6)
cx25840: now setting Tuner input
cx25840: set audio input (0)
ivtv: Sliced VBI not supported for cx25840 so no vbi re-insertion possible yet

--
-------------------------------------------------------------------
WEB-fx                           http://www.webfx.no
Morten Lerskau Rønseth           mailto:[EMAIL PROTECTED]
Odinsvei 15c                     +47 6680 9191
1413 Tårnåsen +47 9343 4357 Norway



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
ivtv-devel mailing list
ivtv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to