2011/8/25 Kirk Wallace <[email protected]>:
> On Thu, 2011-08-25 at 12:56 -0700, Kirk Wallace wrote:
>> On Thu, 2011-08-25 at 20:35 +0100, andy pugh wrote:
>> > On 25 August 2011 20:25, Viesturs Lācis <[email protected]> wrote:
>> >
>> > > What draws my attention is that lp0 is using parport0.
>> > > Should it be like that or is this the cause of problem that parport is
>> > > used by something else?
>> >
>> > That could be the problem.
>> >
>> > Does lsmod show lp? And if so, does
>> > sudo modprobe -r lp
>> > help EMC2 to boot.
>> >
>>
>> sudo modprobe -r lp (lp reload or reset)
>
> Oops. I ASSuMEd. I checked man, -r = remove (I usually use "sudo rmmod
> lp")
>
> So
>
> sudo modprobe -r lp
> sudo modprobe lp
> dmesg
>
> will reset, but if the EMC2 computer doesn't have a printer, I would lp
> unloaded.
>
> "
> I see it in these 2 consecutive lines:
> lp                      7028  0
> parport                30764  3 ppdev,parport_pc,lp
> "
>
> I seem to recall in EMC2's past that ppdev, parport_pc and lp should not
> be loaded, but the latest EMC2 version could live with them, so
> rmmod'ing all three should be okay for testing, maybe.

Here is what I did about those three:

waterjet@waterjet:~$ sudo modprobe -r lp
WARNING: All config files need .conf: /etc/modprobe.d/emc2, it will be
ignored in a future release.
waterjet@waterjet:~$ sudo modprobe -r ppdev
WARNING: All config files need .conf: /etc/modprobe.d/emc2, it will be
ignored in a future release.
waterjet@waterjet:~$ sudo modprobe -r parport_pc
WARNING: All config files need .conf: /etc/modprobe.d/emc2, it will be
ignored in a future release.
waterjet@waterjet:~$ sudo ./showport 0378 0778 e 037a 077a e
~~~~~
Base @ 0x378
Extended @ 0x778
DPR: 255
DSR: 255
DCR: 255
EPPA: 255
EPPD: 255

CFA: 255
CFB: 255
ECR: 255
~~~~~
Setting mode to EPP
ECR: 255
~~~~~
~~~~~
Base @ 0x37a
Extended @ 0x77a
DPR: 255
DSR: 255
DCR: 255
EPPA: 255
EPPD: 255

CFA: 255
CFB: 255
ECR: 255
~~~~~
Setting mode to EPP
ECR: 255
~~~~~
waterjet@waterjet:~$


Please note that for 0378 there is a change in number:
Setting mode to EPP
ECR: 255

And even now dmesg shows:
[    8.878612] parport0: PC-style at 0x378, irq 7 [PCSPP]



Could it really be true that purchasing EPP-capable PCI add-in card
would be easier?

Viesturs

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to