LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 03-03-2011, 12:43 PM   #1
fcintron
Member
 
Registered: Oct 2010
Location: México
Distribution: Centos
Posts: 72

Rep: Reputation: 4
partport module is seing my parallel port but lp module doesn´t found any device...


I am trying to install a Sunix 4018T dual parallel port card on a pc with Mandriva Linux 2010.1:

Code:
[root@otros usuario1]# uname -ar
Linux otros 2.6.36.2-desktop-1mnb #1 SMP Tue Dec 14 21:04:23 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
Dealer told me that linux has driver for this card already so I inserted it and turned on my pc.

Unfortunately when I try to install my Okidata ML320, cups it's not showing any parallel ports.

I try to update all the system with last patches and packages :

Code:
urpmi --auto-update
and I changed parallel cord too but cups was not showing any parallel port either.

I tested the card on a pc with windows xp, installed my printer and it works perfectly.

Looking for further info on my Mandriva box, I ran lspci -v and card is being showed:

Code:
01:06.0 Parallel controller: Timedia Technology Co Ltd SUN1888 (Dual IEEE1284 parallel port) (rev 01) (prog-if 02 [ECP])
Subsystem: Timedia Technology Co Ltd PAR4018A
Flags: stepping, medium devsel, IRQ 19
I/O ports at ec00 [size=8]
I/O ports at e880 [size=8]
I/O ports at e800 [size=8]
I/O ports at e480 [size=8]
Kernel modules: parport_pc
parport module is detecting both parallel ports and my printer too:

Code:
[root@otros log]# dmesg|grep parpo
parport_pc 00:04: reported by Plug and Play ACPI
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
parport_pc 0000:01:06.0: PCI INT A -> Link[LNKA] -> GSI 19 (level, low) -> IRQ 19
parport1: PC-style at 0xec00 (0xe880), irq 19, using FIFO [PCSPP,TRISTATE,COMPAT,ECP]
parport1: Printer, OKI DATA CORP ML320/1TURBO
parport2: PC-style at 0xe800 (0xe480), irq 19, using FIFO [PCSPP,TRISTATE,COMPAT,ECP]
parport_pc 00:04: disabled

lp is loaded but is not seing any device:

Code:
[root@otros log]# dmesg|grep lp
On node 0 totalpages: 753455
Calibrating delay loop (skipped), value calculated using timer frequency.. 6401.77 BogoMIPS (lpj=3200888)
lp: driver loaded but no devices found
lp: driver loaded but no devices found
lp: driver loaded but no devices found
In /var/log/messages it is reported in a similar way:

Code:
Mar 2 22:59:08 otros kernel: lp: driver loaded but no devices found
¿why parport is seing parallel ports but lp is not detecting any device?
Thank you for your kind help
 
Old 03-04-2011, 01:38 PM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,870

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
Have you loaded the print driver yet, and configured the printer in cups? Here is the driver you need.

-->http://www.openprinting.org/printer/Oki/Oki-ML_320

It may be included with your distro. Open a web browser, and in the location bar type http://localhost:631 and press enter. See if you can add the printer, it will ask for the root password. Once the driver is loaded, and you add the printer, you should be able to print. The other items you posted about, look good.
 
Old 03-07-2011, 10:26 AM   #3
fcintron
Member
 
Registered: Oct 2010
Location: México
Distribution: Centos
Posts: 72

Original Poster
Rep: Reputation: 4
Hi thank you for your kind help. I came across this page:


http://bbs.archlinux.org/viewtopic.php?id=8432

I tried the solution posted and it worked perfectly.


 
Old 03-07-2011, 10:45 AM   #4
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,870

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
Glad you to it fixed. Can you mark the thread Solved?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems compiling crrcsim parallel port kernel module CONFIG_MODVERSION ???? rhauff Linux - Kernel 4 04-17-2008 07:53 AM
Parallel Port & Serial Port device identification helpmeforlinux Linux - Hardware 3 01-02-2007 02:15 AM
Kernel module programming Error : module not found coolguy_iiit Programming 1 07-30-2006 08:23 AM
Parallel Port Device Driver rajtendulkar Linux - Hardware 4 03-17-2006 12:34 AM
fglrx module not found but X runs using module biger problem though HELP! fireicer Linux - Newbie 4 07-30-2004 05:44 PM


All times are GMT -5. The time now is 09:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration