Notices


Reply
Thread Tools
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#41
Originally Posted by Mentalist Traceur View Post
Keep in mind the only sensor we have that we can access from the N900's software for temperature is next to the battery, and thus represents a temperature that is true for only a small part of the phone.

That said, you also need power kernel installed and the right modules loaded to be able to get reads from that sensor to begin with. If you've got all those things, you can package the entire thing inside a status menu applet, yes.
In fact what you're talking about quite probably is the temperature of the battery gauge chip, which won't tell you anything useful neither about "temp of N900" (whatever that means, I'm sure it's not supposed to be the chip's temp of a peripheral chip), nor about true battery cell temperature either. Cell temp is obviously probed by a sensor connected to GAIA twl4030 ADCIN4 (iirc, maybe 1) and I dunno of any way to simply read out this value. Another possible source of battery cell temperature is via BB5 modem, as this chip also has a sensor attached for this purpose, but again I do not know of any pnatd AT cmd or libisi call to read out this value (though there *might* be and I'm simply not aware)

Another source of "temperature" reading frequently used seems to be a CPU chip sensor in OMAP3430. Alas it is evidently broken (rumour has it that's a silicon bug). My tests resulted in it showing rather weird values and eventually 'freezing' on a particular value of some 16°C when I tested it with ice-spray - so this one isn't really useful either. You don't want to powercycle the system to 'unfreeze' the CPU temp reading.

Whatever, for displaying a value in statusbar you need a .so built to do that. What for would you want to have that "temp" reading after all? I fail to see the valid usecase.

/j
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2011-03-27 at 13:11.
 
Posts: 2 | Thanked: 0 times | Joined on Oct 2011
#42
Originally Posted by Raif View Post
Your a legend, Ive lost count of how many of your post have help me

Thanks
hi how u got this battery icon when i installed advanced power my battery icon gone what can i do i need this type of battery icon that show percentage n also want display option in system tray plzzz help n u write code under rootsh what is this
 
Posts: 10 | Thanked: 0 times | Joined on Jun 2012
#43
Sorry for bumping an old thread, but I am unable to change the order and position of the entries in the status-menu. I would like to have :
1. Battery - - 2. Volume
3. Clock - - 4. Profile
5. Wlan Switch - - 6. Connections
6. Bluetooth - - 7. ...
So I edited the /etc/hildon-desktop/status-menu.plugins like described at beginning of this thread. So the resulting file looks lie this :
Code:
# Clock
[clock-plugin.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/clock-plugin.desktop
#X-Status-Area-Permanent-Item=Clock
X-Status-Menu-Position=3

[connui-cellular.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/connui-cellular.desktop
X-Status-Area-Permanent-Item=Special-Item-0

# Battery
[advanced-power.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/advanced-power.desktop
X-Status-Area-Permanent-Item=Special-Item-1
X-Status-Menu-Position=1

# Connections
[connui-internet.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/connui-internet.desktop
X-Status-Area-Position=1
X-Status-Menu-Position=6

[rtcom-notification-ui.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/rtcom-notification-ui.desktop
X-Status-Area-Position=2

[sharing-manager-status.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/sharing-manager-status.desktop
X-Status-Area-Position=3
X-Status-Menu-Position=13

[ham-notifier.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/ham-notifier.desktop
X-Status-Area-Position=4
X-Status-Menu-Position=10

[ham-updates.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/ham-updates.desktop
X-Status-Area-Position=5
X-Status-Menu-Position=11

# Volume
[volume.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/volume.desktop
X-Status-Menu-Position=2

# Profiles
[status-area-applet-profiles.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/status-area-applet-profiles.desktop
X-Status-Area-Position=6
X-Status-Menu-Position=4

# Wlan switch
[rtcom-presence-ui.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/rtcom-presence-ui.desktop
X-Status-Area-Position=7
X-Status-Menu-Position=5

# Bluetooth
[connui-bluetooth.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/connui-bluetooth.desktop
X-Status-Area-Position=8
X-Status-Menu-Position=7

[location.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/location.desktop
X-Status-Area-Position=9
X-Status-Menu-Position=8

[hildon-status-menu-usb.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/hildon-status-menu-usb.desktop
X-Status-Area-Position=10
X-Status-Menu-Position=9

[sync-plugin.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/sync-plugin.desktop
X-Status-Area-Position=11
X-Status-Menu-Position=12

[as-status-applet.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/as-status-applet.desktop
X-Status-Area-Position=12
X-Status-Menu-Position=14

[fmtx.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/fmtx.desktop
X-Status-Area-Position=13
X-Status-Menu-Position=15

[bluetooth-headset.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/bluetooth-headset.desktop
X-Status-Area-Position=14
X-Status-Menu-Position=16

[connui-bluetooth-transfer.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/connui-bluetooth-transfer.desktop
X-Status-Area-Position=15
X-Status-Menu-Position=17

[advanced-clock-plugin.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/advanced-clock-plugin.desktop
X-Status-Menu-Position=22
X-Status-Area-Permanent-Item=Clock
But the position of the items in the status menu does not change a bit. I am missing something ? Could someone give me some hints please ?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 16:50.