|
|
Log in / Subscribe / Register

Driver porting: Char devices and large dev_t

Driver porting: Char devices and large dev_t

Posted Aug 26, 2004 22:32 UTC (Thu) by r2b2lewis (guest, #24285)
Parent article: Driver porting: Char devices and large dev_t

I am new to Linux; but I am attempting to understand the device driver architecture with the goal of learning how to write video device drivers.

I am attempting to go through the "How to Write a Linux Device Driver" book at the same time that I am looking at the device driver source code I have downloaded from xfree86.org.

I can see no similarity.
Nowhere do I find a call to register_chrdev().
Why is this?

Is there any current documentation on how to write a video device drivers?

I will greatly appreciate any help you can give.


to post comments

Driver porting: Char devices and large dev_t

Posted Nov 28, 2004 20:47 UTC (Sun) by jcm (subscriber, #18262) [Link]

Hi r2b2lewis,

A "driver" downloaded from xfree86.org usually means a userspace loadable driver which is used by X to drive some hardware - it's not actually a loadable kernel module however, so you're in the wrong place.

:-).

Jon.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds