Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Nov 2008 19:08:29 +0300
From:      swell.k@gmail.com
To:        Thomas Sparrevohn <Thomas.Sparrevohn@btinternet.com>
Cc:        current@freebsd.org, Alfred Perlstein <bright@mu.org>, Hans Petter Selasky <hselasky@c2i.net>, Lars Engels <lme@freebsd.org>, freebsd-current@freebsd.org, freebsd-usb@freebsd.org, Renato Botelho <rbgarga@gmail.com>
Subject:   Re: USB4BSD release candidate number 3 - request for review
Message-ID:  <863ai6yx36.fsf@gmail.com>
In-Reply-To: <200811051236.41450.Thomas.Sparrevohn@btinternet.com> (Thomas Sparrevohn's message of "Wed, 5 Nov 2008 12:36:40 %2B0000")
References:  <200810251925.47273.hselasky@c2i.net> <20081104230547.GE8256@e.0x20.net> <200811050915.54175.hselasky@c2i.net> <200811051236.41450.Thomas.Sparrevohn@btinternet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=

Thomas Sparrevohn <Thomas.Sparrevohn@btinternet.com> writes:

> On Wednesday 05 November 2008 08:15:52 Hans Petter Selasky wrote:
>> Hi,
>> 
>> > And one last thing:
>> > # usbdevs -v
>> > usbdevs: no USB controllers found
>> >
>> 
>> That command is no longer supported. Use "usbconfig" instead. I'm not sure if 
>> it is currently installed by default.
>> 
>> --HPS
>> 
>
> usbconfig does not install per default - it does not even seem to compile - 

I think this patch might be a workaround then.


--=-=-=
Content-Disposition: inline; filename=a

Index: share/man/man4/Makefile
===================================================================
--- share/man/man4/Makefile	(revision 184644)
+++ share/man/man4/Makefile	(working copy)
@@ -416,6 +416,20 @@
 	ural.4 \
 	urio.4 \
 	usb.4 \
+	usb2_bluetooth.4 \
+	usb2_controller.4 \
+	usb2_core.4 \
+	usb2_ethernet.4 \
+	usb2_image.4 \
+	usb2_input.4 \
+	usb2_misc.4 \
+	usb2_ndis.4 \
+	usb2_quirk.4 \
+	usb2_serial.4 \
+	usb2_sound.4 \
+	usb2_storage.4 \
+	usb2_template.4 \
+	usb2_wlan.4 \
 	uscanner.4 \
 	uslcom.4 \
 	utopia.4 \
Index: usr.sbin/Makefile
===================================================================
--- usr.sbin/Makefile	(revision 184644)
+++ usr.sbin/Makefile	(working copy)
@@ -181,6 +181,7 @@
 	trpt \
 	tzsetup \
 	ugidfw \
+	${_usbconfig} \
 	${_usbdevs} \
 	${_vidcontrol} \
 	vipw \
@@ -401,6 +402,7 @@
 .endif
 
 .if ${MK_USB} != "no"
+_usbconfig=	usbconfig
 _usbdevs=	usbdevs
 .endif
 
Index: lib/Makefile
===================================================================
--- lib/Makefile	(revision 184644)
+++ lib/Makefile	(working copy)
@@ -38,7 +38,8 @@
 	${_libpmc} libproc librt ${_libsdp} ${_libsm} ${_libsmb} \
 	${_libsmdb} \
 	${_libsmutil} libstand ${_libtelnet} ${_libthr} libthread_db libufs \
-	libugidfw ${_libusbhid} ${_libvgl} libwrap liby libz ${_bind}
+	libugidfw ${_libusb20} ${_libusbhid} ${_libvgl} libwrap liby libz \
+	${_bind}
 
 .if exists(${.CURDIR}/csu/${MACHINE_ARCH}-elf)
 _csu=csu/${MACHINE_ARCH}-elf
@@ -135,6 +136,7 @@
 .endif
 
 .if ${MK_USB} != "no"
+_libusb20=	libusb20
 _libusbhid=	libusbhid
 .endif
 
Index: lib/libusb20/Makefile
===================================================================
--- lib/libusb20/Makefile	(revision 184644)
+++ lib/libusb20/Makefile	(working copy)
@@ -18,7 +18,7 @@
 INCS+=		libusb20_compat10.h
 MAN=		libusb20.3
 MKLINT=		no
+CFLAGS+=	-I${.CURDIR}/../../sys
 NOGCCERROR=
 
 .include <bsd.lib.mk>
-

--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?863ai6yx36.fsf>