
matt.beadon at gmail
May 1, 2009, 5:10 PM
Post #3 of 9
(2986 views)
Permalink
|
|
Re: Is HVR-1600 model 74591 supported by cx18 driver?
[In reply to]
|
|
> Originally posted a long description of my problems >> here: http://www.gossamer-threads.com/lists/mythtv/users/380947#380947 > >Ah, I see Dale has been helping you out. He was a very patient >tester. :) He's definitely helped me out (as have you)! > > >> What it boils down to first of all is the Hauppauge HVR-1600 model >> 74591 supported by the cx18 driver? > >In a generic sense, yes all HVR-1600's from 74000-74999 are. whew, have kept the ebay seller waiting for feedback too long already. :) > > >> I'm really starting to think that this different model # is the key to >> my problems since I have: >> tveeprom 1-0050: Hauppauge model 74591, rev C1A4, serial# >> >> >> and everything I've found online has been like this one: >> tveeprom 5-0050: Hauppauge model 74041, rev C6B2, serial# >> xxxxxxx > >It's could be a reason why analog TV may not work. Composite or SVideo >should certainly be OK. Have you tried those? No, haven't tried that. I don't have a convenient comp or svideo source to use. It would involve crawling behind my tv and sorting out 100's of cables. > > > >> Here's a more complete dump of my dmesg (note that my system has a >> working PVR-500 card as well: > >I've snipped out the PVR-500 stuff... > >> Linux video capture interface: v2.00 >> cx18: Start initialization, version 1.1.0 >> cx18-0: Initializing card 0 >> cx18-0: Autodetected Hauppauge card >> ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 17 >> ACPI: PCI Interrupt 0000:01:06.0[A] -> Link [LNKA] -> GSI 17 (level, >> low) -> IRQ 17 >> cx18-0: cx23418 revision 01010000 (B) >> tveeprom 1-0050: Hauppauge model 74591, rev C1A4, serial# >> tveeprom 1-0050: MAC address is 00-0D-FE-19-B8-32 >> tveeprom 1-0050: tuner model is TCL MNM05-4 (idx 104, type 4) > >The tveeprom module can decode the EEPROM on the HVR-1600 and knows it >has a "TCL MNM05-4" analog tuner assembly. But looking at the entry in >the table in tveeprom.c: > > /* 100-109 */ > { TUNER_PHILIPS_FMD1216ME_MK3, "Philips FMD1216ME"}, > { TUNER_TEA5767, "Philips TEA5768HL FM Radio"}, > { TUNER_ABSENT, "Panasonic ENV57H12D5"}, > { TUNER_PHILIPS_FM1236_MK3, "TCL MFNM05-4"}, >---> { TUNER_ABSENT, "TCL MNM05-4"}, > { TUNER_PHILIPS_FM1216ME_MK3, "TCL MPE05-2"}, > { TUNER_ABSENT, "TCL MQNM05-4"}, > >The tveeprom parsing doesn't set any tuner type for that specific analog >tuner assembly (type 4 is TUNER_ABSENT). > >I can't find the TCL MNM05-4 on the TCL King High Frequency website, but >I suspect the TCL MNM05-4 is similar to the TCL MFNM05-4 except without >FM radio: > >http://www.tclrf.com/English/html/enewsproopen.asp?proname=108&url=product > > >> tveeprom 1-0050: TV standards NTSC(M) (eeprom 0x08) >> tveeprom 1-0050: audio processor is CX23418 (idx 38) >> tveeprom 1-0050: decoder processor is CX23418 (idx 31) >> tveeprom 1-0050: has no radio >> cx18-0: Autodetected Hauppauge HVR-1600 >> cx18-0: tveeprom cannot autodetect tuner!<6>cx18-0: Simultaneous >> Digital and Analog TV capture supported > >> The previous two lines seem to contradict each other. What's >> happening here? > >They don't. By "tuner" the error message meant the analog tuner >assembly on the HVR-1600. The cx18 driver gripes when tveeprom doesn't >tells us what the analog tuner type is. > > > >> tuner 2-0043: chip found @ 0x86 (cx18 i2c driver #0-1) >> tda9887 2-0043: creating new instance >> tda9887 2-0043: tda988[5/6/7] found >> tuner 2-0061: chip found @ 0xc2 (cx18 i2c driver #0-1) > >Yet, the cx18 driver searching for an analog tuner on the I2C bus yields >an RF oscillator/mixer chip and IF demodulator chip that are inside the >analog tuner assembly. The I2C addresses and the presence of a TDA988x >chip makes me further suspect it is like a TCL MFNM05-4, just without FM >radio. > >I'm just not sure the analog tuner driver will let you tune to a channel >when you have a tuner type of TUNER_ABSENT set. > >Can you unload the cx18 module and reload it with a > ># modprobe cx18 tuner=43 radio=0 > >That'll tell the cx18 driver that, for the first card, the analog tuner >is a TCL MFNM05-4 but that there is no FM radio. > >That's just a guess. You can guess other tuner types and try to see >what's best. The list of numbers is in linux/include/media/tuner.h. I >suggest you try only NTSC tuners. ;) > >The tuner type parameters are in >linux/drivers/media/common/tuners/tuner-types.c >in case you can find actual data on the TCL MNM05-4 and want to find a >similar existing entry. > >When/if you find a good match for the analog tuner, then let me know, >and I'll get tveeprom.c updated. > >Regards, >Andy > Aha! With the modprobe commands above I suddenly have evidence that it is loading the firmware (which I'd idly wondered about earlier) syslog snip below. My wife is watching tv right now so I can't check it but the following used to give "Signal strength : 0%" So I'm very optimistic that it is now working. # v4l2-ctl --get-tuner -d /dev/HVR-1600 Tuner: Capabilities : 62.5 kHz multi-standard stereo lang1 lang2 Frequency range : 44.0 MHz - 958.0 MHz Signal strength : 100% Current audio mode : lang1 Available subchannels: stereo lang2 Thanks Andy! Not to seem ungrateful for the work around but how soon do you think you'll be able to get this into the code tree? I'm sure to forget to modprobe the card after a reboot. :) Actually WTF... I changed line 214 of tveeprom.c to: { TUNER_PHILIPS_FM1236_MK3_NO_RADIO, "TCL MFNM05-4"}, I'll rebuild and try it when I get home. [update] hmm not as simple as that. :( Well here's my syslog entry after: # modprobe -r cx18; modprobe cx18 tuner=43 radio=0 cx18-0: unregister DVB tda9887 2-0043: destroying instance ACPI: PCI interrupt for device 0000:01:06.0 disabled cx18-0: Removed Hauppauge HVR-1600 cx18: Start initialization, version 1.1.0 cx18-0: Initializing card 0 cx18-0: Autodetected Hauppauge card ACPI: PCI Interrupt 0000:01:06.0[A] -> Link [LNKA] -> GSI 17 (level, low) -> IRQ 17 cx18-0: cx23418 revision 01010000 (B) tveeprom 1-0050: Hauppauge model 74591, rev C1A4, serial# 1685554 tveeprom 1-0050: MAC address is 00-0D-FE-19-B8-32 tveeprom 1-0050: tuner model is TCL MNM05-4 (idx 104, type 4) tveeprom 1-0050: TV standards NTSC(M) (eeprom 0x08) tveeprom 1-0050: audio processor is CX23418 (idx 38) tveeprom 1-0050: decoder processor is CX23418 (idx 31) tveeprom 1-0050: has no radio cx18-0: Autodetected Hauppauge HVR-1600 cx18-0: tveeprom cannot autodetect tuner!<6>cx18-0: Simultaneous Digital and Analog TV capture supported tuner 2-0043: chip found @ 0x86 (cx18 i2c driver #0-1) tda9887 2-0043: creating new instance tda9887 2-0043: tda988[5/6/7] found tuner 2-0061: chip found @ 0xc2 (cx18 i2c driver #0-1) cs5345 1-004c: chip found @ 0x98 (cx18 i2c driver #0-0) tuner-simple 2-0061: creating new instance tuner-simple 2-0061: type set to 43 (Philips NTSC MK3 (FM1236MK3 or FM1236/F)) cx18-0: Registered device video0 for encoder MPEG (64 x 32 kB) DVB: registering new adapter (cx18) MXL5005S: Attached at address 0x63 DVB: registering adapter 0 frontend 0 (Samsung S5H1409 QAM/8VSB Frontend)... cx18-0: DVB Frontend registered cx18-0: Registered DVB adapter0 for TS (32 x 32 kB) cx18-0: Registered device video32 for encoder YUV (16 x 128 kB) cx18-0: Registered device vbi0 for encoder VBI (20 x 51984 bytes) cx18-0: Registered device video24 for encoder PCM audio (256 x 4 kB) cx18-0: Initialized card: Hauppauge HVR-1600 cx18: End initialization firmware: requesting v4l-cx23418-cpu.fw cx18-0: loaded v4l-cx23418-cpu.fw firmware (158332 bytes) firmware: requesting v4l-cx23418-apu.fw cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000 (141200 bytes) cx18-0: FW version: 0.0.74.0 (Release 2007/03/12) firmware: requesting v4l-cx23418-cpu.fw firmware: requesting v4l-cx23418-apu.fw firmware: requesting v4l-cx23418-dig.fw cx18-0 843: loaded v4l-cx23418-dig.fw firmware (16382 bytes)
|