Comment 64 for bug 719620

Revision history for this message
Daniel Manrique (roadmr) wrote :

Hi!

Here are the results of the tests with the debugging kernel:

>Then boot the kernel, perform the suspend & resume 2 times as you did
>before, and attach here the dmesg output.

Done, on first suspend there's no video back, on the second attempt video comes back fine, as we have been observing. dmesg is attached as sr-1.txt.

>After this, turn off the machine to restart the test, and do same test, but before you do the 2 >suspend & resumes, please >enable old_resume parameter I create for some extra debug:
>sudo sh -c "echo Y > /sys/module/video/parameters/old_resume"
>And do the test, and attach this second dmesg output.

With old_resume enabled, the kernel restores video just fine. I did two suspend/resume cycles just to be sure it's the same test, both resumed video without problems. dmesg attached as sr-2.txt, it was larger than 1MB so I enlarged the log buffer accordingly to capture everything starting from system boot.

>For a third test, and before you start the test, please enable ssh
>server on the machine. Then when the machine resumes and the screen is
>black, please try login into the machine with ssh and change the
>brightness writing to /sys/class/backlight/acpi_video0/brightness (see
>max_brightness on same directory to check what is the max value
>supported). Please tell if the screen remains black or not with this
>third test.

It remains black, no backlight.

dmesg shows this as last output:

[ 41.163312] acpi_video_device_lcd_set_level: set brightness to 100
[ 41.256933] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 41.598813] usb 1-1.6: new full speed USB device using ehci_hcd and address 6
[ 41.871745] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro,commit=0
[ 42.850451] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[ 151.430915] acpi_video_device_lcd_set_level: set brightness to 73

The backlight brightness at 41.163312 is from the wakeup attempt, the one at 151.43 is when I tried to write to /sys. I set the value to 6, max_brightness was 7.

Thanks!