Go Back   maemo.org - Talk > OS / Platform > Maemo 5 / Fremantle
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2015-07-19, 09:08
impeham impeham is offline
 
Join Date: May 2010
Posts: 669
Thanks!: 382
Thanked 433 Times in 211 Posts
Send a message via ICQ to impeham
Default 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?
Reply With Quote
  #2  
Old 2015-07-19, 21:16
sicelo sicelo is offline
Community Council
 
Join Date: Sep 2010
Location: Mbabane
Posts: 674
Thanks!: 1,505
Thanked 1,226 Times in 441 Posts
Default 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
Reply With Quote
The Following User Says Thank You to sicelo For This Useful Post:
  #3  
Old 2015-07-20, 05:35
impeham impeham is offline
 
Join Date: May 2010
Posts: 669
Thanks!: 382
Thanked 433 Times in 211 Posts
Send a message via ICQ to impeham
Default Re: audio stopped playing from car audio after upgrade

Quote:
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...
Reply With Quote
  #4  
Old 2015-07-20, 13:45
Halftux's Avatar
Halftux Halftux is offline
 
Join Date: Feb 2012
Location: Germany
Posts: 852
Thanks!: 924
Thanked 2,500 Times in 727 Posts
Default 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?
Reply With Quote
The Following User Says Thank You to Halftux For This Useful Post:
  #5  
Old 2015-07-20, 19:36
impeham impeham is offline
 
Join Date: May 2010
Posts: 669
Thanks!: 382
Thanked 433 Times in 211 Posts
Send a message via ICQ to impeham
Default 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'
Reply With Quote
  #6  
Old 2015-07-20, 20:46
impeham impeham is offline
 
Join Date: May 2010
Posts: 669
Thanks!: 382
Thanked 433 Times in 211 Posts
Send a message via ICQ to impeham
Default Re: audio stopped playing from car audio after upgrade

Quote:
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
Reply With Quote
  #7  
Old 2015-07-20, 20:58
sicelo sicelo is offline
Community Council
 
Join Date: Sep 2010
Location: Mbabane
Posts: 674
Thanks!: 1,505
Thanked 1,226 Times in 441 Posts
Default Re: audio stopped playing from car audio after upgrade

the kernel guys will look into it have alerted them
Reply With Quote
The Following User Says Thank You to sicelo For This Useful Post:
  #8  
Old 2015-07-20, 22:37
Halftux's Avatar
Halftux Halftux is offline
 
Join Date: Feb 2012
Location: Germany
Posts: 852
Thanks!: 924
Thanked 2,500 Times in 727 Posts
Default 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
Reply With Quote
The Following User Says Thank You to Halftux For This Useful Post:
  #9  
Old 2015-07-21, 07:31
impeham impeham is offline
 
Join Date: May 2010
Posts: 669
Thanks!: 382
Thanked 433 Times in 211 Posts
Send a message via ICQ to impeham
Default Re: audio stopped playing from car audio after upgrade

Quote:
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.
Reply With Quote
  #10  
Old 2015-07-21, 09:24
freemangordon freemangordon is offline
 
Join Date: Mar 2010
Location: Sofia,Bulgaria
Posts: 3,074
Thanks!: 2,415
Thanked 12,959 Times in 2,522 Posts
Default Re: audio stopped playing from car audio after upgrade

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 With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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