Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Zaurus 中文论坛 Forum Index » pdaXrom & debain & openBSD

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
pdaXrom 1.1.0 r198 版本的安装和Bug修正
View previous topic :: View next topic  
Author Message
lonelyp



Joined: 14 Nov 2006
Posts: 260

小企鹅: 8158

PostPosted: 2007-Apr-18 Wed, am8:59 Reply with quote
 Post subject: pdaXrom 1.1.0 r198 版本的安装和Bug修正

pdaXrom 1.1.0 r198 版本的安装和Bug修正

原文地址: http://wells.osall.com/blog/index.php?uid=1&m=content&p=452
更多Zaurus Hack信息请到我的Blog浏览: http://wellswang.cn

==============================================


pdaXrom终于在4月15日推出了1.1.0的r198测试版本。这个版本是基于Linux 2.6.16内核的,相对于同样基于2.6内核的r121测试版本来说,r198修正了不少的Bug,稳定性更好一些。我第一时间下载了这个版本并进行了安装测试。

r198测试版和 beta4 / r121 版本一样,是使用u-boot来进行系统的安装的。所以整个安装过程也和 beta 4 / r121 一样:

1. 解压缩u-boot安装包,将里面的文件复制到FAT16分区格式的SD卡(容量小于1G)或CF卡上去
2. 拔掉Zaurus的交流适配器,同时取出电池
3. 插入SD卡或CF卡
4. 按住C键和D键,然后装上电池(电池一定要充满)或插上电源适配器,注意不要松开按键,一直按住C键和D键
5. 这时候黄色和绿色的指示灯会长亮,一直按住按键,等待大约20秒后,指示灯全部熄灭,这时候松开按键
6. 拔掉Zaurus的交流适配器,同时取出电池
7. 拔出SD或CF卡
8. 将pdaXrom 1.1.0 r198安装文件解压缩并复制到FAT16分区格式的SD卡(容量小于1G)或CF卡上去
9. 插入SD卡或CF卡
10. 按住键盘上的Ok键后装上电池(电池一定要充满)或者插上电源适配器,注意不要松开Ok键
11. 按住Ok键10秒左右后,系统会进入Emergency System,进入这个系统后可以松开Ok键
12. 系统询问安装问题时,回答y,按下Enter键后,安装开始
13. 安装完成后,系统会自动启动


毕竟pdaXrom 1.1.0 r198还是测试版,安装完成后,测试了大概一个多小时,发现有以下几个比较明显的Bug,影响到了正常的使用:

* 系统启动时不自动加载内置硬盘和SD卡上的分区
* 进入X Window后无法使用Fn+触笔组合键模拟鼠标右键
* X Window中应用程序快捷键无法使用
* 退出X Window后键盘映射混乱

仔细研究后我基本修正了这些Bug,终于r198也能很基本顺畅的使用啦Smile

系统启动时不自动加载内置硬盘和SD卡上的分区

这是 /etc/fstab 文件的设置的问题。原来默认的 /etc/fstab 文件中关于内置硬盘和SD卡的设置是这样的:

/dev/hda1 /mnt/cf auto noauto,owner 0 0
/dev/mmcblk0p1 /mn/card auto noauto,owner 0 0


注意到noauto没有,就是这个设定了不自动加载,把noauto去掉就好了,顺便把内置硬盘改成了挂载到/mnt/ide这个更为习惯的挂载点。修改后的这段设定应该是这样的:

/dev/hda1 /mnt/ide auto owner 0 0
/dev/mmcblk0p1 /mn/card auto owner 0 0


重新启动就应该可以自动加载了。

进入X Window后无法使用Fn+触笔组合键模拟鼠标右键

其实这也是键盘映射的问题,手动修改吧。

修改 /etc/sysconfig/x11mousebutt 文件,找到:

hold_right_button 0
right_button 96
middle_button 97
power_button 117


把这些值修改为

hold_right_button 0
right_button 69
middle_button 50
power_button 117


接着还要修改系统设定里面的输入设定的程序,否则以后不能用那个工具来进行设定的。修改python源代码吧。打开 /usr/bin/inputconfig.py 文件进行修改。把43-46行的默认值设定修改为:

self.rightmouse_mod = 69
self.middlemouse_mod = 50
self.ctrl_mod = 37
self.alt_mod = 64


58,59行修改为:

self.store.append(["Left Shift",50,True])
self.store.append(["Fn",69,True])


最后修改当前X Window的系统设定,修改 ~/Choices/input.cfg 文件,在第4行找到下面的两个设定,修改成下面的值:

MIDDLEMOUSEMOD="50" RIGHTMOUSEMOD="69"


修改完成后,重新进入X Window就可以啦。

X Window中应用程序快捷键无法使用

同样是键盘映射的问题,这个要修改X Window下的键盘映射的配置文件。

修改 /etc/X11/kb/Borzoi/xmodmap 文件(如果你的Z机不是C3100的话,把Borzoi换成你的Z机的代号)。找到:

keycode 107 = XF86AudioPrev


修改成:

keycode 107 = XF86LaunchD


并且在最后添加:

keycode 67 = XF86LaunchA
keycode 68 = XF86LaunchB
keycode 76 = XF86LaunchC


保存就可以了。

退出X Window后键盘映射混乱

仔细检查了startx的脚本后发现有这么一句

test -f /etc/sysconfig/keyboard/kernel.map -a f /usr/bin/loadkeys && sudo /usr/bin/loadkeys /etc/sysconfig/keyboard/kernel.map


检查文件系统发现 /etc/sysconfig/keyboard/ 根本没有 kernel.map 这个键位映射文件。所以只要做个link链接到你的机型相对的键位映射文件就可以解决这个问题了。

执行如下的命令:

# cd /etc/sysconfig/keyboard
# ln -s Borzoi/keymap.map kernel.map


如果你的机型不是C3100,请把上面命令中的Borzoi改成你的机型的代号就可以了。
进入X Window之后退出再试试,应该没有问题啦。


写了这些Bug fix的方法,使希望有其他机型的朋友也能自己修正出好用的r198版本的pdaXrom 1.1.0 Smile
希望这些信息对大家有用Razz

另外关于这个版本的汉化方法,和之前的pdaXrom 1.1.0 beta3版本几乎是一模一样,没什么变化,可以参考我之前写的那篇文章——《汉化 pdaXrom 1.1.0 beta3

_________________
my Blog: http://wells.osall.com

请支持我的开源项目Sylvan: http://sylvan.osall.com
Back to top
View user's profile Send private message Visit poster's website
wterlan



Joined: 21 Feb 2006
Posts: 67

小企鹅: 560

PostPosted: 2007-Apr-18 Wed, pm12:16 Reply with quote
 Post subject:

谢谢楼主测试,不知与B3相比,有什么进步没有?
Back to top
View user's profile Send private message
plum



Joined: 03 Jan 2007
Posts: 129
Location: 河南 郑州
小企鹅: 3482

PostPosted: 2007-Apr-18 Wed, pm4:43 Reply with quote
 Post subject:

最明显的就是速度快了
_________________
http://www.imobile365.com
Zaurus C1k+4G CF+Cell CF wifi+2G SD
ubuntu 7.10
WIndows XP Which in the VBOX under the ubuntu
Back to top
View user's profile Send private message Visit poster's website AIM Address30332348 MSN Messenger
plum



Joined: 03 Jan 2007
Posts: 129
Location: 河南 郑州
小企鹅: 3482

PostPosted: 2007-May-19 Sat, am9:59 Reply with quote
 Post subject:

经过测试,发现在c1k上面,退出x按键混乱的bug没有修复
_________________
http://www.imobile365.com
Zaurus C1k+4G CF+Cell CF wifi+2G SD
ubuntu 7.10
WIndows XP Which in the VBOX under the ubuntu
Back to top
View user's profile Send private message Visit poster's website AIM Address30332348 MSN Messenger
lonelyp



Joined: 14 Nov 2006
Posts: 260

小企鹅: 8158

PostPosted: 2007-May-19 Sat, pm1:46 Reply with quote
 Post subject:

c1k Borzoi 改成 Akita
_________________
my Blog: http://wells.osall.com

请支持我的开源项目Sylvan: http://sylvan.osall.com
Back to top
View user's profile Send private message Visit poster's website
plum



Joined: 03 Jan 2007
Posts: 129
Location: 河南 郑州
小企鹅: 3482

PostPosted: 2007-May-23 Wed, pm8:11 Reply with quote
 Post subject:

键盘bug的根本问题被我发现了,Akita目录下面的keymap.map基本没有什么实质内容,相反Borzoi的就很丰富,我试着对比改着看看
_________________
http://www.imobile365.com
Zaurus C1k+4G CF+Cell CF wifi+2G SD
ubuntu 7.10
WIndows XP Which in the VBOX under the ubuntu
Back to top
View user's profile Send private message Visit poster's website AIM Address30332348 MSN Messenger
rogerbaker



Joined: 10 Nov 2006
Posts: 24

小企鹅: 839

PostPosted: 2007-Jun-14 Thu, am7:16 Reply with quote
 Post subject:

plum wrote:
键盘bug的根本问题被我发现了,Akita目录下面的keymap.map基本没有什么实质内容,相反Borzoi的就很丰富,我试着对比改着看看


plum,键位修改好了吗?怎么改的?
Back to top
View user's profile Send private message
大兵



Joined: 01 Jun 2007
Posts: 10

小企鹅: 258

PostPosted: 2007-Jun-26 Tue, am12:26 Reply with quote
 Post subject:

这个7500C 能用吗?
Back to top
View user's profile Send private message
Enigma



Joined: 09 Apr 2007
Posts: 60

小企鹅: 1733

PostPosted: 2007-Jun-26 Tue, pm1:15 Reply with quote
 Post subject:

7500好像要用197
_________________
SL-C1000, 1G CF, 2G SD,1G SD,4G SD
SL-C3100, Symbol CF WIFI.4G SD挂载/home
PC:Freebsd 7.0,Ubuntu Linux 8.10
Debian+Octave绝配.
Back to top
View user's profile Send private message
kevinmay



Joined: 08 Jul 2007
Posts: 56

小企鹅: 1499

PostPosted: 2007-Jul-12 Thu, pm2:27 Reply with quote
 Post subject:

我的3200,进入Emergency System后,无法自动运行autoboot.sh,手工运行后,提示找不到kernel和rootfs img,需要自己输入命令写ROM才能写入。
Back to top
View user's profile Send private message
uujokent



Joined: 22 Nov 2007
Posts: 27
Location: 苏州
小企鹅: 846

PostPosted: 2007-Nov-22 Thu, am11:33 Reply with quote
 Post subject:

我是严格按照大侠的步骤安装的,这何无法进入emergency模式?

c1000
Back to top
View user's profile Send private message
Display posts from previous:     
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Zaurus 中文论坛 Forum Index » pdaXrom & debain & openBSD All times are GMT + 8 Hours
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
You cannot attach files in this forum
You can download files in this forum

[ 页面生成时间: 秒 ] :: [ 次查询 ] :: [ ]
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional