Erom Upgrade Rs 232 Download
About Rs232_rec.dlllink
Now connect your set-top box to serial port of your computer using RS232 cable and confirm that STB should be in switch off. Now install universal loader and open it, choose operate mode to “Upgrade” and now browse.abs or.bin file from your computer/pc directory. Check “Include Bootloader” to upgrade flash. Hit next, and simultaneously. Serial EROM Download Connect RS-232 cable with STB and PC, Power of STB to be OFF. Run “EromUpgrade.exe” application program in you PC. Select the “Include Bootloader” check box. (only for “GALAXY” and “MERCURY”) - Press “Browse” - Select FILE to download - Press “NEXT” and STB power ON.
The Rs232_rec.dll file is 0.04 MB. The download links are current and no negative feedback has been received by users. It has been downloaded 143 times since release.
All Loader and Upgrade Tool Rs232 Software download 2020 Rs 232 is a serial cable that connects the receiver and computer to each other. When Receiver and computer are connected to each other then the software of the receiver is installed in the receiver. To install the software in the receiver the Upgrade tool software of the receiver is needed. Steps to Download the Rs232rec.dll File link. Click on the green-colored 'Download' button (The button marked in the picture below). Step 1:Starting the download process for Rs232rec.dll; When you click the 'Download' button, the 'Downloading' window will open. Don't close this window until the download process begins. Loader / STB Upgrade tool is a Professional Windows Software Application For Loading firmware of Settop Boxes and Satellite Dish Receivers With the Help of RS232 Serial Port.These Tools are very helpful for loading Softwares and other programs All Loader Tools are Free Available. Ali-rs232-upgrade-tool-v1-2-0 Downloader Full - DOWNLOAD. 5f91d47415 LOADER UPDATEV1.2.0 ALI RS232 Digital Satellite.ali rs232. Friends,Aap Yaha se all all set top box software loader download kar sakte hai. Isme apko All in One.
Table of Contents
- How to Install Rs232_rec.dll? How to Fix Rs232_rec.dll Errors?
- Method 5: Fixing the Rs232_rec.dll Errors by Manually Updating Windows
Operating Systems That Can Use the Rs232_rec.dll Filelink
Steps to Download the Rs232_rec.dll Filelink
- Click on the green-colored 'Download' button (The button marked in the picture below).
- When you click the 'Download' button, the 'Downloading' window will open. Don't close this window until the download process begins. The download process will begin in a few seconds based on your Internet speed and computer.
How to Install Rs232_rec.dll? How to Fix Rs232_rec.dll Errors?link
ATTENTION! Before beginning the installation of the Rs232_rec.dll file, you must download the file. If you don't know how to download the file or if you are having a problem while downloading, you can look at our download guide a few lines above.
Method 1: Solving the DLL Error by Copying the Rs232_rec.dll File to the Windows System Folderlink
Erom Upgrade Rs 232 Download
- The file you will download is a compressed file with the '.zip' extension. You cannot directly install the '.zip' file. Because of this, first, double-click this file and open the file. You will see the file named 'Rs232_rec.dll' in the window that opens. Drag this file to the desktop with the left mouse button. This is the file you need.
- Copy the 'Rs232_rec.dll' file file you extracted.
- Paste the dll file you copied into the 'C:WindowsSystem32' folder.
- If your operating system has a 64 Bit architecture, copy the 'Rs232_rec.dll' file and paste it also into the 'C:WindowssysWOW64' folder.
NOTE! On 64 Bit systems, the dll file must be in both the 'sysWOW64' folder as well as the 'System32' folder. In other words, you must copy the 'Rs232_rec.dll' file into both folders.
- In order to run the Command Line as an administrator, complete the following steps.
NOTE! In this explanation, we ran the Command Line on Windows 10. If you are using one of the Windows 8.1, Windows 8, Windows 7, Windows Vista or Windows XP operating systems, you can use the same methods to run the Command Line as an administrator. Even though the pictures are taken from Windows 10, the processes are similar.
- First, open the Start Menu and before clicking anywhere, type 'cmd' but do not press Enter.
- When you see the 'Command Line' option among the search results, hit the 'CTRL' + 'SHIFT' + 'ENTER' keys on your keyboard.
- A window will pop up asking, 'Do you want to run this process?'. Confirm it by clicking to 'Yes' button.
- Let's copy the command below and paste it in the Command Line that comes up, then let's press Enter. This command deletes the Rs232_rec.dll file's problematic registry in the Windows Registry Editor(The file that we copied to the System32 folder does not perform any action with the file, it just deletes the registry in the Windows Registry Editor. The file that we pasted into the System32 folder will not be damaged).
%windir%System32regsvr32.exe /u Rs232_rec.dll
- If you have a 64 Bit operating system, after running the command above, you must run the command below. This command will clean the Rs232_rec.dll file's damaged registry in 64 Bit as well (The cleaning process will be in the registries in the Registry Editor< only. In other words, the dll file you paste into the SysWoW64 folder will stay as it).
%windir%SysWoW64regsvr32.exe /u Rs232_rec.dll
- We need to make a new registry for the dll file in place of the one we deleted from the Windows Registry Editor. In order to do this process, copy the command below and after pasting it in the Command Line, press Enter.
%windir%System32regsvr32.exe /i Rs232_rec.dll
- Windows 64 Bit users must run the command below after running the previous command. With this command, we will create a clean and good registry for the Rs232_rec.dll file we deleted.
%windir%SysWoW64regsvr32.exe /i Rs232_rec.dll
- If you did the processes in full, the installation should have finished successfully. If you received an error from the command line, you don't need to be anxious. Even if the Rs232_rec.dll file was installed successfully, you can still receive error messages like these due to some incompatibilities. In order to test whether your dll problem was solved or not, try running the software giving the error message again. If the error is continuing, try the 2nd Method to solve this problem.
Method 2: Copying the Rs232_rec.dll File to the Software File Folderlink
- In order to install the dll file, you need to find the file folder for the software that was giving you errors such as 'Rs232_rec.dll is missing', 'Rs232_rec.dll not found' or similar error messages. In order to do that, Right-click the software's shortcut and click the Properties item in the right-click menu that appears.
- Click on the Open File Location button that is found in the Properties window that opens up and choose the folder where the application is installed.
- Copy the Rs232_rec.dll file into the folder we opened up.
- That's all there is to the installation process. Run the software giving the dll error again. If the dll error is still continuing, completing the 3rd Method may help solve your problem.
Method 3: Uninstalling and Reinstalling the Software That Is Giving the Rs232_rec.dll Errorlink
- Press the 'Windows' + 'R' keys at the same time to open the Run tool. Paste the command below into the text field titled 'Open' in the Run window that opens and press the Enter key on your keyboard. This command will open the 'Programs and Features' tool.
appwiz.cpl
- The Programs and Features screen will come up. You can see all the softwares installed on your computer in the list on this screen. Find the software giving you the dll error in the list and right-click it. Click the 'Uninstall' item in the right-click menu that appears and begin the uninstall process.
- A window will open up asking whether to confirm or deny the uninstall process for the software. Confirm the process and wait for the uninstall process to finish. Restart your computer after the software has been uninstalled from your computer.
- After restarting your computer, reinstall the software that was giving the error.
- You may be able to solve the dll error you are experiencing by using this method. If the error messages are continuing despite all these processes, we may have a problem deriving from Windows. To solve dll errors deriving from Windows, you need to complete the 4th Method and the 5th Method in the list.
Method 4: Solving the Rs232_rec.dll Error Using the Windows System File Checkerlink
- In order to run the Command Line as an administrator, complete the following steps.
NOTE! In this explanation, we ran the Command Line on Windows 10. If you are using one of the Windows 8.1, Windows 8, Windows 7, Windows Vista or Windows XP operating systems, you can use the same methods to run the Command Line as an administrator. Even though the pictures are taken from Windows 10, the processes are similar.
- First, open the Start Menu and before clicking anywhere, type 'cmd' but do not press Enter.
- When you see the 'Command Line' option among the search results, hit the 'CTRL' + 'SHIFT' + 'ENTER' keys on your keyboard.
- A window will pop up asking, 'Do you want to run this process?'. Confirm it by clicking to 'Yes' button.
- Paste the command below into the Command Line that opens up and hit the Enter key.
sfc /scannow
- This process can take some time. You can follow its progress from the screen. Wait for it to finish and after it is finished try to run the software that was giving the dll error again.
Method 5: Fixing the Rs232_rec.dll Errors by Manually Updating Windowslink
Some softwares require updated dll files from the operating system. If your operating system is not updated, this requirement is not met and you will receive dll errors. Because of this, updating your operating system may solve the dll errors you are experiencing.
Most of the time, operating systems are automatically updated. However, in some situations, the automatic updates may not work. For situations like this, you may need to check for updates manually.
For every Windows version, the process of manually checking for updates is different. Because of this, we prepared a special guide for each Windows version. You can get our guides to manually check for updates based on the Windows version you use through the links below.
Windows Update Guideslink
The Most Seen Rs232_rec.dll Errorslink
When the Rs232_rec.dll file is damaged or missing, the softwares that use this dll file will give an error. Not only external softwares, but also basic Windows softwares and tools use dll files. Because of this, when you try to use basic Windows softwares and tools (For example, when you open Internet Explorer or Windows Media Player), you may come across errors. We have listed the most common Rs232_rec.dll errors below.
You will get rid of the errors listed below when you download the Rs232_rec.dll file from DLL Downloader.com and follow the steps we explained above.
- 'Rs232_rec.dll not found.' error
- 'The file Rs232_rec.dll is missing.' error
- 'Rs232_rec.dll access violation.' error
- 'Cannot register Rs232_rec.dll.' error
- 'Cannot find Rs232_rec.dll.' error
- 'This application failed to start because Rs232_rec.dll was not found. Re-installing the application may fix this problem.' error
Dll Files Related to Rs232_rec.dlllink
The Rs232_rec.dll Category Directorylink
- Windows 10
- Windows 8.1
- Windows 8
- Windows 7
- Windows Vista
- Windows XP
Introduction
A Headend Engineer or Software Developer generally needs to install the new release in one particular stb for testing before applying it to field by OTA or Over The Air. So that he can check it whether this release is having bugs in it or not. If it is having bugs then he can remove it by developer before OTA.
Tags: erom-software set-topbox-universal-loader upgrade stb by pc upgrade stb by rs232 upgrade stb null modem cable TrackDish Team TrackDish.com is a website for Satellite TV Channels, Dish installation, TV channels Frequency and Television News.
There are different ways to download the software in STB or install release in STB via different ports. Because different make support different ports to install the release in STB. Some of them support USB Port and others RS 232 port.
In this article we will cover step by step how to install release in Ali Chipset STB via 3 PIN RS 232 Port by connecting it to computer or laptop.
Steps To STB Release Upgrade
(1) Connect power adapter to wall socket and pin to stb. But do no switch on stb now.
(2) Connect 3 PIN RS 232 to stb and other end of this cable to computer , if your computer is having 9 PIN Male RS 232 port. But now a days computers are not having this 9 PIN RS 232 Male port. For this we need to use a USB cable having other end 9 PIN Male RS 232 port.
(3) Now we need to find the COM port for cable. So Right Click on “My Computer” and select the “Manage”. Now computer management window will open then select the Device Manager in left hand side.
(4) Now extract “Ports (COM & LPT)” in right hand side and find “USB-Serial CH340 (COM 11)“. As you can see our COM port is 11 as shown. Your COM port can be different like COM 12 and COM 13 etc.
(5) Download now “STB EROM Upgrade” software from internet. /crystl32-ocx-download.html. Then open the EromUpgrade.exe file. Now select your COM port number. We selected COM Port 11 in our case.
(6) Now browse your release which you want to install in stb.
(7) Do not check mark “Incluse Bootloader” if you selected it then you need to reinsert STB ID.
(8) Now click next. Switch on the STB now. It will show you “Done“. It will start downloading release.
(9) Now press Next to burn the release in stb as shown in figure below,
(10) After completing the upgradation click finished.
Steps To STB Release Backup
(1) From step 1 to step 5 will be same. Only you need to select “Data Dump“in “Operation Mode” option.
(2) Then click on “Browse” and give the save path to the release.
(3) Now click “Next” and it will automatically dump the release of stb and finish it.
Conclusion Of STB Release Upgrade
As we have discussed above there is need for a Headend engineer or software developer to upgrade the release of stb before OTA.
Erom Upgrade Rs 232 Download Torrent
So we have taken a example of ALi chipset stb installing release in it via 3 PIN RS 232 port from our computer via EromUpgrade software. Where extension of release can be .abs.
Profexam player. You can also get the backup of previous release installed in stb by selecting “Data Dump” option in Operation Mode.
Know More About STB Working & STB Architecture
Sound level meter app mac. Note : This article is for education purpose only.
If Headend INFO really helped you then you can Donate Headend INFO as much you want,
Donate Headend INFO (INR ONLY)
Donate Headend INFO (PAYPAL)
- 2Cable Options
Overview
DirecTV supplies and has supplied a variety of set top boxes (referred to as 'STB' from here on) to consumers. Nearly all of them have the ability, although not directly advertised, to be controlled from an external device, such as a MythTV BackEnd.
Cable Options
WARNING: Not all USB to Serial port adapters are compatible with linux. There are a few well known ones that are made with compatible chipsets (the PL-2303 comes to mind), but there are many more that do not work with any flavor of linux. Please choose your cable with care.
WARNING: You MUST hit the red reset button for many DirecTV receivers to recognize USB-to-serial adapters. The docs that say the port is hot-swap are lying. Further, neither rebooting from the UI nor yanking the power cord is sufficient. Apparently, that red reset button does something particularly special.
Known good adapters are:
- The Sabrent USB->Serial port adapter (http://www.newegg.com/Product/Product.aspx?Item=N82E16812156008)
- WARNING: I ordered one of these and it no longer works with the DirecTV box. These are now using the pl2303X chips instead of the pl2303 and do not work.
- IOGEAR GUC232A, ATEN UC-232A (pl2303), BAFO BF-810, QVS UR-2000M2, Sabrent SBT-USC1M and other PL2303 based adapters are known working.
- WARNING: I ordered two of these (Sabrent?) and they no longer work with the DirecTV box. These are now using the pl2303X chips instead of the pl2303 and do not work.
- A new IOGear GUC232A unit worked for me on 2010-06-17, so either they still use the older rev (unlikely) or DirecTV upgraded to a newer Linux kernel that fixes the driver bug with the new revision (likely).
- http://www.cablestogo.com/product.asp?cat%5fid=1529&sku=26886
- July 06, 2007 Update: It has been reported that EMTC (http://www.emtcompany.com/products/adapters/dxubdb9-usb-to-serial-db9-adapter-cable.htm) is no longer shipping linux compatible (PL2303) cables. Previously, they were a good and inexpensive supplier, but the replacement cables are not compatible. DO NOT BUY THESE
- GWC UC320 (http://www.newegg.com/Product/Product.asp?Item=N82E16812107108). This has been reported to work on both the HD20-100 and D11-500 boxes as of November, 2007.
- http://www.dtvcontrol.com/index.aspx?content=cable, which shows up under linux as 'Prolific Technology, Inc. PL2303 Serial Port'
- Dynex DX-UBDB9 purchased off of ebay (February 2009 and August 2009) work fine on the H20-600, H20-100 and H21-200.
- Paterson Technology USB TV Translator. Works flawlessly on an H23 receiver (also works with D11, D12, and H20) and has additional logic to eliminate the channel banner quickly.
- Other cables/adapters are unknown (use at your own risk).
Be careful, a lot of these adapters are no longer pl2303 based although they carry the same Model number. Try http://www.cooldvr.com. He carries a complete set of cables (pc or mac to stb) that are tested to work. Cost about the same as buying the parts individually
Official USB to Serial Cable Support
According to the Installers Guide V2.2, the following USB to Serial Adapters are fully supported:
Manufacturer | Model | USB Vendor ID | USB Product ID |
---|---|---|---|
IOGEAR | GUC232A | 0x067B | 0x2303 |
ATEN | UC-232A | 0x067B | 0x2303 |
BAFO | BF-810 | 0x067B | 0x2303 |
Therefore, it is possible (though not guaranteed) that your particular USB-Serial adapter will work if it has:
- USB Vendor ID= 0x067B
- USB Product ID= 0x2303
To find this out, use the lsusb command after plugging in your device. If it shows a line of output like the following, it should theoretically work.
The USB port on most set top boxes (STBs) should support hot-plugging. However, if you are having troubles with your USB-Serial adapter, try plugging it in before the STB is booted. Particularly, the Installer's guide mentions that the HR20 and HR21 work this way. To do this, simply:
- Unplug the STB
- Plug in the serial adapter
- Plug in the STB and wait until it boots
Afterwards, make sure your device on the mythtv box is correct when you pass it to the script. For me, it was /dev/ttyUSB0.
A simple test command for using the correct device is the following:
If you get 'Error excessive retries', you probably are using the wrong serial port. Set it with the port command as in the above example.
The D10 & RCA Satellite STB
Many of the older (pre 2007) STB's that were sold or leased by DirecTV have a small phone-style port on the back of the unit that is labeled as 'Low Speed Data Port' or simply 'Low Speed Data'. This port, although it can be initially be mistaken as a standard RJ-11 phone jack, is actually quite a bit smaller (in technical terms, it is called an RJ-22) and is sometimes referred to as a 'mini RJ-11' port. If you take a look at the coil handset cable on your non-cordless phone (you still have one of those, right?), you will see that the plug on that cord is the same as the port on the back of the STB.
You will need the following components in order to create a connection from your MythTV backend to the STB:
- a USB->Serial Adapter (USB Male to 9-pin Male)
- a handset cord for a corded phone
- a Serial->RJ45 adapter
- a short length of ethernet cable with RJ-45 connectors already crimped down on each end
If you prefer to get your hands on a modular serial hood, you can omit the Serial->RJ45 adapter and the ethernet cable. I used the items listed above because that was what I had readily available.
The DirecTV D11/H20 Satellite STB
The DirecTV D11/H20 Satellite set top box contains a USB port that can be used as a serial port to change channels and perform other tasks on the box. To do this, you need the following cables:
- USB->Serial Adapter (usb male to 9 male).
- 9-pin Null-Modem Adapter (9 female to 9 female)
- 9 pin serial cable. (9 female to 9 male)
The end result of this is a null modem serial connection between computers. I assume that using two USB->Serial adapters would also work, (see note below) given that the Null Modem adapter was still used.
I used the BAFO BF-810 adapter (found for $9 online) and a pair of 9pin DSub to RJ45 adapters wired as a crossover serial cable, along with a straight-through ethernet cable.
I started with the directv.pl script used to control the D10 box. I had to change the speed to 115200 from 9600 (contrary to the installers guide which says 9600 or 155200, which must be a typo). I also had to enable hardware flow control in order to get reliable operation.
NOTE: I was using 115,200 baud for months with two D-11 boxes. Around the middle of January 2007 I started getting channel change failures. Switching it to 9600 baud fixed it. My theory is that DirecTV sent down a firmware upgrade to change the all the D-11 boxes to 9600.
NOTE: D11 and H20 boxes require baud rate = 115200 (May 25, 2007)
NOTE: If baud rate = 115200 does not work with the H20 box using the CablesToGo usb->serial adapters, try 9600 (Oct 22, 2007)
NOTE: For Mac OS X connecting to a D11 or H20 use directv.pl ver 1.8 which supports baud rates (for Mac and Linux) >38400. A usb to serial adapter on both ends connected by a null modem cable works fine.(May 25, 2007)
NOTE: I have 2 D11 boxes hooked up to my motherboard that has only 1 serial port connection. One is connected as described above, the other uses the exact same scenario except with an extra USB to Serial adaptor to plug the cable into the motherboard's USB port. This was an extra USB to Serial Adaptor I had bought that didn't work when plugged into the D11 box, but works just fine on the other end. I now have two serial devices connected (ttyS0 and ttyUSB0) and am controlling two boxes without a problem.
The DirecTV H21 Satellite STB
While most of the info listed for the H20 should be applicable to the H21, here are a few specifics of usb->serial adapters which did and didn't work in addition to the configuration and directv.pl settings.This particular setup is: H21 <-> USB/serial converter <-> null modem adapter <-> mb serial port
Manufacturer | Model | Purchase Location | Status | Notes |
---|---|---|---|---|
Micro Connectors | E07-160 | Fry's | Didn't work | On 3/10/2010 I purchased one of these from Fry's and it worked with a D12-300 |
Cables Unlimited | USB-2920 | Fry's | Didn't work | |
Dynex | DX-UBDB9 | Best Buy | Worked |
Keep in mind that there is also this possible combination:H21 <-> USB/serial converter <-> null modem adapter <-> USB/serial converter <-> computerwhich was not tested.
The following parameters were given to the directv.pl script (v1.9):box_type H20 baud 9600 port /dev/ttyS0
The DirecTV H23 Satellite STB
This STB works as well using the H20 commands, version 1.9 of the script and the USB to USB cable set from http://www.cooldvr.com/Buy.html, but it works better for me using the direct channel change command rather than the keypress command. (probably a delay timing thing, but sometimes it would miss the keypresses. it would do this directly from the remote control as well, so it may just be my particular unit) Everything else in the H20 command list seems to work.
DirecTV H24 Satellite STB
The latest version of DirecTV's set top box is the H24. It has a USB port like the previous versions. The directv.pl script (see the External Links section below to download the script) works to change the channels using the H20 'box_type'. I used a usb-serial converter with a PL2303 chip and a null modem adapter to hook it to the serial port on the motherboard.
Making Your Own Custom Cable (D10/RCA)
You can either buy a cable to convert from the low speed data port to a serial port from http://www.dtvcontrol.com/index.aspx?content=cable or, using the pinout either on that page or within this page (they are the same),you can make one on your own.
Overall difficulty of making your own cable is rather low. Take your time, and be prepared to test it once (or twice) before taping everything up to make sure you got it right.
Using the items listed aboce, I grabbed with the handset cable, two serial to RJ-45 adapters, and a short RJ-45 ethernet cable and I:
- Cut the headset cable in half, giving me two pieces of the same approx. length.
- Cut the RJ-45 cable in half giving me two pieces of the same approx. length.
- Cut back the outer sheathing on the RJ-45 cables at the point where I cut it in half.
- Cut back the outer sheathing on the headset cables at the point where I cut it half (this was a pain)
- Cut back the sheathing on the individual exposed wires on the RJ-45 cables and the headset cables.
- Plugged the RJ-45 cables in to the Serial-RJ45 adapters.
- Using a 9-volt battery and a cheap DC tester, I mapped out what pins on the serial side of the adapter mapped to which exposed wires on the cut end of the RJ45 cable. WRITE THEM DOWN. I cannot stress this enough. Because you will be dealing with two different wires, it is easy to get confused. I have these written down at home, and, after making my third adapter, I can tell you that the entire mapping is usually custom since serial-to-RJ45 adapters are not all created equal, the handset cables are not always color coded, and you can use any variant of RJ45 cabling.
- Using your mapping of the serial port adapter to the individual wires in the ethernet cable, write down the proper mapping of the wires from the handset cable to the individual wires of the ethernet cable.
- Following the mapping you just created, hand twist the appropriate wires together and use electrical tape to hold it.
Because I had the DC tester (with the little light on it), I was able to do a final test of the completed connection to confirm that the wires were connected properly. Connect the serial port end to either your MythTV backend's serial port, or, if you don't have one available (most machines now-a-days don't have more than two, and many only have one), plug it in to the USB->Serial port adapter, and plug the USB->Serial port adapter in to an available USB port. Plug the other end of the cable you just made (the mini RJ-11) in to the STB.
Now, test it and make sure it changes channels./usr/local/bin/directv.pl setup_channel 10
If it does not work, you will get something on the command line like 'excessive retries to port' or some similar error. This means, more than likely, that you reversed the mapping of the pins. I say this because that is exactly what I did. I had looked at the mini RJ11 port, and the exposed wires (all of the wires on the one that I had were the same color: gray!) and asked myself 'Which end is pin 1?'
Custom Channel Change Configuration
In order to configure MythTV to call the directv.pl script, you must add the command with desired options to the tuner section of mythtv-setup( User Manual:Detailed configuration Backend ).
- Run mythtv-setup
- Select Input connections
- Choose the connection you would like to control
- Add the script to the External channel change command parameter
For example, I set mine to.
The help text for this parameter says, 'If specified, this command will be run to change the channel for inputs which have an external tuner device such as a cable box. The first argument will be the channel number.' I interpreted this to mean that the channel will be added to whatever is specified here. This would mean that parameters could be added such as [hide, retries_number n,.]. It appears that once a command is sent like 'hide' it is persistent. So you could specify it in a command window at any time.
Watch out for Xwindows using the serial port by default
In some stock /etc/X11/xorg.conf files, a serial mouse may be configured by default. If this is the case, you may notice unreliable communication with your directv box. Channel changes may not function correctly, multiple timeouts, etc. can occur. You can verify that the serial port is not in use by using the lsof
command. For example,
shows that X has the /dev/ttyS0 file open. We can fix this by commenting out the appropriate device section in your /etc/X11/xorg.conf file and restarting X.
udev rules
Samsung edc program. If you are using a USB->serial adapter on the computer side of things, and are trying control multiple STBs, you will likely need to use udev rules for predictable naming of the USB->serial device. Instructions for udev can be found on the Device_Filenames_and_udev page.
An example rule might look like:
SUBSYSTEMS'usb',KERNELS'5-1:1.0',DRIVERS'pl2303',SYMLINK+='STBChannel0'
In that example, the KERNELS'5-1:1.0' indicates which USB port the adapter is plugged into on the computer. If the USB->serial adaptor does not report any unique identification, using the USB port is the only way.
Note that some distributions come with a gpsd udev rule, which can get in the way. There is probably a more 'proper' way to handle this problem, but on my system I just removed 99-gpsd.rules to fix the problem.
Working around some missing functionality on the channel change script
Note: This user may have been able to fix this problem by both: making sure his box_type was correct, and adjusting the delay sent to the script. Both options are documented in the script's help output.
In my situation, some of the features of the directv.pl script did not function in the way that I liked, or simply did not function with my STB. Specifically, with my STB, the 'setup_channel' function, which is defined in the documentation as 'turning the unit on, changing the channel, and hiding the on screen display' really only did the first two pieces, leaving the OSD up for an obscenely long amount of time. I simply wanted the script to change the channel and hide the OSD immediately.
While the directv.pl script can take the options out of order (eg: directv.pl port /dev/ttyUSB0 hide setup_channel 29), it did not seem to make any difference. This limitation required me to write a small wrapper script called '/usr/local/bin/change_channel.sh' :
I then used '/usr/local/bin/change_channel' in the field as outlined above in the 'Custom Channel Change Configuration' section. Be sure to specify the corresponding port for each of your tuners.
Mini RJ11 (RJ22 or 4P4C) Port Pinout
1 | Black |
2 | Red |
3 | Green (unused) |
4 | Yellow |
Mini RJ11 (RJ22 or 4P4C) to Serial Port mapping
When everything is built, the pinout of the resulting cable should be:
DB9 Pin 5 | -> | mini RJ11 Pin 1 |
DB9 Pin 2 | -> | mini RJ11 Pin 2 |
DB9 Pin 3 | -> | mini RJ11 Pin 4 |
Null Modem Cable Pinout
This is a standard Null-modem cable, but here is the pinout for the sake of being complete:
TD | (Transmit Data) | 3 | -> | 2 | RD |
RD | (Receive Data) | 2 | -> | 3 | TD |
RTS | (Request To Send) | 7 | -> | 8 | CTS |
CTS | (Clear To Send) | 8 | -> | 7 | RTS |
SG | (Signal Ground) | 5 | -> | 5 | SG |
Serial -> RJ45 (Pin to Wire) Mapping
I used a standard SUN supplied serial to RJ45 adapter and got the following mapping of the serial port pins to the individual wires on the RJ45 cable plugged in to the serial port adapter. I also used a snort length of off-the-shelf pre-made RJ-45 (Cat5) wire.
Serial Port | RJ45 (standard coloring) |
1 (none) | -- |
2 | Orange/White |
3 | Green |
4 | Brown/White |
5 | Orange and Green/White |
6 | Blue |
7 | Brown |
8 (none) | -- |
9 (none) | -- |
Hardware Compatibility
- DirecTV D10
- DirecTV D11-100: Same results as D11-500.
- DirecTV D11-300: Works using 9600 baudrate (as of 6/9/09).
- DirecTV D11-500: Channel changing works (by key). On/Off, OSD On/Off, Remote Input On/Off all work. Other features not working yet.
- DirecTV D12: Same as D11-100. Except the D12 supports get_channel where the D11 does not.
- DirecTV D12-100: Works.
- DirecTV D12-300: Works.
- DirecTV H20: Same results as D11-500
- Most DirecTV RCA STB's
Controlling D11 from Windows
I know this isn't myth-related at all, but here is how to control the D11 from windows!
- Install Perl (I recommend [ActivePerl])
- Start Perl Package Manager (PPM)
- Add the BdP Repository:
repository add BdP http://www.bribes.org/perl/ppm
- Install Win32::SerialPort:
install Win32-SerialPort
- Install Win32::API:
install Win32-API
- Install Time::HiRes:
install Time-HiRes
- Download the Windows version of the DirecTV Serial Control Script (see links below). Save it to C:perl
- Example Execution:
perl.exe c:perldirectv2.pl port com1 baudrate 115200 flow none box_type D11 25
External Links
- General Set-top Information for Installers V2.1 (Contains serial command guides)
- General Set-top Information for Installers V2.2 (Updated with D12 Information)
Script modified to work with D11Tried on 2007-12-19; didn't work with D11. Try above, v1.9 worked fine.
- PortMon Windows software to monitor traffic on a com port
- Com Port Toolkit Windows software to send specific commands to the serial port.
For More Information
- Contact the author of this article, User:JeffSimpson