Debian Bug report logs - #578763
pm-utils: Switches vt despite use of KMS (intel i915)

Package: linux-2.6; Maintainer for linux-2.6 is Debian Kernel Team <debian-kernel@lists.debian.org>;

Reported by: Didier Raboud <didier@raboud.com>

Date: Thu, 22 Apr 2010 15:09:01 UTC

Severity: wishlist

Tags: upstream

Done: Moritz Mühlenhoff <jmm@inutil.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Tim Dijkstra <tim@famdijkstra.org>:
Bug#578763; Package pm-utils. (Thu, 22 Apr 2010 15:09:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Didier Raboud <didier@raboud.com>:
New Bug report received and forwarded. Copy sent to Tim Dijkstra <tim@famdijkstra.org>. (Thu, 22 Apr 2010 15:09:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Didier Raboud <didier@raboud.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: pm-utils: Switches vt despite use of KMS (intel i915)
Date: Thu, 22 Apr 2010 17:05:53 +0200
Package: pm-utils
Version: 1.3.0-1
Severity: normal
Tags: upstream

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

- -- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (750, 'unstable'), (700, 'testing-proposed-updates'), (700, 'testing'), (90, 'experimental'), (50, 'testing-proposed-updates'), (50, 'experimental'), (50, 'unstable'), (50, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pm-utils depends on:
ii  kbd                           1.15.1-3   Linux console font and keytable ut
ii  powermgmt-base                1.31       Common utils and configs for power

Versions of packages pm-utils recommends:
ii  procps                        1:3.2.8-8  /proc file system utilities
pn  radeontool                    <none>     (no description available)
pn  vbetool                       <none>     (no description available)

Versions of packages pm-utils suggests:
ii  cpufrequtils                  006-2      utilities to deal with the cpufreq
pn  uswsusp                       <none>     (no description available)

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iJwEAQECAAYFAkvQZcgACgkQ884eR6Y9JhR/3AP7BXIWTsQT/M+FIjXKnVovpvNL
LEjpT3zIQMf6VLGpw09VxQQN6TO0SwG98tW+HWAJz5bI1KTr1pCF8Ps9w7pZS/MJ
gW2GUO8RrZ/W8cpN65vJbuYvZQNDg/p4tP669rC1MNB1SDJz0rBBExrkbvydwmLJ
MxFxbhISRwz9u0F4oL8=
=KZvJ
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, Tim Dijkstra <tim@famdijkstra.org>:
Bug#578763; Package pm-utils. (Thu, 22 Apr 2010 15:57:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Tim Dijkstra <tim@famdijkstra.org>. (Thu, 22 Apr 2010 15:57:03 GMT) Full text and rfc822 format available.

Message #10 received at 578763@bugs.debian.org (full text, mbox):

From: Michael Biebl <biebl@debian.org>
To: Didier Raboud <didier@raboud.com>, 578763@bugs.debian.org
Subject: Re: Bug#578763: pm-utils: Switches vt despite use of KMS (intel i915)
Date: Thu, 22 Apr 2010 17:55:19 +0200
[Message part 1 (text/plain, inline)]
On 22.04.2010 17:05, Didier Raboud wrote:
> 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.

Does this break anything or is it just a nuisance?

> Please ask if you need any complement !

Could you please run
PM_DEBUG=1 pm-suspend

and attach the log file /var/log/pm-suspend.log

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

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Tim Dijkstra <tim@famdijkstra.org>:
Bug#578763; Package pm-utils. (Thu, 22 Apr 2010 16:15:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Didier 'OdyX' Raboud" <didier@raboud.com>:
Extra info received and forwarded to list. Copy sent to Tim Dijkstra <tim@famdijkstra.org>. (Thu, 22 Apr 2010 16:15:05 GMT) Full text and rfc822 format available.

Message #15 received at 578763@bugs.debian.org (full text, mbox):

From: "Didier 'OdyX' Raboud" <didier@raboud.com>
To: Michael Biebl <biebl@debian.org>
Cc: 578763@bugs.debian.org
Subject: Re: Bug#578763: pm-utils: Switches vt despite use of KMS (intel i915)
Date: Thu, 22 Apr 2010 18:09:03 +0200
[Message part 1 (text/plain, inline)]
Le jeudi 22 avril 2010 17:55:19, vous avez écrit :
> On 22.04.2010 17:05, Didier Raboud wrote:
> > 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.
> 
> Does this break anything or is it just a nuisance?

Hi Michael, 

That's very clearly just a nuisance. But it doesn't work as expected.

> > Please ask if you need any complement !
> 
> Could you please run
> PM_DEBUG=1 pm-suspend
> 
> and attach the log file /var/log/pm-suspend.log
> 
> Thanks,
> Michael

Done. Attached.

Cheers, 
OdyX

-- 
Didier Raboud, proud Debian Maintainer (DM).
CH-1020 Renens
didier@raboud.com
[pm-suspend.log (text/x-log, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Tim Dijkstra <tim@famdijkstra.org>:
Bug#578763; Package pm-utils. (Tue, 24 Aug 2010 21:12:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Didier 'OdyX' Raboud" <didier@raboud.com>:
Extra info received and forwarded to list. Copy sent to Tim Dijkstra <tim@famdijkstra.org>. (Tue, 24 Aug 2010 21:12:03 GMT) Full text and rfc822 format available.

Message #20 received at 578763@bugs.debian.org (full text, mbox):

From: "Didier 'OdyX' Raboud" <didier@raboud.com>
To: 578763@bugs.debian.org
Subject: Re: pm-utils: Switches vt despite use of KMS (intel i915)
Date: Tue, 24 Aug 2010 19:06:55 +0200
[Message part 1 (text/plain, inline)]
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 ? 

Cheers, OdyX
-- 
Didier Raboud, proud Debian Maintainer (DM).
CH-1020 Renens
didier@raboud.com
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Tim Dijkstra <tim@famdijkstra.org>:
Bug#578763; Package pm-utils. (Tue, 24 Aug 2010 21:18:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Tim Dijkstra <tim@famdijkstra.org>. (Tue, 24 Aug 2010 21:18:06 GMT) Full text and rfc822 format available.

Message #25 received at 578763@bugs.debian.org (full text, mbox):

From: Michael Biebl <biebl@debian.org>
To: Didier 'OdyX' Raboud <didier@raboud.com>, 578763@bugs.debian.org
Subject: Re: Bug#578763: pm-utils: Switches vt despite use of KMS (intel i915)
Date: Tue, 24 Aug 2010 23:14:54 +0200
[Message part 1 (text/plain, inline)]
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?

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Tim Dijkstra <tim@famdijkstra.org>:
Bug#578763; Package pm-utils. (Wed, 25 Aug 2010 08:09:09 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Didier 'OdyX' Raboud" <didier@raboud.com>:
Extra info received and forwarded to list. Copy sent to Tim Dijkstra <tim@famdijkstra.org>. (Wed, 25 Aug 2010 08:09:09 GMT) Full text and rfc822 format available.

Message #30 received at 578763@bugs.debian.org (full text, mbox):

From: "Didier 'OdyX' Raboud" <didier@raboud.com>
To: Michael Biebl <biebl@debian.org>
Cc: 578763@bugs.debian.org
Subject: Re: Bug#578763: pm-utils: Switches vt despite use of KMS (intel i915)
Date: Tue, 24 Aug 2010 23:25:25 +0200
Le mardi 24 août 2010 23:14:54 Michael Biebl, vous avez écrit :
> On 24.08.2010 19:06, Didier 'OdyX' Raboud wrote:
> > (…)
> > 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?

I had it installed, but it is now purged for months.

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

Nope.

Cheers,

OdyX

-- 
Didier Raboud, proud Debian Maintainer (DM).
CH-1020 Renens
didier@raboud.com




Information forwarded to debian-bugs-dist@lists.debian.org, Tim Dijkstra <tim@famdijkstra.org>:
Bug#578763; Package pm-utils. (Thu, 07 Oct 2010 02:39:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Tim Dijkstra <tim@famdijkstra.org>. (Thu, 07 Oct 2010 02:39:04 GMT) Full text and rfc822 format available.

Message #35 received at 578763@bugs.debian.org (full text, mbox):

From: Michael Biebl <biebl@debian.org>
To: Didier 'OdyX' Raboud <didier@raboud.com>, 578763@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: Bug#578763: pm-utils: Switches vt despite use of KMS (intel i915)
Date: Thu, 07 Oct 2010 04:36:16 +0200
[Message part 1 (text/plain, inline)]
reassign 578763 linux-2.6
thanks
On 24.08.2010 23:25, Didier 'OdyX' Raboud wrote:
> Le mardi 24 août 2010 23:14:54 Michael Biebl, vous avez écrit :
>> On 24.08.2010 19:06, Didier 'OdyX' Raboud wrote:
>>> (…)
>>> 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?
> 
> I had it installed, but it is now purged for months.
> 
>> Does it help if you run
>> echo "SLEEP_MODULE=kernel" > /etc/pm/config.d/backend
>> before you run pm-suspend?
>>
>> Michael
> 
> Nope.
> 

Looks like the chvt is done by the kernel, even if KMS is used.

So, reassigning.

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

[signature.asc (application/pgp-signature, attachment)]

Bug reassigned from package 'pm-utils' to 'linux-2.6'. Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Thu, 07 Oct 2010 02:39:07 GMT) Full text and rfc822 format available.

Bug No longer marked as found in versions pm-utils/1.3.0-1. Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Thu, 07 Oct 2010 02:39:08 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'normal' Request was from Ben Hutchings <ben@decadent.org.uk> to control@bugs.debian.org. (Sun, 10 Oct 2010 19:09:03 GMT) Full text and rfc822 format available.

Reply sent to Moritz Mühlenhoff <jmm@inutil.org>:
You have taken responsibility. (Mon, 08 Jul 2013 17:43:52 GMT) Full text and rfc822 format available.

Notification sent to Didier Raboud <didier@raboud.com>:
Bug acknowledged by developer. (Mon, 08 Jul 2013 17:43:52 GMT) Full text and rfc822 format available.

Message #46 received at 578763-done@bugs.debian.org (full text, mbox):

From: Moritz Mühlenhoff <jmm@inutil.org>
To: 564476-done@bugs.debian.org, 585016-done@bugs.debian.org, 514298-done@bugs.debian.org, 513808-done@bugs.debian.org, 616441-done@bugs.debian.org, 578763-done@bugs.debian.org, 582381-done@bugs.debian.org
Subject: Closing
Date: Mon, 8 Jul 2013 19:41:26 +0200
Hi,
your bug has been filed against the "linux-2.6" source package and was filed for
a kernel older than the recently released Debian 7.x / Wheezy with a severity
less than important.

We don't have the ressources to reproduce the complete backlog of all older kernel
bugs, so we're closing this bug for now. If you can reproduce the bug with Debian Wheezy
or a more recent kernel from testing or unstable, please reopen the bug by sending
a mail to control@bugs.debian.org with the following three commands included in the
mail:

reopen BUGNUMBER
reassign BUGNUMBER src:linux
thanks

Cheers,
        Moritz



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 06 Aug 2013 07:35:58 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 02:00:46 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.