Skip to content

Make libusb1 backend work for FreeBSD - #763

Open
saper wants to merge 1 commit into
python-escpos:masterfrom
saper:freebsd-fix
Open

Make libusb1 backend work for FreeBSD#763
saper wants to merge 1 commit into
python-escpos:masterfrom
saper:freebsd-fix

Conversation

@saper

@saper saper commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Description

  • The kernel driver might be there and it does not bother us
    and cannot be detached via libusb1
  • set_configuration() is already a soft reset, full reset() returns an error

Tested with

FreeBSD 16.0 (-current)
Epson TM-T88V

* The kernel driver might be there and it does not bother us
  and cannot be detached via libusb1
* set_configuration() is already a soft reset, full reset() returns an error
@codecov

codecov Bot commented Aug 20, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.07%. Comparing base (faf5249) to head (5880c31).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/escpos/printer/usb.py 33.33% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #763   +/-   ##
=======================================
  Coverage   79.07%   79.07%           
=======================================
  Files          21       21           
  Lines        1754     1754           
  Branches      243      243           
=======================================
  Hits         1387     1387           
  Misses        286      286           
  Partials       81       81           
Flag Coverage Δ
unittests 79.07% <33.33%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/escpos/printer/usb.py 58.24% <33.33%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant