Lin Ma 写道: > Albert Lee wrote: > >> Hi, >> >> I just discovered that a brave soul at Sun's Beijing office has started >> working on the Bluetooth project's repository on opensolaris.org, >> pulling in the entire kernel stack from NetBSD as well as some drivers >> and tools. This marks the first activity there for two years. >> http://src.opensolaris.org/source/xref/bluetooth/bluetooth-gate/ >> (commit list at >> http://opensolaris.org/jive/category.jspa?categoryID=100 ) >> >> Anand on the BOSUG list implemented an entire userspace stack recently, >> with working drivers on top of libusb, and OBEX support. Announced here: >> http://www.opensolaris.org/jive/thread.jspa?threadID=60312&tstart=0 >> The code is available at: http://anand.bheemaraju.googlepages.com/ >> >> These are huge developments for Bluetooth support. I urge Qi Lin (the >> Sun engineer on the Bluetooth project) and Anand to get in communication >> and coordinate their efforts. >> >> The Bluetooth project page should certainly be updated to reflect the >> current status. >> >> > That's great. There are some bluetooth related desktop applications can > be planned if there is a schedule for this project. So what's the next? > > lin > > Hi, all,
It's great to get your feedback. I haven't get time to update Bluetooth project page these days, I am on the way porting SDP lib and sdpquery tool into bluetooth-gate, it will be available soon, I think. Meantime, sockl2cap and sockrfcomm modues will be integreated after some test, but I haven't get chance to test socksco module, due to no related device on my hand. To get a brief of the porting work, please look into below link: http://src.opensolaris.org/source/xref/bluetooth/bluetooth-gate/usr/src/uts/common/sys/bluetooth.h The gate is initiated from a clone of OpenSolaris/volo-gate, since I decided to use Volo new socket framework directly, you can do nightly build with the same toolchain as Volo-gate. (also need nv84 closed-bin) Install steps: (please ensure your machine have a usb bluetooth dongle inserted, I suggest BT2.0 dongle) 1. install OpenSolaris/build84. 2. cap-eye-install bluetooth kernel(when nightly complete) 3.1 copy soconfig to /sbin/soconfig 3.2 copy btconfig to /usr/sbin/btconfig 3.3 copy libbluetooth.so.1 to /lib/. 4. #/sbin/soconfig 31 4 1 - sockrawhci 5. #add_drv -i '"usb,classe0.1.1"' ubt 6. btconfig -l 7. you should be able to see ubt0 as the output 8. btconfig ubt0 up pscan (you can also find manual page here: http://netbsd.gw.com/cgi-bin/man-cgi?btconfig++NetBSD-current) Yes, we can plan some application support such as OpenSync, Obex file share... mouse/keyboard, they are not far away now, but I have been assigned other high priority tasks in my team, and can only spend 20% of my time on Bluetooth project, after SDP layer porting. Anyway, I believe the Bluetooth core protocol layers that are available in Bluetooth-gate are quit enough to support OpenSync and OBEX applications. Thanks, Michael _______________________________________________ driver-discuss mailing list driver-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/driver-discuss