View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 1 post ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Nov 01, 2008 1:33 pm 
Offline
Joined: Tue Sep 26, 2006 9:35 am
Posts: 85
Looks like Cablevision has been pulling tricks on STB users on Halloween in my neighborhood. The channel changing exe sa3250 stopped working due to a box firmware update (?).

Anyway I always had to use 'sa3250 -s channel' in the past, but that stopped working. After only a little googling I found the answer was to stop using -s and also change how the multi-cmd was formatted.

If you have access to sa3250.c the changes are highlighted below.

Code:
       /* Default method sending three seperate digits */
       dig[2] = 0x30 | (chn % 10);
       dig[1] = 0x30 | ((chn % 100)  / 10);
       dig[0] = 0x30 | ((chn % 1000) / 100);

       cmd[0] = CTL_CMD0 | AVC1394_SA3250_OPERAND_KEY_PRESS;
       cmd[1] = CTL_CMD1 | ((chn<<8)&0xffff00) | (chn & 0xff);
       cmd[2] = CTL_CMD2;

       if (verbose)
          printf("AV/C Command: %d%d%d = cmd0=0x%08x cmd2=0x%08x cmd3=0x%08x\n",
                dig[0] & 0xf, dig[1] & 0xf, dig[2] & 0xf, cmd[0], cmd[1], cmd[2]);

       avc1394_transaction_block(handle, 0, cmd, 3, 1);
       cmd[0] = CTL_CMD0 | AVC1394_SA3250_OPERAND_KEY_RELEASE;
       cmd[1] = CTL_CMD1 | ((chn<<8)&0xffff00) | (chn & 0xff);
       cmd[2] = CTL_CMD2;


cmd[1] used to be based on dig[], but now needs to be as shown.

Anyway http://www.gossamer-threads.com/lists/mythtv/users/355395 is where I hit on the answer.

Mark


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 19 guests


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

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu