[linux-dvb] budget-ci: IR interrupt disabling CI module?

David Härdeman david at hardeman.nu
Thu Oct 26 02:16:51 CEST 2006


I'm currently trying to get a TechnoTrend C-1500 Budget card (using the 
budget-ci module), using a CAM module, working with MythTV.

After some debugging it seems that it does work fine until I use the 
remote, so if I control MythTV using a regular keyboard...I am able to 
watch channels as normal...but as soon as I push any button on the 
remote, the CI communication dies.

I'm using modules built from sources pulled from the hg repo today. The 
debugging output from MythTV is included below.

In addition, I've verified that the same problem appears when using 
gnutv from the dvb-apps repo, which starts to spit out 
"en50221_stdcam_llci_poll: Error reported by stack:-3" after the first 
IR interrupt has been generated.

Now, if this is really a bug in the budget-ci module, I'm surprised that 
noone else has experienced it. So I'm hoping to get some feedback here 
cause I'm at a loss to figure out what is going on...

-- 
David Härdeman

MythTV debug output:
====================

2006-10-25 22:34:27.606 Using runtime prefix = /usr
2006-10-25 22:34:27.743 New DB connection, total: 1
2006-10-25 22:34:27.775 Connected to database 'mythconverg' at host: localhost
2006-10-25 22:34:27.781 Current Schema Version: 1160
Starting up as the master server.
2006-10-25 22:34:27.907 New DB connection, total: 2
2006-10-25 22:34:27.917 Connected to database 'mythconverg' at host: localhost
2006-10-25 22:34:27.932 EITHelper: localtime offset 2:00:00 
Resetting slot 0...ok.
2006-10-25 22:34:28.156 New DB connection, total: 3
2006-10-25 22:34:28.158 Connected to database 'mythconverg' at host: localhost
2006-10-25 22:34:28.260 DVBTuning Warning: Invalid inversion, aborting, falling back to 'auto'
2006-10-25 22:34:28.354 New DB scheduler connection
Module ready in slot 0
Creating connection: slot 0, tcid 1
--> 00 01 82 01 01 
2006-10-25 22:34:28.381 Connected to database 'mythconverg' at host: localhost
<-- 00 01 83 01 01 80 02 01 00 
    .  .  .  .  .  .  .  .  . 
2006-10-25 22:34:28.398 Main::Starting HttpServer
2006-10-25 22:34:28.462 Main::Registering HttpStatus Extension
2006-10-25 22:34:28.510 mythbackend version: 0.20.20060828-3 www.mythtv.org
2006-10-25 22:34:28.525 Enabled verbose msgs:  important general
--> 00 01 A0 01 01 
<-- 00 01 80 02 01 80 
    .  .  .  .  .  . 
--> 00 01 81 01 01 
2006-10-25 22:34:28.588 AutoExpire: Found 1 recorders w/max rate of 138 MiB/min
2006-10-25 22:34:28.643 AutoExpire: Required Free Space: 3.0 GB w/freq: 10 min
<-- 00 01 A0 07 01 91 04 00 01 00 41 80 02 01 00 
    .  .  .  .  .  .  .  .  .  .  A  .  .  .  . 
OpenSession 00010041
New Resource Manager (session id 1)
--> 00 01 A0 0A 01 92 07 00 00 01 00 41 00 01 
<-- 00 01 80 02 01 00 
    .  .  .  .  .  . 
1: ==> Profile Enq
--> 00 01 A0 09 01 90 02 00 01 9F 80 10 00 
<-- 00 01 80 02 01 00 
    .  .  .  .  .  . 
--> 00 01 A0 01 01 
<-- 00 01 80 02 01 80 
    .  .  .  .  .  . 
--> 00 01 81 01 01 
<-- 00 01 A0 82 00 09 01 90 02 00 01 9F 80 11 00 80 02 01 00 
    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 
1: <== Profile
1: ==> Profile Change
--> 00 01 A0 09 01 90 02 00 01 9F 80 12 00 
<-- 00 01 80 02 01 00 
    .  .  .  .  .  . 
--> 00 01 A0 01 01 
<-- 00 01 80 02 01 80 
    .  .  .  .  .  . 
--> 00 01 81 01 01 
<-- 00 01 A0 82 00 09 01 90 02 00 01 9F 80 10 00 80 02 01 00 
    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 
1: <== Profile Enquiry
1: ==> Profile
--> 00 01 A0 1D 01 90 02 00 01 9F 80 11 14 00 01 00 41 00 02 00 41 00 03 00 41 00 24 00 41 00 40 00 41 
<-- 00 01 80 02 01 00 
    .  .  .  .  .  . 
--> 00 01 A0 01 01 
<-- 00 01 80 02 01 80 
    .  .  .  .  .  . 
--> 00 01 81 01 01 
<-- 00 01 A0 07 01 91 04 00 02 00 41 80 02 01 00 
    .  .  .  .  .  .  .  .  .  .  A  .  .  .  . 
OpenSession 00020041
New Application Information (session id 2)
--> 00 01 A0 0A 01 92 07 00 00 02 00 41 00 02 
2006-10-25 22:34:30.399 Reschedule requested for id -1.
<-- 00 01 80 02 01 00 
    .  .  .  .  .  . 
2: ==> Application Info Enq
--> 00 01 A0 09 01 90 02 00 02 9F 80 20 00 
2006-10-25 22:34:31.092 Scheduled 0 items in 0.7 = 0.64 match + 0.05 place
<-- 00 01 80 02 01 80 
    .  .  .  .  .  . 
2006-10-25 22:34:31.222 Seem to be woken up by USER
--> 00 01 81 01 01 
<-- 00 01 A0 07 01 91 04 00 03 00 41 80 02 01 00 
    .  .  .  .  .  .  .  .  .  .  A  .  .  .  . 
OpenSession 00030041
New Conditional Access Support (session id 3)
--> 00 01 A0 0A 01 92 07 00 00 03 00 41 00 03 
<-- 00 01 80 02 01 80 
    .  .  .  .  .  . 
3: ==> Ca Info Enq
--> 00 01 A0 09 01 90 02 00 03 9F 80 30 00 
<-- 00 01 80 02 01 00 
    .  .  .  .  .  . 
--> 00 01 A0 01 01 
<-- 00 01 80 02 01 00 
    .  .  .  .  .  . 
--> 00 01 A0 01 01 
<-- 00 01 80 02 01 00 
    .  .  .  .  .  . 
--> 00 01 A0 01 01 
<-- 00 01 80 02 01 00 
    .  .  .  .  .  . 
--> 00 01 A0 01 01 
<-- 00 01 80 02 01 00 
    .  .  .  .  .  . 
--> 00 01 A0 01 01 
2006-10-25 22:34:32.894 MainServer::HandleAnnounce Monitor
2006-10-25 22:34:32.922 adding: drevil as a client (events: 0)
<-- 00 01 80 02 01 80 
    .  .  .  .  .  . 
--> 00 01 81 01 01 
2006-10-25 22:34:32.925 MainServer::HandleAnnounce Monitor
<-- 00 01 A0 82 00 19 01 90 02 00 02 9F 80 21 10 01 4A 20 4A 20 0A 41 6C 70 68 61 43 72 79 70 74 80 02 01 00 
    .  .  .  .  .  .  .  .  .  .  .  .  .  !  .  .  J     J     .  A  l  p  h  a  C  r  y  p  t  .  .  .  . 
2: <== Application Info
CAM: AlphaCrypt, 01, 4A20, 4A20
2006-10-25 22:34:33.025 adding: drevil as a client (events: 1)
--> 00 01 A0 01 01 
<-- 00 01 80 02 01 80 
    .  .  .  .  .  . 
--> 00 01 81 01 01 
<-- 00 01 A0 82 00 27 01 90 02 00 03 9F 80 31 1E 06 02 06 04 06 06 06 08 17 02 17 22 17 62 4A 20 05 00 0B 00 0D 00 0D 03 0D 05 0D 0C 0D 22 80 
02 01 00 
    .  .  .  .  .  '  .  .  .  .  .  .  .  1  .  .  .  .  .  .  .  .  .  .  .  .  "  .  b  J     .  .  .  .  .  .  .  .  .  .  .  .  .  "  .  
.  .  . 
3: <== Ca Info 0602 0604 0606 0608 1702 1722 1762 4A20 0500 0B00 0D00 0D03 0D05 0D0C 0D22
--> 00 01 A0 01 01 
<-- 00 01 80 02 01 80 
    .  .  .  .  .  . 
--> 00 01 81 01 01 
<-- 00 01 A0 07 01 91 04 00 24 00 41 80 02 01 00 
    .  .  .  .  .  .  .  .  $  .  A  .  .  .  . 
OpenSession 00240041
New Date Time (session id 4)
--> 00 01 A0 0A 01 92 07 00 00 24 00 41 00 04 
<-- 00 01 80 02 01 00 
    .  .  .  .  .  . 
--> 00 01 A0 01 01 
<-- 00 01 80 02 01 80 
    .  .  .  .  .  . 
--> 00 01 81 01 01 
<-- 00 01 A0 82 00 0A 01 90 02 00 04 9F 84 40 01 05 80 02 01 00 
    .  .  .  .  .  .  .  .  .  .  .  .  .  @  .  .  .  .  .  . 
4: <== Date Time Enq, interval = 5
4: ==> Date Time

--> 00 01 A0 10 01 90 02 00 04 9F 84 41 07 D3 11 20 34 35 D1 00 
<-- 00 01 80 02 01 00 
    .  .  .  .  .  . 
--> 00 01 A0 01 01 
<-- 00 01 80 02 01 00 
    .  .  .  .  .  . 
--> 00 01 A0 01 01 
<-- 00 01 80 02 01 00 
    .  .  .  .  .  . 
<snip polling repeats>
4: ==> Date Time
--> 00 01 A0 10 01 90 02 00 04 9F 84 41 07 D3 11 20 34 53 D1 00 
<-- 00 01 80 02 01 00 
    .  .  .  .  .  . 
--> 00 01 A0 01 01 
<-- 00 01 80 02 01 00 
    .  .  .  .  .  . 
--> 00 01 A0 01 01 
<-- 00 01 80 02 01 00 
    .  .  .  .  .  . 
<snip more polling repeats>
--> 00 01 A0 01 01 
<-- 00 01 80 02 01 00 
    .  .  .  .  .  . 

*** NOW: a button on the remote is pressed ***

--> 00 01 A0 01 01 
--> 00 01 A0 01 01 
--> 00 01 A0 01 01 
--> 00 01 A0 01 01 
--> 00 01 A0 01 01 
--> 00 01 A0 01 01 
--> 00 01 A0 01 01 
--> 00 01 A0 01 01
4: ==> Date Time
--> 00 01 A0 10 01 90 02 00 04 9F 84 41 07 D3 11 20 35 05 D1 00 
--> 00 01 A0 01 01 
--> 00 01 A0 01 01 
--> 00 01 A0 01 01



More information about the linux-dvb mailing list