public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [linux-dvb] Help with Skystar HD2 (Twinhan VP-1041/Azurewave AD SP400 rebadge)
@ 2008-02-25 18:04 Simeon Simeonov
  2008-02-25 22:01 ` Manu Abraham
  0 siblings, 1 reply; 20+ messages in thread
From: Simeon Simeonov @ 2008-02-25 18:04 UTC (permalink / raw)
  To: Manu Abraham; +Cc: linux-dvb

Hi Manu,

Thanks for the reply
Yes, indeed I tried over the weekend and by selecting the higher limitation by ISEL register:

if (!lnbp21_attach(mantis->fe, &mantis->adapter, 0, 0x40)) {

My rotor now moves. Do you think it is better to use static current protection?

But unfortunately that is not the end of the story. The problem that I am
having now is that patched mythtv rewrites the limits in my rotor?! And the weird thing is 
it does in such a way that I had to take the motor apart to recalibrate it. It looks like there are
hard limits in the rotor (Aston 1.2) firmware which are not the software limits because trying to reset 
them either from Linux side or from Windoz did not help. So I actually had to take it apart to recalibrate
the motor inside the rotor. I do not think there is a problem with the rotor itself because I have been using it for over 2 years with my other Twinhah 102g card without any problems.
I also wrote a small command line program (using libsec) that will do only rotor commands. With that
program I can do goto n, store, reset, soft limits. All there operations work fine. Goto nn steps also
works somewhat even though it is not taking the specified number of steps precisely. I am not sure why.

Getting back to my mythtv setup - I have a committed switch behind the rotor. So the rotor command is followed by (with 15ms delay) the switch, tone burst and then tunning commands. I turned on the verbose in mantis module and looked what i2c reports. The diseqc sequence looks correct. The only thing I see is that the fifo gets filled up by the end of the sequence so we have to wait for a few cycles before sending the next byte. So now I am thinking could there be any problems if the pause between writing the diseqc bytes is a bit longer since we write byte, check if fifo is full and then write the next byte. What do you think about that? I was thinking of trying to write the whole diseqc command and then check fifo or even better first check fifo and then write the command since we have 15ms between commands anyway.
On the side - switch works 50% of the times so I should look into that too. It is a really good Spaun switch and even with 102g works flawlessly.


Thanks for the help!
Simeon



----- Original Message ----
From: Manu Abraham <abraham.manu@gmail.com>
To: Simeon Simeonov <simeonov_2000@yahoo.com>
Cc: linux-dvb@linuxtv.org
Sent: Sunday, February 24, 2008 12:26:34 PM
Subject: Re: [linux-dvb] Help with Skystar HD2 (Twinhan VP-1041/Azurewave AD SP400 rebadge)

Manu Abraham wrote:
> Simeon Simeonov wrote:
>> Hi Gernot,
>>
>> I can confirm that I have similar experience to yours.
>> By the way do you know if one can control from the soft side (register or some other means)
>> the max current output for the card. I am having a problem when trying to tune with a rotor.
>> On the Linux side the current seems to be capped at 300 mA as on the XP I see it goes to
>> about 440 mA. I was still surprised that this card can supply less current than the 102g but
>> we take what we get ...

Can you please try this change, whether it helps in your case ?

In mantis_dvb.c

line #251

if (!lnbp21_attach(mantis->fe, &mantis->adapter, 0, 0)) {

change it to

if (!lnbp21_attach(mantis->fe, &mantis->adapter, 0x80, 0x40)) {

and see whether it helps in improving your current limited situation.
according to the specification it should yield 500 - 650mA

A word of caution, make sure that the auxilliary power connector is
connected. Current drawn will be a bit much higher in this case,
additionally Static Current Limiting is used, hence additional dissipation,
which means more current drawn which might overload the PCI bus, hence
  it would be nice to use the auxilliary power connector.

Regards,
Manu





      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: [linux-dvb] Help with Skystar HD2 (Twinhan VP-1041/Azurewave AD SP400 rebadge)
@ 2008-02-28  6:48 Simeon Simeonov
  0 siblings, 0 replies; 20+ messages in thread
From: Simeon Simeonov @ 2008-02-28  6:48 UTC (permalink / raw)
  To: Manu Abraham; +Cc: linux-dvb

Hi Manu,

Here is some more info about my diseqc problem:

> Ok, does sending the commands as it is on the fly help for you, rather 
> than storing
> all of them in the FIFO and whack them out in a disciplined way ?
>
> If it looks working better that way, will try that and ask others as
> well whether they
> see similar benefits ?

The short answer is no,  I do not see any benefits of sending the whole
diseqc command.

Unfortunately I still do not have a good idea what exactly the problem is.
Here is what I tried:
1. Bypass the rotor and connect directly to the switch: in that case switch
works 100% of the times even though I am first sending a rotor switch command
and then switch command and no repeats. This I checked with both mythtv
and szap.
2. Connect the rotor and send a rotor, followed by a switch command with no repeats.
In this case rotor works fine but the switch works 1/10 times. But my rotor does not
get reprogrammed
3. Send more than 2 diseqc command - being repeat for either switch or rotor or both.
Well if the rotor does not have to move (I have 2 satellites that I can use for that)
switch works about half of the time but as soon as try to move the rotor it gets all
reprogrammed.

I really have no idea what is happening. Again I looked up the mantis i2c commands
and all diseqc ones that are sent look correct. 
Any hints are welcome.

Thanks for your help,
Simeon






      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: [linux-dvb] Help with Skystar HD2 (Twinhan VP-1041/Azurewave AD SP400 rebadge)
@ 2008-02-19 18:11 Simeon Simeonov
  2008-02-23  6:34 ` Manu Abraham
  0 siblings, 1 reply; 20+ messages in thread
From: Simeon Simeonov @ 2008-02-19 18:11 UTC (permalink / raw)
  To: Gernot Pansy, linux-dvb

Hi Gernot,

I can confirm that I have similar experience to yours.
By the way do you know if one can control from the soft side (register or some other means)
the max current output for the card. I am having a problem when trying to tune with a rotor.
On the Linux side the current seems to be capped at 300 mA as on the XP I see it goes to
about 440 mA. I was still surprised that this card can supply less current than the 102g but
we take what we get ...

Thanks for the help,
Simeon

----- Original Message ----
From: Gernot Pansy <pansyg@gmx.at>
To: linux-dvb@linuxtv.org
Sent: Monday, February 18, 2008 1:08:59 PM
Subject: Re: [linux-dvb] Help with Skystar HD2 (Twinhan VP-1041/Azurewave AD SP400 rebadge)

hy,

the wiki is not up2date. 

Twinhan VP-1041 support is now in the mantis tree (inkl. multiproto)

hg clone http://jusst.de/hg/mantis

but for me, the old initialization parameters works much better. with the new 
ones i get only a destructed picture (unwatchable).  

gernot

On Monday 18 February 2008 20:05:03 Tim Hewett wrote:
> I'm trying to get a new Technisat Skystar HD2 working. It looks like
> it is a Twinhan VP-1041/Azurewave AD SP400 rebadge.
>
> The card hardware and satellite feed has been confirmed to work ok
> under Windows using Technisat's software.
>
> I am using the current multiproto DVB drivers, downloaded today. These
> were patched, built and installed successfully as described for the
> Azurewave AD SP400 in the linuxdvb wiki, but the card was not
> recognised on bootup even though it was allocated a DVB adaptor
> number. This appeared in dmesg:
>
> [   57.359723] found a UNKNOWN PCI UNKNOWN device on (01:06.0),
> [   57.359802]     Mantis Rev 1 [1ae4:0001], irq: 16, latency: 32
> [   57.359858]     memory: 0xe5100000, mmio: 0xffffc200000fc000
> [   57.363015]     MAC Address=[00:08:c9:e0:26:92]
> [   57.363133] mantis_alloc_buffers (0): DMA=0x1b7a0000
> cpu=0xffff81001b7a0000 size=65536
> [   57.363242] mantis_alloc_buffers (0): RISC=0x1ae24000
> cpu=0xffff81001ae24000 size=1000
> [   57.363348] DVB: registering new adapter (Mantis dvb adapter)
>
>
> This is the output of lspci -vvn:
>
> 01:06.0 0480: 1822:4e35 (rev 01)
>     Subsystem: 1ae4:0001
>     Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B-
>     Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
>     Latency: 32 (2000ns min, 63750ns max)
>     Interrupt: pin A routed to IRQ 16
>     Region 0: Memory at e5100000 (32-bit, prefetchable) [size=4K]
>
> This is the output of lsusb -vv:
>
> 01:06.0 Multimedia controller: Twinhan Technology Co. Ltd Mantis DTV
> PCI Bridge Controller [Ver 1.0] (rev 01)
>     Subsystem: Unknown device 1ae4:0001
>     Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B-
>     Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
>     Latency: 32 (2000ns min, 63750ns max)
>     Interrupt: pin A routed to IRQ 16
>     Region 0: Memory at e5100000 (32-bit, prefetchable) [size=4K]
>
> Note that subsystem IDs 1ae4:0001 are different to those listed in the
> wiki for the Azurewave (1822:0031).
>
> I changed #define MANTIS_VP_1041_DVB_S2    in linux/drivers/media/dvb/
> mantis/mantis_vp1041.h from 0x0031 to 0x0001, which changed the dmesg
> output on reboot to this:
>
> [   59.546375] found a VP-1041 PCI DVB-S/DVB-S2 device on (01:06.0),
> [   59.546456]     Mantis Rev 1 [1ae4:0001], irq: 16, latency: 32
> [   59.546512]     memory: 0xe5100000, mmio: 0xffffc200000fc000
> [   59.549609]     MAC Address=[00:08:c9:e0:26:92]
> [   59.549719] mantis_alloc_buffers (0): DMA=0x1b7b0000
> cpu=0xffff81001b7b0000 size=65536
> [   59.549827] mantis_alloc_buffers (0): RISC=0x1af43000
> cpu=0xffff81001af43000 size=1000
> [   59.549933] DVB: registering new adapter (Mantis dvb adapter)
> [   60.137583] stb0899_attach: Attaching STB0899
> [   60.137665] mantis_frontend_init (0): found STB0899 DVB-S/DVB-S2
> frontend @0x68
> [   60.152161] stb6100_attach: Attaching STB6100
> [   60.168021] DVB: registering frontend 3 (STB0899 Multistandard)...
>
> So that change seemed to cause the card to be recognised.
>
> Then I tried the replacement scan and szap as suggested by the
> Azurewave wiki, but the card will not tune.
>
> So it appears to be almost working, but I'm not sure what tests to try
> or changes to make to see if it will work.



_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb





      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 20+ messages in thread
* [linux-dvb] Help with Skystar HD2 (Twinhan VP-1041/Azurewave AD SP400 rebadge)
@ 2008-02-18 23:51 Tim Hewett
  2008-02-19  1:18 ` Gernot Pansy
  2008-02-23 22:22 ` Manu Abraham
  0 siblings, 2 replies; 20+ messages in thread
From: Tim Hewett @ 2008-02-18 23:51 UTC (permalink / raw)
  To: linux-dvb; +Cc: Tim Hewett


[-- Attachment #1.1: Type: text/plain, Size: 10504 bytes --]

Gernot,

I have now tried the mantis tree. It also needed the  
MANTIS_VP_1041_DVB_S2 #define to be changed to 0x0001 for this card,  
but after doing that it was recognised:

[   56.586237] ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16
[   56.586330] ACPI: PCI Interrupt 0000:01:06.0[A] -> Link [APC1] ->  
GSI 16 (level, low) -> IRQ 16
[   56.586556] irq: 16, latency: 32
[   56.586557]  memory: 0xe5100000, mmio: 0xffffc200000f8000
[   56.586708] found a VP-1041 PCI DSS/DVB-S/DVB-S2 device on (01:06.0),
[   56.586791]     Mantis Rev 1 [1ae4:0001], irq: 16, latency: 32
[   56.586847]     memory: 0xe5100000, mmio: 0xffffc200000f8000
[   56.589867]     MAC Address=[00:08:c9:e0:26:92]
[   56.589972] mantis_alloc_buffers (0): DMA=0x1aa10000  
cpu=0xffff81001aa10000 size=65536
[   56.590081] mantis_alloc_buffers (0): RISC=0x1b7f0000  
cpu=0xffff81001b7f0000 size=1000
[   56.590187] DVB: registering new adapter (Mantis dvb adapter)
[   57.106676] stb0899_write_regs [0xf1b6]: 02
[   57.107730] stb0899_write_regs [0xf1c2]: 00
[   57.108781] stb0899_write_regs [0xf1c3]: 00
[   57.110884] _stb0899_read_reg: Reg=[0xf000], data=82
[   57.110964] stb0899_get_dev_id: ID reg=[0x82]
[   57.111040] stb0899_get_dev_id: Device ID=[8], Release=[2]
[   57.117425] _stb0899_read_s2reg Device=[0xf3fc], Base  
address=[0x00000400], Offset=[0xf334], Data=[0x444d4431]
[   57.123732] _stb0899_read_s2reg Device=[0xf3fc], Base  
address=[0x00000400], Offset=[0xf33c], Data=[0x00000001]
[   57.123735] stb0899_get_dev_id: Demodulator Core ID=[DMD1],  
Version=[1]
[   57.130121] _stb0899_read_s2reg Device=[0xfafc], Base  
address=[0x00000800], Offset=[0xfa2c], Data=[0x46454331]
[   57.136428] _stb0899_read_s2reg Device=[0xfafc], Base  
address=[0x00000800], Offset=[0xfa34], Data=[0x00000001]
[   57.136430] stb0899_get_dev_id: FEC Core ID=[FEC1], Version=[1]
[   57.136509] stb0899_attach: Attaching STB0899
[   57.136586] mantis_frontend_init (0): found STB0899 DVB-S/DVB-S2  
frontend @0x68
[   57.136690] stb6100_attach: Attaching STB6100
[   57.137118] DVB: registering frontend 1 (STB0899 Multistandard)...

However it still doesn't tune. e.g.:

root@kubuntu7:~/linuxtv-dvb-apps-1.1.1/util/szap# ./szap -r -p -l  
UNIVERSAL -t 0 -a 1 BBC1West
reading channels from file '/root/.szap/channels.conf'
zapping to 1 'BBC1West':
sat 0, frequency = 10818 MHz V, symbolrate 22000000, vpid = 0x0901,  
apid = 0x0904 sid = 0x0002
Querying info .. Delivery system=DVB-S
using '/dev/dvb/adapter1/frontend0' and '/dev/dvb/adapter1/demux0'
----------------------------------> Using 'STB0899 DVB-S' DVB-S
do_tune: API version=3, delivery system = 0
do_tune: Frequency = 1068000, Srate = 22000000
do_tune: Frequency = 1068000, Srate = 22000000


Whereas this is the result when using an ordinary Skystar 2 card  
(which works fine):

root@kubuntu7:~/linuxtv-dvb-apps-1.1.1/util/szap# ./szap -r -p -l  
UNIVERSAL -t 0 -a 0 BBC1West
reading channels from file '/root/.szap/channels.conf'
zapping to 1 'BBC1West':
sat 0, frequency = 10818 MHz V, symbolrate 22000000, vpid = 0x0901,  
apid = 0x0904 sid = 0x0002
Querying info .. Delivery system=DVB-S
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
----------------------------------> Using 'ST STV0299 DVB-S' DVB-S
do_tune: API version=3, delivery system = 0
do_tune: Frequency = 1068000, Srate = 22000000
do_tune: Frequency = 1068000, Srate = 22000000


couldn't find pmt-pid for sid 0002
status 1f | signal cac8 | snr cb6d | ber 000061d0 | unc 00000000 |  
FE_HAS_LOCK
status 1f | signal c9f0 | snr d15e | ber 00000000 | unc 00000000 |  
FE_HAS_LOCK
status 1f | signal ca1d | snr d176 | ber 00000000 | unc 00000000 |  
FE_HAS_LOCK


Using szap on the Skystar HD2 caused lots of logs to dmesg:

[   97.691029] stb0899_search: set DVB-S params
[   97.691112] stb0899_search: delivery system=1
[   97.691188] stb0899_search: Frequency=1068000, Srate=22000000
[   97.691269] stb0899_search: Parameters IN RANGE
[   97.692611] _stb0899_read_reg: Reg=[0xf1c2], data=20
[   97.694085] _stb0899_read_reg: Reg=[0xf1c3], data=00
[   97.694166] stb0899_set_delsys: Delivery System -- DVB-S
[   97.695848] _stb0899_read_reg: Reg=[0xf533], data=01
[   97.695929] stb0899_write_regs [0xf533]: 09
[   97.697420] stb0899_write_regs [0xf548]: b1
[   97.698913] stb0899_write_regs [0xf549]: 40
[   97.700410] stb0899_write_regs [0xf54a]: 42
[   97.701778] stb0899_write_regs [0xf54b]: 12
[   97.704225] _stb0899_read_reg: Reg=[0xff11], data=00
[   97.704308] stb0899_write_regs [0xff11]: 80
[   97.705797] stb0899_write_regs [0xf1c2]: 78 07
[   97.707631] stb0899_set_mclk: state->config=ffffffff882654a0
[   97.707713] stb0899_set_mclk: mdiv=21
[   97.707788] stb0899_write_regs [0xf1b3]: 15
[   97.710338] _stb0899_read_reg: Reg=[0xf1b3], data=15
[   97.710427] stb0899_get_mclk: div=21, mclk=99000000
[   97.710505] stb0899_set_mclk: MasterCLOCK=99000000
[   97.710582] stb0899_search: DVB-S delivery system
[   97.712051] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.712131] stb0899_i2c_gate_ctrl: Enabling I2C Repeater ...
[   97.712211] stb0899_write_regs [0xf12a]: dc
[   97.715358] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.717042] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.717121] stb0899_i2c_gate_ctrl: Enabling I2C Repeater ...
[   97.717202] stb0899_write_regs [0xf12a]: dc
[   97.720769] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.726992] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.727071] stb0899_i2c_gate_ctrl: Enabling I2C Repeater ...
[   97.727150] stb0899_write_regs [0xf12a]: dc
[   97.730951] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.731030] stb6100_set_bandwidth: Bandwidth=51610000
[   97.732640] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.732719] stb0899_i2c_gate_ctrl: Enabling I2C Repeater ...
[   97.732800] stb0899_write_regs [0xf12a]: dc
[   97.740229] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.740309] stb6100_get_bandwidth: Bandwidth=52000000
[   97.740311] stb0899_write_regs [0xf157]: 11
[   97.741801] stb0899_search: running DVB-S search algo ..
[   97.741898] stb0899_set_srate: -->
[   97.741973] stb0899_write_regs [0xf446]: 38 e3 90
[   97.744156] stb0899_write_regs [0xf41c]: 89
[   97.746593] _stb0899_read_reg: Reg=[0xf41d], data=94
[   97.746672] stb0899_write_regs [0xf41d]: a7
[   97.748164] stb0899_dvbs_algo: Set the timing loop to acquisition
[   97.748262] stb0899_write_regs [0xf417]: 46
[   97.749648] stb0899_write_regs [0xf41b]: ee
[   97.750809] stb0899_dvbs_algo: Derot Percent=30 Srate=22000000  
mclk=1647
[   97.750893] stb0899_dvbs_algo: RESET stream merger
[   97.752023] _stb0899_read_reg: Reg=[0xff11], data=80
[   97.752103] stb0899_write_regs [0xff11]: c0
[   97.754207] _stb0899_read_reg: Reg=[0xf583], data=5c
[   97.754286] stb0899_write_regs [0xf583]: 3c
[   97.755338] stb0899_write_regs [0xf41e]: 01
[   97.756392] stb0899_write_regs [0xf53d]: 19
[   97.758498] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.758577] stb0899_i2c_gate_ctrl: Enabling I2C Repeater ...
[   97.758656] stb0899_write_regs [0xf12a]: dc
[   97.764979] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.765058] stb6100_get_bandwidth: Bandwidth=52000000
[   97.765060] stb0899_write_regs [0xf43e]: 00 00
[   97.766462] stb0899_write_regs [0xf439]: 00
[   97.768568] _stb0899_read_reg: Reg=[0xf41b], data=ee
[   97.768646] stb0899_write_regs [0xf41b]: ee
[   97.769700] stb0899_dvbs_algo: Tuner set frequency
[   97.770830] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.770909] stb0899_i2c_gate_ctrl: Enabling I2C Repeater ...
[   97.770989] stb0899_write_regs [0xf12a]: dc
[   97.777313] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.777392] stb0899_get_params: Get DVB-S params
[   97.778522] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.778601] stb0899_i2c_gate_ctrl: Enabling I2C Repeater ...
[   97.778680] stb0899_write_regs [0xf12a]: dc
[   97.784985] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.786116] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.786195] stb0899_i2c_gate_ctrl: Enabling I2C Repeater ...
[   97.786274] stb0899_write_regs [0xf12a]: dc
[   97.789079] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.790210] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.790300] stb0899_i2c_gate_ctrl: Enabling I2C Repeater ...
[   97.790380] stb0899_write_regs [0xf12a]: dc
[   97.793185] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.802463] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.802544] stb0899_i2c_gate_ctrl: Enabling I2C Repeater ...
[   97.802623] stb0899_write_regs [0xf12a]: dc
[   97.805428] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.806559] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.806637] stb0899_i2c_gate_ctrl: Enabling I2C Repeater ...
[   97.806716] stb0899_write_regs [0xf12a]: dc
[   97.809521] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.845351] stb6100_set_frequency: Frequency=1068000
[   97.846406] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.846484] stb0899_i2c_gate_ctrl: Enabling I2C Repeater ...
[   97.846563] stb0899_write_regs [0xf12a]: dc
[   97.852886] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.852965] stb6100_get_frequency: Frequency=1068002
[   97.857361] stb0899_dvbs_algo: current derot freq=0
[   97.858492] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.858574] stb0899_i2c_gate_ctrl: Enabling I2C Repeater ...
[   97.858653] stb0899_write_regs [0xf12a]: dc
[   97.864975] _stb0899_read_reg: Reg=[0xf12a], data=5c
[   97.865054] stb6100_get_bandwidth: Bandwidth=52000000
[   97.869318] stb0899_write_regs [0xf439]: f2
[   97.871424] _stb0899_read_reg: Reg=[0xf438], data=80
[   97.872554] _stb0899_read_reg: Reg=[0xf439], data=02
[   97.872633] stb0899_check_tmg: ------->TIMING OK !
[   97.874113] stb0899_read_regs [0xf43e]: fd 6d
[   97.874117] stb0899_search_tmg: ------->TIMING OK ! Derot Freq = -659
[   97.874199] stb0899_dvbs_algo: TIMING OK ! Derot freq=-659, mclk=1647
[   97.875335] _stb0899_read_reg: Reg=[0xf41b], data=ee
[   97.875413] stb0899_write_regs [0xf41b]: ee
[   97.876467] stb0899_search_carrier: Derot Freq=-659, mclk=1647
[   97.882354] _stb0899_read_reg: Reg=[0xf41b], data=ee

Those logs don't look too bad superficially, but it's still not working.

Tim.

> hy,
>
> the wiki is not up2date.
>
> Twinhan VP-1041 support is now in the mantis tree (inkl. multiproto)
>
> hg clone http://jusst.de/hg/mantis
>
> but for me, the old initialization parameters works much better.  
> with the new
> ones i get only a destructed picture (unwatchable).
>
> gernot

[-- Attachment #1.2: Type: text/html, Size: 14326 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] 20+ messages in thread
* [linux-dvb] Help with Skystar HD2 (Twinhan VP-1041/Azurewave AD SP400 rebadge)
@ 2008-02-18 19:05 Tim Hewett
  2008-02-18 21:08 ` Gernot Pansy
  0 siblings, 1 reply; 20+ messages in thread
From: Tim Hewett @ 2008-02-18 19:05 UTC (permalink / raw)
  To: linux-dvb; +Cc: Tim Hewett


[-- Attachment #1.1: Type: text/plain, Size: 3294 bytes --]

I'm trying to get a new Technisat Skystar HD2 working. It looks like  
it is a Twinhan VP-1041/Azurewave AD SP400 rebadge.

The card hardware and satellite feed has been confirmed to work ok  
under Windows using Technisat's software.

I am using the current multiproto DVB drivers, downloaded today. These  
were patched, built and installed successfully as described for the  
Azurewave AD SP400 in the linuxdvb wiki, but the card was not  
recognised on bootup even though it was allocated a DVB adaptor  
number. This appeared in dmesg:

[   57.359723] found a UNKNOWN PCI UNKNOWN device on (01:06.0),
[   57.359802]     Mantis Rev 1 [1ae4:0001], irq: 16, latency: 32
[   57.359858]     memory: 0xe5100000, mmio: 0xffffc200000fc000
[   57.363015]     MAC Address=[00:08:c9:e0:26:92]
[   57.363133] mantis_alloc_buffers (0): DMA=0x1b7a0000  
cpu=0xffff81001b7a0000 size=65536
[   57.363242] mantis_alloc_buffers (0): RISC=0x1ae24000  
cpu=0xffff81001ae24000 size=1000
[   57.363348] DVB: registering new adapter (Mantis dvb adapter)


This is the output of lspci -vvn:

01:06.0 0480: 1822:4e35 (rev 01)
	Subsystem: 1ae4:0001
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-  
Stepping- SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-  
<TAbort- <MAbort- >SERR- <PERR-
	Latency: 32 (2000ns min, 63750ns max)
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at e5100000 (32-bit, prefetchable) [size=4K]

This is the output of lsusb -vv:

01:06.0 Multimedia controller: Twinhan Technology Co. Ltd Mantis DTV  
PCI Bridge Controller [Ver 1.0] (rev 01)
	Subsystem: Unknown device 1ae4:0001
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-  
Stepping- SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-  
<TAbort- <MAbort- >SERR- <PERR-
	Latency: 32 (2000ns min, 63750ns max)
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at e5100000 (32-bit, prefetchable) [size=4K]

Note that subsystem IDs 1ae4:0001 are different to those listed in the  
wiki for the Azurewave (1822:0031).

I changed #define MANTIS_VP_1041_DVB_S2	in linux/drivers/media/dvb/ 
mantis/mantis_vp1041.h from 0x0031 to 0x0001, which changed the dmesg  
output on reboot to this:

[   59.546375] found a VP-1041 PCI DVB-S/DVB-S2 device on (01:06.0),
[   59.546456]     Mantis Rev 1 [1ae4:0001], irq: 16, latency: 32
[   59.546512]     memory: 0xe5100000, mmio: 0xffffc200000fc000
[   59.549609]     MAC Address=[00:08:c9:e0:26:92]
[   59.549719] mantis_alloc_buffers (0): DMA=0x1b7b0000  
cpu=0xffff81001b7b0000 size=65536
[   59.549827] mantis_alloc_buffers (0): RISC=0x1af43000  
cpu=0xffff81001af43000 size=1000
[   59.549933] DVB: registering new adapter (Mantis dvb adapter)
[   60.137583] stb0899_attach: Attaching STB0899
[   60.137665] mantis_frontend_init (0): found STB0899 DVB-S/DVB-S2  
frontend @0x68
[   60.152161] stb6100_attach: Attaching STB6100
[   60.168021] DVB: registering frontend 3 (STB0899 Multistandard)...

So that change seemed to cause the card to be recognised.

Then I tried the replacement scan and szap as suggested by the  
Azurewave wiki, but the card will not tune.

So it appears to be almost working, but I'm not sure what tests to try  
or changes to make to see if it will work.

[-- Attachment #1.2: Type: text/html, Size: 19364 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] 20+ messages in thread

end of thread, other threads:[~2008-02-28  6:49 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-25 18:04 [linux-dvb] Help with Skystar HD2 (Twinhan VP-1041/Azurewave AD SP400 rebadge) Simeon Simeonov
2008-02-25 22:01 ` Manu Abraham
  -- strict thread matches above, loose matches on Subject: below --
2008-02-28  6:48 Simeon Simeonov
2008-02-19 18:11 Simeon Simeonov
2008-02-23  6:34 ` Manu Abraham
2008-02-24 20:26   ` Manu Abraham
2008-02-18 23:51 Tim Hewett
2008-02-19  1:18 ` Gernot Pansy
2008-02-23  6:35   ` Manu Abraham
2008-02-23 22:22 ` Manu Abraham
2008-02-23 23:37   ` Tim Hewett
     [not found]   ` <FE251317-5C82-44A7-B2F3-7F0254A787E6@onetel.com>
2008-02-23 23:43     ` Manu Abraham
2008-02-24  0:33       ` Tim Hewett
     [not found]       ` <342209CC-E522-49BC-A3D6-7A9A7CE23740@onetel.com>
2008-02-24  0:38         ` Manu Abraham
2008-02-24  1:41           ` Tim Hewett
2008-02-24 16:04           ` Tim Hewett
2008-02-24 16:27             ` Manu Abraham
2008-02-24 19:44               ` Tim Hewett
2008-02-18 19:05 Tim Hewett
2008-02-18 21:08 ` Gernot Pansy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox