We have moved to a new Sailfish OS Forum. Please start new discussions there.
11

[BUG]Typing enables headset

asked 2015-05-26 01:58:33 +0200

Thaodan gravatar image

updated 2015-07-01 17:17:20 +0200

nick75 gravatar image

When I type with headset on this enables my bluetooth headset, the device opens the sound stream but nothing is to except the base noise from the device.

I think think this wastes power on the device and on the headset or i'm wrong?

EDIT: for those how didn't unterstand me: I meant when I use the on screen keyboard, I can hear a noise in my headset.

Steps to reproduce:

  1. Plugin headset (cable) / pair headset (bluetooth)
  2. Focus on text field
  3. Type -> hear noise in headset
edit retag flag offensive close delete

Comments

I'm sorry I cannot understand what your problem is?

It's not a language problem, seems your english is passable enough but please explain a bit what the actual problem is? What do you mean by tipping, and what is base noise?

juiceme ( 2015-05-26 12:58:04 +0200 )edit

So basically, you do not want to hear all sounds in your bt headset, right?

lakutalo ( 2015-05-26 15:39:50 +0200 )edit

Not when I don't play something. attach a bluetooth headset to your jolla and you'll hear what I meant.

Thaodan ( 2015-05-26 15:43:10 +0200 )edit

Refining my question to any sounds instead of all sounds: Depending on the bt device, it will turn into idle mode after a couple of minutes without input and no longer play any sounds unless you reactivate it, just like my bt speaker does.

lakutalo ( 2015-05-26 15:53:32 +0200 )edit

it's in idle mode, but writing something activates it.

Thaodan ( 2015-05-26 16:03:36 +0200 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2015-05-26 22:11:34 +0200

lakutalo gravatar image

updated 2015-06-24 21:51:38 +0200

As @juiceme said, power consumption on your BT headset would not be much higher when playing all the system sounds instead of staying in stand-by mode. But I look at the "problem" from another angle: I do not want to hear any system sounds on my BT speaker at all, as I want to use it to play music and nothing else.

Basically, the problem is twofold. You have the phone on one side and the BT device on the other side. The latter may turn into stand-by mode (or not) when not used for a certain period and wake up triggered by new transmitted signals (or not); e.g. I have to activate mine manually after it has fallen asleep. So this is mainly depending on hardware (or its firmware to be precise), and on that side there is not quite much to do about it.

The problem is more difficult on the phone's side. But there I think it could be possible to change the main behaviour. Depending on the BT device's type there are specific configurations loaded. By these configs the phone decides which audio channel or pulseaudio sink (1) is transmitted to the BT device. To change configs used you could just go to Settings > System > Bluetooth, long-tap the paired device to show device settings and change the type, represented by those configs I mentioned. I think the configs can be found at /etc/bluetooth, but maybe there is more at another path. I would appreciate any hint on this, btw.

Simply put, if we find a way to create a config that allows system sounds like those from the keyboard typing not to be sent out, your headset would stay on stand-by and you would not hear any of the sounds even if it is awake again.

To say no more, this is where my present knowledge came to a bitter end and I had to raise a request: https://together.jolla.com/question/84999/make-output-of-notification-sounds-to-bluetooth-speaker-optional/ . Anybody is welcome to post his or her findings and we will maybe or hopefully solve this issue together soon :).

Of course another approach is to simply silence sounds. This way all system sounds are muted but you still can listen to your music or talk on the phone. You will not hear it ringing, though.

(1) Regarding pulseaudio sinks see documentation on pactl (e.g. here)

edit flag offensive delete publish link more

Comments

Is this not a bug when the system opens a stream without playing anything?

Thaodan ( 2015-05-27 00:18:42 +0200 )edit
1

The audible clicks when typing are sound files, too.

lakutalo ( 2015-05-27 00:43:39 +0200 )edit

But I have keyboard sound off.

Thaodan ( 2015-05-27 00:47:38 +0200 )edit
1

It is possible system still plays the clicks, only volume on pulseaudio is turned down to zero. That makes sense from the implementation viewpoint and you only noticed it when using BT, with wired headset or device speaker there is so low background noise it is undetectible.

juiceme ( 2015-05-27 06:25:35 +0200 )edit
1

Right, find the proper sink with pactl list sinks and then raise volume with pactl set-sink-volume [id of sink] [volume], then you will hear them again. As you probably do not want to hear anything at all, leave everything as is ;). The only way to get rid of activation of your bt headset is to change bt configs. Quite a lot of work for not too much output, but I would be glad to find a combatant.

lakutalo ( 2015-05-27 08:17:13 +0200 )edit
1

answered 2015-07-01 17:12:43 +0200

nick75 gravatar image

updated 2015-07-01 17:19:23 +0200

This topic is basically the same as this one : https://together.jolla.com/question/39278/bug-car-kit-mutes-radio-while-typing-alltough-keyboard-sounds-are-disabled/ Same behavior when the phone is connected to a Bluetooth carkit, which is more or less a headset.

edit flag offensive delete publish link more

Comments

The core of the problem seems to be the same. But that is not always obvious when looking at it from outside. It gets obvious by approaching to the core by discussing the symptoms.

lakutalo ( 2015-07-01 19:04:49 +0200 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2015-05-26 01:58:33 +0200

Seen: 466 times

Last updated: Jul 01 '15