Re: [PARPORT] [PATCH] parport_share.c not naming correctly


Inaky Perez Gonzalez (inaky@peloncho.fis.ucm.es)
Sun, 10 May 1998 23:21:03 +0200


        Hi

Andrea> The point is: what' s the problem of having the port counter
Andrea> monothone? (also think that kmod will not more rmmod modules)

        Quite easy. Got two ports, one dedicated to the zip drive and
another one for the printer, right? so I tell lp to use parport1 and
zip to use parport0. If they change names on the fly, I'm screwed
off. It's a no-no.

        Ok, it's rare to have parport linked in and parport_pc as a
module, but it could happen that parport is a loaded module,
parport_pc too; then parport_pc is unloaded because of being unused,
but before unloading parport, _someone_ makes a request which forces
again the reload of parport_pc, with changed names. Then you're in
trouble if you hold more than a parallel port on your system [which is
not-a-so-rare for printer servers, for example].

>> So well, it took some time of simple hacking to do it instead of
>> studying f.... differential equations, so here it is :)

Andrea> I _should_ study differential equations and a lot more
Andrea> (hundred of dimonstrations :-() too and I
Andrea> __________HATE_________ _theorical_ math. I can' t find a best
Andrea> way to waste my time... I think in Italy University has
Andrea> serious problems ;-).

        I think we all Mediterranean countries have lot's of funny
ways to waste time in instead of studying ...

          Linux-USB! http://peloncho.fis.ucm.es/~inaky/USB.html -
                                                                -
                Inaky Perez Gonzalez -- PGP pubkey fingerprint -
           inaky@peloncho.fis.ucm.es -- 8E 34 3A 62 64 99 E2 44 -
   http://peloncho.fis.ucm.es/~inaky -- AD 7B 30 D9 DD FF 3E 4C -
   --------------------------------- -- ----------------------- -
   The loneliness of the long distance runner .....

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Wed 30 Dec 1998 - 10:17:43 EST