Acer 3400LMI manual Modem, Testing IrDA

Page 38

F8­x86_64 on the Acer Ferrari 3400LMi

#/sbin/modprobe irtty­sir 2>/dev/null /sbin/modprobe irnet 2>/dev/null setserial /dev/ttyS1 uart none

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

...

That is about it, You are done with the configuration.

14.2 Testing IrDA

Now start the IrDA service and watch the system log. Hopefully, you should see something similar the the following:

# service irda

start

Starting IrDA:

[ OK ]

#dmesg tail

...

ttyS1: LSR safety check engaged!

pnp: Device 00:09 activated. nsc­ircc, chip­>init

nsc­ircc, Found chip at base=0x02e nsc­ircc, driver loaded (Dag Brattli) IrDA: Registered device irda0

nsc­ircc, Using dongle: IBM31T1100 or Temic TFDS6000/TFDS6500

This verifies that you have got the proper modules in place. The last step is to verify that we are able both of transmitting and receiving traffic. So activate IR on the remote device, e.g. your phone, and place the two IR­ports eye­to­eye. Then do a dump of the traffic:

# irdadump

­i irda0

 

...xid:cmd

62a9cc0d > ffffffff S=6 s=5 (14)

 

...xid:cmd

62a9cc0d > ffffffff S=6 s=* redneck hint=0400 [ Computer ]

(23)

 

 

...xid:cmd

ffffffff < 6f700c8d S=1 s=0 (14)

 

...xid:rsp

62a9cc0d > 6f700c8d S=1 s=0 redneck hint=0400 [ Computer ]

(23)

 

 

...xid:cmd

ffffffff < 6f700c8d S=1 s=* P900

hint=9325 [ PnP PDA/Palmtop

Modem Telephony IrCOMM IrOBEX ] (21)

You're all set! The first I did after this was to use irobex_palm3 <SIS­file> to upload and install GnuBox and some other programs on my phone. To do this you need to have the openobex and openobex­apps packages installed and your phone must supports the OBEX protocol. Pretty neat!

15 Modem

The Ferrari 3400 has a Smart Link soft modem installed. After the Ferrari 3400 was produced Smart Link was acquired by Conexant. Conexant has a strange policy when it comes to providing drivers for it products. Linux drivers are not

38

Image 38
Contents Table of Contents F8-x8664 on the Acer Ferrari 3400LMiF8­x8664 on the Acer Ferrari 3400LMi Quick reference guide IntroductionVersion Hardware Status Details Potential pitfalls InstallationGraphical installer Disk sizeUpgrading the drive Ieee 1394 FirewireHard drive Potential problems # time cp ­rp /media/ieee1394disk/430MBfolder ~Configuring Firewire CommentsSpecial keys & buttons In-1 Card readerPC-card Configuration procedure Key-codesButton Key-code Default X key symbols Scan-codesLinux key-codes = XF86WWW Key-codes revisitedWWW Configure actions CPU & Acpi supportCPU frequency scaling GraphicsSuspend BasicsRadeon driver Simple configurationDual-Head Virtual screen size # xrandr ­q Screen 0 minimumXrandr tool Fn-F5 button10.3 3D acceleration Other observations Simple benchmarkOptimization Ntsc or PAL TV-outLoad detection InitializationWireless NIC Touch-padWlan firmware Installing WlanWlan tools Essid Get started with WlanManual way # iwconfig wlan0 essid Perspektiv GUI way BluetoothVerify installation Using a phone modem UP Running PscanPrepare the phone Prepare the laptopObex File Transfer 0x1106 Protocol Descriptor List Static configuration Short explanation of the command aboveDynamic routine Gprs AT+CGDATA=PPP,1Sending files KBluetoothInstallation Mouse & keyboardMouse & keyboard Scan for devicesLock screen Transfer files Configuring IrDAInfrared IRQ DMATesting IrDA ModemInstalling daemon SLMODEMDCOUNTRY=SWEDEN SLMODEMDDEVICE=Disconnecting Potential issueConnecting References System hangF8­x8664 on the Acer Ferrari 3400LMi Appendix a /etc/X11/xorg.conf XAA Ntsc Appendix B dual­head.shINTERNAL=LVDS ACTION=$1­$DEFAULTACTION CURNDX=$CURNDX­$INTNDX CURRENT=$ALLOUT$CURNDX Lvds LVDS+VGA­0 NEXT=$CURRENTInternal internal Tvout Usage Esac Appendix C dun­bind.sh F8­x8664 on the Acer Ferrari 3400LMi SLMODEMDOPTS=$SLMODEMDOPTS $SLMODEMDDEVICE $CONFIGRETVAL=0 RETVAL=$? F8­x8664 on the Acer Ferrari 3400LMi