2010年7月2日,在 N900 价格大降的趋势下,忍不住入手了。
地点:中关村 价格:2860 (除了机器主板,其他配件全被替换:电池,数据线等) 机器:N900 (港行,自行安装的语言包)
添加源
通过"软件管理",添加下面三个源:
http://repository.maemo.org/extras/ http://repository.maemo.org/extras-devel/ http://repository.maemo.org/extras-testing/
软件
openssh-sever
在查询可用软件包里,找到网络分类里的 "openssh-client + server" ,安装之。
浏览器
竖屏
参考: http://zx.sj.91.com/content/2010-01-17/20100117221514968.shtml
浏览器模式的切换很简单,只要按住Ctrl+Shift+O 就行了,不过这样一来,输入 法就只能用虚拟键盘进行输入了。
在浏览器界面安装 Ctrl+Shift+O 键,合上侧滑键盘就是竖屏,打开就是横屏。
上 wap 网站插件
参考: http://nokia.tgbus.com/article/software/201005/20100505175539.shtml
启用鼠标
在靠近浏览器走下角的地方,全屏后大约0.8mm地方(网上都说是2/5地方,我看 像3/10),用手或者鼠标从左之右轻轻一划,就出来一个鼠标图片了,点击它就 可以启用鼠标。记住这个大概位置,下次划就有底了。
rootsh — 获取root权限
安装 rootsh 软件就可以用 "sudo gainroot" 获取 root 权限
fbreader
用音量键翻页
触摸屏翻页: http://bbs.dospy.com/thread-6063446-1-315-1.html
GPS 导航
使用 Google 地图在线
参考: http://210.83.85.233/viewthread.php?tid=6275799&bbsid=315
安装 maemo-geolocation 插件,打开默认浏览器 MicroB,访问 http://www.google.com/maps/m 即可定位。
Hacking
The GPS in the N900 is a TI GPS5030 - navilink 5.
参考:
- http://wiki.maemo.org/N900_Hardware_GPS
- http://wiki.maemo.org/N900_Hardware_Bus_I2C
- http://www.mcufan.com/xinshou/mcu-iic.htm
来点归属地
参考: http://www.maemoers.com/thread-4585-1-1.html
全景照片
参考: http://www.maemoers.com/thread-4576-1-1.html
优化
优化耗电
参考:
将 /etc/pmconfig 文件里面的下面两行描述的值改为1.
sr_vdd1_autocomp 0 sr_vdd2_autocomp 0
Comment #70 from bob+maemo@mcelrath.org 2010-01-03 03:19:21 GMT+3 [reply] The SmartReflex power saving feature of the OMAP processor is disabled by default on the n900. To enable it: echo 1 > /sys/power/sr_vdd1_autocomp echo 1 > /sys/power/sr_vdd2_autocomp You can also enable it by editing /etc/pmconfig and changing the appropriate values to 1, and rebooting. I've been logged in to my wifi accounts for 10+ hours now, with GPS on, and the battery is only down by about 1/3. Some power saving can also be achieved by setting your status to be offline and disabling networking.
powertop
powertop 是 intel 的 lesswatts 项目里的一个工具,可以收集但前系统运行程 序的耗能情况,便于我们分析出能耗高的程序,并进行改善。在 n900 maemo 系 统源里也又这个软件。安装上去看看:
apt-get install powertop
优化 rootfs 使用
参考: http://bbs.dospy.com/thread-5882095-1-315-1.html
mkdir -p /home/root/usr/share cd /usr/ for FILE in games include local src var do mv $FILE /home/root/usr/ ln -s /home/root/usr/$FILE /usr/ done mkdir -p /home/root/var/cache cd /var/cache/ for FILE in apt do mv $FILE /home/root/var/cache/ ln -s /home/root/var/cache/$FILE /var/cache/ done cd /usr/share/ for FILE in fonts icons locale mime nokia-maps pixmaps sounds themes tutorial-applet zoneinfo do mv $FILE /home/root/usr/share/ ln -s /home/root/usr/share/$FILE /usr/share/ done mkdir /home/root/usr/share/games ln -s /home/root/usr/share/games
常用技巧
加快 wifi 速度
参考: http://bbs.dospy.com/thread-6380245-1-315-1.html
设置→互联网连接→连接→选定你的WIFI,点编辑。进去后,一直点下一步,直到出现“高级”那一步,点高级,选择“其它”选项卡,把WIFI的传输功率选择为"100mW",“节电”选择off”,然后点“保存”,再点“完成”。
截图
参考: http://bbs.dospy.com/thread-5627463-1-315-1.html
给 N900 截图 (Maemo系统),只要同时安住三个键:左边的contrl(左上角)、 shilft(左下角向上箭头键) 、 键盘 P 。
截好后的图片进入相册后便会看到。
刷机
参考: http://bbs.dospy.com/thread-5872198-1-315-1.html
code 大全
n900目前已知code码大全
参考: http://bbs.dospy.com/thread-5835366-1-315-1.html
常用软件
天气
apt-get install omweather
mms 网络电视
用 kmplayer 即可:
cctv-1: mms://61.175.162.94/cctv1 cctv-2: mms://61.175.162.94/cctv2 cctv-3: mms://61.175.162.94/cctv3 cctv-4: mms://61.175.162.94/cctv4 cctv-5: mms://61.175.162.38/cctv5 cctv-6: mms://61.175.162.38/cctv6 cctv-7: mms://202.101.173.78:5542/cctv7 cctv-8: mms://202.98.155.7/cctv_8 cctv-9: mms://222.77.190.24:9090/cctv9 cctv-10: mms://61.175.162.38/cctv10 cctv-12:mms://202.101.173.70:5542/ahtv cctv-新闻台:mms://202.98.155.7/cctv_xw
添加 X Terminal 符号
参考: http://www.maemoers.com/thread-172-1-8.html
sudo gainroot gconftool-2 -s /apps/osso/xterm/key_labels -t list --list-type=string "[Tab,Esc,Up,Dn,~,|,<,>]" gconftool-2 -s /apps/osso/xterm/keys -t list --list-type=string "[Tab,Escape,Page_Up,Page_Down,asciitilde,bar,less,greater]"
查看电池电量
命令行查看:
lshal | grep percent
# hal-device bme
共享PC的无限网络
参考: http://www.wda.cn/viewthread.php?tid=807
将 N900 当做遥控器
软件: qtirreco
强贴集合
刷机后整理
总有一天需要刷机, ;-)
安装软件
刷完机,第一件事情就是添加 extras, extras-devel, extras-testing 的源, 然后安装 ssh server 和 client。
接着优化 rootfs , 就是在 /dev/mmcblk0p2 分区(2G)创建一些目录, 然后 将系统的一些目录链接到这里, 这样 “/” 分区就留出更多的空间来安装其他软 件了。
Nokia-N900-02-8:~# df -h Filesystem Size Used Available Use% Mounted on rootfs 227.8M 128.7M 94.9M 58% / ubi0:rootfs 227.8M 128.7M 94.9M 58% / tmpfs 1.0M 84.0k 940.0k 8% /tmp tmpfs 256.0k 84.0k 172.0k 33% /var/run none 10.0M 72.0k 9.9M 1% /dev tmpfs 64.0M 4.0k 64.0M 0% /dev/shm /dev/mmcblk0p2 2.0G 506.9M 1.4G 26% /home /home/opt 2.0G 506.9M 1.4G 26% /opt /dev/mmcblk0p1 27.0G 6.5G 20.5G 24% /home/user/MyDocs
参考: http://bbs.dospy.com/thread-7683583-1-315-1.html
bash coreutils rootsh vim omweather conky ses fmms fm-boost kmplayer maemo-geolocation sib decoders-support mstardict qstardict flashlight-applet fbreader personal-gprs-mon recaller fmradio wifiinfo wifieye pidgin pidgin-l10n purple-extra-protocols countdowntimer capsule ansela callnotify battery personal-ip-address pid mirror symfonie gpsjinni orrery levelball irreco-for-n900 tuner morphoquickpanorama2 desktop-cmd-exec
输入法
google拼音和蒙恬手写输入法如果能方便切换,那真的是很不错。
蒙恬输入法的源在 : extras-devel
# cat mscim-n900-ppinputmethod.install [install] catalogues = extras-devel package = mscim-n900-ppinputmethod [extras-devel] name = Extras-Devel uri = http://repository.maemo.org/extras-devel/ dist = fremantle components = free non-free
apt-get install mscim-n900-ppinputmethod mscim-googlepinyin
在设置里,将google和蒙恬输入法都选上,然后重启。使用的时候,用ctrl+箭头就可以切换google--英文--蒙恬了
