View Single Post
ndi's Avatar
Posts: 2,050 | Thanked: 1,425 times | Joined on Dec 2009 @ Bucharest
#52
Huh, so it's not a localized weakness, it depends on where you sit on it

For me, JK area is rather safe. Mine require the leaste effort on W, S,D maybe up to F. Havinf the cover and screen closed is worse because it widens the area where pressing kills it.

I wish it would complain. Maybe we could have it complain? Something along the lines of cat syslog | grep modem error?

ETA:
Code:
Nokia-N900:/var/log# cat syslog.old | grep "modem connection cannot be established, giving up"
Apr 29 17:23:41 Nokia-N900 cellular: ssc[1014]: modem connection cannot be established, giving up
Nokia-N900:/var/log#
I could use that in a queen beecon, but that is the extent of my skill. I should get it to return an error when string isn't empty, I'm sure there is a way. Until then, I could pass the resut to something that fails, so the widget turns red if there has been a failure.

Note I used an old log.

ETA2:
I used awk to have it return the failure date and time (first failure). I also added a reset button.

Code:
cat /var/log/syslog | grep "modem connection cannot be established, giving up" | awk -F "\ " '{print $3,$2"th"}'
The reset button resets syslog:

Code:
Nokia-N900:/var/log# cat /bin/resys 
killall klogd
killall syslogd
rm /var/log/syslog
klogd
syslogd
Nokia-N900:/var/log#
Above resys(.sh) requires root for killall. Personally, I'm tired of rootsh so I used sudoers. There you go. It ain't pretty, but it works.
__________________
N900 dead and Nokia no longer replaces them. Thanks for all the fish.

Keep the forums clean: use "Thanks" button instead of the thank you post.

Last edited by ndi; 2011-05-03 at 09:56.