Re: Tuner drivers
Am Sonntag, den 15.11.2009, 17:15 +0200 schrieb rul...@meta.ua: Hi, Am Sonntag, den 15.11.2009, 14:42 +0200 schrieb rul...@meta.ua: How to do that?: You are forced to use saa7134-alsa dma sound a problem is that I can't tell for sure which analog TV standard you currently use in the Ukraine, either it is still SECAM DK or you changed to some PAL already. Try to get the details, also about the sound system. If it is still SECAM DK, you need to force the option secam=DK. With audio_debug=1 you can see if the drivers finds the pilots, the first sound carrier and the second carrier and also the stereo system in use. This counts also for PAL standards. This way you can already see if the driver can lock on the audio carriers in dmesg without hearing anything yet. Then saa7134-alsa should provide TV sound on your card. http://linuxtv.org/wiki/index.php/Saa7134-alsa Cheers, Hermann Where to put the option secam=DK on Ubuntu 9.10? Don't have it, but would guess /etc/modprobe.d or use a deprecated /etc/modprobe.conf and depmod -a or close all mixers using saa7134, modprobe -vr saa7134-alsa and modprobe saa7134 secam=DK. Hermann -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Forget about it, this tuner is just not for Linux... __ Моя почта живет на Мете http://webmail.meta.ua -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Tuner drivers
Hi, Am Mittwoch, den 25.11.2009, 21:00 +0200 schrieb rul...@meta.ua: Am Sonntag, den 15.11.2009, 17:15 +0200 schrieb rul...@meta.ua: Hi, Am Sonntag, den 15.11.2009, 14:42 +0200 schrieb rul...@meta.ua: How to do that?: You are forced to use saa7134-alsa dma sound a problem is that I can't tell for sure which analog TV standard you currently use in the Ukraine, either it is still SECAM DK or you changed to some PAL already. Try to get the details, also about the sound system. If it is still SECAM DK, you need to force the option secam=DK. With audio_debug=1 you can see if the drivers finds the pilots, the first sound carrier and the second carrier and also the stereo system in use. This counts also for PAL standards. This way you can already see if the driver can lock on the audio carriers in dmesg without hearing anything yet. Then saa7134-alsa should provide TV sound on your card. http://linuxtv.org/wiki/index.php/Saa7134-alsa Cheers, Hermann Where to put the option secam=DK on Ubuntu 9.10? Don't have it, but would guess /etc/modprobe.d or use a deprecated /etc/modprobe.conf and depmod -a or close all mixers using saa7134, modprobe -vr saa7134-alsa and modprobe saa7134 secam=DK. Hermann Forget about it, this tuner is just not for Linux... sorry, sounds pretty frustrated. But I have no other choice, as to assume for now, that this card with that tuner is tested by those who did contribute it for sound too, like more than about 150 other such cards in this driver. We should have support for global analog TV sound on such, SECAM types need to be forced by user is the only extra that might hit you. No other single report for failing TV sound since years now. Eventually possible scenarios: 1. You have a different card with the same PCI subsystem as the known one, but we don't know about that yet. Unlikely for AverMedia. 2. you have a card with saa7133 chip, which can't decode PAL/SECAM sound. Should not be available on any shelve in Europe. Debug route is: first have debug=1 for tda827x and tda8290. You reported already to have a picture from tuner, so this will report the tuner locked and we can skip that. Then saa7134 audio_debug=1 should report the TV audio system in use and detected. If detected, audio routing from tuner is correct and the rest is to properly use saa7134-alsa, since your card has no analog audio out connected. For TV stereo sound decoding capable chips TV sound amux is always TV. The saa7135 and saa7131e can do it globally, the saa7134 would need extra chips for System-M/NTSC alike and the saa7133 for PAL/SECAM. This was always mentioned in the reference designs as a possibility, but until today no device is known to do such in reality on saa7134 and saa7133. Sorry, we don't have any dmesg/logs for it on the lists, but Mauro was working on the NEC IRQ remote support and most likely has verified working TV sound at least for System-M, maybe on a saa7133, but I would expect a saa7131e. (Needs more digging) Cheers, Hermann -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Tuner drivers
Well, I just can gin an information which is written on the chip of this Aver Super 007 Analog(Only+FM) tuner: NXP SAA7131E103/G CH2130 SF7227.1 TSG07142 Maybe this will help in developing driver for this device, tvtime recieves signal much more worse then native AverMedia program for this tuner for Windows, and tvtime can scan channels for houres when AverMedia do it for seconds... But I also understand that AverMedia will never give source code or specifications of this device and other devices, so I don't see any reason for guesing how to write right code, but if you can, do it... I cannot -- I'm not a programmer. __ Отправлено http://webmail.meta.ua/ -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Tuner drivers
Am Donnerstag, den 26.11.2009, 00:43 +0200 schrieb rul...@meta.ua: Well, I just can gin an information which is written on the chip of this Aver Super 007 Analog(Only+FM) tuner: NXP SAA7131E103/G CH2130 SF7227.1 TSG07142 Well, that is good to know and makes some other speculations obsolete. Maybe this will help in developing driver for this device, tvtime recieves signal much more worse then native AverMedia program for this tuner for Windows, As said, the driver is known to be alright globally. and tvtime can scan channels for houres when AverMedia do it for seconds... But I also understand that AverMedia will never give source code or specifications of this device and other devices, so I don't see any reason for guesing how to write right code, but if you can, do it... I cannot -- I'm not a programmer. We don't need any code from AverMedia or anyone else after seven years, but of course all contributions are still welcome. You have a single card not working in the Ukraine currently, this might have political reasons, SECAM/DK NICAM is known to work in Russia and elsewhere. The huge delays in tvtime-scanner or xawtv scantv is a single experience you report right now, nobody else. Please note that! Such is likely caused by, that the driver tries to lock on something unusual. You still don't provide any debug output, nor do you know on which TV system and especially sound system you are currently. Should I know better without any input? (OK, i have a friend there, would take some time) Maybe they changed to SECAM A2. Try saa7134 audio_ddep=0x08 then ;) Cheers, Hermann -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Tuner drivers
Your words: The huge delays in tvtime-scanner or xawtv scantv is a single experience you report right now, nobody else. So what -- maybe this is because nobody tells about it or just don't know how to do that, maybe because they don't have documentation and mailing lists in Russian and Ukrainan, or because the driver developers are English speaking and lives in English-speaking countries, haven't you think about that, or you think that everybody should know english? __ Украинская почта с неограниченным объемом http://webmail.meta.ua/ -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Tuner drivers
Am Donnerstag, den 26.11.2009, 01:58 +0200 schrieb rul...@meta.ua: You have a single card not working in the Ukraine currently, this might have political reasons :))That is very funny And about tvtime scanner works very slow is true, I just say what I have did... What report do you need? I'll send. Point me to an official source of information about which TV standard and audio system is in use on what you try. We likely then can tell, if we are able to confirm with it ... Cheers, Hermann -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Tuner drivers
Am Donnerstag, den 26.11.2009, 02:06 +0200 schrieb rul...@meta.ua: Your words: The huge delays in tvtime-scanner or xawtv scantv is a single experience you report right now, nobody else. So what -- maybe this is because nobody tells about it or just don't know how to do that, maybe because they don't have documentation and mailing lists in Russian and Ukrainan, or because the driver developers are English speaking and lives in English-speaking countries, haven't you think about that, or you think that everybody should know english? No, not at all, given my bad English too. We usually have enough people to come around any language barriers. There have always been high level developers from Russia and Ukraine is very lively too. I just tell, we have no other report for that driver globally, which would tell it broken on something currently. So it is either card specific, maybe not correctly enough identified, chip specific we can exclude with knowing it is a saa7131e now, or some less usual TV picture and sound system is in use. Easiest way to exclude that, is some other people from the Ukraine report that they are fine with tda8275a tuners and saa7131e or other such chips ... or not! I just try to narrow down the ground eventually worth digging ... Cheers, Hermann -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Tuner drivers
Hi, Am Sonntag, den 15.11.2009, 14:42 +0200 schrieb rul...@meta.ua: How to do that?: You are forced to use saa7134-alsa dma sound a problem is that I can't tell for sure which analog TV standard you currently use in the Ukraine, either it is still SECAM DK or you changed to some PAL already. Try to get the details, also about the sound system. If it is still SECAM DK, you need to force the option secam=DK. With audio_debug=1 you can see if the drivers finds the pilots, the first sound carrier and the second carrier and also the stereo system in use. This counts also for PAL standards. This way you can already see if the driver can lock on the audio carriers in dmesg without hearing anything yet. Then saa7134-alsa should provide TV sound on your card. http://linuxtv.org/wiki/index.php/Saa7134-alsa Cheers, Hermann -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Tuner drivers
Hi, Am Sonntag, den 15.11.2009, 14:42 +0200 schrieb rul...@meta.ua: How to do that?: You are forced to use saa7134-alsa dma sound a problem is that I can't tell for sure which analog TV standard you currently use in the Ukraine, either it is still SECAM DK or you changed to some PAL already. Try to get the details, also about the sound system. If it is still SECAM DK, you need to force the option secam=DK. With audio_debug=1 you can see if the drivers finds the pilots, the first sound carrier and the second carrier and also the stereo system in use. This counts also for PAL standards. This way you can already see if the driver can lock on the audio carriers in dmesg without hearing anything yet. Then saa7134-alsa should provide TV sound on your card. http://linuxtv.org/wiki/index.php/Saa7134-alsa Cheers, Hermann Where to put the option secam=DK on Ubuntu 9.10? __ Настоящая украинская почта http://webmail.meta.ua/ -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Tuner drivers
Am Sonntag, den 15.11.2009, 17:15 +0200 schrieb rul...@meta.ua: Hi, Am Sonntag, den 15.11.2009, 14:42 +0200 schrieb rul...@meta.ua: How to do that?: You are forced to use saa7134-alsa dma sound a problem is that I can't tell for sure which analog TV standard you currently use in the Ukraine, either it is still SECAM DK or you changed to some PAL already. Try to get the details, also about the sound system. If it is still SECAM DK, you need to force the option secam=DK. With audio_debug=1 you can see if the drivers finds the pilots, the first sound carrier and the second carrier and also the stereo system in use. This counts also for PAL standards. This way you can already see if the driver can lock on the audio carriers in dmesg without hearing anything yet. Then saa7134-alsa should provide TV sound on your card. http://linuxtv.org/wiki/index.php/Saa7134-alsa Cheers, Hermann Where to put the option secam=DK on Ubuntu 9.10? Don't have it, but would guess /etc/modprobe.d or use a deprecated /etc/modprobe.conf and depmod -a or close all mixers using saa7134, modprobe -vr saa7134-alsa and modprobe saa7134 secam=DK. Hermann -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Tuner drivers
Hi! Am Freitag, den 13.11.2009, 12:23 +0200 schrieb rul...@meta.ua: Here is dmesg of analog (only analog, with FM-tuner) AverMedia Super 007 when tvtime is running: [snip] [ 11.549190] Linux video capture interface: v2.00 [ 12.409456] saa7130/34: v4l2 driver version 0.2.15 loaded [ 12.409531] saa7134 :04:02.0: PCI INT A - GSI 18 (level, low) - IRQ 18 [ 12.409543] saa7133[0]: found at :04:02.0, rev: 209, irq: 18, latency: 64, mmio: 0xfebff800 [ 12.409554] saa7133[0]: subsystem: 1461:f11d, board: Avermedia PCI pure analog (M135A) [card=149,autodetected] [ 12.409579] saa7133[0]: board init: gpio is 4 [ 12.409691] input: saa7134 IR (Avermedia PCI pure as /devices/pci:00/:00:1e.0/:04:02.0/input/input6 [ 12.409773] IRQ 18/saa7133[0]: IRQF_DISABLED is not guaranteed on shared IRQs [ 12.560015] saa7133[0]: i2c eeprom 00: 61 14 1d f1 54 20 1c 00 43 43 a9 1c 55 d2 b2 92 [ 12.560034] saa7133[0]: i2c eeprom 10: ff ff ff ff ff 20 ff ff ff ff ff ff ff ff ff ff [ 12.560050] saa7133[0]: i2c eeprom 20: 01 40 01 32 32 01 01 43 88 ff 00 56 ff ff ff ff [ 12.560066] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 12.560082] saa7133[0]: i2c eeprom 40: ff 22 00 c0 96 ff 03 30 15 00 ff ff ff ff ff ff [ 12.560098] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 12.560117] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 12.560130] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 12.560144] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 12.560158] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 12.560171] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 12.560185] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 12.560199] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 12.560212] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 12.560226] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 12.560240] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 12.560256] i2c-adapter i2c-0: Invalid 7-bit address 0x7a [ 13.316153] tuner 0-004b: chip found @ 0x96 (saa7133[0]) [ 13.400020] tda829x 0-004b: setting tuner address to 60 [ 13.596016] tda829x 0-004b: type set to tda8290+75a [...] [ 17.540609] saa7133[0]: registered device video0 [v4l2] [ 17.540656] saa7133[0]: registered device vbi0 [ 17.540703] saa7133[0]: registered device radio0 [ 17.541109] CA0106 :04:01.0: PCI INT A - GSI 17 (level, low) - IRQ 17 [ 17.541161] snd-ca0106: Model 1013 Rev Serial 10131102 [ 17.640654] saa7134 ALSA driver for DMA sound loaded [ 17.640672] IRQ 18/saa7133[0]: IRQF_DISABLED is not guaranteed on shared IRQs [ 17.640717] saa7133[0]/alsa: saa7133[0] at 0xfebff800 irq 18 registered as card -2 That one came in over Mauro and he added the NEC gpio remote support. http://linuxtv.org/hg/v4l-dvb/rev/fa0de4f2637a If you are in Russia, you likely have to use options saa7134 secam=DK or modprobe the driver with that. Please read the output of modinfo saa7134. Enable audio_debug=1 for saa7134. echo 1 /sys/module/saa7134/parameters/audio_debug If you switch the TV app to SECAM it should start to detect the DK audio carriers. Please report if this should still fail, since I can't test it myself. You see it in dmesg. Also I can see in the Avermedia user manual that it has only analog audio in but no out. You are forced to use saa7134-alsa dma sound. Hope this helps. Cheers, Hermann -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Tuner drivers
Hi, Am Donnerstag, den 12.11.2009, 18:05 + schrieb Ruslan: Who is making or was making driver for Analog Aver Super 007 tuner? I wanted to ask why there is no sound? http://linuxtv.org/hg/v4l-dvb/annotate/d480cd6efe5b/linux/drivers/media/video/saa7134/saa7134.h#249 hg export 6072 delivers the patch. # HG changeset patch # User Michael Krufky mkru...@linuxtv.org # Date 1187630090 14400 # Node ID d480cd6efe5b50fb41c4e137f18ce4ae93ab096c # Parent db2a922a8498fdb5d759b1134566e19e7da30b68 saa7134: add DVB-T support for Avermedia Super 007 From: Edgar Simo bobb...@gmail.com add DVB-T support for Avermedia Super 007 Analog television is untested. The device lacks input adapters for radio, svideo composite -- seems to be a DVB-T ONLY device. Signed-off-by: Edgar Simo bobb...@gmail.com Acked-by: Hermann Pitton hermann-pit...@arcor.de Signed-off-by: Michael Krufky mkru...@linuxtv.org diff -r db2a922a8498 -r d480cd6efe5b linux/Documentation/video4linux/CARDLIST.saa7134 --- a/linux/Documentation/video4linux/CARDLIST.saa7134 Mon Aug 20 13:06:00 2007 -0400 +++ b/linux/Documentation/video4linux/CARDLIST.saa7134 Mon Aug 20 13:14:50 2007 -0400 @@ -115,3 +115,4 @@ 114 - KWorld DVB-T 210 [17de:7250] 115 - Sabrent PCMCIA TV-PCB05 [0919:2003] 116 - 10MOONS TM300 TV Card[1131:2304] +117 - Avermedia Super 007 [1461:f01d] diff -r db2a922a8498 -r d480cd6efe5b linux/drivers/media/video/saa7134/saa7134-cards.c --- a/linux/drivers/media/video/saa7134/saa7134-cards.c Mon Aug 20 13:06:00 2007 -0400 +++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Mon Aug 20 13:14:50 2007 -0400 @@ -3573,6 +3573,22 @@ .gpio = 0x3000, }, }, + [SAA7134_BOARD_AVERMEDIA_SUPER_007] = { + .name = Avermedia Super 007, + .audio_clock= 0x00187de7, + .tuner_type = TUNER_PHILIPS_TDA8290, + .radio_type = UNSET, + .tuner_addr = ADDR_UNSET, + .radio_addr = ADDR_UNSET, + .tuner_config = 0, + .mpeg = SAA7134_MPEG_DVB, + .inputs = {{ + .name = name_tv, /* FIXME: analog tv untested */ + .vmux = 1, + .amux = TV, + .tv = 1, + }}, + }, }; const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); @@ -4296,6 +4312,12 @@ .subdevice= 0x2304, .driver_data = SAA7134_BOARD_10MOONSTVMASTER3, },{ + .vendor = PCI_VENDOR_ID_PHILIPS, + .device = PCI_DEVICE_ID_PHILIPS_SAA7133, + .subvendor= 0x1461, /* Avermedia Technologies Inc */ + .subdevice= 0xf01d, /* AVerTV DVB-T Super 007 */ + .driver_data = SAA7134_BOARD_AVERMEDIA_SUPER_007, + },{ /* --- boards without eeprom + subsystem ID --- */ .vendor = PCI_VENDOR_ID_PHILIPS, .device = PCI_DEVICE_ID_PHILIPS_SAA7134, @@ -4640,6 +4662,7 @@ break; case SAA7134_BOARD_PHILIPS_TIGER: case SAA7134_BOARD_PHILIPS_TIGER_S: + case SAA7134_BOARD_AVERMEDIA_SUPER_007: { u8 data[] = { 0x3c, 0x33, 0x60}; struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; diff -r db2a922a8498 -r d480cd6efe5b linux/drivers/media/video/saa7134/saa7134-dvb.c --- a/linux/drivers/media/video/saa7134/saa7134-dvb.c Mon Aug 20 13:06:00 2007 -0400 +++ b/linux/drivers/media/video/saa7134/saa7134-dvb.c Mon Aug 20 13:14:50 2007 -0400 @@ -763,6 +763,21 @@ .request_firmware = philips_tda1004x_request_firmware }; +static struct tda1004x_config avermedia_super_007_config = { + .demod_address = 0x08, + .invert= 1, + .invert_oclk = 0, + .xtal_freq = TDA10046_XTAL_16M, + .agc_config= TDA10046_AGC_TDA827X, + .gpio_config = TDA10046_GP01_I, + .if_freq = TDA10046_FREQ_045, + .i2c_gate = 0x4b, + .tuner_address = 0x60, + .tuner_config = 0, + .antenna_switch= 1, + .request_firmware = philips_tda1004x_request_firmware +}; + /* -- * special case: this card uses saa713x GPIO22 for the mode switch */ @@ -1025,6 +1040,9 @@ case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA: configure_tda827x_fe(dev, asus_p7131_hybrid_lna_config); break; + case SAA7134_BOARD_AVERMEDIA_SUPER_007: + configure_tda827x_fe(dev, avermedia_super_007_config); + break; default: wprintk(Huh? unknown DVB card?\n); break; diff -r db2a922a8498 -r d480cd6efe5b