[Bug 253232] ulpt possible regression in 12.2
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Feb 3 21:17:28 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253232
Bug ID: 253232
Summary: ulpt possible regression in 12.2
Product: Base System
Version: 12.2-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: usb
Assignee: usb at FreeBSD.org
Reporter: brock at cottonwoodcomputer.com
We have a point of sale system that uses Epson receipt printers attached via a
USB-Parallel adapter. After upgrading these systems to 12.2-RELEASE the
printing is intermittent.
We have duplicated the issue on a fresh 12.2-RELEASE install upgraded to p3 via
freebsd-update. For example, when running an 'echo "hello" > /dev/ulpt0'
multiple times on 12.2 only every other line is printed. No errors are
generated. I have a separate boot environment on the same hardware with 12.1,
which works perfectly.
We have tried a couple different USB-Parallel adapters, including:
Belk USB Printing Support IEEE-1284 Controller
and
Prolific Technology Inc. IEEE-1284 Controller, class 0/0, rev 1.00/2.02, addr 1
both of these behave the same.
I have tried enabling ulpt debugging with sysctl hw.usb.ulpt.debug=15
after each echo command, we get:
Feb 3 13:57:31 fbtest kernel: ulpt_reset:
Feb 3 13:57:31 fbtest kernel: ulpt_write_callback: state=0x0 actlen=6
Feb 3 13:57:31 fbtest kernel: ulpt_write_callback: state=0x1 actlen=6
the ones that work look the same as the ones that don't work.
I have also tried using unlpt0 and it behaves the same way.
Using echo is a simplified example, if we point lpd to the same device it is
even more intermittent. In that case, it seems like the first job or two will
print, and after that, most jobs fail silently.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-usb
mailing list