2010年8月20日 | 分类: Softwares | 标签: , ,
I have been keeping tracking of this RHBZ for long, and I am happy to see libfprint finally supports my fingerprint reader on T410. Seems that the original author Daniel(dsd) was very busy so that another developer in Red Hat, Bastien Nocera, took this project instead. He moved the libfprint git repo to freedesktop.org, with the newest patches applied. You can find the new git repo here, and new libfprint release(0.2.0) here. Bastien Nocera is also maintaining fprintd, "a D-Bus daemon that offers libfprint functionality over the D-Bus interprocess communication bus". The git repo and new release are located here and here.

Besides the RHBZ mentioned above, you should be able to get more information from this message in fprint mailing list.

I updated my gentoo overlay in github, too. You can emerge libfprint and fprintd after you synchronized this overlay.

没有评论 (150 views)
2010年8月6日 | 分类: Softwares | 标签: , , ,
As I mentioned in the previous post, I couldn't get my fingerprint reader work in Gentoo. Now this problem has been solved. ;-)

Before starting, here're some useful links may help those who are suffering from similar fingerprint issues like me:

If you're using a fingerprint with USB id "147e:2016", you can have a look at this thinkwiki link, The "147e:2016" item is updated recently: a Red Hat Bugzilla URL added.

This RHBZ link tried to enable TCRD4C devices, but seemed that my fingerprint was another different type since it still did not work after applied all the patches attached.

------>8------ Cutting, Let's enable T410 fingerprint ------>8------

Using Fingerprint-GUI and UPEK SDK can easily enable fingerprint reader in T410. Fingerprint-GUI provides an integration of setup GUI, authentication plugin, PAM module and the UPEK library, all of the GUI parts are written with QT4 (I don't like it :-\), released under GPL-v3 licence. However, UPEK SDK library is EULA copyrighted and seems never to release the code to us.

阅读全文...

4 条评论 (362 views)
2010年7月2日 | 分类: Z-Turn | 标签: , , , ,
最近到手T410,先是折腾了几天把里面的正版Win7 Pro通过无损分区移到角落里,然后是装了个RHEL6.0用来做测试,最后重新开始折腾Gentoo。

这次没有纠结于选择哪个桌面环境上,我一点也不嫌弃GNOME的臃肿,于是装了个gnome-light。USE Flag把以前用过的拿过来修改了一下,顺便提一句,在我不用Gentoo的这段时间听说hal被干掉了,所以我也追风把hal标记给去掉了。

启动的时候使用grub2,本来打了915resolution补丁来使grub宽屏显示,但是打的补丁和grub-1.98似乎不是特别搭配,导致启动grub前后各有5秒停滞时间,加上grub启动过后仍然会有一个分辨率只有640x480的屏幕,我干脆就不用915resolution补丁了。使用grub2,配上ext4分区,就可以不使用initramfs了,关键在两点,一是内核中ACHI选项要编译进内核,二是kernel行参数中不要使用UUID。

说一下一些Thinkpad相关的配置:

一是声卡驱动。Thinkpad T410的声卡应该是CONEXANT的,但是选择这个驱动后内核还是不认我的声卡。最后只好选择了通用驱动。

二是hdaps,所谓的硬盘防震保护系统。portage里面相关的三个包,一个是hdaps模块,一个是GNOME的Applet,还有一个是OpenGL绘制的小程序,用来展示你的笔记本目前的水平状态。

阅读全文...

3 条评论 (673 views)
2010年5月16日 | 分类: Programming | 标签: , , ,
这个东西总算是做了一大半了。因为拖了两个星期,论文还没开始写,接下来只能一边写论文一边改模板了。

简要介绍一下这个模板。

缘起是@yegle曾经推荐过他的同学梵高(cnMuggle)的一个北邮本科毕业论文模板,我看了一下觉得不太符合我的需求,最主要是他用了CTeX,这玩意儿在我的机子上水土不服。作为一个Linux+XeTeX+xeCJK党,我就自己动手开始写。

期间参考了梵高同学的模板,当然也参考了@gnawux(apt)同学,还有DazzleZhang在apt的基础上改进,还有老牌的ThuThesis。当然最主要还是依靠Google和CTeX论坛,把一些稀奇古怪的问题给解决了。

今天又解决了几个大问题,同时也把插入图片、插入表格、插入公式的格式整理了一下,所以就发布Alpha-1版本了。地址在Google Code上。接下来要完成的主要工作就是参考文献的排版。我一看其他模板的bst文件,几千行的代码,吓坏了。下次再搞好了。

欢迎提Bug~

3 条评论 (860 views)
2010年4月19日 | 分类: No Category | 标签: , ,
The Quality Engineering team at Red Hat is looking for engineers to search for, analyze, report, track defects and verify bug fixes. This position will primarily focus on testing and verifying proper operation of driver updates to the linux kernel. Responsibilities include developing test scripts for automated testing, executing test cases, debugging software problems, and operating automated test tools.

Job Requirements:

- College degree in a technical field and/or relevant experience.
- Strong skills and background in Linux.
- Strong debugging, troubleshooting, analytical skills.
- Intermediate scripting skills.
- Intermediate written and spoken English skills.
- Must be a flexible self-starter who can come up to speed quickly with new technologies and can adapt to a growing and evolving team.
- Strong passion and desire for testing and examining how things work internally.
- Direct experience testing software under Unix/Linux.

有意者发中英文简历到:

echo ZW5nLWNoaW5hLXJlY3J1aXRAcmVkaGF0LmNvbQo= | base64 -d

P.S. 实习亦可。邮件标题请注明应聘实习还是应聘正式员工。

P.P.S 内核测试组实习生项目链接: http://jobs.zhaopin.com/P4/CC1362/4353/J902/501/CC136243538J90250171000.htm

3 条评论 (998 views)
2010年4月7日 | 分类: Z-Turn | 标签: , , , ,
现在上网的,没下列东东都不好意思说自己是混互联网的:

个人博客(BSP/独立的至少得有一个吧),twitter(以及其他各种围脖们),豆瓣facebookGoogle Reader(或者其他rss订阅工具),feedburner/feedskyflickr相册(或者picasaweb,或者国内的oo和xx),lastfm, youtube订阅,friendfeed……

在这个信息膨胀的社会,如何获取信息是个头疼的问题。下面列一下自己是如何把这些信息来源整合起来的,以供参考:

整合所有信息的核心就是feed/rss,所以首先要把博客搞一个托管,或者干脆直接用自带的feed(前者的好处是,换了博客可以不用通知别人修改你的rss地址)。我主要采用feedburner,在wordpress里用了feedred这个插件,把自带的feed重定向到了feedburner上。因为很久很久以前feedburner被墙了,所以feedsky也用过。

然后就是Twitter,作为一个重度Twitter患者,巴不得把自己博客更新、Google Reader分享、豆瓣新鲜事、新拍的照片等一堆东西同步到Twitter上。这里有两种解决方案:

1. 使用TwitterFeed.com

2. 使用FeedBurner。

前者自己摸索就好了,我更推荐后者,因为自己有种感觉FeedBurner同步速度很快,莫非它采用了每分钟轮询的策略?Orz……在FeedBurner管理界面的"Publicize"中有个"Socialize",里面可以设置把当前feed同步到Twitter上。

阅读全文...

4 条评论 (1,041 views)
2010年4月7日 | 分类: Programming | 标签: , ,
最近在一个项目上卡了几天,整理出来主要碰到的问题,以备自己查阅。

具体的问题抽象出来就是这么一种情况:

有一堆分层的目录,里面全是系统调用的相关测试代码+Makefile,结构大致如下:

├── wait4
│   ├── Makefile
│   ├── wait401.c
│   └── wait402.c
├── waitid
│   ├── waitid01
│   │   ├── Makefile
│   │   └── waitid01.c
│   ├── waitid02
│   │   ├── Makefile
│   │   └── waitid02.c
├── waitpid
│   │   ├── Makefile
│   │   └── waitpid_err_test.c
.....

阅读全文...

没有评论 (866 views)
2010年4月3日 | 分类: Programming | 标签: , , , ,
过一段时间公司和学校都得做presentation,所以现在就得好好开始准备slides。以前我就用Beamer做过一次slide,而且是匆匆忙忙用了默认模板搞定的。这次借着再做slides的机会,我得自己搞个模板。

需求如下,非常简单:

1. 要在合适的位置打上Logo(一般是左上角或者右上角);
2. 要能自定义页脚
3. 首页要有背景

经过半个白天加一个晚上的折腾,基本上解决了上述问题:

要打Logo,并且自定义位置,可以使用如下语句:

 \logo{\pgfputat{\pgfxy(#1,#2)}{\pgfbox[center,base]{\includegraphics[height=0.5cm]{#3}}}}

事先要包含pgf宏包,#1,#2是Logo坐标,#3是Logo路径。关于坐标,我发现用pdflatex编译和用xelatex编译时坐标表示的实际位置是不同的,反正自己手工慢慢调就是了。也可以把上述代码加个\newcommand,做成一个带参数的命令直接调用。

自定义页脚,我参考了beamer guide和beamer里面的某个宏包的写法:

阅读全文...

18 条评论 (2,293 views)
2010年3月27日 | 分类: Softwares | 标签: , ,
事先承认,我是土星人+火星人,最近才知道Chrowety这等利器,又能用Twitter API,又能官方RT,又能有声音提示,界面做得还不错。为了拯救广大比我还火星的朋友们,特推荐此扩展。

由于本人推荐之心实在很强烈,所以几乎就要把这篇可怜不到100字的最新文章发表。幸好发表前我强忍住了,于是找点其他东西凑数,列几个其他的Chrome扩展供大家讨论。因为最近工作和平时使用浏览器都在Chrome上了,同时越来越觉得Firefox不好用了。

代理自动切换:不得不承认AutoProxy这等生活在西朝鲜屁民共和国的使用Firefox的我们的必备工具还是很好用的,在Chrome上迄今没找到同样利索的工具,只有用Switch Proxy + 自己在 autoproxy2pac.appspot.com(已被墙)上下的pac文件凑合一下。

书签同步:在使用了前一个扩展的前提下,使用XMarks。

看Alexa和Google PR排名:Chrome SEO,功能很齐全。

其他的诸如Google官方应用的扩展就不再赘述。

阅读全文...

6 条评论 (1,356 views)
Page 1 of 1412345678910...Last »