Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/proc/acpi/thermal_zone non esiste più - kernel 2.6.38
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) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
darkmanPPT
Veteran
Veteran


Joined: 13 Apr 2006
Posts: 1069
Location: vi/bo

PostPosted: Wed May 25, 2011 11:01 pm    Post subject: /proc/acpi/thermal_zone non esiste più - kernel 2.6.38 Reply with quote

Come da titolo
ho aggiornato al kernel 2.6.38 (da un 2.6.36) e sebbene abbia nel kernel

Code:

CONFIG_ACPI_THERMAL yes


Code:
ls /proc/acpi/
ac_adapter  battery  button  event  wakeup


non posso più vedere la temperatura del mio portatile. girando su internet non mi è chiaro se è un problema dai kernel 2.6.37 in su o se è un problema mio.

uhm....
leggo su http://acpi.sourceforge.net/documentation/thermal.html che
Quote:
Warning: /proc/acpi is being replaced by interfaces in /sys and new software should not look in /proc.


è normale? e dove sarebbe dentro /sys/ ??
_________________
Darkman
Back to top
View user's profile Send private message
ago
Developer
Developer


Joined: 01 Mar 2008
Posts: 1527
Location: Milan, Italy

PostPosted: Thu May 26, 2011 10:43 am    Post subject: Reply with quote

si, /proc/acpi è deprecato da molto..Il nuovo sta in /sys/class/hwmon/
Back to top
View user's profile Send private message
darkmanPPT
Veteran
Veteran


Joined: 13 Apr 2006
Posts: 1069
Location: vi/bo

PostPosted: Thu May 26, 2011 11:25 pm    Post subject: Reply with quote

e la temperatura dove la trovo?
Code:
s -R /sys/class/hwmon/*
/sys/class/hwmon/hwmon0:
name  power  subsystem  temp1_crit  temp1_input  temp2_crit  temp2_input  uevent

/sys/class/hwmon/hwmon0/power:
wakeup  wakeup_count

/sys/class/hwmon/hwmon1:
device  power  subsystem  uevent

/sys/class/hwmon/hwmon1/power:
wakeup  wakeup_count


non credo che siano queste (anche perchè mi sembrano valori stabili).

Code:
 cat /sys/class/hwmon/hwmon0/temp?_input
70000
30000


tu dove guardi la temperatura?
_________________
Darkman
Back to top
View user's profile Send private message
ago
Developer
Developer


Joined: 01 Mar 2008
Posts: 1527
Location: Milan, Italy

PostPosted: Fri May 27, 2011 12:17 am    Post subject: Reply with quote

io la guardo con conky...e lui vede li
Back to top
View user's profile Send private message
pierino_89
Guru
Guru


Joined: 03 Oct 2009
Posts: 522

PostPosted: Fri May 27, 2011 12:24 am    Post subject: Reply with quote

So che è un pacchetto in più, però potresti usare acpitool. Io lo uso da una vita per verificare se c'è batteria o AC, è più comodo.
_________________
Linux registered user 461710
Back to top
View user's profile Send private message
darkmanPPT
Veteran
Veteran


Joined: 13 Apr 2006
Posts: 1069
Location: vi/bo

PostPosted: Fri May 27, 2011 4:48 pm    Post subject: Reply with quote

boh, non so se abbia senso installarsi qualche pacchetto in più.
io uso già il demone di kde per la batteria e l'unica cosa che mi interessa sarebbe la temperatura.


cmq strano che non scrivano in che file è scritta la temperatura.
atch... con /proc/acpi/ era tutto più semplice :lol:
_________________
Darkman
Back to top
View user's profile Send private message
pierino_89
Guru
Guru


Joined: 03 Oct 2009
Posts: 522

PostPosted: Fri May 27, 2011 6:23 pm    Post subject: Reply with quote

Occhio che non è un demone, eh. È un affarucolo di qualche kb.
Comunque volendo potresti riabilitare /proc/acpi sul kernel, anche se è deprecato.
_________________
Linux registered user 461710
Back to top
View user's profile Send private message
darkmanPPT
Veteran
Veteran


Joined: 13 Apr 2006
Posts: 1069
Location: vi/bo

PostPosted: Fri May 27, 2011 7:54 pm    Post subject: Reply with quote

Quote:

Comunque volendo potresti riabilitare /proc/acpi sul kernel, anche se è deprecato.


ah, si? non l'ho visto tra le configurazioni. guarderò meglio...
_________________
Darkman
Back to top
View user's profile Send private message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3654

PostPosted: Mon May 30, 2011 6:49 am    Post subject: Reply with quote

Moved from Forum italiano (Italian) to Forum di discussione italiano.
_________________
Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall).
Prima di postare un file togli i commenti con
Code:
grep -vE '(^[[:space:]]*($|(#|!|;|//)))'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano 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