C Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesC Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old April 16th, 2002, 03:40 PM
norris_309 norris_309 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 3 norris_309 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old April 20th, 2002, 09:35 AM
iDeveloper iDeveloper is offline
Your Friend
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 9 iDeveloper User rank is Private First Class (20 - 50 Reputation Level)iDeveloper User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.


Reply With Quote
  #3  
Old April 20th, 2002, 09:41 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesC Programming > Linux Parallel port device Drivers


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway