maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   audio stopped playing from car audio after upgrade (https://talk.maemo.org/showthread.php?t=95752)

impeham 2015-07-19 09:08

audio stopped playing from car audio after upgrade
 
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?

sicelo 2015-07-19 21:16

Re: audio stopped playing from car audio after upgrade
 
tried to redo the pairing from scratch? perhaps if your audio system allows "reset" of stored/paired devices, i'd do that too

impeham 2015-07-20 05:35

Re: audio stopped playing from car audio after upgrade
 
Quote:

Originally Posted by sicelo (Post 1477241)
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 2015-07-20 13:45

Re: audio stopped playing from car audio after upgrade
 
Compare on both N900 with "hciconifg --all"
  • class
  • service classes
  • device classes

Is there any difference?

impeham 2015-07-20 19:36

Re: audio stopped playing from car audio after upgrade
 
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'

impeham 2015-07-20 20:46

Re: audio stopped playing from car audio after upgrade
 
Quote:

Originally Posted by Halftux (Post 1477337)
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

sicelo 2015-07-20 20:58

Re: audio stopped playing from car audio after upgrade
 
the kernel guys will look into it :) have alerted them

Halftux 2015-07-20 22:37

Re: audio stopped playing from car audio after upgrade
 
Try to change the class to
Quote:

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

impeham 2015-07-21 07:31

Re: audio stopped playing from car audio after upgrade
 
Quote:

Originally Posted by Halftux (Post 1477424)
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.

freemangordon 2015-07-21 09:24

Re: audio stopped playing from car audio after upgrade
 
isn't bluez 4.99-2maemo1+0cssu1 in cssu-devel repo?


All times are GMT. The time now is 18:48.

vBulletin® Version 3.8.8