Skip to contentSkip to conversation

Prof 7301: switching frontend to stv090x, fixing "LOCK FAILED" issue

PATCH In review Mariusz Bialonczyk 4 participants 12 messages Jan 16, 2011 – Mar 1, 2011 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Prof 7301: switching frontend to stv090x, fixing "LOCK FAILED" issue

Fixing the very annoying tunning issue. When switching from DVB-S2 to DVB-S, it often took minutes to have a lock.
This issue is known to Igor M. Liplianin and was also reported ie. in the following posts:
http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/24573
http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/25275

The patch is changing the frontend from stv0900 to stv090x. The card now works much more reliable. There is no problem with switching from DVB-S2 to DVB-S, tunning works flawless.

---
 drivers/media/video/cx88/Kconfig           |    2 +-
 drivers/media/video/cx88/cx88-dvb.c        |   56 ++++++++++++----------------
 2 files changed, 25 insertions(+), 33 deletions(-)
drivers/media/video/cx88/Kconfig +1 -1
index 5c42abd..57316bb 100644
@@ -60,7 +60,7 @@ config VIDEO_CX88_DVB
 	select DVB_STV0299 if !DVB_FE_CUSTOMISE
 	select DVB_STV0288 if !DVB_FE_CUSTOMISE
 	select DVB_STB6000 if !DVB_FE_CUSTOMISE
-	select DVB_STV0900 if !DVB_FE_CUSTOMISE
+	select DVB_STV090x if !DVB_FE_CUSTOMISE
 	select DVB_STB6100 if !DVB_FE_CUSTOMISE
 	select MEDIA_TUNER_SIMPLE if !MEDIA_TUNER_CUSTOMISE
 	---help---
drivers/media/video/cx88/cx88-dvb.c +24 -32

87 lines not on this page · raw message

Signature · 3 lines
Mariusz Bialonczyk
jabber/e-mail: [email protected]
http://manio.skyboo.net
#1 lore raw
Quoted 6 lines · Mariusz Bialonczyk

Fixing the very annoying tunning issue. When switching from DVB-S2 to DVB-S, it often took minutes to have a lock.
[...]
The patch is changing the frontend from stv0900 to stv090x.
The card now works much more reliable. There is no problem with switching from DVB-S2 to DVB-S, tunning works flawless.

Igor, can I get your ACK on this patch?

regards,

Signature · 3 lines
Mariusz Bialonczyk
jabber/e-mail: [email protected]
http://manio.skyboo.net
#2 lore raw

В сообщении от 28 февраля 2011 13:37:01 автор Mariusz Bialonczyk написал:

Quoted 6 lines · Mariusz Bialonczyk
Quoted 5 lines

Fixing the very annoying tunning issue. When switching from DVB-S2 to DVB-S, it often took minutes to have a lock.

[...]

Quoted 7 lines
Quoted 3 lines

The patch is changing the frontend from stv0900 to stv090x. The card now works much more reliable. There is no problem with switching from DVB-S2 to DVB-S, tunning works flawless.

Igor, can I get your ACK on this patch?

regards,

Never.
Think first what you are asking for.

Signature · 2 lines
Igor M. Liplianin
Microsoft Windows Free Zone - Linux used for all Computing Tasks
#3 lore raw

Hello Igor,

Quoted 11 lines · Igor M. Liplianin

В сообщении от 28 февраля 2011 13:37:01 автор Mariusz Bialonczyk написал:

Quoted 10 lines · Mariusz Bialonczyk
Quoted 8 lines

Fixing the very annoying tunning issue. When switching from DVB-S2 to DVB-S, it often took minutes to have a lock.

[...]

The patch is changing the frontend from stv0900 to stv090x. The card now works much more reliable. There is no problem with switching from DVB-S2 to DVB-S, tunning works flawless.

Quoted 5 lines
Quoted 3 lines

Igor, can I get your ACK on this patch?

regards,

Never.
Think first what you are asking for.

for those who aren't involved in the development of these drivers, may I ask you what's the problem with this patch?

Regards,
Andreas

#4 lore raw

В сообщении от 28 февраля 2011 18:09:56 автор Andreas Oberritter написал:

Quoted 16 lines

Hello Igor,

Quoted 13 lines · Igor M. Liplianin

В сообщении от 28 февраля 2011 13:37:01 автор Mariusz Bialonczyk написал:

Quoted 12 lines · Mariusz Bialonczyk
Quoted 8 lines

Fixing the very annoying tunning issue. When switching from DVB-S2 to DVB-S, it often took minutes to have a lock.

[...]

The patch is changing the frontend from stv0900 to stv090x. The card now works much more reliable. There is no problem with switching from DVB-S2 to DVB-S, tunning works flawless.

Igor, can I get your ACK on this patch?

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

regards,

Never.
Think first what you are asking for.

for those who aren't involved in the development of these drivers, may I ask you what's the problem with this patch?

For those who ...
He asked me to get rid of my driver. Why should I?
I have 7301, test it myself and see nothing bad with stv0900. Obviously, I better patch stv0900 then convert the driver to stv090x. And if you ask something then be prepaired to not be given smth.

Best Regards
Igor

Quoted 3 lines

Regards,
Andreas

Signature · 2 lines
Igor M. Liplianin
Microsoft Windows Free Zone - Linux used for all Computing Tasks
#5 lore raw
Quoted 2 lines · Igor M. Liplianin

For those who ...
He asked me to get rid of my driver. Why should I?

Maybe because (now) your frontend has problems with tunning on this card? I though that references are known for you:
1. http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/24573
2. http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/25275
3. http://linuxdvb.org.ru/wbb/index.php?page=Thread&threadID=641

And to be more specific: I am not asking to get rid of your driver, my patch doesn't touch your stv0900 implementation, it only change the frontend for one particular card.

Quoted 1 line

I have 7301, test it myself and see nothing bad with stv0900.

If it is working for you - lucky you! But keep in mind that it it doesn't mean that it is working for others. Have you tested it with my patch applied? Besides it is not using your frontend, maybe it just *work*?

Quoted 1 line

Obviously, I better patch stv0900 then convert the driver to stv090x.

Sure, go ahead... I am only wondering why wasn't you so helpful when I was trying to contact you and offer debugging help when I discovered the problem after I started using this card. Your only response was:
"I know this issue. Your card is fine."
So now I resolved the problem myself and sent a working solution (tested by some people - always with good results) and you disagree now.

I'm only hoping that a hardware *usability* will win over an ego!

regards,

Signature · 3 lines
Mariusz Bialonczyk
jabber/e-mail: [email protected]
http://manio.skyboo.net
#6 lore raw

В сообщении от 28 февраля 2011 21:45:46 автор Mariusz Bialonczyk написал:

Quoted 31 lines · Igor M. Liplianin
Quoted 2 lines

For those who ...
He asked me to get rid of my driver. Why should I?

Maybe because (now) your frontend has problems with tunning on this card? I though that references are known for you:
1.
http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/24
573 2.
http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/25
275 3. http://linuxdvb.org.ru/wbb/index.php?page=Thread&threadID=641

And to be more specific: I am not asking to get rid of your driver, my patch doesn't touch your stv0900 implementation, it only change the frontend for one particular card.

Quoted 1 line

I have 7301, test it myself and see nothing bad with stv0900.

If it is working for you - lucky you! But keep in mind that it it doesn't mean that it is working for others. Have you tested it with my patch applied? Besides it is not using your frontend, maybe it just *work*?

Quoted 1 line

Obviously, I better patch stv0900 then convert the driver to stv090x.

Sure, go ahead... I am only wondering why wasn't you so helpful when I was trying to contact you and offer debugging help when I discovered the problem after I started using this card. Your only response was:
"I know this issue. Your card is fine."
So now I resolved the problem myself and sent a working solution (tested by some people - always with good results) and you disagree now.

Quoted 3 lines

I'm only hoping that a hardware *usability* will win over an ego!

regards,

Sorry, I have nothing against you personally.
I have excuses, but you not intresting, I think.
Peace, friendship, chewing gum, like we use to say in my childhood :)

Switching to other driver not helps me, so be patient.

I patched stv0900 and send pull request.
Tested on Prof 7301, 7500, NetUP Dual DVB-S2, DVBWorld 2104 cards by myself. With all of that vendors I have good relationships.

Signature · 2 lines
Igor M. Liplianin
Microsoft Windows Free Zone - Linux used for all Computing Tasks
#7 lore raw
Quoted 1 line · Igor M. Liplianin

Sorry, I have nothing against you personally.

me too :)

Quoted 6 lines

I have excuses, but you not intresting, I think.
Peace, friendship, chewing gum, like we use to say in my childhood :)

Switching to other driver not helps me, so be patient.

I patched stv0900 and send pull request.

I've tested it - and for the first sight it seems that it indeed solves the problem. Thank you :)

And about frontend: I think I found a solution which I hope will satisfy all of us. I think it would be great if user have an alternative option to use stv090x frontend anyway. I mean your frontend as default, but a module parameter which enables using stv090x instead of stv0900 (enabling what's is inside my patch). This will be a flexible solution which shouldn't harm anyone, but instead gives an option.

Igor, Mauro, do you have objections against this solution? If you agree, then I'll try to prepare an RFC patch for that.

regards,

Signature · 3 lines
Mariusz Bialonczyk
jabber/e-mail: [email protected]
http://manio.skyboo.net
#8 lore raw

В сообщении от 1 марта 2011 00:24:32 автор Mariusz Bialonczyk написал:

Quoted 23 lines · Igor M. Liplianin
Quoted 1 line

Sorry, I have nothing against you personally.

me too :)

Quoted 6 lines

I have excuses, but you not intresting, I think.
Peace, friendship, chewing gum, like we use to say in my childhood :)

Switching to other driver not helps me, so be patient.

I patched stv0900 and send pull request.

I've tested it - and for the first sight it seems that it indeed solves the problem. Thank you :)

And about frontend: I think I found a solution which I hope will satisfy all of us. I think it would be great if user have an alternative option to use stv090x frontend anyway. I mean your frontend as default, but a module parameter which enables using stv090x instead of stv0900 (enabling what's is inside my patch). This will be a flexible solution which shouldn't harm anyone, but instead gives an option.

Quoted 2 lines

Igor, Mauro, do you have objections against this solution? If you agree, then I'll try to prepare an RFC patch for that.

Well, I didn't change my mind.
There is not an option, but splitting efforts in two ways.

Quoted 2 lines

regards,

Signature · 2 lines
Igor M. Liplianin
Microsoft Windows Free Zone - Linux used for all Computing Tasks
#9 lore raw

Em 28-02-2011 20:17, Igor M. Liplianin escreveu:

Quoted 24 lines

В сообщении от 1 марта 2011 00:24:32 автор Mariusz Bialonczyk написал:

Quoted 23 lines · Igor M. Liplianin
Quoted 1 line

Sorry, I have nothing against you personally.

me too :)

Quoted 6 lines

I have excuses, but you not intresting, I think.
Peace, friendship, chewing gum, like we use to say in my childhood :)

Switching to other driver not helps me, so be patient.

I patched stv0900 and send pull request.

I've tested it - and for the first sight it seems that it indeed solves the problem. Thank you :)

And about frontend: I think I found a solution which I hope will satisfy all of us. I think it would be great if user have an alternative option to use stv090x frontend anyway. I mean your frontend as default, but a module parameter which enables using stv090x instead of stv0900 (enabling what's is inside my patch). This will be a flexible solution which shouldn't harm anyone, but instead gives an option.

Quoted 4 lines
Quoted 2 lines

Igor, Mauro, do you have objections against this solution? If you agree, then I'll try to prepare an RFC patch for that.

Well, I didn't change my mind.
There is not an option, but splitting efforts in two ways.

An option to switch between them will just double maintenance efforts, as both ways would needed to be tested. So, I don't think this is the right way.

The proper long-term solution would be to merge stv090x and stv0900.

Cheers,
Mauro

#10 lore raw
In reply to Mariusz Bialonczyk

В сообщении от 28 февраля 2011 21:45:46 автор Mariusz Bialonczyk написал:

Quoted 31 lines · Igor M. Liplianin
Quoted 2 lines

For those who ...
He asked me to get rid of my driver. Why should I?

Maybe because (now) your frontend has problems with tunning on this card? I though that references are known for you:
1.
http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/24
573 2.
http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/25
275 3. http://linuxdvb.org.ru/wbb/index.php?page=Thread&threadID=641

And to be more specific: I am not asking to get rid of your driver, my patch doesn't touch your stv0900 implementation, it only change the frontend for one particular card.

Quoted 1 line

I have 7301, test it myself and see nothing bad with stv0900.

If it is working for you - lucky you! But keep in mind that it it doesn't mean that it is working for others. Have you tested it with my patch applied? Besides it is not using your frontend, maybe it just *work*?

Quoted 1 line

Obviously, I better patch stv0900 then convert the driver to stv090x.

Sure, go ahead... I am only wondering why wasn't you so helpful when I was trying to contact you and offer debugging help when I discovered the problem after I started using this card. Your only response was:
"I know this issue. Your card is fine."
So now I resolved the problem myself and sent a working solution (tested by some people - always with good results) and you disagree now.

Quoted 3 lines

I'm only hoping that a hardware *usability* will win over an ego!

regards,

http://git.linuxtv.org/liplianin/media_tree.git?a=shortlog;h=refs/heads/dual_dvb_t_c_ci_rf

Signature · 2 lines
Igor M. Liplianin
Microsoft Windows Free Zone - Linux used for all Computing Tasks