Andy Walls wrote:

(redacted)
As a follow-up I've determined that the sequence of commands:

sudo modprobe -r cx18
sudo modprobe cx18

will enable the card, after which it will perform normally until the
machine is powered off.  Should this be necessary? 
    

In a perfect world no.  A very busy PCI bus while the module is setting
up the chip registers and doing a firmware load can cause PCI bus errors
though.  At boot-up, a high load on PCI bus in more recent kernels is
not uncommon.

I have some debugging code from 3 weeks ago at this repo:

http://linuxtv.org/hg/~awalls/cx18-init-debug/
http://linuxtv.org/hg/~awalls/cx18-init-debug/archive/tip.tar.gz

to get more insight into what may be going wrong and to also verify the
digitizer firmware load.

If you could use the driver from this repository and, IIRC, add an

	options cx18 debug=15

to /etc/modprobe.conf, that will let me see if PCI MMIO writes are
failing as the module is being loaded at boot up.  It will also tell me
if the digitizer firmware is getting loaded properly.

  
Andy,

I've loaded the driver you pointed to in the link.  This particular version of Ubuntu (9.04B) doesn't have a folder at /etc/modprobe.conf and I've asked what they're using now. In the meantime I loaded the driver with modprobe cx18 debug=15. 

After sitting overnight, when I powered up the machine this morning, mplayer brought the video and audio right up (i.e., it works!).  We'll see if this continues.

Below find what I believe are the relevant sections of the log with the cx18 info.  This was taken after a fresh boot and with mplayer playing some TV.

Ron Morse

Apr 14 07:39:53 jaunty64 kernel: [   13.653961] cx18:  Start initialization, version 1.1.0
Apr 14 07:39:53 jaunty64 kernel: [   13.654040] cx18-0: Initializing card 0
Apr 14 07:39:53 jaunty64 kernel: [   13.654041] cx18-0: Autodetected Hauppauge card
Apr 14 07:39:53 jaunty64 kernel: [   13.654297] cx18 0000:05:01.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
Apr 14 07:39:53 jaunty64 kernel: [   13.654305] cx18-0: Unreasonably low latency timer, setting to 64 (was 32)
Apr 14 07:39:53 jaunty64 kernel: [   13.656003] cx18-0: cx23418 revision 01010000 (B)
Apr 14 07:39:53 jaunty64 kernel: [   13.723033] 2:1:1: cannot get freq at ep 0x1
Apr 14 07:39:53 jaunty64 kernel: [   13.733648] HDA Intel 0000:01:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
Apr 14 07:39:53 jaunty64 kernel: [   13.748299] usbcore: registered new interface driver snd-usb-audio
Apr 14 07:39:53 jaunty64 kernel: [   13.874376] tveeprom 0-0050: Hauppauge model 74541, rev C6B6, serial# 5384124
Apr 14 07:39:53 jaunty64 kernel: [   13.874378] tveeprom 0-0050: MAC address is 00-0D-FE-52-27-BC
Apr 14 07:39:53 jaunty64 kernel: [   13.874380] tveeprom 0-0050: tuner model is Philips FM1236 MK5 (idx 116, type 43)
Apr 14 07:39:53 jaunty64 kernel: [   13.874381] tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)
Apr 14 07:39:53 jaunty64 kernel: [   13.874382] tveeprom 0-0050: audio processor is CX23418 (idx 38)
Apr 14 07:39:53 jaunty64 kernel: [   13.874384] tveeprom 0-0050: decoder processor is CX23418 (idx 31)
Apr 14 07:39:53 jaunty64 kernel: [   13.874385] tveeprom 0-0050: has radio
Apr 14 07:39:53 jaunty64 kernel: [   13.874386] cx18-0: Autodetected Hauppauge HVR-1600
Apr 14 07:39:53 jaunty64 kernel: [   13.874387] cx18-0: Simultaneous Digital and Analog TV capture supported
Apr 14 07:39:53 jaunty64 kernel: [   14.033070] tuner 1-0043: chip found @ 0x86 (cx18 i2c driver #0-1)
Apr 14 07:39:53 jaunty64 kernel: [   14.036754] tda9887 1-0043: creating new instance
Apr 14 07:39:53 jaunty64 kernel: [   14.036755] tda9887 1-0043: tda988[5/6/7] found
Apr 14 07:39:53 jaunty64 kernel: [   14.038707] tuner 1-0061: chip found @ 0xc2 (cx18 i2c driver #0-1)
Apr 14 07:39:53 jaunty64 kernel: [   14.044924] cs5345 0-004c: chip found @ 0x98 (cx18 i2c driver #0-0)
Apr 14 07:39:53 jaunty64 kernel: [   14.051839] tuner-simple 1-0061: creating new instance
Apr 14 07:39:53 jaunty64 kernel: [   14.051841] tuner-simple 1-0061: type set to 43 (Philips NTSC MK3 (FM1236MK3 or FM1236/F))
Apr 14 07:39:53 jaunty64 kernel: [   14.057375] cx18-0: Registered device video0 for encoder MPEG (64 x 32 kB)
Apr 14 07:39:53 jaunty64 kernel: [   14.057378] DVB: registering new adapter (cx18)
Apr 14 07:39:53 jaunty64 kernel: [   14.133815] MXL5005S: Attached at address 0x63
Apr 14 07:39:53 jaunty64 kernel: [   14.133817] DVB: registering adapter 0 frontend 0 (Samsung S5H1409 QAM/8VSB Frontend)...
Apr 14 07:39:53 jaunty64 kernel: [   14.133994] cx18-0: DVB Frontend registered
Apr 14 07:39:53 jaunty64 kernel: [   14.133996] cx18-0: Registered DVB adapter0 for TS (32 x 32 kB)
Apr 14 07:39:53 jaunty64 kernel: [   14.134025] cx18-0: Registered device video32 for encoder YUV (16 x 128 kB)
Apr 14 07:39:53 jaunty64 kernel: [   14.134055] cx18-0: Registered device vbi0 for encoder VBI (20 x 51984 bytes)
Apr 14 07:39:53 jaunty64 kernel: [   14.134083] cx18-0: Registered device video24 for encoder PCM audio (256 x 4 kB)
Apr 14 07:39:53 jaunty64 kernel: [   14.134110] cx18-0: Registered device radio0 for encoder radio
Apr 14 07:39:53 jaunty64 kernel: [   14.134112] cx18-0: Initialized card: Hauppauge HVR-1600
Apr 14 07:39:53 jaunty64 kernel: [   14.134137] cx18:  End initialization
Apr 14 07:39:53 jaunty64 kernel: [   14.155883] logips2pp: Detected unknown logitech mouse model 60
Apr 14 07:39:53 jaunty64 kernel: [   14.238446] lp: driver loaded but no devices found
Apr 14 07:39:53 jaunty64 kernel: [   14.263262] it87: Found IT8718F chip at 0x290, revision 5
Apr 14 07:39:53 jaunty64 kernel: [   14.263269] it87: in3 is VCC (+5V)
Apr 14 07:39:53 jaunty64 kernel: [   14.270123] coretemp coretemp.0: Using relative temperature scale!
Apr 14 07:39:53 jaunty64 kernel: [   14.270144] coretemp coretemp.1: Using relative temperature scale!
Apr 14 07:39:53 jaunty64 kernel: [   14.311297] Adding 8385920k swap on /dev/sdb2.  Priority:-1 extents:1 across:8385920k
Apr 14 07:39:53 jaunty64 kernel: [   14.643173] input: ImExPS/2 Logitech Explorer Mouse as /devices/platform/i8042/serio1/input/input5
Apr 14 07:39:53 jaunty64 kernel: [   14.831832] EXT3 FS on sda5, internal journal
Apr 14 07:39:53 jaunty64 kernel: [   15.543419] kjournald starting.  Commit interval 5 seconds
Apr 14 07:39:53 jaunty64 kernel: [   15.543570] EXT3 FS on sdb1, internal journal
Apr 14 07:39:53 jaunty64 kernel: [   15.543574] EXT3-fs: mounted filesystem with ordered data mode.
Apr 14 07:39:53 jaunty64 kernel: [   15.767551] kjournald starting.  Commit interval 5 seconds
Apr 14 07:39:53 jaunty64 kernel: [   15.768290] EXT3 FS on sdc1, internal journal
Apr 14 07:39:53 jaunty64 kernel: [   15.768294] EXT3-fs: mounted filesystem with ordered data mode.
Apr 14 07:39:53 jaunty64 kernel: [   15.905922] type=1505 audit(1239716392.578:2): operation="profile_load" name="/usr/share/gdm/guest-session/Xsession" name2="default" pid=2249
Apr 14 07:39:53 jaunty64 kernel: [   15.928662] type=1505 audit(1239716392.602:3): operation="profile_load" name="/sbin/dhclient-script" name2="default" pid=2253
Apr 14 07:39:53 jaunty64 kernel: [   15.928711] type=1505 audit(1239716392.602:4): operation="profile_load" name="/sbin/dhclient3" name2="default" pid=2253
Apr 14 07:39:53 jaunty64 kernel: [   15.928734] type=1505 audit(1239716392.602:5): operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" name2="default" pid=2253
Apr 14 07:39:53 jaunty64 kernel: [   15.928758] type=1505 audit(1239716392.602:6): operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" name2="default" pid=2253
Apr 14 07:39:53 jaunty64 kernel: [   15.990535] type=1505 audit(1239716392.662:7): operation="profile_load" name="/usr/lib/cups/backend/cups-pdf" name2="default" pid=2258
Apr 14 07:39:53 jaunty64 kernel: [   15.990626] type=1505 audit(1239716392.662:8): operation="profile_load" name="/usr/sbin/cupsd" name2="default" pid=2258
Apr 14 07:39:53 jaunty64 kernel: [   16.012817] type=1505 audit(1239716392.686:9): operation="profile_load" name="/usr/sbin/tcpdump" name2="default" pid=2262
Apr 14 07:39:56 jaunty64 kernel: [   19.466101] usb 2-6.2: configuration #1 chosen from 1 choice
Apr 14 07:39:56 jaunty64 kernel: [   19.471443] generic-usb 0003:05AC:921C.0002: hiddev97,hidraw1: USB HID v1.11 Device [Apple Computer, Inc. Apple Cinema HD Display] on usb-0000:00:1d.7-6.2/input0
Apr 14 07:39:56 jaunty64 kernel: [   19.512516] cx18 0000:05:01.0: firmware: requesting v4l-cx23418-cpu.fw
Apr 14 07:39:56 jaunty64 kernel: [   19.768457] cx18-0: loaded v4l-cx23418-cpu.fw firmware (158332 bytes)
Apr 14 07:39:56 jaunty64 kernel: [   19.793229] cx18 0000:05:01.0: firmware: requesting v4l-cx23418-apu.fw
Apr 14 07:39:56 jaunty64 kernel: [   19.893876] cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000 (141200 bytes)
Apr 14 07:39:56 jaunty64 kernel: [   19.900066] cx18-0: FW version: 0.0.74.0 (Release 2007/03/12)
Apr 14 07:39:56 jaunty64 kernel: [   20.108017] cx18 0000:05:01.0: firmware: requesting v4l-cx23418-cpu.fw
Apr 14 07:39:56 jaunty64 kernel: [   20.241485] cx18 0000:05:01.0: firmware: requesting v4l-cx23418-apu.fw
Apr 14 07:39:57 jaunty64 kernel: [   20.553680] cx18 0000:05:01.0: firmware: requesting v4l-cx23418-dig.fw
Apr 14 07:39:57 jaunty64 kernel: [   20.751568] cx18-0 843: loaded v4l-cx23418-dig.fw firmware (16382 bytes)
Apr 14 07:39:57 jaunty64 kernel: [   20.770833] cx18-0 843: verified load of v4l-cx23418-dig.fw firmware (16382 bytes)
Apr 14 07:39:59 jaunty64 kernel: [   22.694363] ppdev: user-space parallel port driver
_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to