It is currently 09 Sep 2010, 23:30

All times are UTC + 1 hour




Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: Desperate! Firedtv DVBT/CI, encrypted channels
PostPosted: 01 Oct 2009, 21:24 
Offline
User avatar

Joined: 23 May 2008, 17:44
Posts: 45
Location: Linkoping, Sweden
My suspicions were correct. The PMT had grown larger after the evolution that Boxer did some time ago. This triggered a bug in the drivers. I have created a patch that corrects the issue. Please give it a try and let me know.

I have tested both TV3 and Kanal 5 for a while tonight and they both work like a charm again.

Grab the patch at http://firesat.kurelid.se/

Happy hacking!

_________________
Check out my latest firedtv patches at http://firedtv.kurelid.se.


Top
 Profile  
 
 Post subject: Re: Desperate! Firedtv DVBT/CI, encrypted channels
PostPosted: 02 Oct 2009, 11:26 
Offline

Joined: 02 Feb 2009, 16:08
Posts: 13
Thank you Henrik! After 2 weeks of compiling, testing, swearing, you fixed it in a couple of days!

Compiled 2.6.30-5, and kaffeine showed all channels without problems.

Only problem now is mythtv, before my channels begun disappear, mythtv worked, but i had 0.20 then i believe.

If anyone knows a working version, please let me know!


Top
 Profile  
 
 Post subject: Re: Desperate! Firedtv DVBT/CI, encrypted channels
PostPosted: 02 Oct 2009, 11:56 
Offline
User avatar

Joined: 23 May 2008, 17:44
Posts: 45
Location: Linkoping, Sweden
Great to hear that it is working for you!

Regarding your MythTV issue, I am running 0.21 (latest standard RPMs for Fedora 10) with minor issues only so I can recommend that. I hardly believe 0.20 is being maintained anymore so an upgrade to 0.21 is recommended.

_________________
Check out my latest firedtv patches at http://firedtv.kurelid.se.


Top
 Profile  
 
 Post subject: Re: Desperate! Firedtv DVBT/CI, encrypted channels
PostPosted: 02 Oct 2009, 12:08 
Offline

Joined: 02 Feb 2009, 16:08
Posts: 13
I'm using 0.21, i had 0.20 before the trouble with boxer.

-v dvbcam:

Code:
2009-10-02 12:35:55.390 TVRec(4): HW Tuner: 4->4
2009-10-02 12:35:56.217 DVBChan(4:0) Warning: Unsupported code_rate_hp parameter.
2009-10-02 12:35:56.217 DVBChan(4:0) Warning: Unsupported code_rate_lp parameter.
2009-10-02 12:35:56.217 DVBChan(4:0) Warning: Unsupported constellation parameter.
2009-10-02 12:35:57.955 Finished recording Våra värsta år: channel 1006
2009-10-02 12:35:58.035 Using runtime prefix = /usr
2009-10-02 12:35:58.036 Empty LocalHostName.
2009-10-02 12:35:58.036 Using localhost value of server
2009-10-02 12:35:58.040 DVBSM(0), Warning: Can not count Uncorrected Blocks
         eno: Operationen stöds ej (95)
2009-10-02 12:35:58.044 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
2009-10-02 12:35:58.052 New DB connection, total: 1
2009-10-02 12:35:58.058 Connected to database 'mythconverg' at host: localhost
2009-10-02 12:35:58.059 Closing DB connection named 'DBManager0'
2009-10-02 12:35:58.060 Connected to database 'mythconverg' at host: localhost
2009-10-02 12:35:58.060 New DB connection, total: 2
2009-10-02 12:35:58.061 Connected to database 'mythconverg' at host: localhost
2009-10-02 12:35:58.062 Current Schema Version: 1214
2009-10-02 12:35:58.848 DTVSM(0) Error: Wrong PMT; pmt->pn(740) desired(840)
2009-10-02 12:35:58.848 DTVSM(0) Error: Wrong PMT; pmt->pn(860) desired(840)
2009-10-02 12:35:58.848 DTVSM(0) Error: Wrong PMT; pmt->pn(930) desired(840)
2009-10-02 12:35:58.848 DTVSM(0) Error: Wrong PMT; pmt->pn(940) desired(840)
2009-10-02 12:35:58.849 DTVSM(0) Error: Wrong PMT; pmt->pn(1080) desired(840)
2009-10-02 12:35:58.849 DTVSM(0) Error: Wrong PMT; pmt->pn(950) desired(840)
2009-10-02 12:35:58.849 DTVSM(0) Error: Wrong PMT; pmt->pn(65534) desired(840)
2009-10-02 12:35:58.849 DTVSM(0) Error: Wrong PMT; pmt->pn(1190) desired(840)
2009-10-02 12:35:58.849 DTVSM(0) Error: Wrong PMT; pmt->pn(4770) desired(840)
2009-10-02 12:35:58.853 DVB#0 CA: CiHandler needs CA_PMT
2009-10-02 12:35:58.853 DVB#0 CA: Creating CA_PMT, ServiceID = 840
2009-10-02 12:35:58.854 Adding elementary stream: video-mpeg2, pid(0x351)
2009-10-02 12:35:58.854 Adding elementary stream: audio-mp1-layer[1,2,3], pid(0x350)
2009-10-02 12:35:58.854 Adding elementary stream: private-data, pid(0x34e)
2009-10-02 12:35:58.854 DVB#0 CA: Sending CA_PMT with CPLM_ONLY to CI slot #0
Setting CA PMT.
Sending message=[9f 80 32 ]
2009-10-02 12:35:59.388 DTVSM(0) Error: Wrong PMT; pmt->pn(4780) desired(840)
2009-10-02 12:36:00.552 AFD: Opened codec 0x92c0f70, id(MPEG2VIDEO) type(Video)
2009-10-02 12:36:00.553 AFD: codec MP3 has 2 channels
2009-10-02 12:36:00.553 AFD: Opened codec 0x92c1560, id(MP3) type(Audio)
2009-10-02 12:36:00.621 Preview: Grabbed preview '/var/mythtv/1006_20091002123530.mpg' 720x576@64s
2009-10-02 12:36:03.107 PID 0x350 status: Encrypted
2009-10-02 12:36:07.561 PID 0x351 status: Encrypted


This is strange, could it be an ubuntu build options issue? I used Fedora to when it worked.


Top
 Profile  
 
 Post subject: Re: Desperate! Firedtv DVBT/CI, encrypted channels
PostPosted: 02 Oct 2009, 12:18 
Offline
User avatar

Joined: 23 May 2008, 17:44
Posts: 45
Location: Linkoping, Sweden
I see no real problem in this log (other than the PIDs not being decrypted of course). The correct PMT is eventually found (840) and a CA_PMT is created and sent to the driver. However, after that the PIDs are still encrypted. Could you enable logging of the firedtv driver and post the "APP PMT" lines as well as the lines just after that?

_________________
Check out my latest firedtv patches at http://firedtv.kurelid.se.


Top
 Profile  
 
 Post subject: Re: Desperate! Firedtv DVBT/CI, encrypted channels
PostPosted: 02 Oct 2009, 13:03 
Offline

Joined: 02 Feb 2009, 16:08
Posts: 13
I mailed debug (echo 0xFFFE > /sys/module/firedtv/parameters/debug)

1. with mythbackend TV4 and then switch to TV3

2. Kaffein TV3 (that works)

EDIT: There were no app pmt entrys, change in debug in kernel 2.6.30-5? wich kernel do you have? Might try the same.

EDIT2: would be nice if the files i sent actually had something in them :), will do it again, sorry about that..


Top
 Profile  
 
 Post subject: Re: Desperate! Firedtv DVBT/CI, encrypted channels
PostPosted: 02 Oct 2009, 16:56 
Offline

Joined: 02 Feb 2009, 16:08
Posts: 13
Im installing Fedora 11 now, to see if that works.


Top
 Profile  
 
 Post subject: Re: Desperate! Firedtv DVBT/CI, encrypted channels
PostPosted: 02 Oct 2009, 17:13 
Offline
User avatar

Joined: 23 May 2008, 17:44
Posts: 45
Location: Linkoping, Sweden
For better logs (APP PMT etc.), please apply my "refine AVC debug" patch from the link below.

_________________
Check out my latest firedtv patches at http://firedtv.kurelid.se.


Top
 Profile  
 
 Post subject: Re: Desperate! Firedtv DVBT/CI, encrypted channels
PostPosted: 02 Oct 2009, 20:49 
Offline

Joined: 02 Feb 2009, 16:08
Posts: 13
Ok, thought that one added, fedora 11 installed and configured:
kernel 2.6.30.8-64
mythtv -0.21-20
qam_65, guard 1/4, hp_code_rate 2/4. lp_code_rate auto, 8mhz, 8k

kaffeine works perfekt, mythtv still don't on encrypted channels.



DEGUG:
Code:
FCP -> su=5.0 l=24: CONTROL  - DirectSelectData
FCP -> 00 28 cb 00 d2 20 00 0c 68 00 00 05 11 30 14 00
FCP -> 00 00 00 00 00 00 00 00
FCP <- su=5.0 l=24: ACCEPTED - DirectSelectData
FCP <- 09 28 cb 00 d2 20 00 0c 68 00 00 05 11 30 14 00
FCP <- 00 00 00 00 00 00 00 00
FCP -> su=5.0 l=24: CONTROL  - DirectSelectData
FCP -> 00 28 cb 00 d2 20 00 0c 68 00 00 05 10 ce 6c 00
FCP -> 00 00 00 00 00 00 00 00
FCP <- su=5.0 l=24: ACCEPTED - DirectSelectData
FCP <- 09 28 cb 00 d2 20 00 0c 68 00 00 05 10 ce 6c 00
FCP <- 00 00 00 00 00 00 00 00
FCP -> su=5.0 l=12: STATUS   - CA2Host
FCP -> 01 28 00 00 12 87 57 00 01 00 00 00
FCP <- su=5.0 l=36: IMPLEMENTED/STABLE - CA2Host
FCP <- 0c 28 00 00 12 87 57 00 01 00 14 ca fe ba be 0f
FCP <- 56 69 61 63 63 65 73 73 20 41 63 63 65 73 73 00
FCP <- 00 00 00 00
FCP -> su=5.0 l=24: CONTROL  - DirectSelectData
FCP -> 00 28 cb 00 d2 20 00 0c 7d 40 00 03 04 18 40 00
FCP -> 82 1a 00 00 00 00 00 00
FCP <- su=5.0 l=24: ACCEPTED - DirectSelectData
FCP <- 09 28 cb 00 d2 20 00 0c 7d 40 00 03 04 18 40 00
FCP <- 82 1a 00 00 00 00 00 00
firedtv 0012870035000fa9-0: FCP response timed out
FCP -> su=5.0 l=16: CONTROL  - DirectSelectData
FCP -> 00 28 cb 00 d2 20 00 00 01 13 80 00 00 00 00 00
FCP <- su=5.0 l=16: ACCEPTED - DirectSelectData
FCP <- 09 28 cb 00 d2 20 00 00 01 13 80 00 00 00 00 00
FCP -> su=5.0 l=12: CONTROL  - DirectSelectData
FCP -> 00 28 cb 00 d2 20 00 00 00 00 00 00
FCP <- su=5.0 l=12: ACCEPTED - DirectSelectData
FCP <- 09 28 cb 00 d2 20 00 00 00 00 00 00
FCP -> su=5.0 l=16: CONTROL  - DirectSelectData
FCP -> 00 28 cb 00 d2 20 00 00 01 13 80 00 00 00 00 00
FCP <- su=5.0 l=16: ACCEPTED - DirectSelectData
FCP <- 09 28 cb 00 d2 20 00 00 01 13 80 00 00 00 00 00
FCP -> su=5.0 l=24: CONTROL  - DirectSelectData
FCP -> 00 28 cb 00 d2 20 00 00 02 13 80 00 00 00 00 13
FCP -> 80 03 48 00 00 00 00 00
FCP <- su=5.0 l=24: ACCEPTED - DirectSelectData
FCP <- 09 28 cb 00 d2 20 00 00 02 13 80 00 00 00 00 13
FCP <- 80 03 48 00 00 00 00 00
FCP -> su=5.0 l=28: CONTROL  - DirectSelectData
FCP -> 00 28 cb 00 d2 20 00 00 03 13 80 00 00 00 00 13
FCP -> 80 03 48 00 00 13 80 03 4e 00 00 00
APP PMT -> l=21
APP PMT -> 03 03 48 01 00 00 02 03 51 00 00 03 03 50 00 00
APP PMT -> 06 03 4e 00 00
FCP <- su=5.0 l=28: ACCEPTED - DirectSelectData
FCP <- 09 28 cb 00 d2 20 00 00 03 13 80 00 00 00 00 13
FCP <- 80 03 48 00 00 13 80 03 4e 00 00 00
FCP -> su=5.0 l=48: CONTROL  - Host2CA
FCP -> 00 28 00 00 12 87 56 00 02 00 82 00 21 03 01 02
FCP -> 80 1c 03 48 01 00 00 1f ff 00 00 02 03 51 00 00
FCP -> 03 03 50 00 00 06 03 4e 00 00 0d 43 26 d9 00 00
FCP -> su=5.0 l=48: CONTROL  - Host2CA
FCP -> 00 28 00 00 12 87 56 00 02 00 82 00 21 03 01 02
FCP -> 80 1c 03 48 01 00 00 1f ff 00 00 02 03 51 00 00
FCP -> 03 03 50 00 00 06 03 4e 00 00 0d 43 26 d9 00 00
FCP <- su=5.0 l=8: ACCEPTED - Host2CA
FCP <- 09 28 00 00 12 87 56 00
FCP -> su=5.0 l=36: CONTROL  - DirectSelectData
FCP -> 00 28 cb 00 d2 20 00 00 04 13 80 00 00 00 00 13
FCP -> 80 03 48 00 00 13 80 03 4e 00 00 13 80 03 50 00
FCP -> 00 00 00 00
FCP <- su=5.0 l=36: ACCEPTED - DirectSelectData
FCP <- 09 28 cb 00 d2 20 00 00 04 13 80 00 00 00 00 13
FCP <- 80 03 48 00 00 13 80 03 4e 00 00 13 80 03 50 00
FCP <- 00 00 00 00
FCP -> su=5.0 l=40: CONTROL  - DirectSelectData
FCP -> 00 28 cb 00 d2 20 00 00 05 13 80 00 00 00 00 13
FCP -> 80 03 48 00 00 13 80 03 4e 00 00 13 80 03 50 00
FCP -> 00 13 80 03 51 00 00 00
FCP <- su=5.0 l=40: ACCEPTED - DirectSelectData
FCP <- 09 28 cb 00 d2 20 00 00 05 13 80 00 00 00 00 13
FCP <- 80 03 48 00 00 13 80 03 4e 00 00 13 80 03 50 00
FCP <- 00 13 80 03 51 00 00 00
FCP -> su=5.0 l=36: CONTROL  - DirectSelectData
FCP -> 00 28 cb 00 d2 20 00 00 04 13 80 03 48 00 00 13
FCP -> 80 03 4e 00 00 13 80 03 50 00 00 13 80 03 51 00
FCP -> 00 00 00 00
FCP <- su=5.0 l=36: ACCEPTED - DirectSelectData
FCP <- 09 28 cb 00 d2 20 00 00 04 13 80 03 48 00 00 13
FCP <- 80 03 4e 00 00 13 80 03 50 00 00 13 80 03 51 00
FCP <- 00 00 00 00
FCP -> su=5.0 l=28: CONTROL  - DirectSelectData
FCP -> 00 28 cb 00 d2 20 00 00 03 13 80 03 4e 00 00 13
FCP -> 80 03 50 00 00 13 80 03 51 00 00 00
FCP <- su=5.0 l=28: ACCEPTED - DirectSelectData


Top
 Profile  
 
 Post subject: Re: Desperate! Firedtv DVBT/CI, encrypted channels
PostPosted: 04 Oct 2009, 00:24 
Offline

Joined: 02 Feb 2009, 16:08
Posts: 13
Today`s my birthday, and my wish is that Henrik says:"hey, thats no problem, just do this, and everything is going to be all right!"

:)

Regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2007 phpBB Group
xand 2 for phpBB3 by Thomas Hoornstra and Shadow_One