Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Oct 2023 21:42:23 -0700
From:      paul beard <paulbeard@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: serial port question
Message-ID:  <CAMtcK2rVkw19cm7wQw4kfDzdoZtRn1czqJTqeMhguNENo%2BPkJA@mail.gmail.com>
In-Reply-To: <CO1PR11MB4770C4B598AF4BAE5CE79848E6C9A@CO1PR11MB4770.namprd11.prod.outlook.com>
References:  <CAMtcK2rcQieP9zF7_tBrE-LZV_VLgYKugd-6DB=f05_J2jEB8w@mail.gmail.com> <CO1PR11MB4770C4B598AF4BAE5CE79848E6C9A@CO1PR11MB4770.namprd11.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000087656d060704de24
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

This has all been great=E2=80=A6got me on the right track. I am not getting=
 a
response from the device but now I know it's not me. Hoping the developers
can fill in the gaps there.

On Thu, Oct 5, 2023 at 9:11=E2=80=AFPM Edward Sanford Sutton, III <
mirror176@hotmail.com> wrote:

> On 10/5/23 17:28, paul beard wrote:
> > Not strictly FreeBSD-based but adjacent, surely=E2=80=A6
> >
> > I have a 3D printer that has a serial port connection through USB but
> > it's not working through the various apps that obscure the details in
> > the name of "convenience." You know what I mean. I like convenience as
> > much as anyone but sometimes I just have to get on with it. Does anyone
> > have experience in communicating with really simple machines over a
> > serial connection? It's not always easy to ID the serial device but
> > that's a separate problem. Allegedly I can communicate up to 115k but
> > I'll settle for a lot less to send simple commands like M502 or M500.
>
>    If memory serves, multiple device permissions may be needed for the
> one device node to work. I had the following rules in a /etc/devfs.rules
> entry (which involves a header+/etc/rc.conf entry fi I recall). Likely
> only the first two mattered but I don't remember now.
> add path 'cuaU*' mode 0777 group operator
> add path 'ttyU*' mode 0777 group operator
> add path 'usb/*' mode 0660 group operator
>
>    Other posts are also correct about some software not searching
> through port labels when they vary from Linux. Most of my effort was put
> toward keeping a Makerbot Thing-O-Matic working off and on over the
> years but that kept me mostly just playing with replicatorg due to its
> incompatibilities with other software that I someday need to setup a
> workflow to migrate to. reprap software I had started to get basic
> control from but recall manually patching its list of checked and
> available ports when I did it years ago.
>
>    It isn't recommended but I have been known to either test software as
> root, or change many more permissions than I need to figure out how to
> get things working.
>
>    If you say what printer/software you are working with, others may be
> able to chime in with more specifics.
>
>

--=20
Paul Beard / www.paulbeard.org/

--00000000000087656d060704de24
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">This has all been great=E2=80=A6got me on the right=C2=A0t=
rack. I am not getting=C2=A0a response from the device but now I know it&#3=
9;s not me. Hoping=C2=A0the developers can fill in the gaps there.=C2=A0</d=
iv><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On =
Thu, Oct 5, 2023 at 9:11=E2=80=AFPM Edward Sanford Sutton, III &lt;<a href=
=3D"mailto:mirror176@hotmail.com">mirror176@hotmail.com</a>&gt; wrote:<br><=
/div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo=
rder-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,2=
04);padding-left:1ex">On 10/5/23 17:28, paul beard wrote:<br>
&gt; Not strictly=C2=A0FreeBSD-based but adjacent, surely=E2=80=A6<br>
&gt; <br>
&gt; I have=C2=A0a 3D printer that has a serial=C2=A0port connection throug=
h USB but <br>
&gt; it&#39;s not working through the various=C2=A0apps that obscure=C2=A0t=
he details in <br>
&gt; the name of &quot;convenience.&quot; You know what I mean. I like conv=
enience as <br>
&gt; much as anyone but sometimes I just have to get on with it. Does anyon=
e <br>
&gt; have experience=C2=A0in communicating=C2=A0with really simple=C2=A0mac=
hines=C2=A0over a <br>
&gt; serial connection? It&#39;s not always easy to ID the serial=C2=A0devi=
ce but <br>
&gt; that&#39;s a separate problem. Allegedly I can communicate=C2=A0up to =
115k but <br>
&gt; I&#39;ll settle for a lot less to send simple=C2=A0commands like M502 =
or M500.<br>
<br>
=C2=A0 =C2=A0If memory serves, multiple device permissions may be needed fo=
r the <br>
one device node to work. I had the following rules in a /etc/devfs.rules <b=
r>
entry (which involves a header+/etc/rc.conf entry fi I recall). Likely <br>
only the first two mattered but I don&#39;t remember now.<br>
add path &#39;cuaU*&#39; mode 0777 group operator<br>
add path &#39;ttyU*&#39; mode 0777 group operator<br>
add path &#39;usb/*&#39; mode 0660 group operator<br>
<br>
=C2=A0 =C2=A0Other posts are also correct about some software not searching=
 <br>
through port labels when they vary from Linux. Most of my effort was put <b=
r>
toward keeping a Makerbot Thing-O-Matic working off and on over the <br>
years but that kept me mostly just playing with replicatorg due to its <br>
incompatibilities with other software that I someday need to setup a <br>
workflow to migrate to. reprap software I had started to get basic <br>
control from but recall manually patching its list of checked and <br>
available ports when I did it years ago.<br>
<br>
=C2=A0 =C2=A0It isn&#39;t recommended but I have been known to either test =
software as <br>
root, or change many more permissions than I need to figure out how to <br>
get things working.<br>
<br>
=C2=A0 =C2=A0If you say what printer/software you are working with, others =
may be <br>
able to chime in with more specifics.<br>
<br>
</blockquote></div><br clear=3D"all"><div><br></div><span class=3D"gmail_si=
gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">Pa=
ul Beard / <a href=3D"http://www.paulbeard.org/" target=3D"_blank">www.paul=
beard.org/</a><br></div>

--00000000000087656d060704de24--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMtcK2rVkw19cm7wQw4kfDzdoZtRn1czqJTqeMhguNENo%2BPkJA>