Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 104945 Details for
Bug 159399
sys-power/hibernate-script-1.94-r1 and 855resolution
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
restart instead of start
hibernate-script-1.94-855resolution.patch (text/plain), 2.23 KB, created by
Stefan Becker
on 2006-12-29 10:46:38 UTC
(
hide
)
Description:
restart instead of start
Filename:
MIME Type:
Creator:
Stefan Becker
Created:
2006-12-29 10:46:38 UTC
Size:
2.23 KB
patch
obsolete
>diff -rup hibernate-script-1.94.orig/common.conf hibernate-script-1.94/common.conf >--- hibernate-script-1.94.orig/common.conf >+++ hibernate-script-1.94/common.conf >@@ -61,7 +61,7 @@ SaveClock restore-only > > ### hardware_tweaks > # IbmAcpi yes >-# Runi915resolution yes >+# Runi855resolution yes > # FullSpeedCPU yes > > ### lilo >diff -rup hibernate-script-1.94.orig/hibernate.vim hibernate-script-1.94/hibernate.vim >--- hibernate-script-1.94.orig/hibernate.vim >+++ hibernate-script-1.94/hibernate.vim >@@ -118,7 +118,7 @@ syntax keyword hibernate_conf backupgrub > " hardware_tweaks > syntax keyword hibernate_conf ibmacpi contained nextgroup=hibernate_boolean skipwhite > syntax keyword hibernate_conf radeontool contained nextgroup=hibernate_boolean skipwhite >-syntax keyword hibernate_conf runi915resolution contained nextgroup=hibernate_boolean skipwhite >+syntax keyword hibernate_conf runi855resolution contained nextgroup=hibernate_boolean skipwhite > syntax keyword hibernate_conf fullspeedcpu contained nextgroup=hibernate_boolean skipwhite > > " lilo >diff -rup hibernate-script-1.94.orig/scriptlets.d/hardware_tweaks hibernate-script-1.94/scriptlets.d/hardware_tweaks >--- hibernate-script-1.94.orig/scriptlets.d/hardware_tweaks >+++ hibernate-script-1.94/scriptlets.d/hardware_tweaks >@@ -77,13 +77,13 @@ RadeonToolBacklightOn() { > } > > ### >-## i915resolution >+## i855resolution > ### > >-AddConfigHelp "Runi915resolution <boolean>" "Set to run 915resolution before switching back to X." >+AddConfigHelp "Runi855resolution <boolean>" "Set to run 855resolution before switching back to X." > >-i915resolutionResume() { >- /etc/init.d/915resolution start || return 1 >+i855resolutionResume() { >+ /etc/init.d/855resolution restart || return 1 > return 0 > } > >@@ -177,12 +177,12 @@ HardwareTweaksOptions() { > IBM_ACPI_HOOKED=1 > fi > ;; >- runi915resolution) >+ runi855resolution) > BoolIsOn "$1" "$2" || return 0 >- if [ -z "$I915RESOLUTION_HOOKED" ] ; then >+ if [ -z "$I855RESOLUTION_HOOKED" ] ; then > # Needs to come before xhacks switches back to X. >- AddResumeHook 98 i915resolutionResume >- I915RESOLUTION_HOOKED=1 >+ AddResumeHook 98 i855resolutionResume >+ I855RESOLUTION_HOOKED=1 > > # Enable SwitchToTextMode too. > XHacksOptions switchtotextmode 1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 159399
: 104945