Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2013 22:18:49 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        freebsd-usb@FreeBSD.org
Subject:   usbdump and hw.usb.no_pf
Message-ID:  <alpine.BSF.2.00.1309122042320.24403@wonkity.com>

next in thread | raw e-mail | index | archive | help
A 9-STABLE desktop running amd64 steadfastly refuses to run usbdump(8):

# usbdump -i usbus0 -v -w /tmp/usb.log
read: Device not configured

0 packets captured
0 packets received by filter
0 packets dropped by kernel

It turns out that having hw.usb.no_pf="1" set in /boot/loader.conf to 
speed up booting disables usbdump.  Interestingly, this sysctl can be 
changed at runtime, but usbdump will still not work.  The value has to 
be set in /boot/loader.conf at boot for usbdump to work again.

If usbdump could produce a warning when this sysctl is was set to 1 at 
boot, it would make the mysterious error less mysterious.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1309122042320.24403>