From nobody Fri Oct 06 00:37:42 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S1qK14tThz4wNdd for ; Fri, 6 Oct 2023 00:37:57 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-yw1-x1132.google.com (mail-yw1-x1132.google.com [IPv6:2607:f8b0:4864:20::1132]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S1qK12Cs5z3Zjf for ; Fri, 6 Oct 2023 00:37:57 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-59e88a28b98so14840567b3.1 for ; Thu, 05 Oct 2023 17:37:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; t=1696552676; x=1697157476; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=GCSo1fvHTa0CtByPsqYt/rjFfv+DkIFlyP4odNa1csk=; b=h2O8sAX/IMroeNSzwKPkuOOf8JB8NCZoexaaBo5JnrMTSTLdaGGEc6fNftSCgl2XpI 3ftRucGhAhRondBi+xmESLq2TaiUMU5LoADAriuLmfXomNRCDWpH8ofSg/8XdVDFB3tm SCZyMjujuRPGvlQWtQn9GtsXITd2U+XuObOgsmQOFv+Q72JQjOkzKzTnVzrV3KD48Mw+ ryPLsrh/avE/8WOrMYgwZOjfv591hJk1NW+fl2PZ9tSbI9GJGOAlG2QsLsCb/emEOIv+ zJ6ptgYcDdJd86rX+nYIGj37eZ/dsZ9lQA/+OJRlNnmAyPIPg12qH1i8DUnSo+FG5TcM 3PjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696552676; x=1697157476; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GCSo1fvHTa0CtByPsqYt/rjFfv+DkIFlyP4odNa1csk=; b=csHYoA28j7lgZj8PSJWBORDNrcMSoaR4JU80+Q18BkHifCzu7+fJZEcHBxu8ijEfap vM+swzeW50n4peADivdx9hmhV7tSnaVlKp38fqZbFBzoSLNUUA6NDEQIJE9rSDdm2wC/ ZgoVI6B/Rbj8HRnTLb7vHTW9tWhOq24s+mlEDqVtyG7Jq0HlnQFDriljy1JLrHuJTJQD auE9KgF2ebx3vzfE1nRYiqu5Wvt/e7HZuoIyb4ovHuYFb+/aDKmKbVf3IJ25nQP8AXNv 2jZ7OALmV68Kobwl+08xr0TVhqHnxhyB4njCRW57Zc29A9JXkkvvsuhr43sVRGf08N/N gE+g== X-Gm-Message-State: AOJu0YxIawSoaWwpOPvVbuco5YgFTg/3380ahBhSr8lBvTmtj+ws1BFr 2HZHfgRTsWff5g9EnNYYMfXay6pXRpq9wzALz5U= X-Google-Smtp-Source: AGHT+IGkf63b8d+pMm5xf5S1UEhCad9Xk5HeWOoZjQqwu60Vk9qYYUSPDNuFGyjvnmrlopv/jwfh5A== X-Received: by 2002:a0d:e24d:0:b0:59b:ca32:7460 with SMTP id l74-20020a0de24d000000b0059bca327460mr2000676ywe.3.1696552676006; Thu, 05 Oct 2023 17:37:56 -0700 (PDT) Received: from mail-yw1-f172.google.com (mail-yw1-f172.google.com. [209.85.128.172]) by smtp.gmail.com with ESMTPSA id u195-20020a8184cc000000b0059f4f30a32bsm890884ywf.24.2023.10.05.17.37.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Oct 2023 17:37:55 -0700 (PDT) Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-59f6767a15dso24133397b3.0 for ; Thu, 05 Oct 2023 17:37:55 -0700 (PDT) X-Received: by 2002:a0d:cb4c:0:b0:59b:52c2:5f15 with SMTP id n73-20020a0dcb4c000000b0059b52c25f15mr1535971ywd.25.1696552674999; Thu, 05 Oct 2023 17:37:54 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Tomek CEDRO Date: Fri, 6 Oct 2023 02:37:42 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: serial port question To: paul beard Cc: FreeBSD-questions Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4S1qK12Cs5z3Zjf On Fri, Oct 6, 2023 at 2:29=E2=80=AFAM paul beard wrote: > 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 anyo= ne 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. Al= legedly I can communicate up to 115k but I'll settle for a lot less to send= simple commands like M502 or M500. cu -l /dev/cuaU0 -s 115200 ? minicom ? man cu man minicom make sure your user is in the dialer group in order to access serial port device. you may want to first run `minicom -s /dev/cuaU0` as root in order to setup the port configuration file, then as user just `minicom /dev/cuaU0`. assuming your device shows up as /dev/cuaU0. have fun :-) --=20 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info