[arch-general] Laptop Install - 2 questions remain, WPA and Compiz with Radeon Driver

David C. Rankin, J.D.,P.E. drankinatty at suddenlinkmail.com
Sun May 3 06:11:04 EDT 2009


Listmates,

	The laptop install (Toshiba 205D) went great accept where I am stuck with 
video drivers for my ati card, and the last little nit of getting wifi to 
start automatically. First the easy one, the wireless:

(1) My laptop has an Atheros card and is happily using the madwifi driver. The 
only problem is that I'm starting it manually and need to know where to put 
the pieces to have it start automatically. Basically, it takes 3 commands to 
get my wifi going:

ESSID=${1:-skyline}
IFACE=${2:-wlan0}

iwconfig ${IFACE} essid "${ESSID}"

wpa_supplicant -i${IFACE} -Dwext -c/etc/wpa_supplicant.conf -d -B 
>> /var/log/wpa_start.log 2>&1

sleep 2   # This doesn't count as a command

dhcpcd wlan0

	My question is "Where do I put this stuff to make it happen when I start 
Arch??

(2) No Compiz with the radeon driver. I know there must be a trick or two that 
will make this work. Heck, I even got compiz working on the intel card, so I 
know the ATI card (X1200) will do it (it does it with the fglrx driver on 
openSuSE). However, I don't know what the tricks are to getting it working on 
the stock radeon driver. Any other ATI Arch users know any more about this??

	Here is my current xorg.conf:

#
Section "Files"
  FontPath     "/usr/share/fonts/misc:unscaled"
  FontPath     "/usr/share/fonts/local"
  FontPath     "/usr/share/fonts/75dpi:unscaled"
  FontPath     "/usr/share/fonts/100dpi:unscaled"
  FontPath     "/usr/share/fonts/Type1"
  FontPath     "/usr/share/fonts/URW"
  FontPath     "/usr/share/fonts/speedo"
  FontPath     "/usr/share/fonts/artwiz-fonts"
  FontPath     "/usr/share/fonts/cyrillic"
  FontPath     "/usr/share/fonts/truetype"
  FontPath     "/usr/share/fonts/TTF"
  FontPath     "/usr/share/fonts/uni:unscaled"
  FontPath     "/usr/local/share/fonts"
  FontPath     "/opt/kde3/share/fonts"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail" "on"
  Option      "IgnoreABI" "on"
EndSection

Section "Module"
  Load         "dbe"
  Load         "type1"
  Load         "freetype"
  Load         "extmod"
  Load         "glx"
  Load         "dri"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "microsoftpro"
  Option       "XkbRules" "xfree86"
EndSection

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "Microsoft Wheel Mouse Optical"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
        Identifier  "Mouse[3]"
        Driver      "synaptics"
        Option      "Device" "/dev/input/mice"
        Option      "Emulate3Buttons" "on"
        Option      "Name" "Touchpad"
        Option      "SHMConfig" "on"
        Option      "Vendor" "Synaptics"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier   "Monitor[0]"
        VendorName   "TOSHIBA"
        ModelName    "TOSHIBA 17IN TRUEBRIGHT"
        UseModes     "Modes[0]"
        DisplaySize  367        230
        HorizSync    30.0 - 70.0
        VertRefresh  43.0 - 60.0
        Option       "CalcAlgorithm" "XServerPool"
        Option       "DPMS"
        Option       "PreferredMode" "1440x900"
EndSection

Section "Modes"
  Identifier   "Modes[0]"
EndSection

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1440x900" "1024x768" "800x600"
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1440x900" "1024x768" "800x600"
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1440x900" "1024x768" "800x600"
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1440x900" "1024x768" "800x600"
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection

Section "Device"
  BoardName    "RV350 NP"
#  BusID        "1:5:0"
  Driver       "radeon"
  Identifier   "Device[0]"
#  Option       "GARTSize" "32"
  VendorName   "ATI"
EndSection

Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  InputDevice  "Mouse[3]" "SendCoreEvents"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen      0  "Screen[0]" 0 0
EndSection

Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
        Option      "Composite" "true"
        Option      "DAMAGE" "true"
EndSection



-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


More information about the arch-general mailing list