LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-12-2016, 08:03 AM   #1
Anindya14
LQ Newbie
 
Registered: Jul 2016
Posts: 16

Rep: Reputation: Disabled
Fedora 15 doesnot detect parallel port printer


A kiosk machine with Fedora 15 installed , doesnot detect parallel port printer. can anyone suggest me what to do.. The system-config-printer doesnot detect anything.

the printer I am trying to connect is a parallelport TUP 942 printer.

Please suggest me what to do, I am new to linux so please speak at a slow pace or I might not understand anything.Thanks in advance.

Last edited by Anindya14; 07-12-2016 at 08:08 AM. Reason: missed stating information about the printer
 
Old 07-12-2016, 08:13 AM   #2
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
Anindya14,

Welcome to LQ.

This link may be helpful to you:

http://forums.fedoraforum.org/showthread.php?t=275538

Fedora 15 is unsupported and the latest version is Fedora 24:

https://fedoraproject.org/wiki/Releases
 
1 members found this post helpful.
Old 07-12-2016, 08:27 AM   #3
Anindya14
LQ Newbie
 
Registered: Jul 2016
Posts: 16

Original Poster
Rep: Reputation: Disabled
Thanks Beachboy2, well a I know its not new but its the version that is installed in the kiosk and I have to make the printer work in this particular version.. Is there anything I could do.. If you need any additional info please tell me I can give you that.
 
Old 07-12-2016, 08:44 AM   #4
Anindya14
LQ Newbie
 
Registered: Jul 2016
Posts: 16

Original Poster
Rep: Reputation: Disabled
lsmod shows nothing, I checked for lp, ppdev, parport_pc but the modules were not there... can you tell me how to install the modules ....
 
Old 07-12-2016, 09:23 AM   #5
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
As I recall, Fedora 15 had a LOT of problems. If you have a choice - try Fedora 16. If that doesn't work (and it may not), try Fedora 14.

Fedora 14 was the most workable/reliable and stable fedora release until about Fedora 20. Fedora 15 was the first one with systemd and a lot of functions just didn't work.
 
Old 07-12-2016, 10:18 AM   #6
Anindya14
LQ Newbie
 
Registered: Jul 2016
Posts: 16

Original Poster
Rep: Reputation: Disabled
jpollard I have no choice for this.. .Its actually a kiosk machine and the kernel is custom ... as I said earlier the lsmod shows nothing... what I could understand from a little research on the internet is that the person who compiled the kernel has not built up the modules.. so can you say me if there is a way i can build up the modules ? or it would be even helpful if you could give me a link
 
Old 07-12-2016, 10:44 AM   #7
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Only by rebuilding the kernel... Unfortunate since it is a custom kernel.

You would have to have another system running Fedora 15 loaded (the compilers should match the release, as newer compilers won't necessarily accept all the code in the old system). That way you can change the configuration to include the missing drivers. It should be possible to copy just the missing modules then - but likely just as easy (or easier) to copy the new kernel+modules anyway. This usually calls for a complete development system - but at a minimum, the system would have to have the capability for two disks - one for development, the other the kiosk target disk. You could try doing this in a VM - but testing might get tricky as the VM video might not be compatible with the kiosk video.

You can get the kernel source for the kernel version, though getting the Fedora revisions might be a little harder (hunt for the source RPMs for the kernel). If it is using a generic kernel (customized by configuration options) it would be easier.

One of the problems you may have will be finding spare parts (video card mostly), but other parts might be hard to find too.

Last edited by jpollard; 07-12-2016 at 10:50 AM.
 
Old 07-12-2016, 05:08 PM   #8
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 750

Rep: Reputation: 156Reputation: 156
I don't think you are going to solve this problem heading down a direct route. Can I toss in a few questions to see whether we can use previous knowledge?
  • Has a printer been successfully connected to this machine?
  • If yes, why are you connecting a different printer?
  • is the parallel printer the only option? (I am guessing you have stacks of these printers and the answer is yes)
  • can you introduce a usb to parallel cable? Would this make a difference?
I am curious. Why F15 which is quite old (2011)? This suggests the installation is itself old? And it has never been used before? If you could provide a bit more background (eg. evolution of the machine) some members may have creative solutions.

Cheers
 
Old 07-12-2016, 08:56 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Try this and post the results (the second is a hopefuly reasonable guess)
Code:
ls /boot
grep -i parport /boot/config-$(uname -r)
 
Old 07-13-2016, 12:43 AM   #10
Anindya14
LQ Newbie
 
Registered: Jul 2016
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jpollard View Post
Only by rebuilding the kernel... Unfortunate since it is a custom kernel.

You would have to have another system running Fedora 15 loaded (the compilers should match the release, as newer compilers won't necessarily accept all the code in the old system). That way you can change the configuration to include the missing drivers. It should be possible to copy just the missing modules then - but likely just as easy (or easier) to copy the new kernel+modules anyway. This usually calls for a complete development system - but at a minimum, the system would have to have the capability for two disks - one for development, the other the kiosk target disk. You could try doing this in a VM - but testing might get tricky as the VM video might not be compatible with the kiosk video.

You can get the kernel source for the kernel version, though getting the Fedora revisions might be a little harder (hunt for the source RPMs for the kernel). If it is using a generic kernel (customized by configuration options) it would be easier.

One of the problems you may have will be finding spare parts (video card mostly), but other parts might be hard to find too.

I will explain you in details, before recompiling (which I didnot do) the kiosk machine had an issue of multiple touches i.e when people were trying to give some input , one key press would give multiple key presses ... I have no idea what is responsible for such an issue ... but after this issue was solved .. the TUP 942 thermal printer stopped working... is there a way I can copy the modules from the old image to the new one, as I found the modules lp,ppdev,parport_pc in the old image.. please say slowly so I dont miss any point I am new to linux and ultra new to Fedora :P And please explain me how I must proceed through the steps.. Thanks a lot in advance
 
Old 07-13-2016, 01:02 AM   #11
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
If you're using CUPS you can add the printer with that.
Code:
localhost:631
in a web browser. Select lp0 and the make and model of printer. Parallel printers usually are not detected automatically. The modules are probably in the kernel config, so they should load. You might require a ppd file off the web for that specific printer.
 
Old 07-13-2016, 05:20 AM   #12
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Quote:
Originally Posted by Anindya14 View Post
I will explain you in details, before recompiling (which I didnot do) the kiosk machine had an issue of multiple touches i.e when people were trying to give some input , one key press would give multiple key presses ... I have no idea what is responsible for such an issue ... but after this issue was solved .. the TUP 942 thermal printer stopped working... is there a way I can copy the modules from the old image to the new one, as I found the modules lp,ppdev,parport_pc in the old image.. please say slowly so I dont miss any point I am new to linux and ultra new to Fedora :P And please explain me how I must proceed through the steps.. Thanks a lot in advance
It seems odd that it exists in the old image but not the copy.

Since you can read the old image, why not just copy the entire disk?

But at a minimum you can copy the /boot directory and the /lib/modules directory and that SHOULD get everything as far as the drivers are concerned. I include the /boot to get the kernel the drivers in the /lib/modules are for (they are version checked - if the version doesn't match the drivers usually won't load). The drivers themselves are in the /lib/modules directory.

BTW, once you get a working system I suggest making a copy for future use as the image you currently have for backup is not valid (it is missing drivers...)

Last edited by jpollard; 07-13-2016 at 05:21 AM.
 
Old 07-13-2016, 05:52 AM   #13
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
After manual module installation you need to run depmod.
 
Old 07-13-2016, 06:09 AM   #14
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Good point. I left out the depmod step, though if you copy the entire /lib/modules directory it shouldn't be necessary. Note you do have to specify the kernel version to be processed, and is best
if you are actually running the kernel involved as then you don't have to specify the version.

By "shouldn't be necessary" I mean that you would be getting the files originally generated by the depmod tool when the system was first installed. Regenerating them is not an unreasonable step. It will make sure you get all of the drivers (the result of the depmod is stored in /lib/modules/<kernel-version>.

FYI what this does is create a list of modules that can be loaded - that list is used by modprobe that will load multiple drivers (a layered driver - like the module "lp.ko" depends on the driver "parport.ko" to handle the low level interfacing with the parallel port (which can also be used by the "ppdev.ko" driver) So using the command "modprobe lp" to load the lp driver will first load the parport driver which is needed by the lp driver. Normally you wouldn't be doing this manually as the drivers get loaded when the kernel/udev scans the hardware.

Last edited by jpollard; 07-13-2016 at 06:13 AM.
 
Old 07-13-2016, 06:16 AM   #15
Anindya14
LQ Newbie
 
Registered: Jul 2016
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jpollard View Post
It seems odd that it exists in the old image but not the copy.

Since you can read the old image, why not just copy the entire disk?

But at a minimum you can copy the /boot directory and the /lib/modules directory and that SHOULD get everything as far as the drivers are concerned. I include the /boot to get the kernel the drivers in the /lib/modules are for (they are version checked - if the version doesn't match the drivers usually won't load). The drivers themselves are in the /lib/modules directory.

BTW, once you get a working system I suggest making a copy for future use as the image you currently have for backup is not valid (it is missing drivers...)
As I told you in the old image there was a touchscreen input problem, and I am not sure it was due to what... so I am just wondering if I copy the files the same problem might come back.
 
  


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
fedora doesnot detect swap after deletion of a partition ashjas Fedora 2 01-16-2008 10:12 AM
Fedora Core 2 doesnot detect Realtex AC'97 sound card/codecs mhbengal Linux - Software 5 05-25-2004 04:12 AM
Fedora Core 2 doesnot detect Realtex AC'97 sound card/codecs mhbengal Linux - Hardware 1 05-24-2004 10:57 PM
Fedora Core 2 doesnot detect Realtex AC'97 sound card/codecs mhbengal Linux - Wireless Networking 2 05-23-2004 10:24 PM
Fedora 2 doesnot detect US Robotics 5416 PCI wireless card mhbengal Linux - Wireless Networking 0 05-23-2004 02:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:07 AM.

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