Le Samedi 10 Mai 2003 10:13, Matthieu Moy a écrit :
> Bonjour,
Slt,
>
> Lorsque  je  fais  "halt",   j'aime  bien  que  ma  machine  s'éteigne
> complètement.  Avant  (Linux  2.4.27),  ça marchait,  mais  maintenant
> (Linux-2.4.20), j'ai l'affichage "Power down", et plus rien.
>
> Pourtant, j'ai bien tout ce qu'il faut en principe :
>
> $ grep apm /etc/lilo.conf
> append="hdd=ide-scsi sb=0x220,5,1,5 apm=on apm=power-off"
> $ cat /proc/cmdline
> auto  BOOT_IMAGE=Linux-2.4.20 ro root=302  hdd=ide-scsi sb=0x220,5,1,5
> apm=on apm=power-off
> $ lsmod | grep apm
> apm 9480 2 (autoclean)
> $ grep -i apm /usr/src/linux/.config
> CONFIG_APM=m
> # CONFIG_APM_IGNORE_USER_SUSPEND is not set
> # CONFIG_APM_DO_ENABLE is not set
> CONFIG_APM_CPU_IDLE=y
> CONFIG_APM_DISPLAY_BLANK=y
> # CONFIG_APM_RTC_IS_GMT is not set
> # CONFIG_APM_ALLOW_INTS is not set
> CONFIG_APM_REAL_MODE_POWER_OFF=y
Voici ce que donne grep -i apm /usr/src/linux/.config:
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
# CONFIG_APM_RTC_IS_GMT is not set
# CONFIG_APM_ALLOW_INTS is not set
CONFIG_APM_REAL_MODE_POWER_OFF=y

Et ma machine s'éteint correctement (il s'agit d'un Dell sous Woody avec 
Kernel 2.4.20).
La différence se situe au niveau de CONFIG_APM. Essaie de la mettre en dur 
dans le noyau au lieu de module. Si ça ne marche toujours pas, supprime les 
autres options pour obtenir la même que moi.

>
>
> Par ailleurs,
>
> $ uname -a
> Linux chezmoi 2.4.20 #1 SMP Thu  May 8 00:04:47 MEST 2003 i686 unknown
> unknown GNU/Linux
>
>
> Voilà, une idée ?
>
> Merci !
>
> --
> Matthieu
@+
Laurent 
-- 
^=========================================^
/                                                                               
    \
\               Laurent                                                         
    /
/               [EMAIL PROTECTED]                                           \
\                                                                               
    /
<======================Debian=GNU/Linux====>

Répondre à