NetMos Technology PCI 9865 Parallel Controller install howto for Ubuntu 9.04 (English)

Im using ubuntu 9.04 and I tried install an old printer with a paralel card and its not working. /dev/lp0 is not exits so lots of google after I have an inswer. I wrote a little howto.

1, Access the card for your motherboard

2, # lspci
   ...
   05:01.0 Parallel controller: NetMos Technology PCI 9865 Multi-I/O Controller
   ...

3, # cat /proc/ioports | grep parport
   <nothing>

4, # modprobe -r lp
   # modprobe -r parport_pc

5, # lspci -v
   ...
   05:01.0 Parallel controller: NetMos Technology PCI 9865 Multi-I/O Controller (prog-if 03)
Subsystem: Device a000:2000
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at e880 [size=8]
I/O ports at e800 [size=8]
Memory at feb9f000 (32-bit, non-prefetchable) [size=4K]
Memory at feb9e000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [48] Power Management version 2
   ...

6, # modprobe parport_pc io=0xe880
   # modprobe lp

7, # /etc/init.d/cups restart

8, Use the official Ubuntu printer setup gui for others, in my machine is working

9, For reboot you must do these file edits
   # cat /etc/modprobe.d/parport_pc
   options parport_pc io=0xe880
   # cat /etc/modules
   ...
   parport_pc
   lp
   ...

Thanks your read. Lazly

v1.0b
lazly.hu 2007-2009 | Minden jog fenntartva | Impresszum