[Bug 183728] libusb20 examples filenames cause problems on windows.

2014-08-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183728

Ed Maste ema...@freebsd.org changed:

   What|Removed |Added

 Status|In Discussion   |Issue Resolved
 Resolution|--- |FIXED

--- Comment #4 from Ed Maste ema...@freebsd.org ---
now merged to stable/10

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


[Bug 183728] libusb20 examples filenames cause problems on windows.

2014-08-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183728

--- Comment #5 from commit-h...@freebsd.org ---
A commit references this bug:

Author: emaste
Date: Tue Aug 12 14:53:03 UTC 2014
New revision: 269879
URL: http://svnweb.freebsd.org/changeset/base/269879

Log:
  MFC cleanup of libusb20 example

  r257779 by hselasky:

- Use libusb20_strerror() function instead of custom usb_error() one.
- Rename aux.[ch] to util.[ch] which is a more common name for
utility functions and allows checkout on some non-FreeBSD systems
where the aux.* namespace is reserved.
- Fix some compile warnings while at it.

  r257796 by glebius:

Finish r257779.

  PR:183728

Changes:
_U  stable/10/
  stable/10/ObsoleteFiles.inc
  stable/10/share/examples/Makefile
  stable/10/share/examples/libusb20/Makefile
  stable/10/share/examples/libusb20/aux.c
  stable/10/share/examples/libusb20/aux.h
  stable/10/share/examples/libusb20/bulk.c
  stable/10/share/examples/libusb20/control.c
  stable/10/share/examples/libusb20/util.c
  stable/10/share/examples/libusb20/util.h

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


libusb-1.0 and freebsd libusb: libusb_handle_events_completed() missing?

2014-08-12 Thread CeDeROM
Hello :-)

I am working on GNURadio port for FreeBSD and try to make upstream
patches :-) The libusb_handle_events_completed() function seemd to be
missing in FreeBSD, while it is a parto of the LibUSB-1.0 API [1]. Are
there any plans to add or wrap this function?

[ 94%] Building C object
gr-fcd/lib/CMakeFiles/gnuradio-fcd.dir/hid/hid-libusb.c.o
/home/cederom/cederom/moje/prm/c/gnuradio/gnuradio-cederom.github/gr-fcd/lib/hid/hid-libusb.c:759:3:
warning: implicit declaration of function
'libusb_handle_events_completed' is invalid in
  C99 [-Wimplicit-function-declaration]
libusb_handle_events_completed(usb_context, dev-cancelled);
^
1 warning generated.

Best regards,
Tomek

[1] 
http://libusb.sourceforge.net/api-1.0/group__poll.html#ga0bc99f39e4cf5ad393cd5936c36037d1

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: libusb-1.0 and freebsd libusb: libusb_handle_events_completed() missing?

2014-08-12 Thread Hans Petter Selasky

On 08/12/14 20:48, CeDeROM wrote:

Hello :-)

I am working on GNURadio port for FreeBSD and try to make upstream
patches :-) The libusb_handle_events_completed() function seemd to be
missing in FreeBSD, while it is a parto of the LibUSB-1.0 API [1]. Are
there any plans to add or wrap this function?

[ 94%] Building C object
gr-fcd/lib/CMakeFiles/gnuradio-fcd.dir/hid/hid-libusb.c.o
/home/cederom/cederom/moje/prm/c/gnuradio/gnuradio-cederom.github/gr-fcd/lib/hid/hid-libusb.c:759:3:
warning: implicit declaration of function
'libusb_handle_events_completed' is invalid in
   C99 [-Wimplicit-function-declaration]
 libusb_handle_events_completed(usb_context, dev-cancelled);
 ^
1 warning generated.

Best regards,
Tomek

[1] 
http://libusb.sourceforge.net/api-1.0/group__poll.html#ga0bc99f39e4cf5ad393cd5936c36037d1



It's there, but you maybe have to upgrade to -stable.

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: libusb-1.0 and freebsd libusb: libusb_handle_events_completed() missing?

2014-08-12 Thread CeDeROM
On Tue, Aug 12, 2014 at 8:56 PM, Hans Petter Selasky h...@selasky.org wrote:
 I am working on GNURadio port for FreeBSD and try to make upstream
 patches :-) The libusb_handle_events_completed() function seemd to be
 missing in FreeBSD, while it is a parto of the LibUSB-1.0 API [1]. Are
 there any plans to add or wrap this function?

 It's there, but you maybe have to upgrade to -stable.
 --HPS

ACK! How should it be handled on previous releases? Is
libusb_handle_events(NULL); instead enough? :-)

Best regards,
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: libusb-1.0 and freebsd libusb: libusb_handle_events_completed() missing?

2014-08-12 Thread Hans Petter Selasky

On 08/12/14 21:01, CeDeROM wrote:

On Tue, Aug 12, 2014 at 8:56 PM, Hans Petter Selasky h...@selasky.org wrote:

I am working on GNURadio port for FreeBSD and try to make upstream
patches :-) The libusb_handle_events_completed() function seemd to be
missing in FreeBSD, while it is a parto of the LibUSB-1.0 API [1]. Are
there any plans to add or wrap this function?


It's there, but you maybe have to upgrade to -stable.
--HPS


ACK! How should it be handled on previous releases? Is
libusb_handle_events(NULL); instead enough? :-)


Hi,

It cannot.

The most simple solution is to only checkout libusb from -stable and:

cd libusb
make all install

That's it.

--HPS

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: libusb-1.0 and freebsd libusb: libusb_handle_events_completed() missing?

2014-08-12 Thread CeDeROM
On Tue, Aug 12, 2014 at 9:06 PM, Hans Petter Selasky h...@selasky.org wrote:
 ACK! How should it be handled on previous releases? Is
 libusb_handle_events(NULL); instead enough? :-)

 It cannot.
 The most simple solution is to only checkout libusb from -stable and:
 cd libusb
 make all install
 That's it.
 --HPS

How about building this existing GURadio code on FreeBSD 10 or 9 or 8
before patch was made, that is where libusb_handle_events_completed()
is still missing?

Thank for hints! :-)

Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: libusb-1.0 and freebsd libusb: libusb_handle_events_completed() missing?

2014-08-12 Thread Hans Petter Selasky

On 08/12/14 21:24, CeDeROM wrote:

On Tue, Aug 12, 2014 at 9:06 PM, Hans Petter Selasky h...@selasky.org wrote:

ACK! How should it be handled on previous releases? Is
libusb_handle_events(NULL); instead enough? :-)


It cannot.
The most simple solution is to only checkout libusb from -stable and:
cd libusb
make all install
That's it.
--HPS


How about building this existing GURadio code on FreeBSD 10 or 9 or 8
before patch was made, that is where libusb_handle_events_completed()
is still missing?



Hi,

The new function that is needed by GNURadio only require changes inside 
libusb. It does not require anything from the kernel.


--HPS

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: [BSD-Ham] libusb-1.0 and freebsd libusb: libusb_handle_events_completed() missing?

2014-08-12 Thread Diane Bruce
On Tue, Aug 12, 2014 at 08:48:14PM +0200, CeDeROM wrote:
 Hello :-)
 
 I am working on GNURadio port for FreeBSD and try to make upstream
 patches :-) The libusb_handle_events_completed() function seemd to be
 missing in FreeBSD, while it is a parto of the LibUSB-1.0 API [1]. Are
 there any plans to add or wrap this function?

I dealt with this already in the gnuradio port I did. It's present
in later versions of libusb, but look the diffs I did to work around
this for older libusb. Please.. There was no reason to spam everyone..

 
 [ 94%] Building C object
 gr-fcd/lib/CMakeFiles/gnuradio-fcd.dir/hid/hid-libusb.c.o
 /home/cederom/cederom/moje/prm/c/gnuradio/gnuradio-cederom.github/gr-fcd/lib/hid/hid-libusb.c:759:3:
 warning: implicit declaration of function
 'libusb_handle_events_completed' is invalid in
   C99 [-Wimplicit-function-declaration]
 libusb_handle_events_completed(usb_context, dev-cancelled);
 ^
 1 warning generated.
 
 Best regards,
 Tomek
 
 [1] 
 http://libusb.sourceforge.net/api-1.0/group__poll.html#ga0bc99f39e4cf5ad393cd5936c36037d1
 
 -- 
 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
 __
 BSD-Ham mailing list
 Home: http://mailman.qth.net/mailman/listinfo/bsd-ham
 Help: http://mailman.qth.net/mmfaq.htm
 Post: mailto:bsd-...@mailman.qth.net
 
 This list hosted by: http://www.qsl.net
 Please help support this email list: http://www.qsl.net/donate.html

-- 
- d...@freebsd.org d...@db.net http://www.db.net/~db
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: [BSD-Ham] libusb-1.0 and freebsd libusb: libusb_handle_events_completed() missing?

2014-08-12 Thread Diane Bruce
On Tue, Aug 12, 2014 at 09:01:51PM +0200, CeDeROM wrote:
 On Tue, Aug 12, 2014 at 8:56 PM, Hans Petter Selasky h...@selasky.org wrote:
  I am working on GNURadio port for FreeBSD and try to make upstream
  patches :-) The libusb_handle_events_completed() function seemd to be
  missing in FreeBSD, while it is a parto of the LibUSB-1.0 API [1]. Are
  there any plans to add or wrap this function?
 
  It's there, but you maybe have to upgrade to -stable.
  --HPS
 
 ACK! How should it be handled on previous releases? Is
 libusb_handle_events(NULL); instead enough? :-)

I handled it already in the gnuradio port for months and months already.
Please look.

 
 Best regards,
 Tomek
 
 -- 
 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
 __
 BSD-Ham mailing list
 Home: http://mailman.qth.net/mailman/listinfo/bsd-ham
 Help: http://mailman.qth.net/mmfaq.htm
 Post: mailto:bsd-...@mailman.qth.net
 
 This list hosted by: http://www.qsl.net
 Please help support this email list: http://www.qsl.net/donate.html

-- 
- d...@freebsd.org d...@db.net http://www.db.net/~db
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: [BSD-Ham] libusb-1.0 and freebsd libusb: libusb_handle_events_completed() missing?

2014-08-12 Thread CeDeROM
On Tue, Aug 12, 2014 at 10:18 PM, Diane Bruce d...@db.net wrote:
 On Tue, Aug 12, 2014 at 08:48:14PM +0200, CeDeROM wrote:
 Hello :-)

 I am working on GNURadio port for FreeBSD and try to make upstream
 patches :-) The libusb_handle_events_completed() function seemd to be
 missing in FreeBSD, while it is a parto of the LibUSB-1.0 API [1]. Are
 there any plans to add or wrap this function?

 I dealt with this already in the gnuradio port I did. It's present
 in later versions of libusb, but look the diffs I did to work around
 this for older libusb. Please.. There was no reason to spam everyone..

Hello Diane :-)

I am adapting patches from local port to GNURadio upstream so it
builds smoothly straight away, as we talked in direct channel. Can I
use Your patches?

Building the sources from the upstream seems to be still missing :-)
And we found out something new about libusb on FreeBSD :-)

Best regards :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: [BSD-Ham] libusb-1.0 and freebsd libusb: libusb_handle_events_completed() missing?

2014-08-12 Thread CeDeROM
On Tue, Aug 12, 2014 at 10:21 PM, Diane Bruce d...@db.net wrote:
 I handled it already in the gnuradio port for months and months already.
 Please look.

Aahh! Tanks! Nice trick! :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org