[Bug 190481] save_video_pci_state support for s2ram
https://bugzilla.novell.com/show_bug.cgi?id=190481 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|andreas.hanke@gmx-topmail.de| ------- Comment #19 from andreas.hanke@gmx-topmail.de 2007-01-04 18:18 MST ------- This is really frustrating because it still doesn't work. Again, init=/bin/bash, mount /proc, mount /sys. Then I tried all combinations of s2ram options that make sense according to http://en.opensuse.org/S2ram, each with -v added. The results are different, but none is working. With the following combinations, the caps lock key shows reaction: -f -v -a2 -f -v -p -m -f -v -p -s -f -v -p -f -v -m -f -v -s But none of them brings the backlight back. With the following, there's not even a reaction on the caps lock key: -f -v -a1 -f -v -a3 -f -v -a1 -m -f -v -a1 -s Another difference is, that with some combinations, blindly entering "beep" actually beeps, and with others it doesn't beep. But I didn't write the combinations down. Would they be useful information? What really scares me is that resuming works "almost properly" _without_ any s2ram options except for -f when using this pm-utils hook: ############################################################################ #!/bin/bash save_video_pci_state() { for x in /sys/bus/pci/devices/*; do if [ `cat $x/class` = "0x030000" ]; then cat $x/config >/var/run/vga-pci-`basename $x`; fi done } restore_video_pci_state() { for x in /sys/bus/pci/devices/*; do if [ -f /var/run/vga-pci-`basename $x` ]; then cat /var/run/vga-pci-`basename $x` >$x/config; fi done } case "$1" in suspend) save_video_pci_state ;; resume) restore_video_pci_state ;; *) ;; esac exit $? ############################################################################ This way, it works even from within X except that the windows are afterwards broken like in attachment 110312. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com