Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
APM sì, APM no..
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
anborn
Apprentice
Apprentice


Joined: 28 Dec 2003
Posts: 185
Location: Somewhere over the rainbow

PostPosted: Tue Jan 06, 2004 1:16 am    Post subject: APM sì, APM no.. Reply with quote

Torno ancora a voi, signori...

ho compilato built-in nel kernel il supporto per APM... (sono su un portatile..)
..e ho emergiato il demone apmd..

..ho aggiunto il demone agli script "default" di boot... e...

...mi da uno strano errore:
Code:
 APM support not compiled in the kernel


Alché mi vien da domandare alla mia piccola gentoo: "Ma che cazz.. dici?" :o

Voi avete suggerimenti migliori?

Anb
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Jan 06, 2004 10:24 am    Post subject: Re: APM sì, APM no.. Reply with quote

anborn wrote:

...mi da uno strano errore:
Code:
 APM support not compiled in the kernel


Alché mi vien da domandare alla mia piccola gentoo: "Ma che cazz.. dici?" :o


Sei sicuro che non dai il parametro "apm=off" all'avvio?
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Tue Jan 06, 2004 10:40 am    Post subject: Reply with quote

Code:
$ dmesg | grep APM


cosa dice? sicuro di non aver dimenticato di copiare la nuova immagine del kernel in /boot e/o di aver rilanciato lilo (sempre che tu lo stia usando)?
Back to top
View user's profile Send private message
Ferdinando
Veteran
Veteran


Joined: 25 Nov 2003
Posts: 1027
Location: Gaeta (LT) - Italy

PostPosted: Tue Jan 06, 2004 5:03 pm    Post subject: Re: APM sì, APM no.. Reply with quote

randomaze wrote:
Sei sicuro che non dai il parametro "apm=off" all'avvio?


A me, al contrario, dava questo errore finché non ho passato "apm=on" tra i parametri del kernel (append in lilo.conf).

Ciao
_________________
La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Tue Jan 06, 2004 6:15 pm    Post subject: Reply with quote

Controlla il DMESG.
Ricorda cmq che apmd non è necessario al funzionamento di APM.
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
anborn
Apprentice
Apprentice


Joined: 28 Dec 2003
Posts: 185
Location: Somewhere over the rainbow

PostPosted: Tue Jan 06, 2004 7:48 pm    Post subject: Reply with quote

Hmm...

all'avvio no.. non passo apm=off... son sicuro.. e tutto ciò che riguarda compilazione del kernel e spostamento di immagini varie é tutto a posto... son sicuro..

Interessante la questione di apm=on al boot... farò un tentativo..

..nel frattempo... cerri.. in che senso apmd non é necessario ad apm?? :?:

..e già che ci sono.. l'applet x gnome di monitoraggio della batteria.. su cosa si basa? ..da me segna sempre 0%... anche se é stracarica... :?

Intanto grazie..

Anb
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Tue Jan 06, 2004 8:27 pm    Post subject: Reply with quote

anborn wrote:
Hmm...
..nel frattempo... cerri.. in che senso apmd non é necessario ad apm?? :?:


Della gestione dell'apm si occupa direttamente il kernel. Con apmd puoi associare delle azioni agli eventi generati dal kernel (ad esempio l'esecuzione di un certo script quando le batterie stanno per esaurirsi).

anborn wrote:

..e già che ci sono.. l'applet x gnome di monitoraggio della batteria.. su cosa si basa? ..da me segna sempre 0%... anche se é stracarica... :?


Se il tuo portatile è piuttosto recente è probabile che tu abbia bisogno di ACPI (di conseguenza anche di un kernel recente) e non di APM per il power management. Cerca sul forum: ci sono decine di post a questo proposito.
Back to top
View user's profile Send private message
paolo
l33t
l33t


Joined: 23 Jul 2002
Posts: 768
Location: SBT (AP)

PostPosted: Wed Jan 07, 2004 4:02 pm    Post subject: Reply with quote

MyZelF wrote:

...
Se il tuo portatile è piuttosto recente è probabile che tu abbia bisogno di ACPI (di conseguenza anche di un kernel recente) e non di APM per il power management.
...


I vote for ACPI!
Togli apm e metti acpi.

P.
_________________
Nihil sine magno labore
Back to top
View user's profile Send private message
mrfree
Veteran
Veteran


Joined: 15 Mar 2003
Posts: 1303
Location: Europe.Italy.Sulmona

PostPosted: Wed Jan 07, 2004 6:56 pm    Post subject: Reply with quote

Quote:
A me, al contrario, dava questo errore finché non ho passato "apm=on" tra i parametri del kernel (append in lilo.conf).

Esatto, bisogna specificare esplicitamente di abilitare l'apm al boot nella configurazione del kernel altrimenti bisogna inserirlo come apm=on nei parametri del kernel

Comunque anche io ti consiglio di provare l'ACPI
_________________
Please EU, pimp my country!

ICE: /etc/init.d/iptables panic
Back to top
View user's profile Send private message
Ferdinando
Veteran
Veteran


Joined: 25 Nov 2003
Posts: 1027
Location: Gaeta (LT) - Italy

PostPosted: Fri Jan 09, 2004 10:27 am    Post subject: Reply with quote

mrfree wrote:
Comunque anche io ti consiglio di provare l'ACPI


Ma ACPI supporta lo standby? L'interfaccina di KDE mi dice di no :!: Mi mostra la batteria e mi consente se non erro di associare eventi a suoni e/o applicazioni, ma non mi riesce di addormentarlo e mi succhia tutta la batteria in un paio d'ore!...

Ciao
_________________
La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997
Back to top
View user's profile Send private message
anborn
Apprentice
Apprentice


Joined: 28 Dec 2003
Posts: 185
Location: Somewhere over the rainbow

PostPosted: Fri Jan 09, 2004 5:12 pm    Post subject: Reply with quote

Acpi, così dicono, fa casini con la scheda video (Ati Mobility Radeon).. voi ne sapete qualcosa?

Apm.. anche settando apm=on al boot.. non cambia nulla.. questo l'ouput di dmesg:
Code:
apm: BIOS not found
..e non so proprio che fare.. :?

Anb
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Fri Jan 09, 2004 6:28 pm    Post subject: Reply with quote

anborn wrote:
..e non so proprio che fare.. :?

Come ha detto randomaze hai abilitato il supporto nel kernel? Nel 2.6 devi attivare:
Code:
Power management options (ACPI, APM)  --->
[*] Power Management support
APM (Advanced Power Management) BIOS Support  --->
<*> APM (Advanced Power Management) BIOS support

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
anborn
Apprentice
Apprentice


Joined: 28 Dec 2003
Posts: 185
Location: Somewhere over the rainbow

PostPosted: Fri Jan 09, 2004 7:05 pm    Post subject: Reply with quote

Al momento uso il 2.4.22..

e, come potete vedere, il supporto apm é built-in, mentre ho tolto acpi:
Code:
CONFIG_APM=y
CONFIG_APM_IGNORE_USER_SUSPEND=y
CONFIG_APM_DO_ENABLE=y
CONFIG_APM_CPU_IDLE=y
CONFIG_APM_DISPLAY_BLANK=y
CONFIG_APM_RTC_IS_GMT=y
CONFIG_APM_ALLOW_INTS=y
CONFIG_APM_REAL_MODE_POWER_OFF=y

#
# ACPI Support
#
# CONFIG_ACPI is not set


..boh..
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Fri Jan 09, 2004 10:28 pm    Post subject: Reply with quote

Prova a mettere
Code:
CONFIG_APM=m

e poi mettere apm nel tuo modules.autoload.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Fri Jan 09, 2004 10:44 pm    Post subject: Reply with quote

anborn wrote:
Acpi, così dicono, fa casini con la scheda video (Ati Mobility Radeon).. voi ne sapete qualcosa?


Che tipo di problemi?

Io ho una Radeon Mobility 7500 ed essendo il mio portatile relativamente recente sono "costretto" ad utilizzare acpi.

L'unico inconveniente riscontrato, con kernel recenti, è che quando attivo il DRI per la scheda video, il DPMS smette di funzionare (lo schermo non si spegne più, chiudendo il lid o forzandolo con xset).
Back to top
View user's profile Send private message
anborn
Apprentice
Apprentice


Joined: 28 Dec 2003
Posts: 185
Location: Somewhere over the rainbow

PostPosted: Sat Jan 10, 2004 2:11 am    Post subject: Reply with quote

fedeliallalinea wrote:
Prova a mettere
Codice:
CONFIG_APM=m

e poi mettere apm nel tuo modules.autoload.

e le altre opzioni apm? moduli o built-in?

MyZelF wrote:
Che tipo di problemi?

Io ho una Radeon Mobility 7500 ed essendo il mio portatile relativamente recente sono "costretto" ad utilizzare acpi.

..sinceramente non so che problemi dia.. il fatto che ne dia l'ho solo pescato in giro sulla rete.. magari é una cazzata.. se tu mi dici che, a parte il non spegnersi x inattività, funziona... provo acpi..

Magari il mio problema reale é che avendo un pc nuovo.. sono "costretto" a usare acpi...

Anb
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Sat Jan 10, 2004 8:44 am    Post subject: Reply with quote

anborn wrote:
Magari il mio problema reale é che avendo un pc nuovo.. sono "costretto" a usare acpi...


*estremamente* probabile... e la conferma dovrebbe essere:

anborn wrote:

Code:

apm: BIOS not found

Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Sat Jan 10, 2004 9:48 am    Post subject: Reply with quote

Ma sei sicuro che nel bios non hai disabilitato il PowerManagement?
Un notebook senza APM mi suona davvero strano....
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Sat Jan 10, 2004 11:59 am    Post subject: Reply with quote

cerri wrote:

Un notebook senza APM mi suona davvero strano....


Ah... alla prossima ti farò vedere il bios del mio portatile... praticamente non c'è nulla... e senza ACPI abilitato è quasi inutilizzabile... :?
Back to top
View user's profile Send private message
anborn
Apprentice
Apprentice


Joined: 28 Dec 2003
Posts: 185
Location: Somewhere over the rainbow

PostPosted: Sat Jan 10, 2004 8:28 pm    Post subject: Reply with quote

Nel BIOS setup... ci sono le opzioni per il Power Management.. non so...
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Sun Jan 11, 2004 10:51 am    Post subject: Reply with quote

anborn wrote:
Nel BIOS setup... ci sono le opzioni per il Power Management.. non so...


Prova almeno a dirci quali opzioni ci sono :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum