[Linux-parport] HELP
Ajay Kumar
naanuajay at yahoo.com
Thu Feb 17 23:01:53 EST 2005
Hi,
I have a query ... Please find time to guide me out...
I was working around with usb-parallel converter, wrote a small driver for the same. LINUX 2.4.20-8
I am referring to the parport driver i.e. "uss720.c".
````````````````````````````````````````````````````````````````````````````````````````
In probe function i makea call to
parport_register_port
and later make a call to
parport_proc_register(pp);
parport_announce_port(pp);
and in Disconnect
parport_proc_unregister(pp);
parport_unregister_port(pp);
i am facing the below mentioned problem :
First time I insmod the driver and plug in the device, the parallel port on the board is recognised as
/dev/lp1 and i am able to print on to this port...
functionality wise as of now i dont have any problem...
BUT, when i unplug and then plug it again, the parallel port is recognised as /dev/lp2 and this goes on
as and when i plug and unplug... I want it to be recognised as /dev/lp1 how many ever times i plug and unplug...
Even after i rmmod the driver, the same problem persists...
as of now i am rebooting the system to reset it to work again with /dev/lp1
PLEASE SUGGEST ME ON THIS...
Thanks,
Ajay
---------------------------------
Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.infradead.org/pipermail/linux-parport/attachments/20050217/40e0cb9a/attachment.html
More information about the Linux-parport
mailing list