[ltp] T60p Wifi and Display

Alex Deucher linux-thinkpad@linux-thinkpad.org
Tue, 4 Mar 2008 13:09:32 -0500


On Tue, Mar 4, 2008 at 12:13 PM, Phil Shotton <phil@stairbridge.org.uk> wrote:
> Hi Alex
>
>  I tried the radeonhd driver, and after a bit of fiddling I've managed to
>  get suspend/resume working - great.
>  However, with an external monitor plugged in I get no display on the
>  laptop screen once I've logged in (the login screen shows
>  on both).

This is due to the video resolution gui in gnome (or kde).  If you've
used the gui to set a mdoe it saves that configuration and resets it
when you log in.  however, it's not randr 1.2 aware so it doesn't work
well with multi-head.  It should work if you remove the keys in:
/desktop/gnome/screen/$hostname/$screennum/

Alex

>
>  xrandr reports:
>  Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 2800 x 1050
>  VGA_1 connected 1280x1024+0+0 32mm x 32mm
>    1280x1024      75.0*
>    1024x768       75.1     70.1     60.0
>    800x600        72.2     75.0     60.3
>    640x480        75.0     72.8     60.0
>    720x400        70.1
>  PANEL connected
>    1400x1050      60.0 +
>  DVI-D_1 disconnected
>
>  Looking in Xorg.0.log (attached) shows lots of "Not using default mode
>   ...." with "vrefresh out of range" and "hsync out of range" and "height
>  too large for virtual size" but it still returns the modeline for the
>  1400x1050 resolution that xrandr shows.
>
>  My xorg.conf is about as simple as I could make it. Also attached.
>
>  Cheers
>  Phil
>
>  Alex Deucher wrote:
>  > On Tue, Mar 4, 2008 at 9:30 AM, Phil Shotton <phil@stairbridge.org.uk> wrote:
>  >
>  >> After finally getting my T60 working to my satisfaction I've been
>  >>  upgraded(!) to a T60p, and I now have two problems after installing
>  >>  Ubuntu Gutsy:
>  >>
>  >>  1) Atheros AR5418 wifi card. Not recognized.  I've tried using the
>  >>  latest madwifi for this but with no success. The ndiswrapper works fine,
>  >>  but it's not getting loaded at boot. The ndiswrapper config placed an
>  >>  ndiswrapper file in /etc/modprobe.d - containing 1 line:
>  >>     alias wlan0 ndiswrapper
>  >>  but the driver still doesn't get loaded. If I "modprobe ndiswrapper"
>  >>  everything works fine (in fact I get better wifi performance than with T60).
>  >>
>  >>  2) Display. This T60p has an ATI Mobility FireGL V5250. I need dual-head
>  >>  support and the only way I could get that on the T60 (ATI X1400) was to
>  >>  use the ATI proprietary drivers. I'm using the latest 8.452.1 version,
>  >>  and it all works OK except:
>  >>
>  >
>  > That chips works fine in both radeon (6.8.0 and newer) and radeonhd.
>  > No 3D yet however.
>  >
>  > Alex
>  >
>
>
>  # xorg.conf (xorg X Window System server configuration file)
>  #
>  # This file was generated by failsafeDexconf, using
>  # values from the debconf database and some overrides to use vesa mode.
>  #
>  # You should use dexconf or another such tool for creating a "real" xorg.conf
>  # For example:
>  #   sudo dpkg-reconfigure -phigh xserver-xorg
>
>  Section "ServerLayout"
>         Identifier     "Default Layout"
>         Screen      0  "aticonfig-Screen[0]" 0 0
>         InputDevice    "Generic Keyboard"
>         InputDevice    "Configured Mouse"
>         InputDevice    "Synaptics Touchpad"
>  EndSection
>
>  Section "Files"
>  EndSection
>
>  Section "Module"
>         Load  "glx"
>         Load  "GLcore"
>         Load  "v4l"
>  EndSection
>
>  Section "InputDevice"
>         Identifier  "Generic Keyboard"
>         Driver      "kbd"
>         Option      "CoreKeyboard"
>         Option      "XkbRules" "xorg"
>         Option      "XkbModel" "pc105"
>         Option      "XkbLayout" "gb"
>  EndSection
>
>  Section "InputDevice"
>         Identifier  "Configured Mouse"
>         Driver      "mouse"
>         Option      "CorePointer"
>         Option      "Device" "/dev/input/mice"
>         Option      "Protocol" "ImPS/2"
>         Option      "ZAxisMapping" "4 5"
>         Option      "Emulate3Buttons" "true"
>  EndSection
>
>  Section "InputDevice"
>         Identifier  "Synaptics Touchpad"
>         Driver      "synaptics"
>         Option      "SendCoreEvents" "true"
>         Option      "Device" "/dev/psaux"
>         Option      "Protocol" "auto-dev"
>         Option      "HorizScrollDelta" "0"
>  EndSection
>
>  Section "Monitor"
>         Identifier   "PANEL"
>         Option      "VendorName" "IBM"
>         Option      "ModelName" "T60p Panel"
>         Option      "DPMS" "true"
>  EndSection
>
>  Section "Monitor"
>         Identifier   "VGA_1"
>         Option      "VendorName" "DGM"
>         Option      "ModelName" "LCD Panel"
>         Option      "DPMS" "true"
>         Option      "RightOf" "PANEL"
>  EndSection
>
>  Section "Device"
>         Identifier  "aticonfig-Device[0]"
>         Driver      "radeonhd"
>         Option      "monitor-VGA_1"     "VGA_1"
>         Option      "monitor-PANEL"     "PANEL"
>  EndSection
>
>  Section "Screen"
>         Identifier "aticonfig-Screen[0]"
>         Device     "aticonfig-Device[0]"
>         Monitor    "PANEL"
>         DefaultDepth     24
>         SubSection "Display"
>                 Virtual 3500  1800
>                 Depth     24
>         EndSubSection
>  EndSection
>
>  #Section "Extensions"
>  #       Option      "Composite" "0"
>  #EndSection
>
>
>