 |
R E F E R E N C E D E S I G N |
|
|
|
VIP6086N Advanced digital VOD client based on VIA C3 667MHz |
|
|
|
RG100 Residential Gateway for SOHO and home use |
|
 |
RouterLinux
1.1 based on 100% open source OS to full feature
router |
|
|
 |
|
|
Remote Control Linux Programming for DVD playback
Courtesy of William J. Stotts |
This code was almost all written by Ian Levy in 2002. Although I do not claim to
be much of a programmer, I was able to modify this code to respond to the native codes sent by the GCT Allwell remote that comes with the Metallic 3036N and 6086N2 set top boxes. This is an ugly hack and I'm
sure my code could be improved upon. It does work for me, however YMMV. |
The Allwell remote sends ASCII control sequences box just as though you entered
the sequence from the keyboard. I have modified the code in ikldvd.c to respond to the following buttons: The binary was built on a system with GLIB version 2.1.92 and gcc 2.96. You may need to recompile
if your system differs significantly. I put the binary in /usr/bin and use a script called playdvd to call the ikldvd binary with a region code of 1 (US). You may need to modify the region code in the
included script. This assumes you have already loaded the NetStream2000 drivers as root, and have a script to set ENV vars for the NetStream. I put mine in /etc, so you may have to modify the name and
location of that file as well. The environment var file is found in the main NetStream driver directory after the driver has been built for your current kernel.
Enjoy.
William J. Stotts
wstotts@snet.net Resource: download the souce code: ikldvd-remote-hack.tgz Digital Video Overlay (DIY Linux test program w/ Source Code) by
Ian Levy
MPEG4/MPEG2 Playback procedure in Linux development by Rafael Barrero |
sales@gctglobal.com
|
|
 |
button |
ASCII DEC code |
dvd function |
> |
0 |
PLAY |
>> |
8 |
Start or stop FAST FWD |
<< |
29 |
Start or stop FAST REV |
[] |
35 |
STOP |
|| |
49 |
PAUSE |
Menu |
6 |
Goto DVD MENU |
Up arrow |
1 |
Go upwards in DVD MENU |
Rt arrow |
4 |
Go right in DVD MENU |
Lf arrow |
5 |
Go left in DVD MENU |
Dn arrow |
12 |
Go down in DVD MENU |
^ |
18 |
ACTIVATE current selection |
|
|