From owner-freebsd-current@FreeBSD.ORG Wed Jan 2 14:09:52 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 3856F16A41A for ; Wed, 2 Jan 2008 14:09:52 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 9BAAE13C4F0 for ; Wed, 2 Jan 2008 14:09:51 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 49CFD1B10EE7; Wed, 2 Jan 2008 15:09:47 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, J_CHICKENPOX_33 autolearn=no version=3.2.3 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 511BD1B10EA4 for ; Wed, 2 Jan 2008 15:09:38 +0100 (CET) Message-ID: <477B9B22.1090703@moneybookers.com> Date: Wed, 02 Jan 2008 16:09:38 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5339/Wed Jan 2 11:52:11 2008 on blah.cmotd.com X-Virus-Status: Clean Subject: 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 14:09:52 -0000 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 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 -- Best Wishes, Stefan Lambrev ICQ# 24134177