Hello.

I have a Toshiba R100 that I have installed Xubuntu 10.04 on.  This laptop
uses a Trident Microsystems CyberBlade XP4m32 display driver.  The support
for this device kind of sucks under Linux.  I've done some reading and
people suggest using the VESA display driver, since the Trident driver is
very buggy for the XP4m32, and doesn't support any hardware acceleration.
The VESA driver doesn't support any hardware acceleration either, but it
doesn't crash.

My problem is if the display sleeps it never comes back.  I've configured a
display sleep after 10 minutes of inactivity on battery or AC, it sleeps
just fine.  However it never comes back on.  Mouse or keyboard inputs don't
work, and switching between consoles (ctrl-Alt-F7, ctrl-Alt-F1) doesn't work
either.  I have to reboot the laptop to get the display to come back.
Suspending and resuming also causes the same problem.

On previous versions of Ubuntu (9.04) I just added a VGA=791 to my menu.lst
file and reran grub-config.  That fixed the problem.  Ubunutu 10.04 has
moved to grub 2.0, and VGA=nnn switch is deprecated in favour of
"gfxpayload=1024x768x24,1024x768", I added that to /etc/default/grub like
this

 GRUB_CMDLINE_LINUX="gfxpayload=1024x768x24,1024x768 splash"

I reran grub-config, however that did not fix the problem.

Does anybody have any thoughts or theories.

Currently my install is complete stock except for the line I added to
/etc/default/grub, I've also added the following xorg.conf

Section "ServerLayout"
    Identifier     "single head configuration"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Synaptics" "AlwaysCore"
EndSection

Section "Files"
    RgbPath      "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/lib/X11/fonts/misc/"
    FontPath   "/usr/lib/X11/fonts/TTF/"
    FontPath   "/usr/lib/X11/fonts/Type1/"
    FontPath   "/usr/lib/X11/fonts/CID/"
    FontPath   "/usr/lib/X11/fonts/75dpi/"
    FontPath   "/usr/lib/X11/fonts/100dpi/"
    FontPath   "/usr/lib/X11/fonts/local/"

EndSection

Section "Module"
    Load  "dbe"
    Load  "extmod"
    Load  "fbdevhw"
    Load  "glx"
    Load  "record"
    Load  "freetype"
    Load  "type1"
    Load  "synaptics"
    Load  "dri"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option        "XkbModel" "pc105"
    Option        "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "IMPS/2"
    Option        "Device" "/dev/mice"
    Option        "ZAxisMapping" "4 5"
    Option        "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
   Driver "synaptics"
   Identifier "Synaptics"
   Option "Device" "/dev/input/mouse0"
   Option "Protocol" "auto-dev"
   Option "LeftEdge" "130"
   Option "RightEdge" "840"
   Option "TopEdge" "130"
   Option "BottomEdge" "640"
   Option "FingerLow" "7"
   Option "FingerHigh" "8"
   Option "MaxTapTime" "180"
   Option "MaxTapMove" "110"
   Option "EmulateMidButtonTime" "75"
   Option "VertScrollDelta" "20"
   Option "HorizScrollDelta" "20"
   Option "MinSpeed" "0.60"
   Option "MaxSpeed" "1.10"
   Option "AccelFactor" "0.030"
   Option "EdgeMotionMinSpeed" "200"
   Option "EdgeMotionMaxSpeed" "200"
   Option "UpDownScrolling" "1"
   Option "CircularScrolling" "1"
   Option "CircScrollDelta" "0.1" Option "CircScrollTrigger" "2"
   Option "SHMConfig" "on"
   Option "Emulate3Buttons" "on"
 EndSection
Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Toshiba TOS5082"
    DisplaySize  240    180
    HorizSync    31.0 - 48.0
    VertRefresh  50.0 - 70.0
    Option        "dpms"
EndSection

Section "Device"
    Identifier  "Videocard0"
    Driver      "vesa"
    VendorName  "Videocard vendor"
    BoardName   "VESA driver (generic)"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Videocard0"
    Monitor    "Monitor0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     16
        Modes    "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes    "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"
    Group        0
    Mode         0666
EndSection


Craig.


_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to