Acer 3400LMI manual Irq, Dma

Page 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

Image 37
Contents F8-x8664 on the Acer Ferrari 3400LMi Table of ContentsF8­x8664 on the Acer Ferrari 3400LMi Version IntroductionQuick reference guide Hardware Status Details Graphical installer InstallationPotential pitfalls Disk sizeHard drive Ieee 1394 FirewireUpgrading the drive # time cp ­rp /media/ieee1394disk/430MBfolder ~ Potential problemsComments Configuring FirewirePC-card In-1 Card readerSpecial keys & buttons Key-codes Configuration procedureScan-codes Button Key-code Default X key symbolsLinux key-codes WWW Key-codes revisited= XF86WWW CPU & Acpi support Configure actionsSuspend GraphicsCPU frequency scaling BasicsDual-Head Simple configurationRadeon driver # xrandr ­q Screen 0 minimum Virtual screen sizeFn-F5 button Xrandr tool10.3 3D acceleration Optimization Simple benchmarkOther observations Load detection TV-outNtsc or PAL InitializationTouch-pad Wireless NICWlan tools Installing WlanWlan firmware Manual way Get started with WlanEssid # iwconfig wlan0 essid Perspektiv Verify installation BluetoothGUI way UP Running Pscan Using a phone modemPrepare the laptop Prepare the phoneObex File Transfer 0x1106 Protocol Descriptor List Short explanation of the command above Static configurationDynamic routine AT+CGDATA=PPP,1 GprsInstallation KBluetoothSending files Mouse & keyboardScan for devices Mouse & keyboardLock screen Infrared Configuring IrDATransfer files DMA IRQModem Testing IrDAInstalling daemon SLMODEMDDEVICE= SLMODEMDCOUNTRY=SWEDENConnecting Potential issueDisconnecting System hang ReferencesF8­x8664 on the Acer Ferrari 3400LMi Appendix a /etc/X11/xorg.conf XAA INTERNAL=LVDS Appendix B dual­head.shNtsc ACTION=$1­$DEFAULTACTION CURNDX=$CURNDX­$INTNDX CURRENT=$ALLOUT$CURNDX Lvds NEXT=$CURRENT LVDS+VGA­0Internal internal Tvout Usage Esac Appendix C dun­bind.sh F8­x8664 on the Acer Ferrari 3400LMi RETVAL=0 $CONFIGSLMODEMDOPTS=$SLMODEMDOPTS $SLMODEMDDEVICE RETVAL=$? F8­x8664 on the Acer Ferrari 3400LMi