Compatible Support Forums: I want to write a device driver

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

I want to write a device driver

#1 User is offline   robstr12 

  • stranger
  • Group: Members
  • Posts: 15
  • Joined: 15-July 04

Posted 05 January 2005 - 06:52 AM

Someone gave me a printer...

http://www.linuxprinting.org/show_printer.cgi?recnum=Canon-LBP-460

and, its a paperweight.
I figure that if I work at it a little every day, I can learn the basics of C programming in one year. Then, maybe I can tackle the challenge of writing a device driver for this printer.

Is that a ridiculous thought?

C is the language that all this kind of stuff is written in, correct? If other people can do it, why not I?
0

#2 User is offline   Dapper Dan 

  • Pooh-Bah
  • Group: Moderators
  • Posts: 1703
  • Joined: 27-September 03

Posted 05 January 2005 - 08:08 AM

I admire your ambition. I can't see any reason why you couldn't accomplish it if you really set your mind to it.

I wouldn't have the patience for such an undertaking. I have a few paperweights around here too, though, we call them, "boat anchors." smile

I've got a nice Visioneer scanner, a piece of crap Epson printer,(a brand I will never buy again even if they threw all their support behind Linux) about 12 winmodems, which sometimes I actually do use as paperweights!), and various bits and pieces that won't work with Linux.

Someone has to write the modules for hardware. I say go for it if it really interest you! smile
0

#3 User is offline   robstr12 

  • stranger
  • Group: Members
  • Posts: 15
  • Joined: 15-July 04

Posted 05 January 2005 - 08:38 AM

Well,
If there's a will, there's a way. I can devote the time to it.
We'll just see, then.

If I ever get one to work, hehe, I'll post about it here, DD!!!
0

#4 User is offline   iamroot 

  • addict
  • Group: Members
  • Posts: 501
  • Joined: 06-April 04

Posted 05 January 2005 - 01:57 PM

Best of luck! Great drive u got there. I'm struggling like hell with C and C++ now but the result will be all worth it.
0

#5 User is offline   egorgry 

  • enthusiast
  • Group: Members
  • Posts: 315
  • Joined: 30-August 03

Posted 05 January 2005 - 09:58 PM

Pick up writting linux device drivers by oreily. I had this book and it was just beyond teh scope of what I do. between my real job and a life I couldn't pull it off. good book tho.
btw, You're a better man than me. smile
0

#6 User is offline   robstr12 

  • stranger
  • Group: Members
  • Posts: 15
  • Joined: 15-July 04

Posted 06 January 2005 - 04:22 AM

hehe...
Well, thanks you guys... but I'm a slight bit away from actually doing it yet.
Right now I'm reading and working through Practical C, an O'Reilly book.

I figure that I will keep at it... and then get that O'Reilly book about the device drivers.

It may take me years, but, if I do succeed in pulling it off, I would have something to put on my tombstone, I guess. smile
0

#7 User is offline   iamroot 

  • addict
  • Group: Members
  • Posts: 501
  • Joined: 06-April 04

Posted 06 January 2005 - 05:28 AM

Yup. Keep us updated though:->
0

#8 User is offline   BSchindler 

  • journeyman
  • Group: Members
  • Posts: 68
  • Joined: 24-January 05

Posted 09 February 2005 - 05:14 AM

I can suggest another very good book for learning about linux and concepts. "Beginning Linux Programming" by Richard Stones and Neil Matthew. Published by Wrox ISBN: 1-861002-97-1.

I have been writing C and running various flavors of Unix/Linux for nearly 20 years. I still pick up this book when I cannot remember some silly thing. The book has a good beginner's section on device drivers as well.

I have given this book as a gift to new Linux users who aspire to really learn how to write "work" code for this platform. It has been a great success. One of the best things about the book is that it has plenty of examples which you can actually run on your machine.

Good luck with learning C!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users