Skip to contentSkip to conversation

Getting in touch with libs2 and utils2

Bluez-devel Marcel Holtmann 2 participants 3 messages Dec 14, 2003 – Dec 17, 2003 Bluetooth drivers

lore
Share & tools
lore

Marcel Holtmann

author maintainer
#0 lore raw

Hi Folks,

this is a mini HOWTO to give you directions how to test the new generations of the Bluetooth library and utils. For most people the important thing will be the HID support ;)

The first thing I have to tell you is that this code is only available in CVS and until the new Bluetooth device manager and SDP daemon are not ready this will definitely not change. So you have to check out the libs2 and utils2 repositories by yourself. If you have done so, you can use this commands to install them without effecting anything of your current Bluetooth setups.

	cd libs2
	./bootstrap
	./configure --prefix=/opt/bluetooth
	make && make install

	cd utils2
	./bootstrap
	./configure --prefix=/opt/bluetooth --with-bluetooth=/opt/bluetooth
	make && make install

After that you have installed your software under /opt/bluetooth or any other prefix you have choosen. At the moment we don't link the library search path into the programs so you have to modify your /etc/ld.so.conf to make your library found by the loader.

echo /opt/bluetooth/lib >> /etc/ld.so.conf ldconfig

Feel free to play with it and send bug reports to the mailing list.

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#1 lore raw

Hi,

success !!! Works much better than the hacked bthid under gentoo 2.6test11.

I followed your guide below (preceded by a cvs checkout of course). I then ran

- hcid (from the gentoo bluez packages)
- /opt/bluetooth/sbin/bthid --daemon
- moving mouse --> discover message in syslog : WORKS. YOUPI !!!

With the hacked bthid, I had problems in startup (mouse not always discovered, etc).

I don't have any other Bluetooth hardware (beside my Ericsson T68 which isn't a HID device AFAIK), so I can't make much more tests.

Apparently, gentoo creates the uinput device in /dev/misc instead of the usual /dev/input. Thanks to Marcel for testing both in parser.c !

I will now take the time to update my Web page. THX.

Charles

Quoted 49 lines · Marcel Holtmann

Hi Folks,

this is a mini HOWTO to give you directions how to test the new generations of the Bluetooth library and utils. For most people the important thing will be the HID support ;)

The first thing I have to tell you is that this code is only available in CVS and until the new Bluetooth device manager and SDP daemon are not ready this will definitely not change. So you have to check out the libs2 and utils2 repositories by yourself. If you have done so, you can use this commands to install them without effecting anything of your current Bluetooth setups.

	cd libs2
	./bootstrap
	./configure --prefix=/opt/bluetooth
	make && make install

	cd utils2
	./bootstrap
	./configure --prefix=/opt/bluetooth --with-bluetooth=/opt/bluetooth
	make && make install

After that you have installed your software under /opt/bluetooth or any other prefix you have choosen. At the moment we don't link the library search path into the programs so you have to modify your /etc/ld.so.conf to make your library found by the loader.

echo /opt/bluetooth/lib >> /etc/ld.so.conf ldconfig

Feel free to play with it and send bug reports to the mailing list.

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

Signature · 2 lines
Charles Bueche <[email protected]>
sand, snow, wave, wind and net -surfer
author maintainer
#2 lore raw

Hi Charles,

Quoted 9 lines

success !!! Works much better than the hacked bthid under gentoo 2.6test11.

I followed your guide below (preceded by a cvs checkout of course). I then ran

- hcid (from the gentoo bluez packages)
- /opt/bluetooth/sbin/bthid --daemon
- moving mouse --> discover message in syslog : WORKS. YOUPI !!!

this is good to hear.

Quoted 2 lines

I don't have any other Bluetooth hardware (beside my Ericsson T68 which isn't a HID device AFAIK), so I can't make much more tests.

I have and even 7 HID devices in one piconet are working fine.

Quoted 2 lines

Apparently, gentoo creates the uinput device in /dev/misc instead of the usual /dev/input. Thanks to Marcel for testing both in parser.c !

It is the normal way of doing this ;)

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel