From owner-freebsd-current@FreeBSD.ORG Wed Jan 2 16:33:15 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FD8616A418 for ; Wed, 2 Jan 2008 16:33:15 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:1f1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 853C313C465 for ; Wed, 2 Jan 2008 16:33:14 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from prawn.unsane.co.uk (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m02GWLFK036221 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Jan 2008 16:32:24 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <477BBCC1.6020900@unsane.co.uk> Date: Wed, 02 Jan 2008 16:33:05 +0000 From: Vince User-Agent: Thunderbird 2.0.0.9 (X11/20071116) MIME-Version: 1.0 To: Stefan Lambrev References: <477B9B22.1090703@moneybookers.com> In-Reply-To: <477B9B22.1090703@moneybookers.com> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: future plans for USB stack X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2008 16:33:15 -0000 Stefan Lambrev wrote: > Hi, > > What are the future plans for USB in FreeBSD? > Will usb4bsd (http://www.turbocat.net/~hselasky/usb4bsd/) replace the > current usb stack in FreeBSD > or there is another work to improve the usb stack? > I believe this is planned to be the furture for the usb stack. Currently it appears to be in perforce http://perforce.freebsd.org/branchView.cgi?BRANCH=usb no idea if theres a patch set or tarball for the general public, but its being activley worked on. the freebsd-usb list might be a better place to ask. Vince > I have the problem described here: > http://monkey.org/freebsd/archive/freebsd-current/200706/msg00423.html > and the solution in this thread works for me too, but if someone is > interested in fixing this in freebsd's usb stack > I'll be happy to test patches and help debugging. > > The only problem so far with usb4bsd is that I can't compile > sysutils/hal anymore: > > cc -DHAVE_CONFIG_H -I. -I. -I../.. > -DPACKAGE_SYSCONF_DIR=\"/usr/local/etc\" > -DPACKAGE_DATA_DIR=\"/usr/local/share\" > -DPACKAGE_BIN_DIR=\"/usr/local/bin\" > -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" > -DPACKAGE_LOCALSTATEDIR=\"/usr/local/var\" -I../.. -I.. > -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include > -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include > -I/usr/local/include/libpolkit -I/usr/local/include -O2 > -fno-strict-aliasing -pipe -march=prescott -Wall -Wchar-subscripts > -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align > -Wsign-compare -MT hf-usb.lo -MD -MP -MF .deps/hf-usb.Tpo -c hf-usb.c > -fPIC -DPIC -o .libs/hf-usb.o > hf-usb.c:600: warning: 'struct usb_event' declared inside parameter list > hf-usb.c:600: warning: its scope is only this definition or declaration, > which is probably not what you want > hf-usb.c: In function 'hf_usb_process_event': > hf-usb.c:604: error: dereferencing pointer to incomplete type > hf-usb.c:606: error: 'USB_EVENT_CTRLR_ATTACH' undeclared (first use in > this function) > hf-usb.c:606: error: (Each undeclared identifier is reported only once > hf-usb.c:606: error: for each function it appears in.) > hf-usb.c:607: error: dereferencing pointer to incomplete type > hf-usb.c:612: error: 'USB_EVENT_CTRLR_DETACH' undeclared (first use in > this function) > hf-usb.c:613: error: dereferencing pointer to incomplete type > hf-usb.c:618: error: 'USB_EVENT_DEVICE_ATTACH' undeclared (first use in > this function) > hf-usb.c:622: error: dereferencing pointer to incomplete type > hf-usb.c:622: error: dereferencing pointer to incomplete type > hf-usb.c:625: error: dereferencing pointer to incomplete type > hf-usb.c:630: error: dereferencing pointer to incomplete type > hf-usb.c:632: error: dereferencing pointer to incomplete type > hf-usb.c:637: error: 'USB_EVENT_DEVICE_DETACH' undeclared (first use in > this function) > hf-usb.c:641: error: dereferencing pointer to incomplete type > hf-usb.c:641: error: dereferencing pointer to incomplete type > hf-usb.c:645: error: dereferencing pointer to incomplete type > hf-usb.c:646: error: dereferencing pointer to incomplete type > hf-usb.c:661: error: 'USB_EVENT_DRIVER_ATTACH' undeclared (first use in > this function) > hf-usb.c:665: error: 'USB_EVENT_DRIVER_DETACH' undeclared (first use in > this function) > hf-usb.c:670: error: dereferencing pointer to incomplete type > hf-usb.c: In function 'hf_usb_event_cb': > hf-usb.c:678: error: storage size of 'event' isn't known > hf-usb.c:678: warning: unused variable 'event' > gmake[5]: *** [hf-usb.lo] Error 1 > gmake[5]: Leaving directory > `/usr/ports/sysutils/hal/work/hal-0.5.8.20071224/hald/freebsd' > gmake[4]: *** [all-recursive] Error 1 > gmake[4]: Leaving directory > `/usr/ports/sysutils/hal/work/hal-0.5.8.20071224/hald/freebsd' > gmake[3]: *** [all-recursive] Error 1 > gmake[3]: Leaving directory > `/usr/ports/sysutils/hal/work/hal-0.5.8.20071224/hald' > gmake[2]: *** [all] Error 2 > gmake[2]: Leaving directory > `/usr/ports/sysutils/hal/work/hal-0.5.8.20071224/hald' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory > `/usr/ports/sysutils/hal/work/hal-0.5.8.20071224' > gmake: *** [all] Error 2 > *** Error code 2 >