Bug 126922 - devel/libusb : update for Network UPS Tools
Summary: devel/libusb : update for Network UPS Tools
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Stefan Walter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-28 20:00 UTC by Rene Ladan
Modified: 2008-10-13 19:00 UTC (History)
0 users

See Also:


Attachments
file.diff (1.03 KB, patch)
2008-08-28 20:00 UTC, Rene Ladan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Ladan 2008-08-28 20:00:01 UTC
From an user:

I had to modify the bsd.c patch to get NUT (Network UPS tools) working
correctly when I attach an UPS via USB to my FreeBSD machine. Without the patch
the communication breaks every few seconds because of an full read buffer. NUT
checks the input buffer too fast, so the kernel or something else blocks which
will cause an communication break to the UPS.

Fix: apply patch, tested with audio/ifp-line and an iRiver IFP-790

Patch attached with submission follows:
Comment 1 Stefan Walter freebsd_committer freebsd_triage 2008-10-13 18:47:38 UTC
Responsible Changed
From-To: freebsd-ports-bugs->stefan

Take.
Comment 2 Stefan Walter freebsd_committer freebsd_triage 2008-10-13 18:52:07 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2008-10-13 18:52:15 UTC
stefan      2008-10-13 17:52:01 UTC

  FreeBSD ports repository

  Modified files:
    devel/libusb         Makefile 
    devel/libusb/files   patch-bsd.c 
  Log:
  Fix communication with UPS for NUT (Network UPS Tools).
  
  PR:             126922
  Submitted by:   maintainer
  
  Revision  Changes    Path
  1.26      +1 -1      ports/devel/libusb/Makefile
  1.10      +9 -0      ports/devel/libusb/files/patch-bsd.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"