FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

I am looking for an LTO tape library. Do you have one to spare?
Commit found by message id
Tue, 25 Nov 2003
[ 19:35:43 andreas ] Original commit 
libusb devel  Deleted Deprecated Expired Ignore files touched by this commit Library giving userland programs access to USB devices
- fix for PR 58925
  solves problem of hanging usb sessions with cams using gphoto2 ptp2 driver
- bumped port revision
- tested by different people under -current and -stable, no ill side
  effects and really cures the problem.

The author of bsd.c clearly states out in the sources, that he
has ported codee from linux 1:1 and he "kind of hopes" that it is ok.
But it wasn't.

This patch fixes hang that happens after the 1st read because the USB
driver tries to read more bytes than are available.

0000  10 00 00 00 01 00 02 10-00 00 00 00 01 00 00 00  ................
1.240828 gphoto2-port(2): Reading 512=0x200 bytes from port...
gp_port_read: Operation timed out
9.267455 PTP2/library.c(2): PTP: gp_port_* function returned 0xffffffde
-34
9.267819 context(0): PTP I/O error

PR:             58925
Submitted by:   Mariusz Woloszyn <emsi@ipartners.pl>
Reviewed by:    John Reynolds <johnjen@reynoldsnet.org> and some tester
Approved by:    portmgr@ (Joe Marcus Clarke <marcus@marcuscom.com>)

Number of ports [& non-ports] in this commit: 1

Showing files for just one port: devel/libusb

show all files

hide all files


2 files found
ActionRevisionLinksFile
modify 1.8 View diff View revision /ports/head/devel/libusb/Makefile
import 1.5 View revision /ports/head/devel/libusb/files/patch-bsd.c
Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
asterisk11Sep 18
squidSep 18
squid33Sep 18
dbusSep 17
nginxSep 16
nginx-develSep 16
phpmyadminSep 13
ossec-hids-clientSep 11
ossec-hids-localSep 11
ossec-hids-serverSep 11
chromiumSep 09
trafficserverSep 05
apache22*Sep 03
apache22-event-mpm*Sep 03
apache22-itk-mpm*Sep 03

8 vulnerabilities affecting 19 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds


Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 24133
Broken 116
Deprecated 46
Ignore 370
Forbidden 3
Restricted 205
No CDROM 94
Vulnerable 20
Expired 1
Set to expire 41
Interactive 0
new 24 hours 2
new 48 hours74
new 7 days92
new fortnight138
new month287


Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.