Re: [PATCH] Add CI support to az6007 driver

2012-03-15 Thread Roger Mårtensson

Jose Alberto Reguero skrev 2012-03-15 13:29:

On Miércoles, 14 de marzo de 2012 18:45:24 Roger Mårtensson escribió:

So the drivers is doing something except I don't get anything in
kaffeine until I restart the application.
Now and then I even have to restart kaffeine twice. Same as above.. I
see it reading but nothing happens.

I seem to find some EPG data since it can tell me what programs should
be shown.


No, I don't have this problem. The only problem I have is when the reception
is not very good, the cam don't work.
Perhaps is a kaffeine problem, or a cam specific problem.



Bummer... :)

I'll see if I can find another DVB-application to test. My CAM is a SMIT 
CONAX cam and it is proven to work and many have had success. I have 
another CAM I could test but earlier test in another DVB-C card didn't work.


Thanks for your work. Hopefully your patch will be included soon. :)

Other than my "problem" everything works as expected.

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] Add CI support to az6007 driver

2012-03-15 Thread Jose Alberto Reguero
On Miércoles, 14 de marzo de 2012 18:45:24 Roger Mårtensson escribió:
> Hello!
> 
> Sorry for the top post but this is just to check with you if you have
> experienced the same problem that I have. See below with some additional
> comments.
> 
> Roger Mårtensson skrev 2012-03-07 20:21:
> > Jose Alberto Reguero skrev 2012-03-06 00:23:
> >> On Lunes, 5 de marzo de 2012 21:42:48 Roger Mårtensson escribió:
> >> 
> >> No. I tested the patch with DVB-T an watch encrypted channels with
> >> vdr without
> >> problems. I don't know why you can't. I don't know gnutv. Try with
> >> other
> >> software if you want.
> > 
> > I have done some more testing and it works.. Sort of. :-)
> > 
> > First let me walk through the dmesg.
> > 
> > First I reinsert the CAM-card:
> > 
> > Mar  7 20:12:36 tvpc kernel: [  959.717666] dvb_ca adapter 2: DVB CAM
> > detected and initialised successfully
> > 
> > The next lines are when I start Kaffeine. Kaffeine gets a lock on the
> > encrypted channel and starts viewing it.
> > 
> > Mar  7 20:13:02 tvpc kernel: [  986.359195] mt2063: detected a mt2063 B3
> > Mar  7 20:13:03 tvpc kernel: [  987.368964] drxk: SCU_RESULT_INVPAR
> > while sending cmd 0x0203 with params:
> > Mar  7 20:13:03 tvpc kernel: [  987.368974] drxk: 02 00 00 00 10 00 05
> > 00 03 02..
> > Mar  7 20:13:06 tvpc kernel: [  990.286628] dvb_ca adapter 2: DVB CAM
> > detected and initialised successfully
> > 
> > And now my "sort of"-comment. When I change the to another encrypted
> > channel in kaffeine I get nothing. To be able to view this channel I
> > need to restart kaffeine.
> > 
> > The only thing that seems different in the logs are that when
> > restarting kaffeine I get the "CAM detected and initialised" but when
> > changing channels I do not get that line.
> > 
> > Maybe there should be another reinit of the CAM somewhere? (just a
> > guess)
> 
> I turned on debugging and I see when changing channels from one
> encrypted to another I get lots of:
> "40 from 0x1read cam data = 0 from 0x1read cam data = 80 from 0x1read
> cam data = "
> 
> So the drivers is doing something except I don't get anything in
> kaffeine until I restart the application.
> Now and then I even have to restart kaffeine twice. Same as above.. I
> see it reading but nothing happens.
> 
> I seem to find some EPG data since it can tell me what programs should
> be shown.

No, I don't have this problem. The only problem I have is when the reception 
is not very good, the cam don't work.
Perhaps is a kaffeine problem, or a cam specific problem.

Jose Alberto
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] Add CI support to az6007 driver

2012-03-14 Thread Roger Mårtensson

Hello!

Sorry for the top post but this is just to check with you if you have 
experienced the same problem that I have. See below with some additional 
comments.


Roger Mårtensson skrev 2012-03-07 20:21:

Jose Alberto Reguero skrev 2012-03-06 00:23:

On Lunes, 5 de marzo de 2012 21:42:48 Roger Mårtensson escribió:

No. I tested the patch with DVB-T an watch encrypted channels with 
vdr without

problems. I don't know why you can't. I don't know gnutv. Try with other
software if you want.


I have done some more testing and it works.. Sort of. :-)

First let me walk through the dmesg.

First I reinsert the CAM-card:

Mar  7 20:12:36 tvpc kernel: [  959.717666] dvb_ca adapter 2: DVB CAM 
detected and initialised successfully


The next lines are when I start Kaffeine. Kaffeine gets a lock on the 
encrypted channel and starts viewing it.


Mar  7 20:13:02 tvpc kernel: [  986.359195] mt2063: detected a mt2063 B3
Mar  7 20:13:03 tvpc kernel: [  987.368964] drxk: SCU_RESULT_INVPAR 
while sending cmd 0x0203 with params:
Mar  7 20:13:03 tvpc kernel: [  987.368974] drxk: 02 00 00 00 10 00 05 
00 03 02..
Mar  7 20:13:06 tvpc kernel: [  990.286628] dvb_ca adapter 2: DVB CAM 
detected and initialised successfully


And now my "sort of"-comment. When I change the to another encrypted 
channel in kaffeine I get nothing. To be able to view this channel I 
need to restart kaffeine.


The only thing that seems different in the logs are that when 
restarting kaffeine I get the "CAM detected and initialised" but when 
changing channels I do not get that line.


Maybe there should be another reinit of the CAM somewhere? (just a guess)


I turned on debugging and I see when changing channels from one 
encrypted to another I get lots of:
"40 from 0x1read cam data = 0 from 0x1read cam data = 80 from 0x1read 
cam data = "


So the drivers is doing something except I don't get anything in 
kaffeine until I restart the application.
Now and then I even have to restart kaffeine twice. Same as above.. I 
see it reading but nothing happens.


I seem to find some EPG data since it can tell me what programs should 
be shown.

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] Add CI support to az6007 driver

2012-03-07 Thread Roger Mårtensson

Jose Alberto Reguero skrev 2012-03-06 00:23:

On Lunes, 5 de marzo de 2012 21:42:48 Roger Mårtensson escribió:

No. I tested the patch with DVB-T an watch encrypted channels with vdr without
problems. I don't know why you can't. I don't know gnutv. Try with other
software if you want.


I have done some more testing and it works.. Sort of. :-)

First let me walk through the dmesg.

First I reinsert the CAM-card:

Mar  7 20:12:36 tvpc kernel: [  959.717666] dvb_ca adapter 2: DVB CAM 
detected and initialised successfully


The next lines are when I start Kaffeine. Kaffeine gets a lock on the 
encrypted channel and starts viewing it.


Mar  7 20:13:02 tvpc kernel: [  986.359195] mt2063: detected a mt2063 B3
Mar  7 20:13:03 tvpc kernel: [  987.368964] drxk: SCU_RESULT_INVPAR 
while sending cmd 0x0203 with params:
Mar  7 20:13:03 tvpc kernel: [  987.368974] drxk: 02 00 00 00 10 00 05 
00 03 02..
Mar  7 20:13:06 tvpc kernel: [  990.286628] dvb_ca adapter 2: DVB CAM 
detected and initialised successfully


And now my "sort of"-comment. When I change the to another encrypted 
channel in kaffeine I get nothing. To be able to view this channel I 
need to restart kaffeine.


The only thing that seems different in the logs are that when restarting 
kaffeine I get the "CAM detected and initialised" but when changing 
channels I do not get that line.


Maybe there should be another reinit of the CAM somewhere? (just a guess)
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] Add CI support to az6007 driver

2012-03-05 Thread Jose Alberto Reguero
On Lunes, 5 de marzo de 2012 21:42:48 Roger Mårtensson escribió:
> Jose Alberto Reguero skrev 2012-03-05 00:22:
> > This patch add CI support to az6007 driver.
> > 
> > Signed-off-by: Jose Alberto Reguero
> 
> Since I have this device and have access to a CAM-card and program card
> to access the encrypted channels(DVB-C) I thought I should try this
> patch and report my findings. First I have to say that I'm just a user
> and no developer.
> 
> After managing to include the patch in media_build I do get this in
> dmesg when inserting the CAM.
> 
> [  395.561886] dvb_ca adapter 2: DVB CAM detected and initialised
> successfully
> 
> When scanning I can find my channels.
> I can watch unencrypted channels without problem even with the CAM inserted.
> 
> When trying a encrypted channel with gnutv I get this:
> 
> $ gnutv -adapter 2 -channels my-channels-v4.conf -out file t.mpg
> -timeout 30 TV3
> Using frontend "DRXK DVB-C DVB-T", type DVB-C
> status SCVYL | signal 02c7 | snr 00be | ber  | unc 0704 |
> FE_HAS_LOCK
> en50221_tl_handle_sb: Received T_SB for connection not in T_STATE_ACTIVE
> from module on slot 00
> 
> en50221_stdcam_llci_poll: Error reported by stack:-7
> 
> CAM Application type: 01
> CAM Application manufacturer: cafe
> CAM Manufacturer code: babe
> CAM Menu string: Conax Conditional Access
> CAM supports the following ca system ids:
>0x0b00
> Received new PMT - sending to CAM...
> 
> And the resulting mpeg file is not watchable with mplayer.
> 
> Do you want me to test anything?
> --

No. I tested the patch with DVB-T an watch encrypted channels with vdr without 
problems. I don't know why you can't. I don't know gnutv. Try with other 
software if you want.

Jose Alberto

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] Add CI support to az6007 driver

2012-03-05 Thread Roger Mårtensson

Jose Alberto Reguero skrev 2012-03-05 00:22:

This patch add CI support to az6007 driver.

Signed-off-by: Jose Alberto Reguero


Since I have this device and have access to a CAM-card and program card 
to access the encrypted channels(DVB-C) I thought I should try this 
patch and report my findings. First I have to say that I'm just a user 
and no developer.


After managing to include the patch in media_build I do get this in 
dmesg when inserting the CAM.


[  395.561886] dvb_ca adapter 2: DVB CAM detected and initialised 
successfully


When scanning I can find my channels.
I can watch unencrypted channels without problem even with the CAM inserted.

When trying a encrypted channel with gnutv I get this:

$ gnutv -adapter 2 -channels my-channels-v4.conf -out file t.mpg 
-timeout 30 TV3

Using frontend "DRXK DVB-C DVB-T", type DVB-C
status SCVYL | signal 02c7 | snr 00be | ber  | unc 0704 | 
FE_HAS_LOCK
en50221_tl_handle_sb: Received T_SB for connection not in T_STATE_ACTIVE 
from module on slot 00


en50221_stdcam_llci_poll: Error reported by stack:-7

CAM Application type: 01
CAM Application manufacturer: cafe
CAM Manufacturer code: babe
CAM Menu string: Conax Conditional Access
CAM supports the following ca system ids:
  0x0b00
Received new PMT - sending to CAM...

And the resulting mpeg file is not watchable with mplayer.

Do you want me to test anything?
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html