maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Audio dropouts over bluetooth during Wlan scan (https://talk.maemo.org/showthread.php?t=84062)

libro 2012-05-04 11:36

Audio dropouts over bluetooth during Wlan scan
 
I have recently acquired a bluetooth device which allows me to play audio from the N9 through my stereo (a logitech device).

It plays mostly ok except for dropouts on a fairly regular basis.

I decided to watch the syslog ( /var/log/syslog ) to see whether there was any specific activity during those dropouts, and noticed that they coincided with the following messages appearing in the log

May 4 21:17:05 (2012) wlancond[1763]: Scan issued
May 4 21:17:07 (2012) wlancond[1763]: Scan results ready -- scan active

So my question is: is there a way the music player can be made robust to other processes running on the system, like wlancond ?

These dropouts are making the N9 fairly ineffective as a music player, and I had been hoping it might be possible to use it as a main loungeroom music player.

jalyst 2012-05-05 16:56

Re: Audio dropouts over bluetooth during Wlan scan
 
Quote:

Originally Posted by libro (Post 1201769)
I have recently acquired a bluetooth device which allows me to play audio from the N9 through my stereo (a logitech device).

It plays mostly ok except for dropouts on a fairly regular basis.

I decided to watch the syslog ( /var/log/syslog ) to see whether there was any specific activity during those dropouts, and noticed that they coincided with the following messages appearing in the log

May 4 21:17:05 (2012) wlancond[1763]: Scan issued
May 4 21:17:07 (2012) wlancond[1763]: Scan results ready -- scan active

So my question is: is there a way the music player can be made robust to other processes running on the system, like wlancond ?

These dropouts are making the N9 fairly ineffective as a music player, and I had been hoping it might be possible to use it as a main loungeroom music player.

Read this entire report, inc. comments....
http://harmattan-bugs.nokia.com/show_bug.cgi?id=125
They still haven't responded at all since here...
http://harmattan-bugs.nokia.com/show_bug.cgi?id=125#c13
Despite constant suggestions for simple workarounds, instead of drastic changes.

All you can do is vote, get others to do so, & maybe add some useful ideas there.
I doubt it'll make it into PR1.3 though, it's primarily a bug-fix release for the nastiest bugs.
They barely have enough resources for them, let alone secondary ones & new features.
And it's very unlikely there'll be a PR1.4 and PR1.5 :(

rainisto 2012-05-05 22:44

Re: Audio dropouts over bluetooth during Wlan scan
 
well bluetooth and wifi uses the same antenna and frequencies, you cannot burn the candle on both ends. If you use the both actively at the same time, you cant except that it wont affect the other. Quite many products are using single antenna for wifi&bt functionality.

Increasing buffers would help, or disabling either bt or wifi.

catbus 2012-05-05 23:48

Re: Audio dropouts over bluetooth during Wlan scan
 
Quote:

Originally Posted by rainisto (Post 1202378)
Increasing buffers would help, or disabling either bt or wifi.

How this can be done? Some config-file or? I mean, increasing buffers? More inside information is needed... I know how to disabling those, which is not solution when listening/streaming internetradio, at home, from/to your bluetooth device?

Can this be fixed or not? Simply Y or N?

rainisto 2012-05-06 10:11

Re: Audio dropouts over bluetooth during Wlan scan
 
you can always stream over 3g and usbnet to bt. Streaming over wifi to bt will most likely cause problems sometimes.

I don't remember if there is config files for the buffers. Someone else most likely can comment on that better.

jalyst 2012-05-07 16:59

Re: Audio dropouts over bluetooth during Wlan scan
 
Quote:

Originally Posted by rainisto (Post 1202476)
I don't remember if there is config files for the buffers. Someone else most likely can comment on that better.

If anyone knows much more about this area... PLEASE CHIME IN...
It's unfortunate two antennas weren't used, hopefully management of the buffers can at least partially mitigate this issue.

tebsu 2012-05-07 18:03

Re: Audio dropouts over bluetooth during Wlan scan
 
cant you just deactivate wlan?

rainisto 2012-05-07 18:48

Re: Audio dropouts over bluetooth during Wlan scan
 
also if you change /schemas/system/osso/connectivity/network_type/search_interval to 0 value, it disables the search scanning (default value 300 ie every 5 mins). Most likely that will be enough to fix the problems that scan caused.

Mark Twain 2012-05-08 17:03

Re: Audio dropouts over bluetooth during Wlan scan
 
Quote:

Originally Posted by rainisto (Post 1203157)
also if you change /schemas/system/osso/connectivity/network_type/search_interval to 0 value, it disables the search scanning (default value 300 ie every 5 mins). Most likely that will be enough to fix the problems that scan caused.

Could you explain to me how to do this? Thanks in advance!

rainisto 2012-05-08 17:26

Re: Audio dropouts over bluetooth during Wlan scan
 
You can use http://talk.maemo.org/showthread.php?t=81614 Gconfig GUI, or commandline with:
# gconftool-2 -t int -s /schemas/system/osso/connectivity/network_type/search_interval 0


All times are GMT. The time now is 07:52.

vBulletin® Version 3.8.8