Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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.
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.
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.
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?
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.
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.
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.
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!
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.