This is the fourth article in the irregular LWN series on writing videodrivers for Linux. Those who have not yet readthe introductory article maywant to start there. This week's episode describes how an application candetermine which inputs and
This article is a continuation of the irregular LWN series on writing videodrivers for Linux. Theintroductory article describes theseries and contains pointers to the previous articles. Inthe last episode, we looked at how the Video4Linux2 API
With the completion of part 6ofthis series, we now know how to set up a video device and transferframes back and forth. It is a well known fact, however, that users can behard to please; not content with being able to see video from
This is the second article in the LWN series on writing drivers for theVideo4Linux2 kernel interface; those who have not yet seenthe introductory article maywish to start there. This installment will look at the overall structureof a Video4Linux
Anybody who has spent any amount of time working through the Video4Linux2 APIspecification will have certainly noted that V4L2 makes heavy use oftheioctl() interface. Perhaps more than just about any othertype of peripheral, video hardware has a
RTC - real time clock維護著系統的hardware時間,當linux啟動時需要用RTC hardware時鐘設定system 時間。這個過程是在drivers/rtc/hctosys.c驅動中實現的,這個驅動實際只有一個init函數,並且把自己的init 函式宣告為late_initcall,這樣可以保證RTC驅動已經正常運轉。init函數從RTC裝置讀取當前硬體時鐘,然後調用do_settimeofday改寫系統時鐘。27 static int __init