Fórum Ubuntu CZ/SK
Ostatní => Archiv => Téma založeno: Ficik 01 Srpna 2007, 10:18:48
-
Tak jsem se pokusil nainstalovat suspend2... mam balicky z tuxfamily (patchnutej kernel, suspend2 a ja nevim co este) . Do Grubu sem dopsal resume2=swap:/dev/hdc1, zakomentoval nvidii... nekde tu byl navod.
Problem je ze kdyz napisu sudo hibernate tak mi to napise "See you later!!! ", zcerna obrazovka a do vteriny sem zpet a dostanu "Welcome back!!!".. copak stim?
-
na Feistym mi fungoval tento návod (http://blog.paulbetts.org/index.php/2007/02/11/fixing-software-suspend-hibernate-with-uswsusp-in-ubuntu-feisty-and-edgy/) (ale iba na tom dolnom kompe. Na tom hornom sa vždy prebudím do čiernej obrazovky - kvoli nvidia driverom - hoci tie sú aj na tom kompe dole. Každopádne za vyskúšanie nič nedáš)
-
milan@olbrait:~$ sudo hibernate
See you later!!!
Some modules failed to unload: nvidia
hibernate: Aborting suspend due to errors in ModulesUnloadBlacklist (use --force to override).
Welcome back!!!asi ti to vypísalo toto isté, takže použi --force, tak ako ti to navrhuje - "sudo hibernate --force"
nebudem zakladať novú tému, keď som to už spomenul tu. Ak hibernujem počítač cez uswsusp alebo cez suspend2, vždy sa prebudí do čiernej obrazovky, klávesnica nereaguje, pomôže len trvdý reštart. Asi to bude vážne kvoli driverom (inštalované cez Restricted Drivers Manager), ale neviem sa s tým pohnúť. Ako by som to vyriešil? Hibernáicu by som potreboval
-
milan@olbrait:~$ sudo hibernate
See you later!!!
Some modules failed to unload: nvidia
hibernate: Aborting suspend due to errors in ModulesUnloadBlacklist (use --force to override).
Welcome back!!!asi ti to vypísalo toto isté, takže použi --force, tak ako ti to navrhuje - "sudo hibernate --force"
nebudem zakladať novú tému, keď som to už spomenul tu. Ak hibernujem počítač cez uswsusp alebo cez suspend2, vždy sa prebudí do čiernej obrazovky, klávesnica nereaguje, pomôže len trvdý reštart. Asi to bude vážne kvoli driverom (inštalované cez Restricted Drivers Manager), ale neviem sa s tým pohnúť. Ako by som to vyriešil? Hibernáicu by som potreboval
Potýkám se stejným problémem. Na vině bude pravděpodobně opravdu nVidia driver - ale nepomohl ani návrat k původním "friendly" ovladačům. Laptop se vždy bez problémů uspí, ale jak popisuješ, nikdy se neprobudí - resp. probudí se - spustí se disk (podle zvuku, alespoň si myslím, že je to disk) a pak už nic jiného. Klávesnice nereaguje, černá obrazovka...
... kdyby někdo věděl, jak vyřešit tento problém, opravdu by to pomohlo...
Díky
-
takže riešenie je tu (https://help.ubuntu.com/community/NvidiaLaptopBinaryDriverSuspend). Do xorg.conf do sekcie "device" treba pridať riadok
Option "NvAGP" "1"a pred hibernáviou sa nesmie zabudnúť zvoliť ako správcu okien Metacity namiesto Berylu. To som už riešil tu (http://forum.ubuntu.cz/viewtopic.php?id=11585). Odskúšané s uswsusp
-
... chtěl bych tě požádat, zda bys sem nemohl hodit vypis tveho xorg.conf a acpi-support...
díky
-
xorg.conf
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
Fontpath "/usr/share/fonts/X11/misc"
Fontpath "/usr/share/fonts/X11/cyrillic"
Fontpath "/usr/share/fonts/X11/100dpi/:unscaled"
Fontpath "/usr/share/fonts/X11/75dpi/:unscaled"
Fontpath "/usr/share/fonts/X11/Type1"
Fontpath "/usr/share/fonts/X11/100dpi"
Fontpath "/usr/share/fonts/X11/75dpi"
# path to defoma fonts
Fontpath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "sk,us"
Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
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"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "Device"
Identifier "nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x]"
Driver "nvidia"
Busid "PCI:1:0:0"
Option "NvAGP" "1"
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"
Option “XAANoOffscreenPixmaps”
# Option "NoLogo" "True"
EndSection
Section "Monitor"
Identifier "PHILIPS 107T"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x]"
Monitor "PHILIPS 107T"
Defaultdepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x350"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x350"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x350"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x350"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "832x624" "800x600" "720x400" "640x480" "640x350"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "832x624" "800x600" "720x400" "640x480" "640x350"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
screen "Default Screen"
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
Inputdevice "stylus" "SendCoreEvents"
Inputdevice "cursor" "SendCoreEvents"
Inputdevice "eraser" "SendCoreEvents"
EndSection
Section "DRI"
Mode 0666
EndSectionacpi-support# Comment the next line to disable ACPI suspend to RAM
ACPI_SLEEP=true
# Comment the next line to disable suspend to disk
ACPI_HIBERNATE=true
# Comment the next line to disable the use of the hibernate script for
# driving the suspend-to-disk process.
ACPI_USE_HIBERNATE_SCRIPT=true
# Arguments to pass to the hibernate script if ACPI_USE_HIBERNATE_SCRIPT is set
#ACPI_HIBERNATE_ARGS="--config-file=/etc/hibernate/suspend2.conf"
# Enable the following to use the hibernate script for suspend to RAM also.
# Enabling this means that most of the rest of this file is irrelevant.
# Add your tweaks to /etc/hibernate/ram.conf instead.
#ACPI_USE_HIBERNATE_FOR_STR=true
# Arguments to pass to the hibernate script for suspend to RAM if
# ACPI_USE_HIBERNATE_FOR_STR is enabled, above.
#ACPI_HIBERNATE_STR_ARGS="--config-file=/etc/hibernate/ram.conf"
# Change the following to "standby" to use ACPI S1 sleep, rather than S3.
# This will save less power, but may work on more machines
ACPI_SLEEP_MODE=mem
# Add modules to this list to have them removed before suspend and reloaded
# on resume. An example would be MODULES="em8300 yenta_socket"
#
# Note that network cards and USB controllers will automatically be unloaded
# unless they're listed in MODULES_WHITELIST
MODULES=""
# Add modules to this list to leave them in the kernel over suspend/resume
MODULES_WHITELIST=""
# Should we save and restore state using the VESA BIOS Extensions?
SAVE_VBE_STATE=true
# The file that we use to save the vbestate
VBESTATE=/var/lib/acpi-support/vbestate
# Should we attempt to warm-boot the video hardware on resume?
POST_VIDEO=true
# Save and restore video state?
# SAVE_VIDEO_PCI_STATE=true
# Should we switch the screen off with DPMS on suspend?
USE_DPMS=true
# Use Radeontool to switch the screen off? Seems to be needed on some machines
# RADEON_LIGHT=true
# Uncomment the next line to switch away from X and back again after resume.
# This is needed for some hardware, but should be unnecessary on most.
# DOUBLE_CONSOLE_SWITCH=true
# Set the following to "platform" if you want to use ACPI to shut down
# your machine on hibernation
HIBERNATE_MODE=shutdown
# Comment this out to disable screen locking on resume
LOCK_SCREEN=true
# Uncomment this line to have DMA disabled before suspend and reenabled
# afterwards
# DISABLE_DMA=true
# Uncomment this line to attempt to reset the drive on resume. This seems
# to be needed for some Sonys
# RESET_DRIVE=true
# Add services to this list to stop them before suspend and restart them in
# the resume process.
STOP_SERVICES="mysql "
# Restart Infra Red services on resume - off by default as it crashes some
# machines
RESTART_IRDA=false
# Switch to laptop-mode on battery power - off by default as it causes odd
# hangs on some machines
ENABLE_LAPTOP_MODE=false