Hi all,

I got myself a 500-MCE to play with about a week ago and I still haven't 
managed to get it to work :-(.  It doesn't help that I don't know what the 
tuners are (I've seen several posts saying to look under the sticker but I 
can't see where exactly).  I live in New Zealand (PAL B/G)

The machine is an athlon 2500+, nforce 2, nvidia geforce4, onboard sound, etc.  
I started with kernel 2.6.10-rc2 using ivtv-0.3.2e + 
cx25840-wm8775-2005-01-03_23.56.03-patch. I finally gave up on this and 
upgraded to 2.6.11-mm3 with ivtv-0.3.2i.  I had some problem compiling 
0.3.2i, I had to copy i2c.h from /usr/include/linux to the ivtv directory 
since gcc claimed id wasn't defined. I'm guessing it was 
loading /usr/src/linux/include/linux/i2c.h instead, but I don't know why.  
Anyway, copying /usr/include was all that was needed to get it to compile.

On the old setup I was able to get /dev/video{0,1,16?} and a couple others 
created.  However, every attempt to read from these files blocked after 
around 650k.  E.g. dd if=/dev/video0 of=/tmp/video0.mpg count=1000 would 
work, but count=2000 woudln't.  The generated mpg was static, with some 
larger coloured blocks of static towards the bottom.  Occasionally I would 
get much less than 650k, but normally I'd get within a few k either side.

On the new setup I get a segfault on the modprobe ivtv.  The oops follows:

ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.2 (i) loading
ivtv: Linux version: 2.6.11-mm3 preempt K7 gcc-3.3
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.
bus pci: add driver ivtv-iTVC15_16_mpg2_encoder_card
ivtv: Autodetected WinTV PVR 150 card
ivtv: Found an iTVC16 based chip
ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
ACPI: PCI Interrupt 0000:02:08.0[A] -> Link [APC3] -> GSI 18 (level, high) -> 
IRQ 18
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: XXX PCI device: 0x01e0 vendor: 0x10de
DEV: registering device: ID = 'i2c-3'
PM: Adding info for No Bus:i2c-3
CLASS: registering class device: ID = 'i2c-3'
class_hotplug - name = i2c-3
i2c_adapter i2c-3: found normal i2c entry for adapter 3, addr 50
i2c_adapter i2c-3: master_xfer: with 1 msgs.
i2c_adapter i2c-3: master_xfer: with 1 msgs.
Unable to handle kernel paging request at virtual address 0000b418
 printing eip:
fa3853e0
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: ivtv wm8775 tuner cx25840 videodev tveeprom vmnet vmmon ipx 
binfmt_misc ipv6 evdev snd_intel8x0 snd_ac97_codec it87 eeprom i2c_sensor 
i2c_isa nvidia af_packet nls_iso8859_1 msdos
CPU:    0
EIP:    0060:[<fa3853e0>]    Tainted: P      VLI
EFLAGS: 00210246   (2.6.11-mm3)
EIP is at attach_inform+0x20/0x90 [ivtv]
eax: 00000000   ebx: 00000000   ecx: fa3b52dc   edx: fa3b52dc
esi: f4a81400   edi: fa3b5214   ebp: 00000050   esp: f43fddc8
ds: 007b   es: 007b   ss: 0068
Process modprobe (pid: 6280, threadinfo=f43fc000 task=f4785040)
Stack: 00000000 00001260 f4a81400 fa3b5178 f4a81400 c045a68c f4a81400 00000050
       00000050 00000000 f4a81400 f4a81400 fa3b5178 f4a81648 f883a47c f4a81400
       f883a645 00000032 00000000 fa3b5214 f883ba98 00000001 00000000 f886925d
Call Trace:
 [<c045a68c>] i2c_attach_client+0x13c/0x190
 [<f883a47c>] eeprom_detect+0xfc/0x1d0 [eeprom]
 [<f886925d>] i2c_detect+0x25d/0x540 [i2c_sensor]
 [<f883a36f>] eeprom_attach_adapter+0x1f/0x30 [eeprom]
 [<f883a380>] eeprom_detect+0x0/0x1d0 [eeprom]
 [<c0459f29>] i2c_add_adapter+0x1f9/0x210
 [<c045dd01>] i2c_bit_add_bus+0x71/0xa0
 [<fa38206f>] ivtv_probe+0x18f/0xa30 [ivtv]
 [<c034e552>] pci_device_probe_static+0x52/0x70
 [<c034e5ab>] __pci_device_probe+0x3b/0x50
 [<c034e5ec>] pci_device_probe+0x2c/0x50
 [<c03c350f>] driver_probe_device+0x2f/0x80
 [<c03c3659>] driver_attach+0x59/0x90
 [<c03c3b90>] bus_add_driver+0xb0/0xe0
 [<c034e844>] pci_register_driver+0x54/0x80
 [<fa382dcd>] module_start+0xcd/0x1f0 [ivtv]
 [<c013bb11>] sys_init_module+0x151/0x200
 [<c01032bd>] syscall_call+0x7/0xb
Code: 90 90 90 90 90 90 90 90 90 90 90 56 53 83 ec 0c 8b 74 24 18 8b 46 0c 83 
c0 48 f6 05 10 8b 3a fa 20 8b 58 74 75 5931 c0 8d 76 00 <8b> 94 83 18 b4 00 
00 85 d2 74 40 40 83 f8 0f 7e ef f6 05 10 8b

I wondered if it was a tainting issue so tried the modprobe without X, but got 
the same result.  Here is the lspci output:


0000:02:08.0 Multimedia video controller: Internext Compression Inc iTVC16 
(CX23416) MPEG-2 Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc.: Unknown device e807
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (32000ns min, 2000ns max), Cache Line Size: 0x08 (32 
bytes)
        Interrupt: pin A routed to IRQ 18
        Region 0: Memory at d8000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-


0000:02:09.0 Multimedia video controller: Internext Compression Inc iTVC16 
(CX23416) MPEG-2 Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc.: Unknown device e817
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (32000ns min, 2000ns max), Cache Line Size: 0x08 (32 
bytes)
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at dc000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-


The script I've been trying (downloaded from an earlier post) follows:

#!/bin/bash
echo Loading IVTV drivers.
echo Loading tveeprom
modprobe tveeprom
sleep 1
echo Loading videodev
modprobe videodev
sleep 1
echo Loading cx25840
modprobe cx25840 i2c_enable=1
#sleep 1
echo Loading tuner # (This is the one supplied in ivtv-0.3.2b, rename the 
tuner.ko one in the kernel)
modprobe tuner
sleep 1
echo Loading wm8775
modprobe wm8775
sleep 1
echo Loading ivtv
modprobe ivtv ivtv_std=2,2 tuner=52,52

# also consider tuner 38, or tuner 56, or tuner = 5
# to tweak audio
# ivtvctl -p6 -u1 -d/dev/video0
# ivtvctl -p7 -u1 -d/dev/video0
# ivtvctl -p6 -u1 -d/dev/video0
# also look into adding tda9887

# Example test
# modprobe ivtv ivtv_std=2 ivtv_debug=1 tuner=38
# ivtvctl -u 0xff
# ptune.pl  --channel 1 --input /dev/video0 --freqtable pal-newzealand 
--tuner-num 0
#   mplayer /dev/video0

Any help would be appreciated.

Corrin


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to