Connecting an Ericsson T610 to Slackware Linux using IrDA
Last Update - 31-Dec-2003
This document will describe some of the tricks used to get my Ericsson T610 working on my Portable (Fujitsu Siemens Lifebook E6550) using IrDA.
Software Versions Used
- Slackware Linux 9.1
- Linux Kernel 2.4.23 (custom kernel compilation)
- irda-utils-0.9.15.tar.gz
BIOS Modifications
I changed the IrDA mode from "FIR" to "IrDA" in the BIOS.
Due to compatibility issues, I had to change the IO address for IRDA from 0x02e8 to 0x02f8 in the BIOS.
Non-IRDA Related Configuration Changes
As I'm using a portable and pcmcia-cs - I had to reconfigure pcmcia-cs to exclude IRQ3 from available resources, as it tended to grab it for my xircom Ethernet adapter.
/etc/pcmcia/config.opts
exclude irq 3
Kernel Compilation
Basically I enabled the whole IrDA subset in the kernel as modules.
#
# IrDA (infrared) support
#
CONFIG_IRDA=m
#
# IrDA protocols
#
CONFIG_IRLAN=m
CONFIG_IRNET=m
CONFIG_IRCOMM=m
CONFIG_IRDA_ULTRA=y
#
# IrDA options
#
CONFIG_IRDA_CACHE_LAST_LSAP=y
CONFIG_IRDA_FAST_RR=y
CONFIG_IRDA_DEBUG=y
##
# SIR device drivers
#
CONFIG_IRTTY_SIR=m
CONFIG_IRPORT_SIR=m
#
# Dongle support
#
CONFIG_DONGLE=y
CONFIG_ESI_DONGLE=m
CONFIG_ACTISYS_DONGLE=m
CONFIG_TEKRAM_DONGLE=m
CONFIG_GIRBIL_DONGLE=m
CONFIG_LITELINK_DONGLE=m
CONFIG_MCP2120_DONGLE=m
CONFIG_OLD_BELKIN_DONGLE=m
CONFIG_ACT200L_DONGLE=m
CONFIG_MA600_DONGLE=m
#
# FIR device drivers
#
CONFIG_USB_IRDA=m
CONFIG_NSC_FIR=m
CONFIG_WINBOND_FIR=m
CONFIG_TOSHIBA_OLD=m
CONFIG_TOSHIBA_FIR=m
CONFIG_SMC_IRCC_FIR=m
CONFIG_ALI_FIR=m
CONFIG_VLSI_FIR=m
# Infrared-port device drivers
#
Due to problems getting the IRDA serial port to work, I had to set serial support in the kernel as a module.
#
# Character devices
#
CONFIG_SERIAL=m
irda-utils
The IRDA Utilities tarball can be downloaded from the following website:
To install the package, just unpack it with tar -xvzf irda-utils-versions.tgz , cd to irda-utils-version run make and make install.
devices, modules, configuration
I created the following IrDA devices:
mknod /dev/ircomm0 c 161 0
mknod /dev/ircomm1 c 161 1
mknod /dev/irlpt0 c 161 16
mknod /dev/irlpt1 c 161 17
mknod /dev/irnet c 10 187
chmod 666 /dev/ir*
I added these lines to /etc/conf.modules
alias char-major-161 ircomm-tty
options ppp_async flag_time=0
alias tty-ldisk-11 irtty
alias char-major-10-187 irnet
alias irlan0 irlan
I am using the following script to load IrDA:
/etc/rc.d/rc.irda
echo Initializing IrDA ...
/sbin/modprobe irda
/sbin/modprobe irtty
/sbin/modprobe ircomm
/sbin/modprobe ircomm-tty
/bin/echo 115200 > /proc/sys/net/irda/max_baud_rate
/bin/echo 2000 > /proc/sys/net/irda/max_tx_data_size
/bin/echo 1000 > /proc/sys/net/irda/min_tx_turn_time
/bin/echo 1 > /proc/sys/net/irda/max_tx_window
/usr/sbin/irattach /dev/ttyS1 -s
My IrDA port is recognized as ttyS1.
GPRS
I am using the GPRS setup which is described on this website.
Troubleshooting IrDA
Some excellent web resources to set up / troubleshoot problems with your IrDA connection:
Files
These files work on my computer - However, they probably need tuning before they work on yours.
GPRS Script for Mobistar (Belgium) on a Standard Configured T610 (MMS Pack)
APN = Internet.be - CID = 2
SMTP = gprsmail.mobistar.be
Files have to be stored in /etc/ppp/peer/*
gprs-connect-chat and gprs-disconnect-chat have to be set executable.
the script is called through "pppd call gprs-irda".
Back to gnu-linux.net
[jj]