Users Manual IRTrans Version 2.12
11
3. USB Driver installation
3.1. Windows 2000 / XP
On a windows system you only need to unpack the driver archive into a
folder or just put the software CD into your CD-ROM drive. After
connecting the transceiver you only need to point the operating system to
the driver directory. Using XP it’s even enough to just insert the CD into
the drive. Windows will find the driver there. Using XP the message
informing you, that the driver is not signed can be safely ignored.
3.2. Linux
Starting with LINUX Kernel version 2.6.5 / 2.4.26 the USB drivers for the
IRTrans are included in the standard kernel.
For older versions the files ftdi_sio.c & ftdi_sio.h has to be patched using
the supplied .diff files. The original drivers can be found in the folder
/usr/src/linux/drivers/usb/serial.
They
can
be
patched
with
# patch p0 <
patchfile.diff
Afterwards the ftdi_sio Kernelmodule has to be compiled & installed. Of
course the drivers have to be activated first (see below for details):
# cd /usr/src/linux
# make modules
# make modules_install
In the kernel configuration the following USB drivers have to be activated:
!
Usbserio
!
FTDI_serio
!
USB Subsystem
These drivers should be compiled as modules. If the USB Device daemon
is running the system automatically detects the IRTrans and loads the
correct driver. There are messages in the syslog documenting that
procedure. Now a device will be assigned to the IRTrans (mostly
/dev/ttyUSB0). If other serial USB devices are connected, that device
number may shift. Once more there will be a message in the syslog
showing which device was allocated.
Users Manual IRTrans Version 2.12
12
4. Installing and using the software
4.1. IRTrans Server Software
The IRTrans Software uses a client / server structure. Every command is
processed by the server (irserver). Therefore this server has to run all the
time. Right now there are no clients which connect directly to the IRTrans
hardware. This makes changes in the firmware and protocol a lot easier
as only one application has to be changed. Furthermore every client can
access the server and hardware using any TCP/IP network. Even an
access using the internet or a VPN is possible. Client and server don’t
need to run on the same computer. The installation of the server is very
simple:
On Windows
setup.exe on the CD will install the complete IRTrans
Software. Afterwards there will be an entry in the Start Menu to start the
server using the tray utility irtranstray. Of course it is also possible to start
the server directly – then the server will run in an ASCII window.
The
irtranstray
Program (available only for windows) has got the following
additional functions:
!
Diagnostics dialog showing the messages of the server
!
List of received IR Codes (for debugging)
!
Learning of IR Commands (without Client)
!
Reload of the IR Database after manual changes
!
Sending of IR Commands
On LINUX
the installation script on the CD (install.sh) will copy the LINUX
Software into the folder
/usr/local/irtrans
. On LINUX the server will be
started in shell window. First the correct device has to be knwon: USB
devices are found automatically using the Pseudo Device “usb”. For serial
devices the port has to be known. The first serial port is /dev/ttyS0.
The command „
irserver /dev/tty….
“ will now start the server. There will be
some output from the server showing the startup procedure.