LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-16-2012, 08:42 PM   #1
joseph2020
Member
 
Registered: Mar 2009
Location: USA
Distribution: Ubuntu 12.04
Posts: 235

Rep: Reputation: Disabled
need printer help


I am using an old Dell Dimension 2400, with Ubuntu 10.04 and the integrated parallel port died. I bought a PCI parallel plug in board, but can't get it to work. It's a NetMos Technology PCI 9865 Multi-I/O Controller, When I try to install the driver (as per their instructions) that came with it gives me an error on "make". Please see output:

Code:
joe@desk:~/Desktop/printer/printer card/MCS9865_Linux/MCS9865_V1.0.0.6$ make

rm -f *.mod.c *.o *.ko .*.cmd *.symvers
make -C /lib/modules/2.6.32-41-generic/build/  SUBDIRS=/home/joe/Desktop/printer/printer card/MCS9865_Linux/MCS9865_V1.0.0.6 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-41-generic'
make[1]: *** No rule to make target `card/MCS9865_Linux/MCS9865_V1.0.0.6'.  Stop.
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-41-generic'
make: *** [default] Error 2
joe@desk:~/Desktop/printer/printer card/MCS9865_Linux/MCS9865_V1.0.0.6$
I have no idea what that means or how to fix it.

lspci -v gives me this:

Code:
01:05.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 4
	I/O ports at ddf0 [size=8]
	I/O ports at ddf8 [size=8]
	Memory at fe9dc000 (32-bit, non-prefetchable) [size=4K]
	Memory at fe9dd000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
It looks like the card is detected. What is the problem? Why is "access denied"?

Right now I am having to copy a file I want to print to a flashdrive, and take it over to a PC in the other room, where the printer will work. If you're old enough you might remember the term "sneakernet" = pain in the butt. Unfortunately I use the printer often enough to make this a big issue.

The printer is an old Panasonic KXP-1124i, and shows up in the CUPS driver list and is installed. Now, it won't print even the "test page". It has never given me any problems installing or working perfectly with Linux any other time. Please help me to get this printer working again. Thanks in advance for any help/suggestions.
 
Old 07-16-2012, 09:21 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,753

Rep: Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930
I'm not familiar with this card and do not know why your seeing the access denied message from the output of lspci.

Check out this link. http://ubuntuforums.org/showthread.php?t=1304178
 
Old 07-16-2012, 09:52 PM   #3
joseph2020
Member
 
Registered: Mar 2009
Location: USA
Distribution: Ubuntu 12.04
Posts: 235

Original Poster
Rep: Reputation: Disabled
michaelk, Thanks for your reply. I have tried with no success. Thanks for your response.

Chapter 2: after more research (http://ubuntuforums.org/showthread.php?t=1233589) I found using sudo gives me a different output and no more "access denied" reported...so now what's going on? I still can't print a simple text page.

Any ideas what the last line means (Capabilities: )

joe@desk:~$ sudo lspci -v

01:05.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 4
I/O ports at ddf0 [size=8]
I/O ports at ddf8 [size=8]
Memory at fe9dc000 (32-bit, non-prefetchable) [size=4K]
Memory at fe9dd000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [48] Power Management version 2

Any help is appreciated.

Last edited by joseph2020; 07-17-2012 at 12:43 AM. Reason: more info
 
Old 07-17-2012, 06:34 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,753

Rep: Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930
I did not explicitly post the exact steps but did you try:
sudo modprobe parport_pc io=0xddf0
sudo modprobe lp

Were there any error messages when you tried the commands?
 
Old 07-17-2012, 01:08 PM   #5
joseph2020
Member
 
Registered: Mar 2009
Location: USA
Distribution: Ubuntu 12.04
Posts: 235

Original Poster
Rep: Reputation: Disabled
michaelk, thank you for your response.
Quote:
Were there any error messages when you tried the commands?
See output here:
Code:
joe@desk:~$ sudo modprobe lp
WARNING: All config files need .conf: /etc/modprobe.d/parport_pc, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
joe@desk:~$ 
joe@desk:~$ sudo modprobe parport_pc io=0xddf0
WARNING: All config files need .conf: /etc/modprobe.d/parport_pc, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
Contents of those files:
Code:
nano /etc/modprobe.d/parport_pc
options parport_pc io=0xddf0
Code:
nano /etc/modprobe.d/ndiswrapper
alias pci:v000011ABd00001FAAsv00006B00sd00001385bc*sc*i* ndiswrapper
alias pci:v000011ABd00001FAAsv*sd*bc*sc*i* ndiswrapper
alias pci:v000011ABd00001FABsv*sd*bc*sc*i* ndiswrapper
I have no idea what any of that means. All suggestions are welcome. Thank you.
 
Old 07-17-2012, 11:59 PM   #6
joseph2020
Member
 
Registered: Mar 2009
Location: USA
Distribution: Ubuntu 12.04
Posts: 235

Original Poster
Rep: Reputation: Disabled
moving on

michaelk, there has been 120+ views on my question, and your 2 responses is all I have gotten. I guess nobody knows the answer, just like me. Maybe, I'm in the wrong place.

I would like to post my question on the Hardware section, but apparently I am not allowed to as long as this topic is open. How do I close this topic? I can't really use the "thread solved", because it's not.

Please tell me how to close this one, so I can try to find the answer to my question elsewhere.

Thank You

Last edited by joseph2020; 07-18-2012 at 12:11 AM.
 
Old 07-18-2012, 06:46 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,753

Rep: Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930
Does /dev/lp0 exist?

I will move your thread to hardware.
 
Old 07-18-2012, 03:07 PM   #8
joseph2020
Member
 
Registered: Mar 2009
Location: USA
Distribution: Ubuntu 12.04
Posts: 235

Original Poster
Rep: Reputation: Disabled
ls /dev (partial)

Code:
dvd              lp0                 root        tty16    tty48  vcs4
lp0 shows up. Thanks again.

Last edited by joseph2020; 07-18-2012 at 03:09 PM.
 
Old 07-18-2012, 04:20 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,753

Rep: Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930
I've may of lead you astray. Depending on how the integrated port failed it still may recognised and if not disabled in the BIOS lp0 may not be pointing to the PCI board. Are there any other lpx devices?

AFAIK the messages posted are just warnings.
 
1 members found this post helpful.
Old 07-18-2012, 04:50 PM   #10
joseph2020
Member
 
Registered: Mar 2009
Location: USA
Distribution: Ubuntu 12.04
Posts: 235

Original Poster
Rep: Reputation: Disabled
michaelk, thanks again.
Quote:
if not disabled in the BIOS lp0 may not be pointing to the PCI board. Are there any other lpx devices
In the beginning I did have the BIOS setting for the integrated port set to "none". I also tried every other option (ecp, spp, etc) and it didn't make any difference, but I have tried so many things now, I'm not sure of anything. I should have documented it all, but I thought it would be easy to do. Maybe I should just start over.

No, there are no other lp(x) devices in /dev, only lp0.

I have 2 weeks before the return policy runs out. I hope we can get it working before then. Not a good time for me to be throwing money away. micahelk, thanks for your focused attempts to help, it is appreciated.
 
Old 07-18-2012, 05:00 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,753

Rep: Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930
Have you tried printing?

You can also try:
sudo echo "text" > /dev/lp0
 
Old 07-18-2012, 09:18 PM   #12
joseph2020
Member
 
Registered: Mar 2009
Location: USA
Distribution: Ubuntu 12.04
Posts: 235

Original Poster
Rep: Reputation: Disabled
michaelk, thanks again. I have not tried printing in the last 2 days because nothing has changed, and I needed to make a couple printouts with the printer, which is now in the other room.

If you think it would really make a difference, I can try to print from the the console, as you suggest (sudo echo "text" > /dev/lp0), I suppose that might work if something is wrong with the Gnome install (everything else works flawlessly).

Last time I tried to print from here, there were no beeps, no sound from the printer at all and the printer job q showed pending until I cancelled manually (no matter how long I waited).

I am open to any and all suggestions. We have about a week and a half to figure this out.
 
Old 07-18-2012, 09:32 PM   #13
buccaneere
Member
 
Registered: Nov 2007
Posts: 213

Rep: Reputation: 16
"No rule to make target"

???

Perhaps the driver modules that you are trying to install are attempting to auto-load for a device with a USB motherboard hardware address, and not a PCI motherboard address.

I do remember some older Toshiba laptops that had a similar USB vs. PCI mobo address, and the driver modules were not coded to load for one of the 2. They had to be re-configured at the command line, to install.

Can't remember any more specifics, and to be honest, the "No rule to make target" does NOT sound familiar. That's just the first thing that comes to mind...

Last edited by buccaneere; 07-18-2012 at 09:33 PM.
 
Old 07-20-2012, 11:00 PM   #14
joseph2020
Member
 
Registered: Mar 2009
Location: USA
Distribution: Ubuntu 12.04
Posts: 235

Original Poster
Rep: Reputation: Disabled
the end

Over 200 views and and 2 respondents (sigh)...I don't think I can find the answer here; But I'm not surprised, it's a tough problem. At this point I am seemingly out of options to find an answer for my current configuration.

Idea #2: I can get a USB to Parallel adapter, and plug into computer USB port instead. I'm hoping that will work. But who knows?

Again thanks to the 2 folks who responded. A special thanks to michaelk for the focused and thoughtful attempt to help. Appreciated!
 
Old 08-06-2012, 10:37 PM   #15
KarlLH
LQ Newbie
 
Registered: Apr 2012
Posts: 1

Rep: Reputation: Disabled
A printer idea

I was having nothing but problems with an HP8500 & HP6310 printer using CUPS in Ubuntu 12.04. I took a shot and switched to HPLIP and my problems went away. Please note -- there were many brand and driver options in HPLIP so it is not exclusively for HP printers.
 
  


Reply



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
[SOLVED] Gnome printer configuration tool - what does the star by a printer icon signify??? taylorkh Ubuntu 3 02-05-2010 07:03 AM
Brother HL2070N network printer installed, print jobs stuck in printer que jgz Linux - Networking 0 02-14-2008 10:54 PM
keeping printer on at bootup keeps printer from printing (some printer modules loaded TheOneAndOnlySM Slackware 1 10-17-2003 07:39 PM
setup printer on client machine(slackware 8) to server (slackware7) network printer changwoo Slackware 9 05-02-2003 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:10 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
Open Source Consulting | Domain Registration