* [linux-dvb] Support for Leadtek DTV1000S ? @ 2008-10-01 11:25 Plantain 2008-10-01 15:18 ` Steven Toth 0 siblings, 1 reply; 12+ messages in thread From: Plantain @ 2008-10-01 11:25 UTC (permalink / raw) To: linux-dvb Hey, I've luckily come across a Leadtek DTV1000S that I'd like to get working under Linux! >From reading the Leadtek specifications (http://leadtek.com/eng/tv_tuner/specification.asp?pronameid=382&lineid=6&act=2), I now understand it has contained within it the following chips; NXP 18271 TDA10048 SAA7130 >From what I can see, all of these chips are supported by one driver or another in some shape or form, but I've still been unable to get my card to work. I'm guessing I have two issues here, 1) Card not being identified by saa7134 driver, and 2) No firmware for the tda10048 As for 1), I'm not sure how best to find the correct card= to feed into the modprobe (i2c_scan doesn't seem to do anything useful), although I remember there used to be a bash script that would try every value and then check for the existence of /dev/dvb/? If anyone has a copy of that script, I'd greatly appreciate if you could point me towards it! 2) seems a little trickier, I've found that the Windows XP 64-bit driver install at the link below has .sys files within it, which should contain the necessary firmware? If anyone has experience extracting the firmware, I'd be most appreciative! Driver: http://leadtek.com/eng/tv_tuner/download.asp?downlineid=207&pronameid=382&lineid=6&act=3 I'm keen to help get this card working, so if anyone is especially curious I can offer you ssh to Linux/rdp to Windows. Cheers, ~Plantain~ _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [linux-dvb] Support for Leadtek DTV1000S ? 2008-10-01 11:25 [linux-dvb] Support for Leadtek DTV1000S ? Plantain @ 2008-10-01 15:18 ` Steven Toth [not found] ` <48E3A687.9000703@gmail.com> 0 siblings, 1 reply; 12+ messages in thread From: Steven Toth @ 2008-10-01 15:18 UTC (permalink / raw) To: Plantain; +Cc: linux-dvb Plantain wrote: > Hey, > > I've luckily come across a Leadtek DTV1000S that I'd like to get working > under Linux! > > From reading the Leadtek specifications > (http://leadtek.com/eng/tv_tuner/specification.asp?pronameid=382&lineid=6&act=2), > I now understand it has contained within it the following chips; > NXP 18271 > TDA10048 Firmware: http://steventoth.net/linux/hvr1700/ Good luck! Regards, - Steve _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <48E3A687.9000703@gmail.com>]
* Re: [linux-dvb] Support for Leadtek DTV1000S ? [not found] ` <48E3A687.9000703@gmail.com> @ 2008-10-01 18:05 ` Steven Toth 2008-10-01 22:41 ` hermann pitton 0 siblings, 1 reply; 12+ messages in thread From: Steven Toth @ 2008-10-01 18:05 UTC (permalink / raw) To: Plantain; +Cc: linux-dvb Plantain wrote: > Steven Toth wrote: >> Plantain wrote: >>> Hey, >>> >>> I've luckily come across a Leadtek DTV1000S that I'd like to get working >>> under Linux! >>> >>> From reading the Leadtek specifications >>> (http://leadtek.com/eng/tv_tuner/specification.asp?pronameid=382&lineid=6&act=2), >>> >>> I now understand it has contained within it the following chips; >>> NXP 18271 >>> TDA10048 >> Firmware: >> >> http://steventoth.net/linux/hvr1700/ >> >> Good luck! >> >> Regards, >> >> - Steve > Hey, Either you or I dropped the mailinglist is CC'd. I've added it back. Please ensure the mailinglist is CC'd at all times. > > So it doesn't matter at all that they are for different cards even > though the chipsets are the same? Correct. > > Even with the firmware, it seems that the tuner is not detected/loaded. > I've pasted my current modprobe/dmesg below. If it's not found during an i2c scan then it's probably held in reset by a GPIO. YOu'd need to figure out which GPIO needs to be raised. I don't know the 7130 framework very well by I suspect running regspy.exe (from the dscaler project) on a windows system will probably show you the gpio configuration that windows uses when the TV playback software is running. > > plantain@plantain-king ~ $ sudo modprobe saa7134 card=104 tuner=54 > plantain@plantain-king ~ $ dmesg > ... > saa7130/34: v4l2 driver version 0.2.14 loaded > saa7130[0]: found at 0000:01:07.0, rev: 1, irq: 19, latency: 32, mmio: > 0xfc005000 > saa7130[0]: subsystem: 107d:6655, board: Hauppauge WinTV-HVR1110 > DVB-T/Hybrid [card=104,insmod option] > saa7130[0]: board init: gpio is 222104 > Chip ID is not zero. It is not a TEA5767 > tuner' 2-0060: chip found @ 0xc0 (saa7130[0]) > saa7130[0]: i2c eeprom 00: 7d 10 55 66 54 20 1c 00 43 43 a9 1c 55 d2 b2 92 > saa7130[0]: i2c eeprom 10: 00 ff 82 0e ff 20 ff ff ff ff ff ff ff ff ff ff > saa7130[0]: i2c eeprom 20: 01 40 01 01 01 ff 01 03 08 ff 00 8a ff ff ff ff > saa7130[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > saa7130[0]: i2c eeprom 40: ff 35 00 c0 00 10 03 02 ff 04 ff ff ff ff ff ff > saa7130[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > saa7130[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > saa7130[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > saa7130[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > saa7130[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > saa7130[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > saa7130[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > saa7130[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > saa7130[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > saa7130[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > saa7130[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > tveeprom 2-0050: Encountered bad packet header [ff]. Corrupt or not a > Hauppauge eeprom. > saa7130[0]: warning: unknown hauppauge model #0 > saa7130[0]: hauppauge eeprom: model=0 > tuner' 2-0060: Tuner has no way to set tv freq > tuner' 2-0060: Tuner has no way to set tv freq > saa7130[0]: registered device video0 [v4l2] > saa7130[0]: registered device vbi0 > saa7130[0]: registered device radio0 > tda10046: chip is not answering. Giving up. > tuner' 2-0060: Tuner has no way to set tv freq > plantain@plantain-king ~ $ > > > I believe I am right with the tuner=54 modprobe option for the NXP 18271? > I've no idea what to actually set card= to, I just guessed HVR1110 since > it was similar to the firmware from which I've now taken from. If anyone > can point me towards a better card= setting, that'd be great! I don't normally force load drivers with card=X. I typically just start patching the [7130] tree with the correct PCI'd, attach structs etc. It's easier that guessing - which leads to bad assumptions and mistakes. You can use the other trees [ cx23885, cx88 ] for reference code to show how to attach tuners and demods. - Steve _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [linux-dvb] Support for Leadtek DTV1000S ? 2008-10-01 18:05 ` Steven Toth @ 2008-10-01 22:41 ` hermann pitton 2008-10-02 10:38 ` Plantain 0 siblings, 1 reply; 12+ messages in thread From: hermann pitton @ 2008-10-01 22:41 UTC (permalink / raw) To: Steven Toth; +Cc: linux-dvb Hi, Am Mittwoch, den 01.10.2008, 14:05 -0400 schrieb Steven Toth: > Plantain wrote: > > Steven Toth wrote: > >> Plantain wrote: > >>> Hey, > >>> > >>> I've luckily come across a Leadtek DTV1000S that I'd like to get working > >>> under Linux! > >>> > >>> From reading the Leadtek specifications > >>> (http://leadtek.com/eng/tv_tuner/specification.asp?pronameid=382&lineid=6&act=2), > >>> > >>> I now understand it has contained within it the following chips; > >>> NXP 18271 > >>> TDA10048 > >> Firmware: > >> > >> http://steventoth.net/linux/hvr1700/ > >> > >> Good luck! > >> > >> Regards, > >> > >> - Steve > > Hey, > > Either you or I dropped the mailinglist is CC'd. I've added it back. > Please ensure the mailinglist is CC'd at all times. > > > > > So it doesn't matter at all that they are for different cards even > > though the chipsets are the same? > > Correct. > > > > > Even with the firmware, it seems that the tuner is not detected/loaded. > > I've pasted my current modprobe/dmesg below. > > If it's not found during an i2c scan then it's probably held in reset by > a GPIO. YOu'd need to figure out which GPIO needs to be raised. I don't > know the 7130 framework very well by I suspect running regspy.exe (from > the dscaler project) on a windows system will probably show you the gpio > configuration that windows uses when the TV playback software is running. for all what I can see we have no analog demodulator on that card like tda8290/95 or a 8290 integrated within a saa7131e chip. All other saa713x chips don't have an internal analog demod with an i2c bridge to control the tuner. That simply means there is no analog tuner and the correct tuner type for analog is tuner=4 TUNER_ABSENT. We can only configure the card for auto detection as a saa7130 device, enable Composite and S-Video support and maybe the remote if the IR controller is supported. Rest must be found and done within saa7134-dvb.c like pointed. Tuner is at 0x60/0xc0 and tda10048 at 0x08 (0x10 >> 1). > > > > plantain@plantain-king ~ $ sudo modprobe saa7134 card=104 tuner=54 > > plantain@plantain-king ~ $ dmesg > > ... > > saa7130/34: v4l2 driver version 0.2.14 loaded > > saa7130[0]: found at 0000:01:07.0, rev: 1, irq: 19, latency: 32, mmio: > > 0xfc005000 > > saa7130[0]: subsystem: 107d:6655, board: Hauppauge WinTV-HVR1110 > > DVB-T/Hybrid [card=104,insmod option] > > saa7130[0]: board init: gpio is 222104 > > Chip ID is not zero. It is not a TEA5767 > > tuner' 2-0060: chip found @ 0xc0 (saa7130[0]) > > saa7130[0]: i2c eeprom 00: 7d 10 55 66 54 20 1c 00 43 43 a9 1c 55 d2 b2 92 > > saa7130[0]: i2c eeprom 10: 00 ff 82 0e ff 20 ff ff ff ff ff ff ff ff ff ff > > saa7130[0]: i2c eeprom 20: 01 40 01 01 01 ff 01 03 08 ff 00 8a ff ff ff ff > > saa7130[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > > saa7130[0]: i2c eeprom 40: ff 35 00 c0 00 10 03 02 ff 04 ff ff ff ff ff ff > > saa7130[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > > saa7130[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > > saa7130[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > > saa7130[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > > saa7130[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > > saa7130[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > > saa7130[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > > saa7130[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > > saa7130[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > > saa7130[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > > saa7130[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > > tveeprom 2-0050: Encountered bad packet header [ff]. Corrupt or not a > > Hauppauge eeprom. > > saa7130[0]: warning: unknown hauppauge model #0 > > saa7130[0]: hauppauge eeprom: model=0 > > tuner' 2-0060: Tuner has no way to set tv freq > > tuner' 2-0060: Tuner has no way to set tv freq > > saa7130[0]: registered device video0 [v4l2] > > saa7130[0]: registered device vbi0 > > saa7130[0]: registered device radio0 > > tda10046: chip is not answering. Giving up. > > tuner' 2-0060: Tuner has no way to set tv freq > > plantain@plantain-king ~ $ > > > > > > I believe I am right with the tuner=54 modprobe option for the NXP 18271? > > I've no idea what to actually set card= to, I just guessed HVR1110 since > > it was similar to the firmware from which I've now taken from. If anyone > > can point me towards a better card= setting, that'd be great! > > I don't normally force load drivers with card=X. I typically just start > patching the [7130] tree with the correct PCI'd, attach structs etc. > It's easier that guessing - which leads to bad assumptions and mistakes. > > You can use the other trees [ cx23885, cx88 ] for reference code to show > how to attach tuners and demods. > > - Steve > Cheers, Hermann _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [linux-dvb] Support for Leadtek DTV1000S ? 2008-10-01 22:41 ` hermann pitton @ 2008-10-02 10:38 ` Plantain 2008-10-02 14:29 ` Mitchell, J.G. 2008-10-02 17:15 ` Matthias Schwarzott 0 siblings, 2 replies; 12+ messages in thread From: Plantain @ 2008-10-02 10:38 UTC (permalink / raw) To: hermann pitton; +Cc: linux-dvb [-- Attachment #1: Type: text/plain, Size: 6523 bytes --] hermann pitton wrote: > Hi, > > Am Mittwoch, den 01.10.2008, 14:05 -0400 schrieb Steven Toth: > >> Plantain wrote: >> >>> Steven Toth wrote: >>> >>>> Plantain wrote: >>>> >>>>> Hey, >>>>> >>>>> I've luckily come across a Leadtek DTV1000S that I'd like to get working >>>>> under Linux! >>>>> >>>>> From reading the Leadtek specifications >>>>> (http://leadtek.com/eng/tv_tuner/specification.asp?pronameid=382&lineid=6&act=2), >>>>> >>>>> I now understand it has contained within it the following chips; >>>>> NXP 18271 >>>>> TDA10048 >>>>> >>>> Firmware: >>>> >>>> http://steventoth.net/linux/hvr1700/ >>>> >>>> Good luck! >>>> >>>> Regards, >>>> >>>> - Steve >>>> >>> Hey, >>> >> Either you or I dropped the mailinglist is CC'd. I've added it back. >> Please ensure the mailinglist is CC'd at all times. >> >> >>> So it doesn't matter at all that they are for different cards even >>> though the chipsets are the same? >>> >> Correct. >> >> >>> Even with the firmware, it seems that the tuner is not detected/loaded. >>> I've pasted my current modprobe/dmesg below. >>> >> If it's not found during an i2c scan then it's probably held in reset by >> a GPIO. YOu'd need to figure out which GPIO needs to be raised. I don't >> know the 7130 framework very well by I suspect running regspy.exe (from >> the dscaler project) on a windows system will probably show you the gpio >> configuration that windows uses when the TV playback software is running. >> > > for all what I can see we have no analog demodulator on that card like > tda8290/95 or a 8290 integrated within a saa7131e chip. > All other saa713x chips don't have an internal analog demod with an i2c > bridge to control the tuner. > > That simply means there is no analog tuner and the correct tuner type > for analog is tuner=4 TUNER_ABSENT. We can only configure the card for > auto detection as a saa7130 device, enable Composite and S-Video support > and maybe the remote if the IR controller is supported. > > Rest must be found and done within saa7134-dvb.c like pointed. > Tuner is at 0x60/0xc0 and tda10048 at 0x08 (0x10 >> 1). > > >>> plantain@plantain-king ~ $ sudo modprobe saa7134 card=104 tuner=54 >>> plantain@plantain-king ~ $ dmesg >>> ... >>> saa7130/34: v4l2 driver version 0.2.14 loaded >>> saa7130[0]: found at 0000:01:07.0, rev: 1, irq: 19, latency: 32, mmio: >>> 0xfc005000 >>> saa7130[0]: subsystem: 107d:6655, board: Hauppauge WinTV-HVR1110 >>> DVB-T/Hybrid [card=104,insmod option] >>> saa7130[0]: board init: gpio is 222104 >>> Chip ID is not zero. It is not a TEA5767 >>> tuner' 2-0060: chip found @ 0xc0 (saa7130[0]) >>> saa7130[0]: i2c eeprom 00: 7d 10 55 66 54 20 1c 00 43 43 a9 1c 55 d2 b2 92 >>> saa7130[0]: i2c eeprom 10: 00 ff 82 0e ff 20 ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom 20: 01 40 01 01 01 ff 01 03 08 ff 00 8a ff ff ff ff >>> saa7130[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom 40: ff 35 00 c0 00 10 03 02 ff 04 ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> tveeprom 2-0050: Encountered bad packet header [ff]. Corrupt or not a >>> Hauppauge eeprom. >>> saa7130[0]: warning: unknown hauppauge model #0 >>> saa7130[0]: hauppauge eeprom: model=0 >>> tuner' 2-0060: Tuner has no way to set tv freq >>> tuner' 2-0060: Tuner has no way to set tv freq >>> saa7130[0]: registered device video0 [v4l2] >>> saa7130[0]: registered device vbi0 >>> saa7130[0]: registered device radio0 >>> tda10046: chip is not answering. Giving up. >>> tuner' 2-0060: Tuner has no way to set tv freq >>> plantain@plantain-king ~ $ >>> >>> >>> I believe I am right with the tuner=54 modprobe option for the NXP 18271? >>> I've no idea what to actually set card= to, I just guessed HVR1110 since >>> it was similar to the firmware from which I've now taken from. If anyone >>> can point me towards a better card= setting, that'd be great! >>> >> I don't normally force load drivers with card=X. I typically just start >> patching the [7130] tree with the correct PCI'd, attach structs etc. >> It's easier that guessing - which leads to bad assumptions and mistakes. >> >> You can use the other trees [ cx23885, cx88 ] for reference code to show >> how to attach tuners and demods. >> >> - Steve >> >> > Cheers, > Hermann > > Hey, I'm not actually able to code in C, but I've spent the last 24 hours puddling around trying to get somewhere. I believe I've added everything that is needed for the card to be detected, but it's not detecting it, even if I specify it with card=152 (the ID I've added). I have got the code to compile at least, which I'm pretty proud of :) I managed to get regspy to work (needed to revert 64bit vista to 32bit XP), but the viewing software that came with the card just crashes on 32bit XP. I've built a small wiki page (with highres images) detailing my progress, but I've really just hit a brick wall. Wikipage at http://www.linuxtv.org/wiki/index.php/WinFast_DTV_1000_S Short of learning C (which I am very slowly doing), I don't see anyway forwards under my direction, so I've attached my efforts in the hope someone else can take this forwards. From my limited understanding I've provided all the necessary information for someone to finish it, and if not I'll happily dig up anything else needed. I'm not familiar with any version control system/patching, so I've just hg diff > file.diff, I hope this is adequate. I'm on #linuxtv @ freenode IRC for a significant portion of the day if anyone has pointers for me/wants to ask questions about the card. Cheers, ~Matthew~ (plantain on IRC) [-- Attachment #2: dtv1000s.diff --] [-- Type: text/plain, Size: 2616 bytes --] diff -r 4db9722caf4f linux/drivers/media/video/saa7134/saa7134-cards.c --- a/linux/drivers/media/video/saa7134/saa7134-cards.c Wed Oct 01 13:13:56 2008 -0300 +++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Thu Oct 02 20:04:16 2008 +0930 @@ -4587,6 +4587,7 @@ .amux = TV, }, }, + [SAA7134_BOARD_ADS_INSTANT_HDTV_PCI] = { .name = "ADS Tech Instant HDTV", .audio_clock = 0x00187de7, @@ -4611,6 +4612,27 @@ .amux = LINE1, } }, }, + [SAA7134_BOARD_WINFAST_DTV1000S_PCI] = { + .name = "Leadtek WinFast DTV 1000 S", + .tuner_type = TUNER_ABSENT, +/*inputs were copied verbatium, no idea how to find correct values*/ + .inputs = {{ + .name = name_tv, + .vmux = 1, + .amux = TV, + .tv = 1, + },{ + .name = name_comp1, + .vmux = 3, + .amux = LINE1, + },{ + .name = name_svideo, + .vmux = 8, + .amux = LINE1, + }}, + }, + + }; const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); @@ -5696,6 +5718,16 @@ .subdevice = PCI_ANY_ID, .driver_data = SAA7134_BOARD_UNKNOWN, },{ + .vendor = PCI_VENDOR_ID_PHILIPS, + .device = PCI_DEVICE_ID_PHILIPS_SAA7130, +/* copied from dmesg line saa7130[0]: subsystem: 107d:6655, board: UNKNOWN/GENERIC [card=0,autodetected] */ + .subvendor = 0x107d, + .subdevice = 0x6655, + .driver_data = SAA7134_BOARD_WINFAST_DTV1000S_PCI, + },{ + + + /* --- end of list --- */ } }; @@ -6067,6 +6099,13 @@ "are supported for now.\n", dev->name, card(dev).name, dev->name); break; + case SAA7134_BOARD_WINFAST_DTV1000S_PCI: + /* power-up tuner chip */ +/* I don't understand what is being written to where, this is all made up... regspy paste on wiki */ + saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004); + saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0x000A8004); + msleep(10); + break; } return 0; } diff -r 4db9722caf4f linux/drivers/media/video/saa7134/saa7134.h --- a/linux/drivers/media/video/saa7134/saa7134.h Wed Oct 01 13:13:56 2008 -0300 +++ b/linux/drivers/media/video/saa7134/saa7134.h Thu Oct 02 20:04:16 2008 +0930 @@ -275,7 +275,7 @@ #define SAA7134_BOARD_AVERMEDIA_M135A 149 #define SAA7134_BOARD_REAL_ANGEL_220 150 #define SAA7134_BOARD_ADS_INSTANT_HDTV_PCI 151 - +#define SAA7134_BOARD_WINFAST_DTV1000S_PCI 152 #define SAA7134_MAXBOARDS 8 #define SAA7134_INPUT_MAX 8 [-- Attachment #3: Type: text/plain, Size: 150 bytes --] _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [linux-dvb] Support for Leadtek DTV1000S ? 2008-10-02 10:38 ` Plantain @ 2008-10-02 14:29 ` Mitchell, J.G. 2008-10-02 14:42 ` Plantain 2008-10-02 17:15 ` Matthias Schwarzott 1 sibling, 1 reply; 12+ messages in thread From: Mitchell, J.G. @ 2008-10-02 14:29 UTC (permalink / raw) To: Plantain; +Cc: linux-dvb@linuxtv.org Hello, I also have this card and I would like to get it working under Linux. I'm currently undergoing a bit of a hectic freshers week and have not been able to look into how I would go about doing this, but it seems as though you have done a fair bit of ground work. I'm also currently learning C amongst some other things and hope to be diving into it headfirst asap! If there is anything else that needs to be tested or executed then I also run 32bit XP along with 64bit Archlinux, so i have both those operating systems at my disposal. Jack ________________________________________ From: linux-dvb-bounces@linuxtv.org [linux-dvb-bounces@linuxtv.org] On Behalf Of Plantain [yellowplantain@gmail.com] Sent: 02 October 2008 11:38 To: hermann pitton Cc: linux-dvb@linuxtv.org Subject: Re: [linux-dvb] Support for Leadtek DTV1000S ? hermann pitton wrote: > Hi, > > Am Mittwoch, den 01.10.2008, 14:05 -0400 schrieb Steven Toth: > >> Plantain wrote: >> >>> Steven Toth wrote: >>> >>>> Plantain wrote: >>>> >>>>> Hey, >>>>> >>>>> I've luckily come across a Leadtek DTV1000S that I'd like to get working >>>>> under Linux! >>>>> >>>>> From reading the Leadtek specifications >>>>> (http://leadtek.com/eng/tv_tuner/specification.asp?pronameid=382&lineid=6&act=2), >>>>> >>>>> I now understand it has contained within it the following chips; >>>>> NXP 18271 >>>>> TDA10048 >>>>> >>>> Firmware: >>>> >>>> http://steventoth.net/linux/hvr1700/ >>>> >>>> Good luck! >>>> >>>> Regards, >>>> >>>> - Steve >>>> >>> Hey, >>> >> Either you or I dropped the mailinglist is CC'd. I've added it back. >> Please ensure the mailinglist is CC'd at all times. >> >> >>> So it doesn't matter at all that they are for different cards even >>> though the chipsets are the same? >>> >> Correct. >> >> >>> Even with the firmware, it seems that the tuner is not detected/loaded. >>> I've pasted my current modprobe/dmesg below. >>> >> If it's not found during an i2c scan then it's probably held in reset by >> a GPIO. YOu'd need to figure out which GPIO needs to be raised. I don't >> know the 7130 framework very well by I suspect running regspy.exe (from >> the dscaler project) on a windows system will probably show you the gpio >> configuration that windows uses when the TV playback software is running. >> > > for all what I can see we have no analog demodulator on that card like > tda8290/95 or a 8290 integrated within a saa7131e chip. > All other saa713x chips don't have an internal analog demod with an i2c > bridge to control the tuner. > > That simply means there is no analog tuner and the correct tuner type > for analog is tuner=4 TUNER_ABSENT. We can only configure the card for > auto detection as a saa7130 device, enable Composite and S-Video support > and maybe the remote if the IR controller is supported. > > Rest must be found and done within saa7134-dvb.c like pointed. > Tuner is at 0x60/0xc0 and tda10048 at 0x08 (0x10 >> 1). > > >>> plantain@plantain-king ~ $ sudo modprobe saa7134 card=104 tuner=54 >>> plantain@plantain-king ~ $ dmesg >>> ... >>> saa7130/34: v4l2 driver version 0.2.14 loaded >>> saa7130[0]: found at 0000:01:07.0, rev: 1, irq: 19, latency: 32, mmio: >>> 0xfc005000 >>> saa7130[0]: subsystem: 107d:6655, board: Hauppauge WinTV-HVR1110 >>> DVB-T/Hybrid [card=104,insmod option] >>> saa7130[0]: board init: gpio is 222104 >>> Chip ID is not zero. It is not a TEA5767 >>> tuner' 2-0060: chip found @ 0xc0 (saa7130[0]) >>> saa7130[0]: i2c eeprom 00: 7d 10 55 66 54 20 1c 00 43 43 a9 1c 55 d2 b2 92 >>> saa7130[0]: i2c eeprom 10: 00 ff 82 0e ff 20 ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom 20: 01 40 01 01 01 ff 01 03 08 ff 00 8a ff ff ff ff >>> saa7130[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom 40: ff 35 00 c0 00 10 03 02 ff 04 ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> saa7130[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> tveeprom 2-0050: Encountered bad packet header [ff]. Corrupt or not a >>> Hauppauge eeprom. >>> saa7130[0]: warning: unknown hauppauge model #0 >>> saa7130[0]: hauppauge eeprom: model=0 >>> tuner' 2-0060: Tuner has no way to set tv freq >>> tuner' 2-0060: Tuner has no way to set tv freq >>> saa7130[0]: registered device video0 [v4l2] >>> saa7130[0]: registered device vbi0 >>> saa7130[0]: registered device radio0 >>> tda10046: chip is not answering. Giving up. >>> tuner' 2-0060: Tuner has no way to set tv freq >>> plantain@plantain-king ~ $ >>> >>> >>> I believe I am right with the tuner=54 modprobe option for the NXP 18271? >>> I've no idea what to actually set card= to, I just guessed HVR1110 since >>> it was similar to the firmware from which I've now taken from. If anyone >>> can point me towards a better card= setting, that'd be great! >>> >> I don't normally force load drivers with card=X. I typically just start >> patching the [7130] tree with the correct PCI'd, attach structs etc. >> It's easier that guessing - which leads to bad assumptions and mistakes. >> >> You can use the other trees [ cx23885, cx88 ] for reference code to show >> how to attach tuners and demods. >> >> - Steve >> >> > Cheers, > Hermann > > Hey, I'm not actually able to code in C, but I've spent the last 24 hours puddling around trying to get somewhere. I believe I've added everything that is needed for the card to be detected, but it's not detecting it, even if I specify it with card=152 (the ID I've added). I have got the code to compile at least, which I'm pretty proud of :) I managed to get regspy to work (needed to revert 64bit vista to 32bit XP), but the viewing software that came with the card just crashes on 32bit XP. I've built a small wiki page (with highres images) detailing my progress, but I've really just hit a brick wall. Wikipage at http://www.linuxtv.org/wiki/index.php/WinFast_DTV_1000_S Short of learning C (which I am very slowly doing), I don't see anyway forwards under my direction, so I've attached my efforts in the hope someone else can take this forwards. From my limited understanding I've provided all the necessary information for someone to finish it, and if not I'll happily dig up anything else needed. I'm not familiar with any version control system/patching, so I've just hg diff > file.diff, I hope this is adequate. I'm on #linuxtv @ freenode IRC for a significant portion of the day if anyone has pointers for me/wants to ask questions about the card. Cheers, ~Matthew~ (plantain on IRC) _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [linux-dvb] Support for Leadtek DTV1000S ? 2008-10-02 14:29 ` Mitchell, J.G. @ 2008-10-02 14:42 ` Plantain 0 siblings, 0 replies; 12+ messages in thread From: Plantain @ 2008-10-02 14:42 UTC (permalink / raw) To: Mitchell, J.G.; +Cc: linux-dvb Mitchell, J.G. wrote: > Hello, > > I also have this card and I would like to get it working under Linux. I'm currently undergoing a bit of a hectic freshers week and have not been able to look into how I would go about doing this, but it seems as though you have done a fair bit of ground work. I'm also currently learning C amongst some other things and hope to be diving into it headfirst asap! If there is anything else that needs to be tested or executed then I also run 32bit XP along with 64bit Archlinux, so i have both those operating systems at my disposal. > > Jack > ________________________________________ > From: linux-dvb-bounces@linuxtv.org [linux-dvb-bounces@linuxtv.org] On Behalf Of Plantain [yellowplantain@gmail.com] > Sent: 02 October 2008 11:38 > To: hermann pitton > Cc: linux-dvb@linuxtv.org > Subject: Re: [linux-dvb] Support for Leadtek DTV1000S ? > > hermann pitton wrote: > >> Hi, >> >> Am Mittwoch, den 01.10.2008, 14:05 -0400 schrieb Steven Toth: >> >> >>> Plantain wrote: >>> >>> >>>> Steven Toth wrote: >>>> >>>> >>>>> Plantain wrote: >>>>> >>>>> >>>>>> Hey, >>>>>> >>>>>> I've luckily come across a Leadtek DTV1000S that I'd like to get working >>>>>> under Linux! >>>>>> >>>>>> From reading the Leadtek specifications >>>>>> (http://leadtek.com/eng/tv_tuner/specification.asp?pronameid=382&lineid=6&act=2), >>>>>> >>>>>> I now understand it has contained within it the following chips; >>>>>> NXP 18271 >>>>>> TDA10048 >>>>>> >>>>>> >>>>> Firmware: >>>>> >>>>> http://steventoth.net/linux/hvr1700/ >>>>> >>>>> Good luck! >>>>> >>>>> Regards, >>>>> >>>>> - Steve >>>>> >>>>> >>>> Hey, >>>> >>>> >>> Either you or I dropped the mailinglist is CC'd. I've added it back. >>> Please ensure the mailinglist is CC'd at all times. >>> >>> >>> >>>> So it doesn't matter at all that they are for different cards even >>>> though the chipsets are the same? >>>> >>>> >>> Correct. >>> >>> >>> >>>> Even with the firmware, it seems that the tuner is not detected/loaded. >>>> I've pasted my current modprobe/dmesg below. >>>> >>>> >>> If it's not found during an i2c scan then it's probably held in reset by >>> a GPIO. YOu'd need to figure out which GPIO needs to be raised. I don't >>> know the 7130 framework very well by I suspect running regspy.exe (from >>> the dscaler project) on a windows system will probably show you the gpio >>> configuration that windows uses when the TV playback software is running. >>> >>> >> for all what I can see we have no analog demodulator on that card like >> tda8290/95 or a 8290 integrated within a saa7131e chip. >> All other saa713x chips don't have an internal analog demod with an i2c >> bridge to control the tuner. >> >> That simply means there is no analog tuner and the correct tuner type >> for analog is tuner=4 TUNER_ABSENT. We can only configure the card for >> auto detection as a saa7130 device, enable Composite and S-Video support >> and maybe the remote if the IR controller is supported. >> >> Rest must be found and done within saa7134-dvb.c like pointed. >> Tuner is at 0x60/0xc0 and tda10048 at 0x08 (0x10 >> 1). >> >> >> >>>> plantain@plantain-king ~ $ sudo modprobe saa7134 card=104 tuner=54 >>>> plantain@plantain-king ~ $ dmesg >>>> ... >>>> saa7130/34: v4l2 driver version 0.2.14 loaded >>>> saa7130[0]: found at 0000:01:07.0, rev: 1, irq: 19, latency: 32, mmio: >>>> 0xfc005000 >>>> saa7130[0]: subsystem: 107d:6655, board: Hauppauge WinTV-HVR1110 >>>> DVB-T/Hybrid [card=104,insmod option] >>>> saa7130[0]: board init: gpio is 222104 >>>> Chip ID is not zero. It is not a TEA5767 >>>> tuner' 2-0060: chip found @ 0xc0 (saa7130[0]) >>>> saa7130[0]: i2c eeprom 00: 7d 10 55 66 54 20 1c 00 43 43 a9 1c 55 d2 b2 92 >>>> saa7130[0]: i2c eeprom 10: 00 ff 82 0e ff 20 ff ff ff ff ff ff ff ff ff ff >>>> saa7130[0]: i2c eeprom 20: 01 40 01 01 01 ff 01 03 08 ff 00 8a ff ff ff ff >>>> saa7130[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>>> saa7130[0]: i2c eeprom 40: ff 35 00 c0 00 10 03 02 ff 04 ff ff ff ff ff ff >>>> saa7130[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>>> saa7130[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>>> saa7130[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>>> saa7130[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>>> saa7130[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>>> saa7130[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>>> saa7130[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>>> saa7130[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>>> saa7130[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>>> saa7130[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>>> saa7130[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>>> tveeprom 2-0050: Encountered bad packet header [ff]. Corrupt or not a >>>> Hauppauge eeprom. >>>> saa7130[0]: warning: unknown hauppauge model #0 >>>> saa7130[0]: hauppauge eeprom: model=0 >>>> tuner' 2-0060: Tuner has no way to set tv freq >>>> tuner' 2-0060: Tuner has no way to set tv freq >>>> saa7130[0]: registered device video0 [v4l2] >>>> saa7130[0]: registered device vbi0 >>>> saa7130[0]: registered device radio0 >>>> tda10046: chip is not answering. Giving up. >>>> tuner' 2-0060: Tuner has no way to set tv freq >>>> plantain@plantain-king ~ $ >>>> >>>> >>>> I believe I am right with the tuner=54 modprobe option for the NXP 18271? >>>> I've no idea what to actually set card= to, I just guessed HVR1110 since >>>> it was similar to the firmware from which I've now taken from. If anyone >>>> can point me towards a better card= setting, that'd be great! >>>> >>>> >>> I don't normally force load drivers with card=X. I typically just start >>> patching the [7130] tree with the correct PCI'd, attach structs etc. >>> It's easier that guessing - which leads to bad assumptions and mistakes. >>> >>> You can use the other trees [ cx23885, cx88 ] for reference code to show >>> how to attach tuners and demods. >>> >>> - Steve >>> >>> >>> >> Cheers, >> Hermann >> >> >> > Hey, > > I'm not actually able to code in C, but I've spent the last 24 hours > puddling around trying to get somewhere. I believe I've added everything > that is needed for the card to be detected, but it's not detecting it, > even if I specify it with card=152 (the ID I've added). I have got the > code to compile at least, which I'm pretty proud of :) > > I managed to get regspy to work (needed to revert 64bit vista to 32bit > XP), but the viewing software that came with the card just crashes on > 32bit XP. I've built a small wiki page (with highres images) detailing > my progress, but I've really just hit a brick wall. Wikipage at > http://www.linuxtv.org/wiki/index.php/WinFast_DTV_1000_S > > Short of learning C (which I am very slowly doing), I don't see anyway > forwards under my direction, so I've attached my efforts in the hope > someone else can take this forwards. From my limited understanding I've > provided all the necessary information for someone to finish it, and if > not I'll happily dig up anything else needed. I'm not familiar with any > version control system/patching, so I've just hg diff > file.diff, I > hope this is adequate. > > I'm on #linuxtv @ freenode IRC for a significant portion of the day if > anyone has pointers for me/wants to ask questions about the card. > > Cheers, > > ~Matthew~ (plantain on IRC) > Hey, I'll go out on an uneducated limb and say another set of results from regspy would be useful, as I couldn't actually get mine to work properly. RegSpy: http://sourceforge.net/project/showfiles.php?group_id=7420&package_id=69037 Wiki page: http://www.linuxtv.org/wiki/index.php/WinFast_DTV_1000_S Cheers, ~Matthew~ (plantain on IRC) _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [linux-dvb] Support for Leadtek DTV1000S ? 2008-10-02 10:38 ` Plantain 2008-10-02 14:29 ` Mitchell, J.G. @ 2008-10-02 17:15 ` Matthias Schwarzott 2008-10-02 23:14 ` hermann pitton 1 sibling, 1 reply; 12+ messages in thread From: Matthias Schwarzott @ 2008-10-02 17:15 UTC (permalink / raw) To: linux-dvb On Donnerstag, 2. Oktober 2008, Plantain wrote: > > Hey, > > I'm not actually able to code in C, but I've spent the last 24 hours > puddling around trying to get somewhere. I believe I've added everything > that is needed for the card to be detected, but it's not detecting it, > even if I specify it with card=152 (the ID I've added). I have got the > code to compile at least, which I'm pretty proud of :) > > I managed to get regspy to work (needed to revert 64bit vista to 32bit > XP), but the viewing software that came with the card just crashes on > 32bit XP. I've built a small wiki page (with highres images) detailing > my progress, but I've really just hit a brick wall. Wikipage at > http://www.linuxtv.org/wiki/index.php/WinFast_DTV_1000_S > > Short of learning C (which I am very slowly doing), I don't see anyway > forwards under my direction, so I've attached my efforts in the hope > someone else can take this forwards. From my limited understanding I've > provided all the necessary information for someone to finish it, and if > not I'll happily dig up anything else needed. I'm not familiar with any > version control system/patching, so I've just hg diff > file.diff, I > hope this is adequate. > > I'm on #linuxtv @ freenode IRC for a significant portion of the day if > anyone has pointers for me/wants to ask questions about the card. > Looking at your regspy output 109. SAA7134_GPIO_GPMODE: 82000000 (10000010 00000000 00000000 00000000) 110. SAA7134_GPIO_GPSTATUS: 02132054 (00000010 00010011 00100000 01010100) I suggest you change your gpio code like this: saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x82000000, 0x82000000); saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x02000000, 0x02000000); So this at least sets the directions of gpios as used in windows, and outputs the same values on the gpios configured as output. That should work better than your copy-and-pasted numbers from another card. But it still can be you need to pull some pins high or low for some time at init to get parts reset. You also could try adding a small wait time after writing gpio values. e.g. msleep(500); Good luck Matthias _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [linux-dvb] Support for Leadtek DTV1000S ? 2008-10-02 17:15 ` Matthias Schwarzott @ 2008-10-02 23:14 ` hermann pitton 2008-10-03 3:12 ` Damien Morrissey 0 siblings, 1 reply; 12+ messages in thread From: hermann pitton @ 2008-10-02 23:14 UTC (permalink / raw) To: Matthias Schwarzott; +Cc: linux-dvb Hi, Am Donnerstag, den 02.10.2008, 19:15 +0200 schrieb Matthias Schwarzott: > On Donnerstag, 2. Oktober 2008, Plantain wrote: > > > > Hey, > > > > I'm not actually able to code in C, but I've spent the last 24 hours > > puddling around trying to get somewhere. I believe I've added everything > > that is needed for the card to be detected, but it's not detecting it, > > even if I specify it with card=152 (the ID I've added). I have got the > > code to compile at least, which I'm pretty proud of :) > > > > I managed to get regspy to work (needed to revert 64bit vista to 32bit > > XP), but the viewing software that came with the card just crashes on > > 32bit XP. I've built a small wiki page (with highres images) detailing > > my progress, but I've really just hit a brick wall. Wikipage at > > http://www.linuxtv.org/wiki/index.php/WinFast_DTV_1000_S > > > > Short of learning C (which I am very slowly doing), I don't see anyway > > forwards under my direction, so I've attached my efforts in the hope > > someone else can take this forwards. From my limited understanding I've > > provided all the necessary information for someone to finish it, and if > > not I'll happily dig up anything else needed. I'm not familiar with any > > version control system/patching, so I've just hg diff > file.diff, I > > hope this is adequate. > > > > I'm on #linuxtv @ freenode IRC for a significant portion of the day if > > anyone has pointers for me/wants to ask questions about the card. > > > > Looking at your regspy output > 109. SAA7134_GPIO_GPMODE: 82000000 (10000010 00000000 > 00000000 00000000) > 110. SAA7134_GPIO_GPSTATUS: 02132054 (00000010 00010011 > 00100000 01010100) > > I suggest you change your gpio code like this: > > saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x82000000, > 0x82000000); > saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x02000000, > 0x02000000); > > So this at least sets the directions of gpios as used in windows, and outputs > the same values on the gpios configured as output. That should work better > than your copy-and-pasted numbers from another card. > > But it still can be you need to pull some pins high or low for some time at > init to get parts reset. > > You also could try adding a small wait time after writing gpio values. > e.g. msleep(500); > > Good luck > Matthias yes, that is likely the most solid start we can have from the analog side so far. The card should be auto detectable as well. Thanks, Hermann _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [linux-dvb] Support for Leadtek DTV1000S ? 2008-10-02 23:14 ` hermann pitton @ 2008-10-03 3:12 ` Damien Morrissey 0 siblings, 0 replies; 12+ messages in thread From: Damien Morrissey @ 2008-10-03 3:12 UTC (permalink / raw) To: hermann pitton; +Cc: linux-dvb [-- Attachment #1.1: Type: text/plain, Size: 3124 bytes --] On Fri, Oct 3, 2008 at 9:14 AM, hermann pitton <hermann-pitton@arcor.de>wrote: > Hi, > > Am Donnerstag, den 02.10.2008, 19:15 +0200 schrieb Matthias Schwarzott: > > On Donnerstag, 2. Oktober 2008, Plantain wrote: > > > > > > Hey, > > > > > > I'm not actually able to code in C, but I've spent the last 24 hours > > > puddling around trying to get somewhere. I believe I've added > everything > > > that is needed for the card to be detected, but it's not detecting it, > > > even if I specify it with card=152 (the ID I've added). I have got the > > > code to compile at least, which I'm pretty proud of :) > > > > > > I managed to get regspy to work (needed to revert 64bit vista to 32bit > > > XP), but the viewing software that came with the card just crashes on > > > 32bit XP. I've built a small wiki page (with highres images) detailing > > > my progress, but I've really just hit a brick wall. Wikipage at > > > http://www.linuxtv.org/wiki/index.php/WinFast_DTV_1000_S > > > > > > Short of learning C (which I am very slowly doing), I don't see anyway > > > forwards under my direction, so I've attached my efforts in the hope > > > someone else can take this forwards. From my limited understanding I've > > > provided all the necessary information for someone to finish it, and if > > > not I'll happily dig up anything else needed. I'm not familiar with any > > > version control system/patching, so I've just hg diff > file.diff, I > > > hope this is adequate. > > > > > > I'm on #linuxtv @ freenode IRC for a significant portion of the day if > > > anyone has pointers for me/wants to ask questions about the card. > > > > > > > Looking at your regspy output > > 109. SAA7134_GPIO_GPMODE: 82000000 (10000010 00000000 > > 00000000 00000000) > > 110. SAA7134_GPIO_GPSTATUS: 02132054 (00000010 00010011 > > 00100000 01010100) > > > > I suggest you change your gpio code like this: > > > > saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x82000000, > > 0x82000000); > > saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x02000000, > > 0x02000000); > > > > So this at least sets the directions of gpios as used in windows, and > outputs > > the same values on the gpios configured as output. That should work > better > > than your copy-and-pasted numbers from another card. > > > > But it still can be you need to pull some pins high or low for some time > at > > init to get parts reset. > > > > You also could try adding a small wait time after writing gpio values. > > e.g. msleep(500); > > > > Good luck > > Matthias > > yes, that is likely the most solid start we can have from the analog > side so far. The card should be auto detectable as well. > > Thanks, > Hermann > > > > _______________________________________________ > linux-dvb mailing list > linux-dvb@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb > Hi, I have a 64 bit system and am farmiliar with C/C++/etc, but not so farmiliar with the specific code yet. I have one of these cards and am willing to put a bit of work into getting it going. How can I be of use? Damien. [-- Attachment #1.2: Type: text/html, Size: 4380 bytes --] [-- Attachment #2: Type: text/plain, Size: 150 bytes --] _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 12+ messages in thread
* [linux-dvb] Support for Leadtek DTV1000S ?
@ 2008-12-04 12:19 Vince Mari
[not found] ` <18793.39119.727237.615925@gargle.gargle.HOWL>
0 siblings, 1 reply; 12+ messages in thread
From: Vince Mari @ 2008-12-04 12:19 UTC (permalink / raw)
To: linux-dvb
Hi,
I am trying to get this card to work as well and I also got the i2c
errors from the tda10048 -
but the i2c_debug=1 option of the saa7134 driver points to the following
code, which was added
recently I think. Without it the i2c errors stop, the tda10048 and
tda18271 attach, and the firmware loads
#diff saa7134-i2c.c.1.1.1.1 saa7134-i2c.c
262a263,271
> if (i > 0 && msgs[i].flags & I2C_M_RD) {
> /* workaround for a saa7134 i2c bug
> * needed to talk to the mt352 demux
> * thanks to pinnacle for the hint */
> int quirk = 0xfd;
> d1printk(" [%02x quirk]",quirk);
> i2c_send_byte(dev,START,quirk);
> i2c_recv_byte(dev);
> }
I am currently trying to get the tda18271 to lock onto a signal but with
no luck yet
./tzap -r -a 0 -c channels.conf-dvbt-australia '7 Digital'
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
tuning to 177500000 Hz
video pid 0x0301, audio pid 0x0302
status 00 | signal 3434 | snr 0013 | ber 0000ffff | unc 00000000 |
status 00 | signal ecec | snr 0076 | ber 0000ffff | unc 00000000 |
status 00 | signal f5f5 | snr 0078 | ber 0000ffff | unc 00000000 |
status 00 | signal dbdb | snr 005a | ber 0000ffff | unc 00000000 |
status 00 | signal d9d9 | snr 0058 | ber 0000ffff | unc 00000000 |
status 00 | signal ecec | snr 0076 | ber 0000ffff | unc 00000000 |
status 00 | signal ecec | snr 0058 | ber 0000ffff | unc 00000000 |
status 00 | signal d9d9 | snr 0058 | ber 0000ffff | unc 00000000 |
status 00 | signal d7d7 | snr 0049 | ber 0000ffff | unc 00000000 |
Cheers,
Vince Mari
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 12+ messages in thread[parent not found: <18793.39119.727237.615925@gargle.gargle.HOWL>]
* Re: [linux-dvb] Support for Leadtek DTV1000S ? [not found] ` <18793.39119.727237.615925@gargle.gargle.HOWL> @ 2009-01-12 1:32 ` Vince Mari 0 siblings, 0 replies; 12+ messages in thread From: Vince Mari @ 2009-01-12 1:32 UTC (permalink / raw) To: James Gemmell; +Cc: linux-dvb [-- Attachment #1.1: Type: text/plain, Size: 947 bytes --] James Gemmell wrote: > ... >> I am currently trying to get the tda18271 to lock onto a signal but with >> no luck yet >> > > This is pretty much where I'm at right now. I've been through the > tda18271 code and, with the exhaustive use of debug statements, am > satisfied that it setting up the tuner correctly. The problem seems > to be somewhere between the tuner and the demod or how the demod is > interpreting the tuner data. > > Do you have any ideas as to what I could try next? I've tried > changing the settings in the tda10048_config and tda18271_config > structures without much luck. Where you able to get any further? > > Best regards > James Gemmell > > Hi James, The signal strength doesnt go low when the antenna is disconnected (it does on my other card) instead it stays high. I am currently looking for some kind of switch between the antenna and the tuner or a gain problem (too sensitive?) Cheers, Vince Mari [-- Attachment #1.2: Type: text/html, Size: 1336 bytes --] [-- Attachment #2: Type: text/plain, Size: 228 bytes --] _______________________________________________ linux-dvb users mailing list For V4L/DVB development, please use instead linux-media@vger.kernel.org linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2009-01-12 1:33 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-01 11:25 [linux-dvb] Support for Leadtek DTV1000S ? Plantain
2008-10-01 15:18 ` Steven Toth
[not found] ` <48E3A687.9000703@gmail.com>
2008-10-01 18:05 ` Steven Toth
2008-10-01 22:41 ` hermann pitton
2008-10-02 10:38 ` Plantain
2008-10-02 14:29 ` Mitchell, J.G.
2008-10-02 14:42 ` Plantain
2008-10-02 17:15 ` Matthias Schwarzott
2008-10-02 23:14 ` hermann pitton
2008-10-03 3:12 ` Damien Morrissey
-- strict thread matches above, loose matches on Subject: below --
2008-12-04 12:19 Vince Mari
[not found] ` <18793.39119.727237.615925@gargle.gargle.HOWL>
2009-01-12 1:32 ` Vince Mari
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox