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.
关于zaurus的邮件灯
View previous topic :: View next topic  
Author Message
ccpaging



Joined: 07 Dec 2006
Posts: 757

小企鹅: 16604

PostPosted: 2008-Mar-13 Thu, pm1:22 Reply with quote
 Post subject: 关于zaurus的邮件灯

在3XXX以上机型,邮件灯是跟读写硬盘联系在一起的,这依赖kernel和驱动才能实现。
在C1000以及以下机型,没有硬盘,邮件灯平时也就失去了效能。

1、控制邮件灯
把附件中的程序拷贝到/bin目录

2、试试能否控制邮件灯
打开邮件灯
ledctl ledmode 0
ledctl mail 1

关闭邮件灯,切换会HDD灯模式
ledctl ledmode 1

只关闭邮件灯
ledctl mail 0

进阶使用者,可以看看ledctl有哪些功能
ledctl --help

3、下一步我们试试,能不能在休眠和开机的时候,亮灯
-- 未完 --



ledctl.zip
 Description:

Download
 Filename:  ledctl.zip
 Filesize:  2.28 KB
 Downloaded:  44 Time(s)


_________________
SL-C1000, 1G CF, 1G SD
pdaxrom 1.1beta3
Roku Wifi Card(Used in Cacko 1.23 & pdaXrom 1.1 Beta3)
http://ccpaging.blog.ubuntu.org.cn/
http://ccpaging.osall.com/
http://blog.sina.com.cn/zaurus/


Last edited by ccpaging on 2008-Mar-13 Thu, pm3:31; edited 1 time in total
Back to top
View user's profile Send private message
btest



Joined: 22 Nov 2007
Posts: 175

小企鹅: 4014

PostPosted: 2008-Mar-13 Thu, pm3:22 Reply with quote
 Post subject:

不错,好东西,开机的时候亮,可能性不大.休眠有可行性./
_________________
http://btest.blog.ubuntu.org.cn/
Back to top
View user's profile Send private message
ccpaging



Joined: 07 Dec 2006
Posts: 757

小企鹅: 16604

PostPosted: 2008-Mar-13 Thu, pm3:32 Reply with quote
 Post subject:

跟3XXX一直,应该拷贝到/bin

我是参照pdaxii13做了script到apm目录,一个ledon, 一个ledoff,这样按on/off的时候,就能看到。

另:
某些zaurus系统中,如angstrom,按suspend休眠后,要等5秒在合盖子,据说正在suspend过程中,如果合盖子,可能导致系统调用其它的处理程序,而使suspend不能正常执行完。

有灯感觉可以避免这个问题,至少你知道on/off有没按下去,什么时候真正进入休眠了。

_________________
SL-C1000, 1G CF, 1G SD
pdaxrom 1.1beta3
Roku Wifi Card(Used in Cacko 1.23 & pdaXrom 1.1 Beta3)
http://ccpaging.blog.ubuntu.org.cn/
http://ccpaging.osall.com/
http://blog.sina.com.cn/zaurus/
Back to top
View user's profile Send private message
john4



Joined: 08 Nov 2005
Posts: 70

小企鹅: 782

PostPosted: 2008-Mar-13 Thu, pm4:58 Reply with quote
 Post subject:

期待...休眠时能亮灯,开机是灭 Very Happy
Back to top
View user's profile Send private message
ccpaging



Joined: 07 Dec 2006
Posts: 757

小企鹅: 16604

PostPosted: 2008-Mar-13 Thu, pm5:23 Reply with quote
 Post subject:

按下on/off的时候,要执行一系列的script,需要一定时间,我的想法是在这段时间里边,灯亮,结束后灯转为正常。
_________________
SL-C1000, 1G CF, 1G SD
pdaxrom 1.1beta3
Roku Wifi Card(Used in Cacko 1.23 & pdaXrom 1.1 Beta3)
http://ccpaging.blog.ubuntu.org.cn/
http://ccpaging.osall.com/
http://blog.sina.com.cn/zaurus/
Back to top
View user's profile Send private message
ruf



Joined: 30 Mar 2006
Posts: 71

小企鹅: 1378

PostPosted: 2008-Mar-14 Fri, pm2:39 Reply with quote
 Post subject:

debian里面不能执行,可能是elf版本不兼容。
Back to top
View user's profile Send private message
ccpaging



Joined: 07 Dec 2006
Posts: 757

小企鹅: 16604

PostPosted: 2008-Mar-14 Fri, pm5:43 Reply with quote
 Post subject:

这个是kernel相关的。
_________________
SL-C1000, 1G CF, 1G SD
pdaxrom 1.1beta3
Roku Wifi Card(Used in Cacko 1.23 & pdaXrom 1.1 Beta3)
http://ccpaging.blog.ubuntu.org.cn/
http://ccpaging.osall.com/
http://blog.sina.com.cn/zaurus/
Back to top
View user's profile Send private message
btest



Joined: 22 Nov 2007
Posts: 175

小企鹅: 4014

PostPosted: 2008-Mar-16 Sun, pm8:43 Reply with quote
 Post subject:

在beta1下,执行没什么反应。
_________________
http://btest.blog.ubuntu.org.cn/
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