Re: Device driver for Printerport Error: IO region already in use

From: Tauno Voipio (tauno.voipio_at_iki.fi.NOSPAM.invalid)
Date: 02/28/05


Date: Mon, 28 Feb 2005 19:55:16 GMT

Nils Koehler wrote:
> I found this entrys in syslog
>
> Feb 24 18:42:07 linux kernel: parport0: PC-style at 0x378 (0x778)
> [PCSPP,TRISTATE,EPP]
> Feb 24 18:42:07 linux kernel: parport0: irq 7 detected
> Feb 24 18:42:07 linux kernel: lp0: using parport0 (polling).
>
> What does it mean is parport0 or lp0 module aktiv?
> and when yes how can i get then inactive?
>
> I tried the following in a terminal window at /dev
>
> rmmod lpt0
> rmmod parport0
>
> I got always the error massage:
> no module by that name fount.
>
> May be the module isnt stored ther,
> I thought a module should have a .o extention?
>
> Kindest regards
>
> Nils koehler
>
>
>
>>Hi all,
>>
>>I still try to write a devicedriver for the printerport,
>>but i get the massage errorcode for:
>>IO region already in use
>>
>>Is it possible that it is occupied by the system?
>>How can i get this I/O Range 0x378 - 0x37a
>>
>>I tried to rmmod things like lp0-lp3 and parport,
>>but there was always the massage module is not loaded.
>>
>>Is there a possibility to get a list of all loaded
>>modules and the recources they use?
>>
>>If you have any idea for me?
>>
>>Kindest regards
>>
>>Nils Koehler
>
>

1. Please read my responses in the other groups.
    Next time, please cross-post into a moderate
    set of newsgroups.

2. The lp driver in the newer kernels uses parport
    for actual device I/O. See the parport documentation
    in the kernel sources' Documentation directory.

-- 
Tauno Voipio
tauno voipio (at) iki fi


Relevant Pages