Re: Talking to parallel port in 2.6 kernel without using parport

From: Miguel Ojeda
Date: Mon Apr 28 2008 - 15:35:40 EST


On Mon, Apr 28, 2008 at 8:06 PM, Kathy Frazier
<kfrazier@xxxxxxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/