On my machine running 9.0-RC1, updated from 8.2 via FreeBSD-update:
When running "usbdump -i usbus4" and connecting any USB device so far (memory, iPhone, 3G modem), it just hangs and doesn't output anything. Closing it with ^C is not possible, only ^Z and kill %1 is possible.
ktrace on usbdump shows that it is reading properly.
Running Wireshark on usb04 shows that frames are being received.
Running usbdump on a file captured from an old machine (FreeBSD X.x.x.x 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r224195: Tue Jul 19 17:45:03 CST 2011 X@X:/usr/obj/usr/src/sys/GENERIC amd64) shows the output as expected.
Running usbdump on a file captured on this machine doesn't output anything, but can be aborted with ^C.
I have uploaded a tar ball at http://www.mavetju.org/~edwin/usbdump-problem.tar.gz with in it:
- output of trace in ktrace.out
- iphone.cap of when it doesn't work.
- usbdumptest from the old 9.0-CURRENT machine.
As a test I compiled usbdump myself instead of using the one supplied by =
[~/usbdump/usbdump] edwin@t43>sudo ./usbdump-9 -i usbus4
19:35:11.080561 usbus4.2 =
19:35:11.080638 usbus4.2 =
19:35:11.080645 usbus4.2 =
* $FreeBSD: stable/9/usr.sbin/usbdump/usbdump.c 226565 2011-10-20 =
14:45:16Z hselasky $
Honestly=85 No idea where it went wrong.
I'll poke Colin Percival about this.=
I just submitted a PR on this issue: usb/162054: usbdump just hangs on =
The usbdump used was gotten via freebsd-update earlier this week.
I compiled usbdump myself from the stable/9 source code and it worked =
Not sure if this is something you want to know about.
For bugs matching the following criteria:
Status: In Progress Changed: (is less than) 2014-06-01
Reset to default assignee and clear in-progress tags.
Mail being skipped