LinHES Forums http://forums.linhes.org/ |
|
Cablevision SA4200HD FW channel changing stopped working http://forums.linhes.org/viewtopic.php?f=11&t=19167 |
Page 1 of 1 |
Author: | mlbuser [ Sat Nov 01, 2008 1:33 pm ] |
Post subject: | Cablevision SA4200HD FW channel changing stopped working |
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 |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |