Spegnimento pc, e modulo apm
Moderatore: Staff
Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.
La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.
La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Spegnimento pc, e modulo apm
Ciao ragazzi, ho un problema con la chiusura del pc.
Quando spengo il pc, dopo aver fatto tutto quello che deve, esce la scritta power down.
Ho la slack 10.2 con kernel 2.4.31 .
Eseguendo i seguenti comandoìi ottengo come uscite:
root@RhaptorX:~# apm
No APM support in kernel
root@RhaptorX:~# modprobe apm
/lib/modules/2.4.31/kernel/arch/i386/kernel/apm.o.gz: init_module: No such device
/lib/modules/2.4.31/kernel/arch/i386/kernel/apm.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.31/kernel/arch/i386/kernel/apm.o.gz: insmod /lib/modules/2.4.31/kernel/arch/i386/kernel/apm.o.gz failed
/lib/modules/2.4.31/kernel/arch/i386/kernel/apm.o.gz: insmod apm failed
root@RhaptorX:~# dmesg
....
....
apm: BIOS not found.
...
...
Il mio config :
# PCI Hotplug Support
#
CONFIG_HOTPLUG_PCI=m
CONFIG_HOTPLUG_PCI_COMPAQ=m
# CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM is not set
CONFIG_HOTPLUG_PCI_SHPC=m
# CONFIG_HOTPLUG_PCI_SHPC_POLL_EVENT_MODE is not set
CONFIG_HOTPLUG_PCI_SHPC_PHPRM_LEGACY=y
CONFIG_HOTPLUG_PCI_PCIE=m
# CONFIG_HOTPLUG_PCI_PCIE_POLL_EVENT_MODE is not set
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m
# CONFIG_OOM_KILLER is not set
CONFIG_PM=y
CONFIG_APM=m
# 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 is not set
#
# ACPI Support
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
# CONFIG_ACPI_SLEEP_PROC_SLEEP is not set
# CONFIG_ACPI_AC is not set
# CONFIG_ACPI_BATTERY is not set
# CONFIG_ACPI_BUTTON is not set
CONFIG_ACPI_VIDEO=m
# CONFIG_ACPI_HOTKEY is not set
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_IBM is not set
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
CONFIG_ACPI_CONTAINER=m
CONFIG_X86_ACPI_CPUFREQ=m
# CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
CONFIG_HOTPLUG_PCI_ACPI=m
CONFIG_HOTPLUG_PCI_ACPI_IBM=m
# CONFIG_PNPACPI is not set
CONFIG_SERIAL_8250_ACPI=y
# CONFIG_ACPI is not set
Cosa posso fare?
Potete aiutarmi?
Grazie
Quando spengo il pc, dopo aver fatto tutto quello che deve, esce la scritta power down.
Ho la slack 10.2 con kernel 2.4.31 .
Eseguendo i seguenti comandoìi ottengo come uscite:
root@RhaptorX:~# apm
No APM support in kernel
root@RhaptorX:~# modprobe apm
/lib/modules/2.4.31/kernel/arch/i386/kernel/apm.o.gz: init_module: No such device
/lib/modules/2.4.31/kernel/arch/i386/kernel/apm.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.31/kernel/arch/i386/kernel/apm.o.gz: insmod /lib/modules/2.4.31/kernel/arch/i386/kernel/apm.o.gz failed
/lib/modules/2.4.31/kernel/arch/i386/kernel/apm.o.gz: insmod apm failed
root@RhaptorX:~# dmesg
....
....
apm: BIOS not found.
...
...
Il mio config :
# PCI Hotplug Support
#
CONFIG_HOTPLUG_PCI=m
CONFIG_HOTPLUG_PCI_COMPAQ=m
# CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM is not set
CONFIG_HOTPLUG_PCI_SHPC=m
# CONFIG_HOTPLUG_PCI_SHPC_POLL_EVENT_MODE is not set
CONFIG_HOTPLUG_PCI_SHPC_PHPRM_LEGACY=y
CONFIG_HOTPLUG_PCI_PCIE=m
# CONFIG_HOTPLUG_PCI_PCIE_POLL_EVENT_MODE is not set
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m
# CONFIG_OOM_KILLER is not set
CONFIG_PM=y
CONFIG_APM=m
# 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 is not set
#
# ACPI Support
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
# CONFIG_ACPI_SLEEP_PROC_SLEEP is not set
# CONFIG_ACPI_AC is not set
# CONFIG_ACPI_BATTERY is not set
# CONFIG_ACPI_BUTTON is not set
CONFIG_ACPI_VIDEO=m
# CONFIG_ACPI_HOTKEY is not set
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_IBM is not set
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
CONFIG_ACPI_CONTAINER=m
CONFIG_X86_ACPI_CPUFREQ=m
# CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
CONFIG_HOTPLUG_PCI_ACPI=m
CONFIG_HOTPLUG_PCI_ACPI_IBM=m
# CONFIG_PNPACPI is not set
CONFIG_SERIAL_8250_ACPI=y
# CONFIG_ACPI is not set
Cosa posso fare?
Potete aiutarmi?
Grazie
- phobos3576
- Staff

- Messaggi: 2980
- Iscritto il: dom 17 apr 2005, 0:00
- Slackware: 13.1
- Kernel: 2.6.37-smp
- Desktop: KDE 4.5.3
APM e ACPI si escludono a vicenda.
APM è più indicato per i notebook, mentre ACPI è più indicato per i desktop.
Il mio .config è il seguente (però il kernel è 2.6.16)
Se il computer non si spegne (si ferma al messaggio 'power down'), vuol dire che il BIOS è troppo vecchio (precedente il 2000); in tal caso, bisogna editare /etc/lilo.conf e nella linea append bisogna aggiungere acpi=force.
Se la linea non esiste, la devi aggiungere tu; ad esempio:
append="acpi=force"
Ora aggiorna lilo e riavvia il computer.
APM è più indicato per i notebook, mentre ACPI è più indicato per i desktop.
Il mio .config è il seguente (però il kernel è 2.6.16)
Codice: Seleziona tutto
#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
CONFIG_PM_LEGACY=y
# CONFIG_PM_DEBUG is not set
# CONFIG_SOFTWARE_SUSPEND is not set
#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
# CONFIG_ACPI_SLEEP_PROC_SLEEP is not set
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_IBM is not set
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
#
# APM (Advanced Power Management) BIOS Support
#
# CONFIG_APM is not set
Se la linea non esiste, la devi aggiungere tu; ad esempio:
append="acpi=force"
Ora aggiorna lilo e riavvia il computer.
- alessiodf
- Linux 3.x

- Messaggi: 823
- Iscritto il: ven 14 ott 2005, 21:04
- Slackware: current
- Kernel: 2.6.26.4
- Desktop: Kde 4.1
- Località: Roma
- Contatta:
invece di caricare apm (che tra l'altro non è nel tuo kernel), prova a caricaare acpi!
oops, ho detto na cavolata..acpi ce l'ha statico nel kenel!
allora la soluzione di Phobos è ottima! 
Codice: Seleziona tutto
modprobe acpi- absinthe
- Iper Master

- Messaggi: 2354
- Iscritto il: dom 15 mag 2005, 0:00
- Nome Cognome: Matteo Nunziati
- Slackware: 12.1 - defunct
- Kernel: 2.6.32-5-amd64
- Desktop: gnome
- Distribuzione: debian squeeze
- Località: Prato
- Contatta:
dunque..calma apm NON è più indicato per i notebook:
apm è il "vecchio" sistema di gestione dell'energia -che include lo spengimento del pc-. salvo che il tuo hw non sia eccessivamente vecchio solitamente è l'acpi che si dovrebbe usare, essendo questo il nuovo "standard" .
ha ragione chi ti dice che le due tecnologie si escludono a vicenda. io tanto per fare un pò di pulizia direi che dovresti intanto disabilitare TUTTO il supporto apm e lasciare invece l'acpi.
In genere io mi trovo bene inserendo tutto il supporto statico ma questa è una cosa puramente soggettiva e soprattutto se hai un desktop è poco rilevante.
se il pc non si spenge con l'acpi può in effetti significare che è vecchiotto e che allora devi usare l'apm -che viene lasciato nel kernel proprio per problemi di compatibilità-. in quel caso il discorso si rovescia: disabilità TUTTO l'acpi e abilità solo l'apm.
per far spengere in automatico il pc quando è abilitato l'apm dai un occhio alla slackware4dummies. per far spengere in automatico il pc con l'acpi invece credo non si debba fare alcuna modifica... o per lo meno: una volta compilato l'acpi del 2.6.13 a me il pc si è spento da solo senza dover modificare niente in particolare (mi riferisco agli script gestiti dal demone acpid).
ciao,
M
apm è il "vecchio" sistema di gestione dell'energia -che include lo spengimento del pc-. salvo che il tuo hw non sia eccessivamente vecchio solitamente è l'acpi che si dovrebbe usare, essendo questo il nuovo "standard" .
ha ragione chi ti dice che le due tecnologie si escludono a vicenda. io tanto per fare un pò di pulizia direi che dovresti intanto disabilitare TUTTO il supporto apm e lasciare invece l'acpi.
In genere io mi trovo bene inserendo tutto il supporto statico ma questa è una cosa puramente soggettiva e soprattutto se hai un desktop è poco rilevante.
se il pc non si spenge con l'acpi può in effetti significare che è vecchiotto e che allora devi usare l'apm -che viene lasciato nel kernel proprio per problemi di compatibilità-. in quel caso il discorso si rovescia: disabilità TUTTO l'acpi e abilità solo l'apm.
per far spengere in automatico il pc quando è abilitato l'apm dai un occhio alla slackware4dummies. per far spengere in automatico il pc con l'acpi invece credo non si debba fare alcuna modifica... o per lo meno: una volta compilato l'acpi del 2.6.13 a me il pc si è spento da solo senza dover modificare niente in particolare (mi riferisco agli script gestiti dal demone acpid).
ciao,
M
Allora, io ho una scheda madre asrock acquistata nel 2005 ed anche la versione del bios è recente.
Poi come faccio a compilare il modulo per l'acpi?
devo scaricarlo da qualche parte?
Io sono molto inesperto di linux, è da pochissimo che mi sono appassionato a questo bellissimo mondo.
Saluti e grazie a tutti.
Poi come faccio a compilare il modulo per l'acpi?
devo scaricarlo da qualche parte?
Io sono molto inesperto di linux, è da pochissimo che mi sono appassionato a questo bellissimo mondo.
Saluti e grazie a tutti.
- absinthe
- Iper Master

- Messaggi: 2354
- Iscritto il: dom 15 mag 2005, 0:00
- Nome Cognome: Matteo Nunziati
- Slackware: 12.1 - defunct
- Kernel: 2.6.32-5-amd64
- Desktop: gnome
- Distribuzione: debian squeeze
- Località: Prato
- Contatta:
se non sei pratico perchè non provi ad installare direttamente il kernel bareacpi.i della slack? ha il supporto acpi già abilitato!frantavo ha scritto:Allora, io ho una scheda madre asrock acquistata nel 2005 ed anche la versione del bios è recente.
Poi come faccio a compilare il modulo per l'acpi?
devo scaricarlo da qualche parte?
Io sono molto inesperto di linux, è da pochissimo che mi sono appassionato a questo bellissimo mondo.
Saluti e grazie a tutti.
M

