Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Jan 2008 18:41:38 +0200
From:      Stefan Lambrev <stefan.lambrev@moneybookers.com>
To:        Vince <jhary@unsane.co.uk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: future plans for USB stack
Message-ID:  <477BBEC2.6070204@moneybookers.com>
In-Reply-To: <477BBCC1.6020900@unsane.co.uk>
References:  <477B9B22.1090703@moneybookers.com> <477BBCC1.6020900@unsane.co.uk>

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

Vince wrote:
> 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.
>   
Thanks for the prompt reply. I'll repost my questions to freebsd-usb :)
> 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
>>
>>     
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>   

-- 

Best Wishes,
Stefan Lambrev
ICQ# 24134177




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?477BBEC2.6070204>