• Re: usb => serial port converter

    From gene heskett@21:1/5 to Lee on Mon Jul 8 00:20:02 2024
    On 7/7/24 18:02, Lee wrote:
    What's everybody using for a usb => serial port converter?

    I got a new network switch and .. OhNoes!! how to I talk to the darn thing???

    I went looking thru cabinets and came up with a keyspan usb -> serial
    dongle; a quick search found the site with driver downloads, but they
    all were for Windows or MacOS. I tried plugging the dongle into my
    debian laptop but it didn't recognize it :(

    So... what are people using to talk to serial devices now that PCs
    don't come with serial ports anymore?

    And what program are you using to talk to something over the serial
    link? pterm or something else?

    I still have a Windows machine, so install the drivers, configure
    putty to talk to COM4 & I'm good to go. But I'm trying to get *away*
    from Windows. How do I talk to my switch over the serial port?
    See if you can find a usb-232 from FDTI. And keep looking if you see a Prolific, its not very good.

    Thanks,
    Lee

    .

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to Lee on Mon Jul 8 00:20:02 2024
    On Sun, 7 Jul 2024, Lee wrote:

    What's everybody using for a usb => serial port converter?

    I got a new network switch and .. OhNoes!! how to I talk to the darn thing???

    I went looking thru cabinets and came up with a keyspan usb -> serial
    dongle; a quick search found the site with driver downloads, but they
    all were for Windows or MacOS. I tried plugging the dongle into my
    debian laptop but it didn't recognize it :(

    So... what are people using to talk to serial devices now that PCs
    don't come with serial ports anymore?

    And what program are you using to talk to something over the serial
    link? pterm or something else?

    I still have a Windows machine, so install the drivers, configure
    putty to talk to COM4 & I'm good to go. But I'm trying to get *away*
    from Windows. How do I talk to my switch over the serial port?

    Thanks,
    Lee


    i've used this for many years

    Bus 001 Device 006: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 2.00
    bDeviceClass 0
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 8
    idVendor 0x0403 Future Technology Devices International, Ltd
    idProduct 0x6001 FT232 Serial (UART) IC
    bcdDevice 6.00
    iManufacturer 1 FTDI
    iProduct 2 UC232R
    iSerial 3 FTF588Y9

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Smith@21:1/5 to Lee on Mon Jul 8 00:40:02 2024
    Hi,

    On Sun, Jul 07, 2024 at 06:02:18PM -0400, Lee wrote:
    I tried plugging the dongle into my debian laptop but it didn't
    recognize it :(

    In my experience USB serial gadgets on Linux tend to just work or
    will never work. The default Debian kernels do have USB serial
    converter support enabled and all the drivers as modules. You'll
    probably find it a better use of your time to just buy one that is
    known to work, as they are quite cheap.

    So... what are people using to talk to serial devices now that PCs
    don't come with serial ports anymore?

    Here are some notes from FreeBSD, which is a bit pickier than Linux
    on this, so should be conservative advice:

    https://wiki.freebsd.org/USB/Peripherals/Serial

    And what program are you using to talk to something over the serial
    link? pterm or something else?

    I use either minicom or GNU Screen. You'll need to know the baud
    rate that the device expects, though you can just try a few common
    ones and see what works. e.g.

    # screen /dev/ttyUSB0 115200

    Thanks,
    Andy

    --
    https://bitfolk.com/ -- No-nonsense VPS hosting

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to Lee on Mon Jul 8 06:50:01 2024
    On Sun, Jul 07, 2024 at 06:02:18PM -0400, Lee wrote:
    What's everybody using for a usb => serial port converter?

    I got a new network switch and .. OhNoes!! how to I talk to the darn thing???

    Most of them work with Linux anyway (some of them with some
    limitations). Stick it in and look at the logs.

    Usually there is a device /dev/ttyUSBxxx. That one is your
    friend.

    I went looking thru cabinets and came up with a keyspan usb -> serial
    dongle; a quick search found the site with driver downloads, but they
    all were for Windows or MacOS.

    Ah, the privileges of proprietary software :-) You not only get
    to pay, but you get to put more dubious software into your box.

    I tried plugging the dongle into my
    debian laptop but it didn't recognize it :(

    What does "lsusb" say? What does "dmesg | tail" say shortly after you
    inserted your dongle?

    Cheers
    --
    t

    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZott4QAKCRAFyCz1etHa Ru2aAJ0bR6/gcDVq5fpPbvWSObgAf2oZugCcCTxCag4H7FDfKcyYSHoVR7nx5TI=
    =Gh8f
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul Duncan@21:1/5 to Lee on Mon Jul 8 20:30:01 2024
    Hi Lee,

    Its very much "horses for courses".

    If all you want to do is talk to network switch console ports, there are
    cheap cables from Amazon that will do that.

    If you *only* want a general purpose RS-232 StarTech and TrendNet should
    just work.

    If you want to be able to do other things like RS-422 and RS-485, I would recommend a Moxa uPort 1150. Be aware that you will have to install the
    Moxa driver to use this - its not generally included with the kernel.

    Cheers,

    Paul.

    On Sun, 7 Jul 2024 at 22:02, Lee <[email protected]> wrote:

    What's everybody using for a usb => serial port converter?

    I got a new network switch and .. OhNoes!! how to I talk to the darn
    thing???

    I went looking thru cabinets and came up with a keyspan usb -> serial
    dongle; a quick search found the site with driver downloads, but they
    all were for Windows or MacOS. I tried plugging the dongle into my
    debian laptop but it didn't recognize it :(

    So... what are people using to talk to serial devices now that PCs
    don't come with serial ports anymore?

    And what program are you using to talk to something over the serial
    link? pterm or something else?

    I still have a Windows machine, so install the drivers, configure
    putty to talk to COM4 & I'm good to go. But I'm trying to get *away*
    from Windows. How do I talk to my switch over the serial port?

    Thanks,
    Lee



    --


    *Paul Duncan*

    Lead Marine Technician, RV Falkor(too)

    SCHMIDT OCEAN INSTITUTE

    mobile +1 650 387 4151

    VOIP +1 954 672 4943

    www.schmidtocean.org

    Follow us on Twitter, Facebook and Google+

    *This email message is for the sole use of the intended recipient(s) and
    may contain confidential and privileged*

    *information. Any unauthorized review, use, disclosure or distribution is prohibited. If you have received it in*

    *error, please advise the sender by reply email and delete the message and
    any attachments. Thank you.*

    <div dir="ltr">Hi Lee,<div><br></div><div>Its very much &quot;horses for courses&quot;. </div><div><br></div><div>If all you want to do is talk to network switch console ports, there are cheap cables from Amazon that will do that. </div><div><br></div><
    If you *only* want a general purpose RS-232 StarTech and TrendNet should just work. </div><div><br></div><div>If you want to be able to do other things like RS-422 and RS-485, I would recommend a Moxa uPort 1150. Be aware that you will have to
    install the Moxa driver to use this - its not generally included with the kernel.</div><div><br></div><div>Cheers,</div><div><br></div><div>Paul.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 7 Jul 2024 at 22:02, Lee &
    lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">What&#39;s everybody using for a usb =&gt; serial port
    converter?<br>

    I got a new network switch and .. OhNoes!! how to I talk to the darn thing???<br>

    I went looking thru cabinets and came up with a keyspan usb -&gt; serial<br> dongle; a quick search found the site with driver downloads, but they<br>
    all were for Windows or MacOS.  I tried plugging the dongle into my<br>
    debian laptop but it didn&#39;t recognize it :(<br>

    So... what are people using to talk to serial devices now that PCs<br> don&#39;t come with serial ports anymore?<br>

    And what program are you using to talk to something over the serial<br>
    link?  pterm or something else?<br>

    I still have a Windows machine, so install the drivers, configure<br>
    putty to talk to COM4 &amp; I&#39;m good to go.  But I&#39;m trying to get *away*<br>
    from Windows.  How do I talk to my switch over the serial port?<br>

    Thanks,<br>
    Lee<br>

    </blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">








    <p style="margin-bottom:0in;line-height:100%"><font color="#231f20"><font face="HelveticaNeue-Bold, serif"><font style="font-size:10pt" size="2"><b>Paul Duncan<br></b></font></font></font></p>
    <p style="margin-bottom:0in;line-height:100%"><font color="#231f20"><font face="HelveticaNeue-Roman, serif"><font style="font-size:10pt" size="2">Lead Marine Technician,
    RV Falkor(too)</font></font></font></p>
    <p style="margin-bottom:0in;line-height:100%"><font color="#1b75bd"><font face="HelveticaNeue-Roman, serif"><font style="font-size:10pt" size="2">SCHMIDT
    OCEAN INSTITUTE</font></font></font></p>
    <p style="margin-bottom:0in;line-height:100%"><font color="#231f20"><font face="HelveticaNeue-Roman, serif"><font style="font-size:10pt" size="2">mobile
    +1 650 387 4151<br></font></font></font></p>
    <p style="margin-bottom:0in;line-height:100%"><font color="#231f20"><font face="HelveticaNeue-Roman, serif"><font style="font-size:10pt" size="2">VOIP
    +1 954 672 4943<br></font></font></font></p>

    <p style="margin-bottom:0in;line-height:100%"><font color="#1b75bd"><font face="HelveticaNeue-Roman, serif"><font style="font-size:10pt" size="2"><a href="http://www.schmidtocean.org" target="_blank">www.schmidtocean.org</a></font></font></font></p>
    <p style="margin-bottom:0in;line-height:100%"><font color="#231f20"><font face="HelveticaNeue-Roman, serif"><font style="font-size:8pt" size="1">Follow
    us on </font></font></font><font color="#1b75bd"><font face="HelveticaNeue-Roman, serif"><font style="font-size:8pt" size="1">Twitter,
    Facebook </font></font></font><font color="#231f20"><font face="HelveticaNeue-Roman, serif"><font style="font-size:8pt" size="1">and
    </font></font></font><font color="#1b75bd"><font face="HelveticaNeue-Roman, serif"><font style="font-size:8pt" size="1">Google+</font></font></font></p>
    <p style="margin-bottom:0in;line-height:100%"><font color="#231f20"><font face="HelveticaNeue-Italic, serif"><font style="font-size:8pt" size="1"><i>This
    email message is for the sole use of the intended recipient(s) and
    may contain confidential and privileged</i></font></font></font></p>
    <p style="margin-bottom:0in;line-height:100%"><font color="#231f20"><font face="HelveticaNeue-Italic, serif"><font style="font-size:8pt" size="1"><i>information.
    Any unauthorized review, use, disclosure or distribution is
    prohibited. If you have received it in</i></font></font></font></p>
    <p style="margin-bottom:0.11in;line-height:108%"><font color="#231f20"><font face="HelveticaNeue-Italic, serif"><font style="font-size:8pt" size="1"><i>error,
    please advise the sender by reply email and delete the message and
    any attachments. Thank you.</i></font></font></font></p>

    </div></div></div></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)