這一個簡單的驅動示範了如何使用parport來建立你自己的並口驅動。 /* Demenstration of how to build your parport related driver upon parport moudle.Author: Joseph Yang @ dslabMail: ganggexiongqi@gmail.comDate: 06-30-2011*/#include <linux/module.h>#include
/*The kthread interface provides you free access to a built-in exitsynchronization mechanism implemented using the completion interface.You may directly call kthread_stop() to ask the corresponding taskto exit. And make a neat call to
Ext4轉自:http://kernelnewbies.org/Ext4Ext4 is part of the Linux 2.6.28 kernel, read the previous link to know more details about that release.IntroductionEXT4 featuresCompatibilityBigger filesystem/file sizesSub directory scalabilityExtentsMultiblock
// parport.c/*Function: It implement parport read and write method. In this demon, interrupt is also respond.-------------------------------------------------------- How to useNOTE:In order to trigger a parport
Tell Git not to track a file any more (remove from repo)By Alvin Alexander on January 21, 2012Git rm FAQ: How do I tell Git not to track a file (or files) any more? That is, I want to remove the file from the Git repo?While working on an application
因為可能會在項目中應用到Qt的canvas,自然想在自己的VM上先裝上來試試,Nokia現在的SDK太能用了。 我的ubuntu偶而的會升級一下軟體包,結果今天裝libqt4-dev時遇到下面的問題,錯誤提示為: apt-get install libqt4-devReading package lists... DoneBuilding dependency treeReading state information... DoneSome packages could not be
今天一個還在讀書的老同學拋了個問題給我: 一隻公雞5元,一隻母雞3元,三隻小雞1元,問100元買100隻雞,各多少,編程解決。。。。。 其實現在對幫人寫作業已經沒有興趣了,只不過同學後面那句比較奇怪: 老師說O(N³)太複雜,可以弄成O(N²),。。。。。。 我不明白這裡要什麼O(N³)、O(N²),這隻是簡單的小學二元方程啊,用emacs就可以演算一下,O(N)就可以: ;由方程;5 x + 3 y + 1/3 z = 100;x + y + z = 100;導成----->;2 y
1. 設定 Debian 7.0 "wheezy"的快速鍵。 Applications -> System Tools -> Preferences -> System Settings -> Keyboard 開啟Shortcuts選項卡 可以看到預設的設定為: Move window one worksparce to the left = Shift + Ctrl + Alt + Left Move window one worksparce to the