I agree with John about Bluez 4 version and functionality changing between versions.
The second big cause of problem is the profile of BT adapters and that many of the test application only work with older BT adapters. To get BT to works I found the pairing had to first check out the BT adapter profile and adapt the pairing mechansim accordingly. The most reliable way I got to pair devices was using first using hci tools such as hciconfig and then using dbus-send direct to Bluez as well as deleting various files which contain keys/code etc. so that there aren't reused "by accident" from session to session. Android works because it keeps to a specific version of Bluez, doesn't use 3rd party tools to pair etc. and has defined BT hardware. Bluez and BT on Linux is really painful due to bad documentation, changing functionality and uneven quality of BT adapters. The fact that Bluez5 removes lots of useful functionality (and again is not well documented) and forced use of pulseaudio has discouraged me from tackling the BT issues I want/need to look at. >From dealing with WaveInput I found Pulseaudio to be another hindrance to manipulating audio in a LMS/Squeezebox context. The default "per user" setting may be best for a multi user system but in a Squeezebox scenario, the system only has one real user. LMS usually runs under one user id and the application using the audio hardware is under another user id/process tree and so any LMS plugin are shielded by pulse audio from dealing with the user audio streams. The pulseaudio "per system" setup make it easier to deal with but pulseaudio documentation tells user this is not recommended (which is Ok for a basic linux setup) and so real life users are loathe to change the setting. Solutions with "per-user" setting are as a result more complicated After Bluez4 and ALSA, I think Bluez5 with pulseaudio may be the entrance to another level of hell in the LMS context. ------------------------------------------------------------------------ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=101286 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
