Acer 3400LMI manual LVDS+VGA­0, Next=$Current

Page 50

F8­x86_64 on the Acer Ferrari 3400LMi

#

LVDS+S­video (mirror)

=>

#LVDS+S­video (side­by­side) =>

#

LVDS+VGA­0

(mirror)

=>

#

LVDS+VGA­0

(side­by­side)

=>

#

LVDS

(single)

=>

#...

#Connection modes that include not connected outputs are skipped.

#Ex: with only VGA­0 connected it is only three connection modes:

if [ "$CURRENT" != "$INTERNAL" ­a \ "${ALLPOS[$INTNDX]}" == "${ALLPOS[$CURNDX]}" ]; then

NEXT=$CURRENT

else

for (( i=0; i<${#ALLOUT[*]}; i++ )) {

[ "${CONCTD[$i]}" == "${CURRENT}" ] && break

}

until [ "$NEXT" ]; do

i=$(( ($i+1)%${#ALLOUT[*]} )) NEXT=${CONCTD[$i]}

done

fi

#Internal output always active INT="­­output $INTERNAL ­­auto"

#Turn off currently active external output

["$CURRENT" != "$INTERNAL" ­a "$CURRENT" != "$NEXT" ] && \ OFF="­­output $CURRENT ­­off"

#Turn on next connected external output [ "$NEXT" != "$INTERNAL" ] && \

ON="­­output $NEXT ­­auto"

#If mirror mode, reposition internal output.

#Otherwise position external output

["$NEXT" != "$CURRENT" ] \

&&INT="$INT ­­pos 0x0" \ ON="$ON $LOCATION"

run xrandr $INT $OFF $ON

}

case `echo "$ACTION" tr A­Z a­z` in init)

init

;;

toggle) toggle

;;

status) status

;;

50

Image 50
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