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 machine (0x378) which I know 
> because when I dual boot it into MACH3 instead of
> Linux and move the parallel port cable from the MESA to the back of the 
> machine it works with that address.
> >
> >
> To get the port addresses, you need lspci -v
> 
> Jon
> 
Interesting.  Hadn't thought to use verbose.  What's even more interesting is 
my parallel port doesn't show up in the list.
John



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Pi4 LinuxCNC

2021-05-04 Thread Ralph Stirling
The only 64 bit OS for Rpi is still in bera, so you would have to work hard to 
find it and install it.  I dug around last week to verify that.  The "v7l" in 
the image name and in uname -a is for 32bit.

-- Ralph

On May 4, 2021 5:37 PM, John Dammeyer  wrote:
CAUTION: This email originated from outside the Walla Walla University email 
system.


> From: Robert Murphy [mailto:robert.mur...@gmx.com]
>
> file /bin/bash ?
>
> On 5/5/21 9:53 am, John Dammeyer wrote:
> > How can I find out if the Pi4 running LinuxCNC is an ARM64 or 32 bit 
> > version?
> > Is there a clue with uname -a?
> >
> > John


So if it says ELF 32-bit LSB executable then I'm running the 32 bit version?

The newer version of the Pi OS with uname -a says Linux raspberrypi 5.10.17-v71

The LinuxCNC version was 4.7 I think.  Not running it at the moment.
John




___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-usersdata=04%7C01%7Cralph.stirling%40wallawalla.edu%7Cd1f10a76b2f94b4ac3b208d90f5de44c%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C637557718206102837%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=9Otw6mYVUsMt7VX0xRaVI1hkA8NMmMIaK2kg6wAw6Yo%3Dreserved=0

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 MACH3 instead of Linux and move the parallel port cable from the 
MESA to the back of the machine it works with that address.



To get the port addresses, you need lspci -v

Jon


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Pi4 LinuxCNC

2021-05-04 Thread Gene Heskett
On Tuesday 04 May 2021 20:36:36 John Dammeyer wrote:

> > From: Robert Murphy [mailto:robert.mur...@gmx.com]
> >
> > file /bin/bash ?
> >
> > On 5/5/21 9:53 am, John Dammeyer wrote:
> > > How can I find out if the Pi4 running LinuxCNC is an ARM64 or 32
> > > bit version? Is there a clue with uname -a?
> > >
> > > John
>
> So if it says ELF 32-bit LSB executable then I'm running the 32 bit
> version?
>
> The newer version of the Pi OS with uname -a says Linux raspberrypi
> 5.10.17-v71
>
The -v71 is the 32 bit armhf build identifier. 
> The LinuxCNC version was 4.7 I think.  Not running it at the moment.
> John
>
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Pi4 LinuxCNC

2021-05-04 Thread Gene Heskett
On Tuesday 04 May 2021 19:53:49 John Dammeyer wrote:

> How can I find out if the Pi4 running LinuxCNC is an ARM64 or 32 bit
> version? Is there a clue with uname -a?
>
> John
>
Linux rpi4.coyote.den 4.19.71-rt24-v7l+ #1 SMP PREEMPT RT Thu Feb 6 
07:09:18 EST 2020 armv7l GNU/Linux
the armv7l is the clue its a 32 bit armhf build.
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Pi4 LinuxCNC

2021-05-04 Thread John Dammeyer
> From: Robert Murphy [mailto:robert.mur...@gmx.com]
> 
> file /bin/bash ?
> 
> On 5/5/21 9:53 am, John Dammeyer wrote:
> > How can I find out if the Pi4 running LinuxCNC is an ARM64 or 32 bit 
> > version?
> > Is there a clue with uname -a?
> >
> > John


So if it says ELF 32-bit LSB executable then I'm running the 32 bit version?

The newer version of the Pi OS with uname -a says Linux raspberrypi 5.10.17-v71

The LinuxCNC version was 4.7 I think.  Not running it at the moment.
John




___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 details of devices, but the basic info
> of device type will show without sudo.
> 
> Jon

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 MACH3 instead of Linux and move the parallel port cable from the 
MESA to the back of the machine it works with that address.

I haven't run it with the back of the machine in Linux for a while but the hal 
file uses cfg=0 for the standard port and when I had a second PCI card 
installed it was cfg=0x2000

John




___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Pi4 LinuxCNC

2021-05-04 Thread Robert Murphy

file /bin/bash ?

On 5/5/21 9:53 am, John Dammeyer wrote:

How can I find out if the Pi4 running LinuxCNC is an ARM64 or 32 bit version?
Is there a clue with uname -a?

John



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 
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 details of devices, but the basic info

of device type will show without sudo.

Jon


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Pi4 LinuxCNC

2021-05-04 Thread John Dammeyer
How can I find out if the Pi4 running LinuxCNC is an ARM64 or 32 bit version?
Is there a clue with uname -a?

John



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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. 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 bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 installed 2.8 Wheezy and lspci works great. Go figure.


Ed.




___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 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 the ports?
>> cat /proc/ioports
>> if it is an onboard one.
> 
>  All ports shown have zero's.
> 
> 
> This is on a fresh down load of 2.8.0 on a Dell Optiplex 755.
> 
> 
> Maybe a bad install?
> 
> 
> Ed.
> 
> 
> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 the ports?

cat /proc/ioports
if it is an onboard one.


 All ports shown have zero's.


This is on a fresh down load of 2.8.0 on a Dell Optiplex 755.


Maybe a bad install?


Ed.




___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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

2021-05-04 Thread Ed
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?



Some year it is getting a Pico PWM i have setup on it but not today.


Ed.




___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Maybe a minimally printed harmonic drive?

2021-05-04 Thread Gene Heskett
On Monday 03 May 2021 22:52:13 Jon Elson wrote:

> On 05/03/2021 07:35 PM, Gene Heskett wrote:
> > Thanks Jon, I hadn't thought of it in that exact manner, and it
> > makes perfect sense.  So I'll likely give it a shot in the next few
> > days.
> >
> > Does there seem to be a golden ratio that works well consistently?
>
> Some people seem to have a feel for the math involved and
> can come up with approximations.
> I do it by feel and sound, with a lot of Halscope traces.
>
> Jon
>
I guess we're in the same try it and see campsite then, Jon.

Although hooking my new scope up to the pwmgen's output going to the BTS 
7960 board was nice and educational.  Its 10" screen can be seen and 
read easily from several feet away. 350 megahertz bandwidth, 4 color 
trace sampler. Siglint's best.  Sure made it easy to see what the pwmgen 
was doing. And thinking outside the box a bit, I tapped into hal and 
sent some of it to spare i/o, also much faster than the halscope but 
broken by the servo thread time quantization. Too bad the 5i25/7i76 
doesn't have more analog outputs though. Being able to export the analog 
following error to a huge display sure would be nice. you could see it 
in real time without all the bs of having to switch focus with the mouse 
to exersize it, that is a certified PITA that leads to lots of mistakes 
because the nouse focus has to be shifted so many times to do it. 
Your "go" click winds up destroying you halscope setup, so you have to 
wait for the thing to finish, set it up again to look at what you 
intended to see, then remember that you must waste a click to get the go 
focus back to the mdi line and away from the halscope. 

Now if linux had a focus follows mouse that actually worked.. But 
I've not found that particular magic twanger yet. You could do it 15 
years ago, why not now?

Thanks Jon.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users