Bug 248227 - cad/cura: fix USB printing support
Summary: cad/cura: fix USB printing support
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Diane Bruce
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-23 19:33 UTC by Val Packett
Modified: 2020-07-24 23:14 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (db)


Attachments
cura-usb.patch (1.05 KB, patch)
2020-07-23 19:33 UTC, Val Packett
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Val Packett 2020-07-23 19:33:47 UTC
Created attachment 216724 [details]
cura-usb.patch

Yes, it's not cool and networking really should be used, but still it shouldn't be broken..

The serial library returns 'n/a' to the port[2] string that Cura was checking for starting with 'USB' (which would actually be 'U' for us). I guess somewhere it is only splitting on 'tty' and not 'cua'. Well, let's just not filter serial ports for USB for now.
Comment 1 Diane Bruce freebsd_committer freebsd_triage 2020-07-23 19:41:13 UTC
(In reply to Greg V from comment #0)

Oh ugh I missed something. Sorry about that. I've been using a remote network Octoprint (Rpi with FreeBSD of course). I'll fix ASAP
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-07-24 20:11:02 UTC
A commit references this bug:

Author: db
Date: Fri Jul 24 20:10:00 UTC 2020
New revision: 543376
URL: https://svnweb.freebsd.org/changeset/ports/543376

Log:
  The serial library returns 'n/a' to the port[2] string that Cura was checking
  for starting with 'USB' (which would actually be 'U' for us). I guess
  somewhere it is only splitting on 'tty' and not 'cua'. Well, let's just
  not filter serial ports for USB for now.

  PR:		ports/248227
  Submitted by:	greg@unrelenting.technology

Changes:
  head/cad/cura/Makefile
  head/cad/cura/files/patch-plugins_USBPrinting_USBPrinterOutputDeviceManager.py