Bug#524243: pm-utils: resume fails (no X init) when using KMS

2009-04-16 Thread Michael Biebl
Yves-Alexis Perez wrote:
 On mer, 2009-04-15 at 20:53 +0200, Yves-Alexis Perez wrote:
 
 using KMS, I know have a problem at resume when using pm-suspend or
 suspending from hal.

 With the previous pm-utils I had to disable completely the chvt stuff, now
 it seems there is a way to handle that, with the have_kms() function.

 But /var/log/pm-suspend says that it fails for some reason:

 /usr/lib/pm-utils/sleep.d/98smart-kernel-video suspend suspend:
 /usr/lib/pm-utils/sleep.d/98smart-kernel-video: line 37: add_parameter:
 command not found

 It seems to be a typo as 00auto-quirk use add_parameters (check for the s).
 And adding the s seems to fix the problem.

Great catch. Fix will be included in the next upload and submitted upstream.

Thanks for the debugging!

Cheers,
Michael


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



signature.asc
Description: OpenPGP digital signature


Bug#524243: pm-utils: resume fails (no X init) when using KMS

2009-04-15 Thread Yves-Alexis Perez
Package: pm-utils
Version: 1.2.5-1
Severity: normal

Hi,

using KMS, I know have a problem at resume when using pm-suspend or
suspending from hal.

With the previous pm-utils I had to disable completely the chvt stuff, now
it seems there is a way to handle that, with the have_kms() function.

But /var/log/pm-suspend says that it fails for some reason:

/usr/lib/pm-utils/sleep.d/98smart-kernel-video suspend suspend:
/usr/lib/pm-utils/sleep.d/98smart-kernel-video: line 37: add_parameter:
command not found

It seems to be a typo as 00auto-quirk use add_parameters (check for the s).

Cheers,
--
Yves-Alexis


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pm-utils depends on:
ii  console-tools1:0.2.3dbs-65.1 Linux console and font utilities
ii  powermgmt-base   1.30+nmu1   Common utils and configs for power

Versions of packages pm-utils recommends:
ii  hal  0.5.12~git20090406.46dc48-1 Hardware Abstraction Layer
ii  radeontool   1.5-5   utility to control ATI Radeon back
pn  uswsusp  none  (no description available)
pn  vbetool  none  (no description available)

Versions of packages pm-utils suggests:
pn  cpufrequtils  none (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#524243: pm-utils: resume fails (no X init) when using KMS

2009-04-15 Thread Yves-Alexis Perez
On mer, 2009-04-15 at 20:53 +0200, Yves-Alexis Perez wrote:

 using KMS, I know have a problem at resume when using pm-suspend or
 suspending from hal.
 
 With the previous pm-utils I had to disable completely the chvt stuff, now
 it seems there is a way to handle that, with the have_kms() function.
 
 But /var/log/pm-suspend says that it fails for some reason:
 
 /usr/lib/pm-utils/sleep.d/98smart-kernel-video suspend suspend:
 /usr/lib/pm-utils/sleep.d/98smart-kernel-video: line 37: add_parameter:
 command not found
 
 It seems to be a typo as 00auto-quirk use add_parameters (check for the s).
And adding the s seems to fix the problem.

Cheers,
-- 
Yves-Alexis


signature.asc
Description: This is a digitally signed message part