----- Original Message ---- > From: Andy Walls <[EMAIL PROTECTED]> > To: User discussion about IVTV <[email protected]> > Sent: Saturday, May 10, 2008 8:30:45 PM > Subject: Re: [ivtv-users] CX18: What Next? > > On Sat, 2008-05-10 at 15:13 -0700, Michael wrote: > > > > > > > Error -12 is -ENOMEM (Out of Memory). > > > > > > You can try this: > > > > > > # cat /proc/sys/vm/min_free_kbytes > > > > > > and if it's not at least 16384 then > > > > > > # echo 16384 > /proc/sys/vm/min_free_kbytes > > > # cat /proc/sys/vm/min_free_kbytes > > > > > > Then > > > > > > # modprobe -r cx18 > > > # modprobe cx18 > > > > > > > > > If you're OK at this point (no more -ENOMEM), add a line like this > > > to /etc/sysctl.conf: > > > > > > vm.min_free_kbytes = 16384 > > > > > > > > > > Well. I believe the -ENOMEM error is gone, as I no longer see it. > > Good. > > > > Heres the dmesg |grep cx18 at this point. > > > > cx18: Start initialization, version 1.0.0 > > cx18-0: Initializing card #0 > > cx18-0: Autodetected Hauppauge card > > cx18-0: cx23418 revision 01010000 (B) > > cx18-0: Invalid EEPROM > > cx18-0: DVB & VBI are not yet supported > > cs5345 0-004c: chip found @ 0x98 (cx18 i2c driver #0-0) > > cx18-0: Disabled encoder IDX device > > cx18-0: Registered device video0 for encoder MPEG (2 MB) > > DVB: registering new adapter (cx18). > > cx18-0: DVB Frontend registered > > cx18-0: Registered device video32 for encoder YUV (2 MB) > > cx18-0: Registered device video24 for encoder PCM audio (1 MB) > > cx18-0: Registered device radio-64 for encoder radio > > cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000 (141200 bytes) > > cx18-0: loaded v4l-cx23418-cpu.fw firmware (174716 bytes) > > cx18-0: Could not start the CPU > > cx18-0: Retry loading firmware > > cx18-0: Could not start the CPU > > cx18-0: Initialized card #0: Hauppauge HVR-1600 > > cx18: End initialization > > It looks like from your dmesg output you don't need to use the module > options to save memory - good. > > When you provide dmesg output from a modprobe could you please provide > the full demsg output between the final "cx18: Start Initialization" and > "cx18: End Initialization". >
Linux video capture interface: v2.00 cx18: Start initialization, version 1.0.0 cx18-0: Initializing card #0 cx18-0: Autodetected Hauppauge card cx18-0: cx23418 revision 01010000 (B) tveeprom 0-0050: Encountered bad packet header [00]. Corrupt or not a Hauppauge eeprom. cx18-0: Invalid EEPROM cx18-0: DVB & VBI are not yet supported cs5345 0-004c: chip found @ 0x98 (cx18 i2c driver #0-0) cx18-0: Disabled TS device cx18-0: Disabled encoder YUV device cx18-0: Disabled encoder PCM audio device cx18-0: Disabled encoder IDX device videodev: "" has no release callback. Please fix your driver for proper sysfs support, see http://lwn.net/Articles/36850/ cx18-0: Registered device video0 for encoder MPEG (1 MB) DVB: registering new adapter (cx18). MXL5005S: Attached at address 0x63 DVB: registering frontend 0 (Samsung S5H1409 QAM/8VSB Frontend)... cx18-0: DVB Frontend registered videodev: "" has no release callback. Please fix your driver for proper sysfs support, see http://lwn.net/Articles/36850/ cx18-0: Registered device radio-64 for encoder radio cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000 (141200 bytes) cx18-0: loaded v4l-cx23418-cpu.fw firmware (174716 bytes) cx18-0: Could not start the CPU cx18-0: Retry loading firmware cx18-0: Could not start the CPU cx18-0: Initialized card #0: Hauppauge HVR-1600 cx18: End initialization cx18-0: unregister DVB cx18-0: Removed Hauppauge HVR-1600, card #0 Linux video capture interface: v2.00 cx18: Start initialization, version 1.0.0 cx18-0: Initializing card #0 cx18-0: Autodetected Hauppauge card cx18-0: cx23418 revision 01010000 (B) tveeprom 0-0050: Encountered bad packet header [00]. Corrupt or not a Hauppauge eeprom. cx18-0: Invalid EEPROM cx18-0: DVB & VBI are not yet supported cs5345 0-004c: chip found @ 0x98 (cx18 i2c driver #0-0) cx18-0: Disabled encoder IDX device videodev: "" has no release callback. Please fix your driver for proper sysfs support, see http://lwn.net/Articles/36850/ cx18-0: Registered device video0 for encoder MPEG (2 MB) DVB: registering new adapter (cx18). MXL5005S: Attached at address 0x63 DVB: registering frontend 0 (Samsung S5H1409 QAM/8VSB Frontend)... cx18-0: DVB Frontend registered videodev: "" has no release callback. Please fix your driver for proper sysfs support, see http://lwn.net/Articles/36850/ cx18-0: Registered device video32 for encoder YUV (2 MB) videodev: "" has no release callback. Please fix your driver for proper sysfs support, see http://lwn.net/Articles/36850/ cx18-0: Registered device video24 for encoder PCM audio (1 MB) videodev: "" has no release callback. Please fix your driver for proper sysfs support, see http://lwn.net/Articles/36850/ cx18-0: Registered device radio-64 for encoder radio cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000 (141200 bytes) cx18-0: loaded v4l-cx23418-cpu.fw firmware (174716 bytes) cx18-0: Could not start the CPU cx18-0: Retry loading firmware cx18-0: Could not start the CPU cx18-0: Initialized card #0: Hauppauge HVR-1600 cx18: End initialization It appears to be in there multiple times, 3 is my quick count. Do you need me to post all of them? I gladly will. > > The "Invalid EEPROM" message and "Could not start the CPU" are of > interest, but we need to see all the log messages, since cx18 relies on > and loads tveeprom, cs5345, mxl5005s, cx25840, tuner, and other modules. > The grep cuts out their messages. > > Also could you do: > > # modprobe -r cx18 > # modprobe tveeprom debug=1 > # modprobe cx18 debug=71 > > > To enable tveeprom debug messages and cx18 info, warn, mailbox, and i2c > messages. And heres the dmesg from this: cx18: Start initialization, version 1.0.0 cx18-0: Initializing card #0 cx18-0: Autodetected Hauppauge card cx18-0 info: base addr: 0xf4000000 cx18-0 info: Enabling pci device cx18-0 info: cx23418 (rev 0) at 02:02.0, irq: 17, latency: 64, memory: 0xf4000000 cx18-0 info: attempting ioremap at 0xf4000000 len 0x04000000 cx18-0: cx23418 revision 01010000 (B) cx18-0 info: GPIO initial dir: 0000cffe out: 00003001 cx18-0 info: activating i2c... cx18-0 i2c: i2c init cx18-0 info: Active card count: 1. tveeprom 0-0050: full 256-byte eeprom dump: tveeprom 0-0050: 00: 00 70 00 44 74 00 00 00 84 09 00 04 20 77 00 40 tveeprom 0-0050: 10: 3c 6e 2d f0 73 05 26 00 84 08 00 06 2d 23 01 00 tveeprom 0-0050: 20: 96 58 8d 72 07 70 73 09 1f 36 73 0a 08 74 73 0b tveeprom 0-0050: 30: 4f 30 72 0e 01 72 10 01 72 11 00 79 25 00 00 00 tveeprom 0-0050: 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 tveeprom 0-0050: 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 tveeprom 0-0050: 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 tveeprom 0-0050: 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 tveeprom 0-0050: 80: 00 00 00 00 84 09 00 04 20 77 00 40 3c 6e 2d f0 tveeprom 0-0050: 90: 73 05 26 00 84 08 00 06 2d 23 01 00 96 58 8d 72 tveeprom 0-0050: a0: 07 70 73 09 1f 36 73 0a 08 74 73 0b 4f 30 72 0e tveeprom 0-0050: b0: 01 72 10 01 72 11 00 79 25 00 00 00 00 00 00 00 tveeprom 0-0050: c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 tveeprom 0-0050: d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 tveeprom 0-0050: e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 tveeprom 0-0050: f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 tveeprom 0-0050: Tag [04] + 8 bytes: 20 77 00 40 3c 6e 2d f0 tveeprom 0-0050: Tag [05] + 2 bytes: 26 00 tveeprom 0-0050: Tag [06] + 7 bytes: 2d 23 01 00 96 58 8d tveeprom 0-0050: Tag [07] + 1 bytes: 70 tveeprom 0-0050: Tag [09] + 2 bytes: 1f 36 tveeprom 0-0050: Tag [0a] + 2 bytes: 08 74 tveeprom 0-0050: Tag [0b] + 2 bytes: 4f 30 tveeprom 0-0050: Tag [0e] + 1 bytes: 01 tveeprom 0-0050: Tag [10] + 1 bytes: 01 tveeprom 0-0050: Not sure what to do with tag [10] tveeprom 0-0050: Tag [11] + 1 bytes: 00 tveeprom 0-0050: Not sure what to do with tag [11] tveeprom 0-0050: Hauppauge model 74541, rev C5B6, serial# 2977340 tveeprom 0-0050: MAC address is 00-0D-FE-2D-6E-3C tveeprom 0-0050: tuner model is Philips FM1236 MK5 (idx 116, type 43) tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08) tveeprom 0-0050: audio processor is CX23418 (idx 38) tveeprom 0-0050: decoder processor is CX23418 (idx 31) tveeprom 0-0050: has radio, has no IR receiver, has no IR transmitter cx18-0: Unknown model 74541, defaulting to HVR-1600 cx18-0: Autodetected Hauppauge HVR-1600 cx18-0 info: NTSC tuner detected cx18-0: DVB & VBI are not yet supported cx18-0 info: Loaded module tuner cx18-0 info: Loaded module cs5345 cx18-0 i2c: i2c client register cx18-0 i2c: i2c client register cs5345 0-004c: chip found @ 0x98 (cx18 i2c driver #0-0) cx18-0 info: Allocate encoder MPEG stream: 63 x 32768 buffers (2016kB total) cx18-0 info: Allocate TS stream: 32 x 32768 buffers (1024kB total) cx18-0 info: Allocate encoder YUV stream: 16 x 131072 buffers (2048kB total) cx18-0 info: Allocate encoder PCM audio stream: 63 x 16384 buffers (1008kB total) cx18-0: Disabled encoder IDX device videodev: "" has no release callback. Please fix your driver for proper sysfs support, see http://lwn.net/Articles/36850/ cx18-0: Registered device video0 for encoder MPEG (2 MB) DVB: registering new adapter (cx18). MXL5005S: Attached at address 0x63 DVB: registering frontend 0 (Samsung S5H1409 QAM/8VSB Frontend)... cx18-0: DVB Frontend registered videodev: "" has no release callback. Please fix your driver for proper sysfs support, see http://lwn.net/Articles/36850/ cx18-0: Registered device video32 for encoder YUV (2 MB) videodev: "" has no release callback. Please fix your driver for proper sysfs support, see http://lwn.net/Articles/36850/ cx18-0: Registered device video24 for encoder PCM audio (1 MB) videodev: "" has no release callback. Please fix your driver for proper sysfs support, see http://lwn.net/Articles/36850/ cx18-0: Registered device radio-64 for encoder radio cx18-0 info: load segment a00000-a07fff cx18-0 info: load segment ae0000-ae00ff cx18-0 info: load segment b00000-b1a65f cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000 (141200 bytes) cx18-0: loaded v4l-cx23418-cpu.fw firmware (174716 bytes) cx18-0 info: load segment a00000-a07fff cx18-0 info: load segment ae0000-ae00ff cx18-0 info: load segment b00000-b1a65f cx18-0: Could not start the CPU cx18-0: Retry loading firmware cx18-0 info: load segment a00000-a07fff cx18-0 info: load segment ae0000-ae00ff cx18-0 info: load segment b00000-b1a65f cx18-0: Could not start the CPU cx18-0: Initialized card #0: Hauppauge HVR-1600 cx18: End initialization Once again, thanks for all the help. It's greatly appreciated. > > Regards, > Andy > > > _______________________________________________ > ivtv-users mailing list > [email protected] > http://ivtvdriver.org/mailman/listinfo/ivtv-users ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ _______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
