LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-23-2015, 10:26 PM   #61
Jimmyjack67
Member
 
Registered: Jul 2013
Location: New Yor State USA
Posts: 81

Original Poster
Rep: Reputation: Disabled
Parallel Port


Mark, This is the results of the commands you gave me to see if I have a parallel port. Does it indicate having the port? I see a lot of things listed but it means nothing to me. Jim


parport_pc 31981 1
parport 40836 3 lp,ppdev,parport_pc
james@james-System-Product-Name:~$ sudo lsmod | grep lp
drm_kms_helper 48868 1 i915
drm 244037 4 i915,drm_kms_helper
lpc_ich 16864 0
lp 13299 0
parport 40836 3 lp,ppdev,parport_pc
james@james-System-Product-Name:~$ sudo lsmod | grep parport_pc
parport_pc 31981 1
parport 40836 3 lp,ppdev,parport_pc
 
Old 02-23-2015, 11:17 PM   #62
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 210Reputation: 210Reputation: 210
I think so. Feel free to try the command in post #43 and see if that works.
 
1 members found this post helpful.
Old 02-24-2015, 12:05 AM   #63
JimKyle
Member
 
Registered: Dec 2001
Location: Oklahoma City, OK, USA
Distribution: Xubuntu 16.04 LTS
Posts: 214
Blog Entries: 1

Rep: Reputation: 39
Well, my memory's nowhere as good as it used to be. For instance, when typing the original message about CP/M and MS-DOS, I couldn't remember the name of the man who created SCP-DOS for Seattle Computer Products. That was the work of Tim Paterson (yes, only one "t") -- and what makes it so bad is that I actually interviewed Tim via telephone back in 1989 when writing a second edition of the MS-DOS Programmers Reference Manual for Que Publications, to get the proper history of the system direct from the original author!

So far as I know, he's still around, but I believe he was a bit older than me -- and that would put him at a quite advanced age by now. I keep my mind young by hanging out with you youngsters who've only been collecting social security for a few years, but my body has long since been ready for the scrap pile.

I do try to help translate our jargon and help with the transition from older systems to Linux; it's my way of "paying forward" for all the help others have given me since I came into the computer industry -- which was almost 10 years before the first microcomputer chip made the personal computer possible.

Last edited by JimKyle; 02-24-2015 at 12:07 AM.
 
Old 02-24-2015, 12:02 PM   #64
Jimmyjack67
Member
 
Registered: Jul 2013
Location: New Yor State USA
Posts: 81

Original Poster
Rep: Reputation: Disabled
JimKyle, Sounds like you have had a very interesting labor of love. I didn't get into fooling around with computer until 1985. Of course I never was a programmer and couldn't understand it to start with. Mainly everything I have done was and is through what you might call dumb luck. I just liked playing around with them and to see if I could manage to get something going with old junk boxes. To put it another way, I didn't have the money to get anything worth while but would fool around with other folks machines to see if I might be able to help them get them going again. At one time I had so many old computers all over the place it looked like a computer grave yard. You know, the ones with the Amber or green screens as well as the huge IBM boxes. I even got an Old Epson Equity II working and running the more modern stuff at the time. I would set many up with Norton Commander (I think that was what it was called?} So you could select a menu of programs listed and run any program you desired. Windows though from roughly 95 foward took the fun out of fooling around due to all the licese nonsense and making it next to impossible to even re-install the system softwre without a ton of headaches. This is one of the greater reasons back last December I decided to set up a box with Ubuntu to get away from being locked into a continual and unending upgrade deal which also seems have an unending supply of "bugs!" Bugs that they know and rearly and totally fix before they put out another bug ridden system. I just hope that I can manage to learn enough to have a somewhat dependable system and forget having to keep buying new update programs every single year and, have to put up with stuff that has many problems that go along with it. So far, I am very happy with what I see as well as the kind folks trying to help. That makes it a totally new experience as well as a plesant one. Thank you, Jim
 
Old 02-24-2015, 06:11 PM   #65
Jimmyjack67
Member
 
Registered: Jul 2013
Location: New Yor State USA
Posts: 81

Original Poster
Rep: Reputation: Disabled
Checked for a Parallel port

If anyone could figure out what all of this might mean, it could be the reason my old printer is not working. I went to Unbuntu Wiki under "debugging Printing problems." On page #3 it lists "Parallel port Printer" and gives a number of commands to check various things of which I used below. My problem is I am not certain of what I am looking at. I think the problems might be spelled out in this or, some problem areas. Thanks, Jim






james@james-System-Product-Name:~$ lsmod | grep lp
lpc_ich 16864 0
drm_kms_helper 48868 1 i915
lp 13299 0
drm 244037 4 i915,drm_kms_helper
parport 40836 3 lp,ppdev,parport_pc
james@james-System-Product-Name:~$ dmesg | grep ppdev
[ 18.960745] ppdev: user-space parallel port driver
james@james-System-Product-Name:~$ ls -1 /dev/lp* /dev/paraport*
ls: cannot access /dev/paraport*: No such file or directory
/dev/lp0
james@james-System-Product-Name:~$ ls -1 /proc/sys/dev/parport*/autoprobe*
ls: cannot access /proc/sys/dev/parport*/autoprobe*: No such file or directory
james@james-System-Product-Name:~$ cat /proc/sys/dev/parport*/autoprobe*
cat: /proc/sys/dev/parport*/autoprobe*: No such file or directory
james@james-System-Product-Name:~$ lpinfo -v
network ipp
network http
network ipps
network https
serial serial:/dev/ttyS0?baud=115200
network socket
network ipp14
network lpd
network smb
direct parallel:/dev/lp0
file cups-pdf:/
direct hp
direct hpfax
network tea4cups:ipp
network tea4cups:http
network tea4cups:smb
network tea4cups:ipp14
network tea4cups:https
direct tea4cups:hp
serial tea4cups:serial:/dev/ttyS0?baud=115200
network tea4cups:lpd
network tea4cups:ipps
network tea4cups:socket
direct tea4cups://
james@james-System-Product-Name:~$ /usr/lib/cups/backend/parallel
james@james-System-Product-Name:~$ sudo /usr/lib/cups/backend/parallel
[sudo] password for james:
direct parallel:/dev/lp0 "unknown" "LPT #1" "" ""
james@james-System-Product-Name:~$
 
Old 02-24-2015, 08:50 PM   #66
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 210Reputation: 210Reputation: 210
Quote:
Originally Posted by Jimmyjack67 View Post
If anyone could figure out what all of this might mean, it could be the reason my old printer is not working. I went to Unbuntu Wiki under "debugging Printing problems." On page #3 it lists "Parallel port Printer" and gives a number of commands to check various things of which I used below. My problem is I am not certain of what I am looking at. I think the problems might be spelled out in this or, some problem areas. Thanks, Jim

Code:
james@james-System-Product-Name:~$ lsmod | grep lp
lpc_ich                16864  0 
drm_kms_helper         48868  1 i915
lp                     13299  0 
drm                   244037  4 i915,drm_kms_helper
parport                40836  3 lp,ppdev,parport_pc
It seems to indicate that you have the parport, parport_pc, and lp modules loaded. From this tutorial on the subject, they say

Quote:
lsmod [..] shows the modules that are loaded, their size, and whether they're being used by other modules.
The site further states that further descriptions of what the modules are for can be obtained with the modinfo command (assuming the author of the module provided this, which isn't always the case). parport_pc, which the readout of lsmod shows is loaded on your machine, has the following printout from modinfo:

Code:
mark@mark-OptiPlex-755:~$ modinfo parport_pc
filename:       /lib/modules/3.16.0-31-generic/kernel/drivers/parport/parport_pc.ko
license:        GPL
description:    PC-style parallel port driver
author:         Phil Blundell, Tim Waugh, others
<snipped>
depends:        parport
intree:         Y
It's a driver for the parallel port. So you've got the required modules loaded (which, from other sites I've seen, are lp, parport, and parport_pc).
 
1 members found this post helpful.
Old 02-24-2015, 09:32 PM   #67
Jimmyjack67
Member
 
Registered: Jul 2013
Location: New Yor State USA
Posts: 81

Original Poster
Rep: Reputation: Disabled
Mark, Thank you for the info. I wanted to try to clear up the idea about the port and to be shure there is such a port as that seems to be a big deal. Jim
 
Old 02-24-2015, 10:19 PM   #68
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 210Reputation: 210Reputation: 210
Nothing like a good ol' parallel port.
Attached Thumbnails
Click image for larger version

Name:	150px-Parallel_computer_printer_port.jpg
Views:	9
Size:	4.3 KB
ID:	17666  
 
Old 02-25-2015, 09:31 AM   #69
Jimmyjack67
Member
 
Registered: Jul 2013
Location: New Yor State USA
Posts: 81

Original Poster
Rep: Reputation: Disabled
Mark, Thanks, but I do know the physical port and the way it looks. I am or was reffering to the deal where most folks are talking about having the port seen by Ubuntu and through the commands that are supposed to give that sort of information. Jim
 
Old 02-26-2015, 03:04 AM   #70
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
If you are still wondering if it is being detected by Ubuntu run;
Code:
lspci
which should list (ls) all pci devices. Paralell and Serial ports should be listed with pci devices.

Can't show you the output with such devices because this is pretty new box and has neither of them. My last box didn't either and I had to get a pci expansion card so could run my old printer which is about dead so I haven't put that card in this new box.
 
Old 02-26-2015, 12:18 PM   #71
Jimmyjack67
Member
 
Registered: Jul 2013
Location: New Yor State USA
Posts: 81

Original Poster
Rep: Reputation: Disabled
widget, I will give it a try soon and try to let you know. Right at the moment I am on my HP laptop and it is strictly Windows 7. The old Asus box I have Unbuntu on had to be set aside for a short time. I had a total crash on my HP desktop with Windows 7. That seems to be an all to common problem with the old Pavilion. I've been fooling with it for several days and even the system disk it wouldn't start. I ended having to take the hard drive out and install it into a USB Enclosure and then find a date where it did fire up and change it. It did work when I put it back into the machine but, then updates etc., and on and on. Now waiting for the backup to another hard drive to finish.
Thank you, Jim
 
Old 02-26-2015, 09:34 PM   #72
Jimmyjack67
Member
 
Registered: Jul 2013
Location: New Yor State USA
Posts: 81

Original Poster
Rep: Reputation: Disabled
widget, this is what the command shows which you wanted me to try. I really don't see a parallel port mentioned but I also am probably wrong as usual too.
Thank you, Jim
james@james-System-Product-Name:~$ lspci
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 10)
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 01)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] (rev 01)
00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 01)
01:00.0 Ethernet controller: Qualcomm Atheros AR8121/AR8113/AR8114 Gigabit or Fast Ethernet (rev b0)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet Adapter (rev 10)
james@james-System-Product-Name:~$
 
Old 02-28-2015, 12:32 AM   #73
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
I'll be jiggered if I see it there. Did you have your printer connected and turned on?
 
Old 02-28-2015, 08:43 AM   #74
Jimmyjack67
Member
 
Registered: Jul 2013
Location: New Yor State USA
Posts: 81

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by widget View Post
I'll be jiggered if I see it there. Did you have your printer connected and turned on?
Yes, I did have it on but will give it another shot just in case. I've been fooling around with this so much I am getting lost. But that doesn't take a lot to get me that way these days. I also have been doing a lot of digging into the cups thing but I probably will not get all that far there either. (Compliers & such)
Thany you, Jim
 
Old 02-28-2015, 08:55 AM   #75
Jimmyjack67
Member
 
Registered: Jul 2013
Location: New Yor State USA
Posts: 81

Original Poster
Rep: Reputation: Disabled
lspci with printer on

james@james-System-Product-Name:~$ lspci
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 10)
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 01)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] (rev 01)
00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 01)
01:00.0 Ethernet controller: Qualcomm Atheros AR8121/AR8113/AR8114 Gigabit or Fast Ethernet (rev b0)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet Adapter (rev 10)
james@james-System-Product-Name:~$
This is with the printer connected and turned on. However, I'm not seeing any mention of a parallel port of any kind unless it is named something else? Thank you, Jim
 
  


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
Change Permissions Write/Read to Ipod nano 2nd Folders Alchemikos Linux - Newbie 1 07-24-2012 11:32 AM
Permissions on Folders yankwizera Linux - Newbie 6 06-20-2012 12:02 PM
Permissions on /etc and other folders Brandon.Wamboldt Linux - Server 3 05-04-2009 06:51 PM
Change file permissions of files in folders dotancohen Linux - Newbie 1 05-19-2007 02:56 AM
change permissions of all folders and sub folders cad Linux - General 3 01-28-2007 10:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:11 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