On 24.08.2010 19:06, Didier 'OdyX' Raboud wrote:
> Le jeudi 22 avril 2010 17:05:53 Didier Raboud, vous avez écrit :
>> Package: pm-utils
>> Version: 1.3.0-1
>> Severity: normal
>> Tags: upstream
>>
>> Hi,
>>
>> AFAIK, pm-utils is supposed to avoid a vt switch when KMS is in use. Still:
>>
>>      $ sudo pm-suspend
>>
>> switches to vt1 before performing the actual suspend.
>>
>> Please ask if you need any complement !
>>
>> Cheers,
>>
>> OdyX
> 
> Hi, 
> 
> I took a closer look at that issue. The facts are (here on my laptop, running 
> i915 as told):
> 
>   * Running pm-suspend from a non-X vt doesn't change the vt
>   * Running pm-suspend from the X vt changes the vt,
>     - despite having all "chvt" calls in the /etc/pm/sleep.d/ directory 
>       commented
>     - despite having dpkg-diverted /bin/chvt to /bin/chvt.distrib and removed
>      /bin/chvt
> 
> So there is something 'outside' pm-utils that does the vt switch, when pm-
> suspend is called within X. I'm using latest sid KDE.
> 
> So I could reassign that bug, but to which package ? 
> 

Do you use uswsusp?

Does it help if you run
echo "SLEEP_MODULE=kernel" > /etc/pm/config.d/backend
before you run pm-suspend?

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to