Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.arcetri.astro.it/irlab/doc/library/linux/khg/HyperNews/get/khg/35.html
Дата изменения: Thu Mar 23 12:38:04 2000 Дата индексирования: Wed Sep 15 00:47:19 2010 Кодировка: Поисковые слова: п п п п п п п п п п п п п п п |
hello i am just writing a kernel module (2.0.27kernel), that shall turn engines.. :) you know, those electronic engines that have 4 statuses, and by selecting 1 2 3 4 1 2 3 4 etc. they turn. i just don't know the english word... :) i use a little external hardware that needs to be triggered in order to let the engine perform a step. the module uses an add_timer(...) to be called 100 times per second. this means 50 pulses per second. this means 50 steps of the engine per second. this is not enough. :-( so. as i read above there are many real-time approaches to linux, but they aren't yet really implemented ??? :) well somebody told me about /dev/rtc i could use this one. but i still want to use a kernel module for my purpose, so: Is it possible to use open() write() read() close() ioctl() in a kernel-module or aren't those libc functions overloaded? (i want to use /dev/rtc IN my kernel module) byebye&thanks :) Erik |
10 ms timer patch by Reinhold J. Gerharz
Please send me the patch by Jin Hwang