Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#32410 - 08/06/2001 07:48 IR devices and Empeg
schofiel
carpal tunnel

Registered: 25/06/1999
Posts: 2993
Loc: Wareham, Dorset, UK
If you wave a non-IRDA compliant infra-red device around in front of your empeg, assuming that the empeg can recognise it, then where does the device recognition appear?

What IR device drivers are available in the kernel?

One of the few remaining Mk1 owners... #00015
_________________________
One of the few remaining Mk1 owners... #00015

Top
#32411 - 11/06/2001 04:41 Re: IR devices and Empeg [Re: schofiel]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
If you wave a non-IRDA compliant infra-red device around in front of your empeg, assuming that the empeg can recognise it, then where does the device recognition appear?
try :


echo 1 > /proc/sys/net/irda/discovery


wave your device, then type


cat /proc/net/irda/discovery


This should show your device in the log lines.
It will probably only work on IRDA-compliant hardware.
here's a list of IR-drivers for the linux-kernel ( from Documentation/Configure.help ) :

IrDA Protocols
CONFIG_IRDA
Say Y here if you want to build support for the IrDA (TM) protocols.
The Infrared Data Associations (tm) specifies standards for wireless
infrared communication and is supported by most laptops and PDA's.

To use Linux support for the IrDA (tm) protocols, you will also need
some user-space utilities like the irmanager and probably irattach
as well. For more information, see the file
Documentation/networking/irda.txt. You also want to read the
IR-HOWTO, available from
ftp://metalab.unc.edu/pub/Linux/docs/HOWTO.

This support is also available as a module. If you want to compile
it as a module, say M here and read Documentation/modules.txt. The
module will be called

IrDA Cache last LSAP
CONFIG_IRDA_CACHE_LAST_LSAP
Say Y here if you want IrLMP to cache the last LSAP used. This makes
sense since most frames will be sent/received on the same
connection. Enabling this option will save a hash-lookup per frame.

If unsure, say Y.

IrDA Fast RR's
CONFIG_IRDA_FAST_RR
Say Y here is you want IrLAP to send fast RR (Receive Ready) frames
when acting as a primary station. This will make IrLAP send out a RR
frame immediately when receiving a frame if its own transmit queue
is currently empty. This will give a lot of speed improvement when
receiving much data since the secondary station will not have to
wait the max. turn around time before it is allowed to transmit the
next time. If the transmit queue of the secondary is also empty the
primary will back off waiting longer for sending out the RR frame
until the timeout reaches the normal value. Enabling this option
will make the IR-diode burn more power and thus reduce your battery
life.

If unsure, say N.

IrDA Debug
CONFIG_IRDA_DEBUG
Say Y here if you want the IrDA subsystem to write debug information
to your syslog. You can change the debug level in
/proc/sys/net/irda/debug

If unsure, say Y (since it makes it easier to find the bugs).

IrLAP Compression support
CONFIG_IRDA_COMPRESSION
Compression is _not_ part of the IrDA(tm) protocol specification,
but it's working great! Linux is the first to try out compression
support at the IrLAP layer. This means that you will only benefit
from compression if you are running a Linux <-> Linux configuration.

If you say Y here, you also need to say Y or M to a compression
protocol below.

IrLAP Deflate Compression Protocol
CONFIG_IRDA_DEFLATE
Say Y here if you want to build support for the Deflate compression
protocol. The deflate compression (GZIP) is exactly
the same as the one used by the PPP protocol.

If you want to compile this compression support as a module, say M
here and read Documentation/modules.txt. The module will be called
irda_deflate.o.

IrLAN Protocol
CONFIG_IRLAN
Say Y here if you want to build support for the IrLAN protocol. If
you want to compile it as a module, say M here and read
Documentation/modules.txt. IrLAN emulates an Ethernet and makes it
possible to put up a wireless LAN using infrared beams.

The IrLAN protocol can be used to talk with infrared access points
like the HP NetbeamIR, or the ESI JetEye NET. You can also connect
to another Linux machine running the IrLAN protocol for ad-hoc
networking!

IrCOMM Protocol
CONFIG_IRCOMM
Say Y here if you want to build support for the IrCOMM protocol. If
you want to compile it as a module, say M here and read
Documentation/modules.txt. IrCOMM implements serial port emulation,
and makes it possible to use all existing applications that
understands TTY's with an infrared link. Thus you should be able to
use application like PPP, minicom and others. Enabling this option
will create two modules called ircomm and ircomm_tty. For more
information go to http://www.pluto.dti.ne.jp/~thiguchi/irda/

IrLPT Protocol
CONFIG_IRLPT
Say Y here if you want to build support for the IrLPT protocol. If
you want to compile it as a module, say M here and read
Documentation/modules.txt. IrLPT makes it possible to print
documents to IrDA capable printers.

IrLPT Client Protocol
CONFIG_IRLPT_CLIENT
Say Y here if you want to build support for the IrLPT client
protocol. If you want to compile it as a module, say M here and read
Documentation/modules.txt. The IrLPT client protocol can be used to
print documents to IrDA compatible printers like the HP-5MP, or
IrLPT printer adapters like the ACTiSYS IR-100M.

IrLPT Server Protocol
CONFIG_IRLPT_SERVER
Say Y here if you want to build support for the IrLPT server
protocol. If you want to compile it as a module, say M here and read
Documentation/modules.txt. The IrLPT server protocol makes it
possible to use a Linux machine as an infrared printer server for
other laptops. So if your Linux machine has a cable connection to a
printer, then other laptops can use the Linux machine to print out
documents using infrared communication.

IrTTY IrDA Device Driver
CONFIG_IRTTY_SIR
Say Y here if you want to build support for the IrTTY line
discipline. If you want to compile it as a module, say M here and
read Documentation/modules.txt. IrTTY makes it possible to use
Linux's own serial driver for all IrDA ports that are 16550
compatible. Most IrDA chips are 16550 compatible so you should
probably say Y to this option. Using IrTTY will however limit the
speed of the connection to 115200 bps (IrDA SIR mode)

If unsure, say Y.

IrPORT IrDA Device Driver
CONFIG_IRPORT_SIR
Say Y here if you want to build support for the IrPORT IrDA device
driver. If you want to compile it as a module, say M here and
read Documentation/modules.txt. IrPORT can be used instead of
IrTTY and sometimes this can be better. One example is if your
IrDA port does not have echo-canceling, which will work OK with
IrPORT since this driver is working in half-duplex mode only. You
don't need to use irattach with IrPORT, but you just insert it
the same way as FIR drivers (insmod irport io=0x3e8 irq=11).
Notice that IrPORT is a SIR device driver which means that speed
is limited to 115200 bps.

If unsure, say Y.




Frank van Gestel
_________________________
Frank van Gestel

Top