Re: [Emc-users] Can't find the PP. Where is lspci or equiv ?

2021-05-05 Thread Gregg Eshelman via Emc-users
Many motherboards still have an "ISA Bus" that has a few onboard peripherals such as a parallel port and an RS232C port and some other things that work fine slowly. On Wednesday, May 5, 2021, 7:54:33 AM MDT, Todd Zuercher wrote: It won't show a standard onboard motherboard port,

Re: [Emc-users] Can't find the PP. Where is lspci or equiv ?

2021-05-05 Thread John Dammeyer
How about that! The 'sudo' in front now reports the correct addresses for parport0. > -Original Message- > From: John Dammeyer [mailto:jo...@autoartisans.com] > Sent: May-05-21 10:32 AM > To: 'Enhanced Machine Controller (EMC)' > Subject: Re: [Emc-users] Can't find the PP. Where is

Re: [Emc-users] Can't find the PP. Where is lspci or equiv ?

2021-05-05 Thread John Dammeyer
Could be. I'll check with sudo. Like I was saying. I no longer use it with LinuxCNC since I have the MESA board but it's still nice to document exactly what one would do if they were still using the par port. > -Original Message- > From: andy pugh [mailto:bodge...@gmail.com] > Sent:

Re: [Emc-users] Can't find the PP. Where is lspci or equiv ?

2021-05-05 Thread andy pugh
On Wed, 5 May 2021 at 18:02, John Dammeyer wrote: When I did that the address was - > Addresses may be hidden from non-privileged users. Did you use sudo? (lsmod gives fake addresses) -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial

Re: [Emc-users] Can't find the PP. Where is lspci or equiv ?

2021-05-05 Thread John Dammeyer
When I did that the address was - Go figure...eh? > -Original Message- > From: Todd Zuercher [mailto:to...@pgrahamdunn.com] > Sent: May-05-21 6:58 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Can't find the PP. Where is lspci or equiv ? > > Use this

Re: [Emc-users] Can't find the PP. Where is lspci or equiv ?

2021-05-05 Thread John Dammeyer
That's probably the issue the original poster is having then too. I think when you go into the boot bios screens it tells you the parallel port addresses. It's likely the HAL file for the par port knows that 0x378 is parport0 and so on. But that can be confusing. John > -Original

Re: [Emc-users] Can't find the PP. Where is lspci or equiv ?

2021-05-05 Thread Jon Elson
On 05/04/2021 09:16 PM, John Dammeyer wrote: From: Jon Elson [mailto:el...@pico-systems.com] On 05/04/2021 07:26 PM, John Dammeyer wrote: I thought I'd try that on my LinuxCNC system. With or without sudo it does print a list of all the devices but it doesn't tell me the actual port address

Re: [Emc-users] Can't find the PP. Where is lspci or equiv ?

2021-05-05 Thread Todd Zuercher
Use this command to see port addresses for motherboard parallel ports and any other parallel port that is properly identified as a parallel port. cat /proc/ioports | grep parport This won't work for some add in card ports that are not properly recognized as parallel ports by the Linux kernel.

Re: [Emc-users] Can't find the PP. Where is lspci or equiv ?

2021-05-05 Thread Todd Zuercher
It won't show a standard onboard motherboard port, because those are not on the PCI bus. Todd Zuercher P. Graham Dunn Inc. 630 Henry Street  Dalton, Ohio 44618 Phone:  (330)828-2105ext. 2031 -Original Message- From: John Dammeyer Sent: Tuesday, May 04, 2021 8:26 PM To: 'Enhanced

Re: [Emc-users] Can't find the PP. Where is lspci or equiv ?

2021-05-05 Thread andy pugh
On Wed, 5 May 2021 at 03:19, John Dammeyer wrote: > > Interesting. Hadn't thought to use verbose. What's even more interesting > is my parallel port doesn't show up in the list. > Motherboard P-Ports are not always on the PCI bus. Those show up with cat /proc/ioports -- atp "A motorcycle is

Re: [Emc-users] Can't find the PP. Where is lspci or equiv ?

2021-05-04 Thread John Dammeyer
> From: Jon Elson [mailto:el...@pico-systems.com] > On 05/04/2021 07:26 PM, John Dammeyer wrote: > >> > > I thought I'd try that on my LinuxCNC system. With or without sudo it does > > print a list of all the devices but it doesn't tell me the > actual port address of the standard port on the

Re: [Emc-users] Can't find the PP. Where is lspci or equiv ?

2021-05-04 Thread Jon Elson
On 05/04/2021 07:26 PM, John Dammeyer wrote: I thought I'd try that on my LinuxCNC system. With or without sudo it does print a list of all the devices but it doesn't tell me the actual port address of the standard port on the machine (0x378) which I know because when I dual boot it into

Re: [Emc-users] Can't find the PP. Where is lspci or equiv ?

2021-05-04 Thread John Dammeyer
> From: Jon Elson [mailto:el...@pico-systems.com] > > > > > On some installs, for some reason, lspci is not listed in > the right library, and you have to use > /sbin/lspci > > I have no idea why, might be a Debian idea. > > You DO have to run it under sudo or with privileges to see > all the

Re: [Emc-users] Can't find the PP. Where is lspci or equiv ?

2021-05-04 Thread Jon Elson
On 05/04/2021 02:01 PM, Ed wrote: Updating an old retrofit that uses step servos, Gecko 320's. I tried using lspci to find the ports (onboard and an addon ) and no such animal as lspci. Is there another good way to find the ports? On some installs, for some reason, lspci is not listed in

Re: [Emc-users] Can't find the PP. Where is lspci or equiv ?

2021-05-04 Thread Matthew Herd
To be clear, I may have had to run install pciutils to get it to work, but I know it worked. I have install notes somewhere, but they aren’t handy. > On May 4, 2021, at 5:51 PM, andy pugh wrote: > > On Tue, 4 May 2021 at 22:06, Ed wrote: > >> Just installed 2.8 Wheezy and lspci works great.

Re: [Emc-users] Can't find the PP. Where is lspci or equiv ?

2021-05-04 Thread andy pugh
On Tue, 4 May 2021 at 22:06, Ed wrote: > Just installed 2.8 Wheezy and lspci works great. Go figure. I wouldn't recommend using Wheezy any more, though, it is well and truly out of support. With the Buster install you could try "sudo apt-get install pciutils" -- atp "A motorcycle is a

Re: [Emc-users] Can't find the PP. Where is lspci or equiv ?

2021-05-04 Thread Ed
On 5/4/21 3:18 PM, Matthew Herd wrote: I installed the LinuxCNC 2.8.0 Debian 10 Buster PREEMPT-RT ISO a few months ago direct from the downloads page (http://linuxcnc.org/downloads/ ). I can confirm that lspci worked for me. This was a Buster install. Just

Re: [Emc-users] Can't find the PP. Where is lspci or equiv ?

2021-05-04 Thread Matthew Herd
I installed the LinuxCNC 2.8.0 Debian 10 Buster PREEMPT-RT ISO a few months ago direct from the downloads page (http://linuxcnc.org/downloads/ ). I can confirm that lspci worked for me. > On May 4, 2021, at 3:58 PM, Ed wrote: > > On 5/4/21 2:46 PM, andy pugh

Re: [Emc-users] Can't find the PP. Where is lspci or equiv ?

2021-05-04 Thread Ed
On 5/4/21 2:46 PM, andy pugh wrote: On Tue, 4 May 2021 at 20:06, Ed wrote: no such animal as lspci. Try "sudo lspci". Linux denies all knowledge of commands that you don't have the rights to. I have no idea why. Comes back as  "command not found " Is there another good way to find

Re: [Emc-users] Can't find the PP. Where is lspci or equiv ?

2021-05-04 Thread andy pugh
On Tue, 4 May 2021 at 20:06, Ed wrote: > > no such animal as lspci. Try "sudo lspci". Linux denies all knowledge of commands that you don't have the rights to. I have no idea why. > Is there another good way to find the ports? cat /proc/ioports if it is an onboard one. -- atp "A motorcycle