Acer 3400LMI manual

Models: 3400LMI

1 56
Download 56 pages 34.33 Kb
Page 37
Image 37

F8­x86_64 on the Acer Ferrari 3400LMi

to go for since it is faster than SIR and there is a stable Linux FIR driver available for this IR­chip. Below I'll walk you through the steps that got it working for me.

1.Start with grabbing a pen and a piece of paper and restart your Precious. Yes, this is one of those few occasions when you need to restart you Linux system. Press F2 during boot­up to enter the BIOS and note the settings for your IR­port. You do not need to change anything, but you need to know your exact setting. I will use my own setting through out this example:

Base I/O address:

[2F8]

Interrupt:

[IRQ

3]

DMA channel:

[DMA

1]

Once you have noticed your corresponding setting just exit the BIOS without saving and start your system.

2.Make sure that no other services use IRQ 3. Most likely your setting is also IRQ 3, so start looking in the /etc/pcmcia/config.opts file. Here you need to uncomment or insert the line

exclude irq 3

to prevent the pcmcia service from intervening.

3.Now we want a module capable of handling FIR on the Ferrari chip to be loaded when the IrDA service is started. The module of choice is nsc­ircc, so add the following two lines in /etc/modprobe.conf:

alias irda0 nsc­ircc

options nsc­ircc dongle_id=0x09 io=0x2f8 irq=3 dma=1

Pay attention to use the settings from your own BIOS for the last three parameters.

4.We also need to tell the IrDa service to attach directly to the device for our FIR capable module, so make sure to change the DEVICE setting in

/etc/sysconfig/irda to:

DEVICE=irda0

5.Then we do not want the generic Linux serial driver to interfere. One way of doing that is to add the following line in /etc/init.d/irda:

setserial /dev/ttyS1 uart none

The line should be place just before

daemon /usr/sbin/irattach ${DEVICE} ${ARGS}

6.While you are at it you might as well disable SIR by commenting out the tty lines. A short snippet of the final /etc/init.d/irda:

...

# /sbin/modprobe ircomm­tty 2>/dev/null

37

Page 37
Image 37
Acer 3400LMI manual