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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kathy Frazier
Date: Monday, April 28, 2008 - 10:59 am

Alan,

That was a problem!  The lp driver was already loaded.  If I remove it and
then load my driver, it returns with success from parport_register_device.
Thanks for your help!

Regards,
Kathy

-----Original Message-----
From: Alan Cox [mailto:alan@lxorguk.ukuu.org.uk] 
Sent: Friday, April 25, 2008 1:12 PM
To: Kathy Frazier
Cc: 'Kathy Frazier'; linux-kernel@vger.kernel.org
Subject: Re: Talking to parallel port in 2.6 kernel without using parport


Nothing immediately strikes me.


Do you have the printer driver loaded already ? (and does it behave if you
do rmmod lp first)


From the .fc6 it would be an old Fedora kernel so very close to standard
2.6.18 from kernel.org, but the Fedora Core kernels are available from the
Fedora download pages - the .srpm package for each kernel is the one
matching the same binary - so google for "2.6.18-1.2798.fc6.src.rpm"

http://www.mjmwired.net/resources/mjm-fedora-fc6.html has a few notes on it.


To be honest this area of the kernel hasn't changed much over recent times.
Let me know if you can't figure out what is going on.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RE: Talking to parallel port in 2.6 kernel without using p ..., Kathy Frazier, (Mon Apr 28, 10:59 am)