[Pkg-kbd-devel] Bug#612849: kbd: fgconsole prints '1' for machine with no video (only serial)

Michael Schutte michi at debian.org
Fri Feb 11 19:09:07 UTC 2011


Hi Daniel,

On Fri, Feb 11, 2011 at 01:55:54AM -0500, Daniel Kahn Gillmor wrote:
> acpi-support uses fgconsole to determine where the active console is.
> 
> /usr/share/acpi-support/power-funcs expects it to return "serial" if the 
> serial console is in use.
> 
> I'm currently using a kvm instance that has no graphics card (emulated 
> or otherwise), only serial.  
> 
> however, fgconsole returns "1" instead of "serial" on this system,
> which makes it so that sending an acpi signal (system_powerdown into
> the kvm monitor) has no effect other than printing the following
> message to syslog:
> 
> Feb 11 01:42:45 dirk polkitd[1029]: started daemon version 0.99 using authority implementation `local' version `0.99'
> Feb 11 01:43:44 dirk powerbtn-acpi-support.sh: power-funcs: 'ps wt tty1 --no-headers' failure

Thank you for reporting this problem.  May I ask you to provide an
strace log of an fgconsole run?

Cheers,
-- 
Michael Schutte                   | michi@{uiae.at,debian.org}
Innsbruck, Austria                | happily accepting encrypted mail
OpenPGP: 0x16fb 517b a866 c3f6 8f11 1485 f3e4 122f 1D8C 261A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-kbd-devel/attachments/20110211/680259e3/attachment.pgp>


More information about the Pkg-kbd-devel mailing list