|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Linux Parallel port device Drivers
Hi,
I'm currently undergoing a project to make a parallel port device driver under Linux, written in C. And i was wondering if anyone knows where i could find any example code of such a thing. I know kind of what code needs to be written but am having major trouble writing it. Any Information will be GREATLY appreciated. (it's my final degree year uni project, that has to be in soon :-(! ) Cheers for any help |
|
#2
|
|||
|
|||
|
I can suggest a book: Linux Device Drivers (O'Reilly Publications).
It is a great resource, and if you can get your hands on it, it'd surely help you. ![]() |
|
#3
|
|||
|
|||
|
too funny. you are in the final year of university, want to write a driver for linux and you donīt know this?
linux has a parallel port driver and the full source code is most times installed in /usr/src/linux. if not, get it from from your distribution CDs, ftp site,www.kernel.org... the parallel port driver is in /usr/src/linux/drivers/misc/ do you want to know how to access it? look eg at the code from paride (parallel port ide device driver) in /usr/src/linux/drivers/block/paride
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > C Programming > Linux Parallel port device Drivers |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|