Reply
Thread Tools
Posts: 669 | Thanked: 433 times | Joined on May 2010
#1
I am facing a strange issue on my n900 device connection using bluetooth to my car's audio system. i suspect that one/more of the following packages might be the cause for that:

before upgrade versions:
ii bluez 4.60-0maemo1.6+0m5 Bluetooth tools and daemons
ii bootmenu 1.13 Fanoush's Boot Menu
ii getbootstate 1.0.39+0m5 Determines runlevel on maemo system
ii gstreamer0.10-dsp 0.7.0-0maemo2.4+0m5 GStreamer plug-in for TI's OMAP DSP.
ii libbluetooth3 4.60-0maemo1.6+0m5 Library to use the BlueZ Linux Bluetooth sta


after upgrade versions:
ii bluez 4.99-2maemo1+0cssu1 Bluetooth tools and daemons
ii bootmenu 1.14 Fanoush's Boot Menu
ii getbootstate 2.0 Determines runlevel on maemo system
ii gstreamer0.10-dsp 0.10.1-2+0cssu1 GStreamer plug-in for TI's OMAP DSP.
ii libbluetooth3 4.99-2maemo1+0cssu1 Library to use the BlueZ Linux Bluetooth sta

after these updates, the sound playback got better - there are no more glitches during music playback i used to have before however, the following issue occurs:

The audio system finds the n900 and connects to it (i can control next/previous on the n900 from the audio system's screen), bu there is no sound playing from it (and not from the n900 either).
if i disconnect the n900 from the audio system's menu and reconnect - it starts to work again, until it starts to download the phone book and then it stops again (and does not play even when the download finishes).
i tried an old n900 without these updates and it seems to work fine - playback is heard from the audio system right after the connection establishes.

Any idea?
 
Community Council | Posts: 680 | Thanked: 1,227 times | Joined on Sep 2010 @ Mbabane
#2
tried to redo the pairing from scratch? perhaps if your audio system allows "reset" of stored/paired devices, i'd do that too
 

The Following User Says Thank You to sicelo For This Useful Post:
Posts: 669 | Thanked: 433 times | Joined on May 2010
#3
Originally Posted by sicelo View Post
tried to redo the pairing from scratch? perhaps if your audio system allows "reset" of stored/paired devices, i'd do that too
yes i did - few times - same behavior...
 
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#4
Compare on both N900 with "hciconifg --all"
  • class
  • service classes
  • device classes

Is there any difference?
 

The Following User Says Thank You to Halftux For This Useful Post:
Posts: 669 | Thanked: 433 times | Joined on May 2010
#5
Halftux thanks - i'll check that.

i was trying to downgrade the bluetooth packages and got this error:

[root ~]# apt-get install --reinstall bluez=4.60-0maemo1.6+0m5 libbluetooth3=4.60-0maemo1.6+0m5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be DOWNGRADED:
bluez libbluetooth3
0 upgraded, 0 newly installed, 2 downgraded, 0 to remove and 2 not upgraded.
Need to get 454kB of archives.
After this operation, 672kB disk space will be freed.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
libbluetooth3 bluez
Install these packages without verification [y/N]? y
Err https://downloads.maemo.nokia.com ./ libbluetooth3 4.60-0maemo1.6+0m5
Couldn't resolve host 'downloads.maemo.nokia.com'
Err https://downloads.maemo.nokia.com ./ bluez 4.60-0maemo1.6+0m5
Couldn't resolve host 'downloads.maemo.nokia.com'
Failed to fetch https://downloads.maemo.nokia.com/fr...+0m5_armel.deb Couldn't resolve host 'downloads.maemo.nokia.com'
 
Posts: 669 | Thanked: 433 times | Joined on May 2010
#6
Originally Posted by Halftux View Post
Compare on both N900 with "hciconifg --all"
  • class
  • service classes
  • device classes

Is there any difference?
differences i see for hciconifg --all:

working BT device:
------------------------
hci0: Type: BR/EDR Bus: UART
UP RUNNING PSCAN
Link policy: RSWITCH HOLD SNIFF PARK
Class: 0x58020c
Service Classes: Capturing, Object Transfer, Telephony
HCI Ver: 2.1 (0x4) HCI Rev: 0xc0 LMP Ver: 2.1 (0x4) LMP Subver: 0x410b

Non working BT device:
-------------------------------
hci0: Type: UART
UP RUNNING PSCAN ISCAN
Link policy: RSWITCH SNIFF
Class: 0x00020c
Service Classes: Unspecified
HCI Version: 2.1 (0x4) Revision: 0xc0
LMP Version: 2.1 (0x4) Subversion: 0x410b
 
Community Council | Posts: 680 | Thanked: 1,227 times | Joined on Sep 2010 @ Mbabane
#7
the kernel guys will look into it have alerted them
 

The Following User Says Thank You to sicelo For This Useful Post:
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#8
Try to change the class to
Class: 0x58020c
in /etc/bluetooth/main.conf
The number stands for:
service class: capturing, object transfer, telephony
device class: phone / smart phone
and see maybe it works better.


You can also calculate some different numbers http://bluetooth-pentest.narod.ru/so...generator.html
 

The Following User Says Thank You to Halftux For This Useful Post:
Posts: 669 | Thanked: 433 times | Joined on May 2010
#9
Originally Posted by Halftux View Post
Try to change the class to

in /etc/bluetooth/main.conf
The number stands for:
service class: capturing, object transfer, telephony
device class: phone / smart phone
and see maybe it works better.


You can also calculate some different numbers http://bluetooth-pentest.narod.ru/so...generator.html
Tried it. Actually I even tried to replace the entire file and also the entire content of the "/var/lib/bluetooth" folder with the older device and it didn't change the behavior.


Thing is - the n900 DOES connect to the audio system, but once the phone book download starts the audio playback stops and never works again until I actually disconnect the N900 from the audio systems BT menu and reconnects it only with audio mode (phone mode stays off). Only then the sound is really heard from the system itself.
 
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#10
isn't bluez 4.99-2maemo1+0cssu1 in cssu-devel repo?
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 15:54.