kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #11172
[Bug 955046] Re: Screen backlight is OFF when resuming from suspend with vgaswitcheroo controlled cards
Marco Trevisan (Treviño), this bug was reported a while ago and there
hasn't been any activity in it recently. We were wondering if this is
still an issue? If so, could you please test for this with the latest
development release of Ubuntu? ISO images are available from
http://cdimage.ubuntu.com/daily-live/current/ .
If it remains an issue, could you please run the following command in
the development release from a Terminal
(Applications->Accessories->Terminal), as it will automatically gather
and attach updated debug information to this report:
apport-collect -p linux <replace-with-bug-number>
** Tags added: needs-kernel-logs needs-upstream-testing
** Changed in: linux (Ubuntu)
Status: Confirmed => Incomplete
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/955046
Title:
Screen backlight is OFF when resuming from suspend with vgaswitcheroo
controlled cards
Status in The Linux Kernel:
Confirmed
Status in “linux” package in Ubuntu:
Incomplete
Status in “pm-utils” package in Ubuntu:
Confirmed
Bug description:
Using vgaswitcheroo to disable the integrate or discrete card could
lead to some troubles when resuming from suspension (to RAM or disk as
well). Basically, the computer monitor backlight could be not be
turned on again when resuming from suspension.
To me it happens this:
- I disable the integrated card
- Suspend
- Resume: no monitor backlight is on
At this point doing what mentioned below fix the issue, but it must be done by SSH or by memory :):
echo DIGD > /sys/kernel/debug/vgaswitcheroo/switch
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
So, the easiest and clean fix should be to add a sleep.d script
something like:
#!/bin/sh
if [ -e /sys/kernel/debug/vgaswitcheroo/switch ]; then
case "$1" in
hibernate|suspend)
echo ON > /sys/kernel/debug/vgaswitcheroo/switch
;;
thaw|resume)
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
;;
esac
fi
This would fix the issue for vgaswitcheroo users and won't touch the
others.
To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/955046/+subscriptions