Messages in this thread | | | Date | Mon, 28 Apr 2008 21:35:00 +0200 | From | "Miguel Ojeda" <> | Subject | Re: Talking to parallel port in 2.6 kernel without using parport |
| |
On Mon, Apr 28, 2008 at 8:06 PM, Kathy Frazier <kfrazier@daetwyler-rd.com> wrote: > Miguel, > > Thanks for your response! I took a look at ks0108.c. You are right: very > straightforward and a good reference. I had added some other things based > on what I saw in /drivers/char/ppdev.c, lp.c and tipar.c. After reviewing > yours, I am realizing I really don't need some of that, so I can simplify > mine.
I'm glad the code is helpful.
> > My biggest problem was that lp was loaded. When I remove that, my call to > parport_register_device returns success! >
Yeah, I made the same mistake two years ago too. ;)
> > Thanks for your help! >
You are welcome!
-- Miguel Ojeda
| |