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.
[分享]PDAxromR121中USB设置无法启动的解决方法
View previous topic :: View next topic  
Author Message
plum



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

PostPosted: 2007-Mar-24 Sat, pm9:28 Reply with quote
 Post subject: [分享]PDAxromR121中USB设置无法启动的解决方法

PDAxromR121中USB设置无法启动的解决方法
刷了PDAxrom R121版本,发现有不少Bug,最不能让我忍受的就是setting中的USB 设置打不开,
最后在群中过客的指点下解决了这个bug,写出来给大家参考
1,在终端中运行
Code:
   vi /usr/bin/usbfunction.py

2, 注释掉这一段
Code:
        f = open("/proc/deviceinfo/product","r")
        MODEL = f.read()
        f.close()

3,在已经注释掉的 MODEL = f.read()之前,添加MODEL = "SL-C1000"语句,也可以把SL-C1000换成自己的机器名字,不过是否有效我没有测试。
4,最后要注意所进的空格的格数,也就是缩进,不过我按了一下tab就对齐了,呵呵
5,最后的代码是这样的

Code:
   
               MODEL = "SL-C1000"
#           f = open("/proc/deviceinfo/product","r")
#          MODEL = f.read()
#          f.close()

6,保存,再运行一次就可以了

根据我个人的了解,这个方法也不是特别完美,只是相当于把原来声明的变量强行改成了常量,不过我在我的c1k上面测试有效,小弟是大菜鸟,能力有限,其他的机器大家自己试试看。

_________________
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-Mar-24 Sat, pm9:38 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
joerkky



Joined: 10 Dec 2006
Posts: 75

小企鹅: 2359

PostPosted: 2007-Mar-25 Sun, pm12:12 Reply with quote
 Post subject:

似乎usb setting的确打不开~~~里面是什么内容?usbnet的内容么?modprobe cdc_ether或者g_ether就好了(具体是哪个模块我不记得了)。然后ifconfig一番就能用了
Back to top
View user's profile Send private message
plum



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

PostPosted: 2007-Mar-25 Sun, pm3:55 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
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