![]() |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
@jaeezzy;
from monitoring lshal, here's what a connect and disconnect looks like - 08:06:04.813: computer_logicaldev_input_1 added 08:06:23.737: computer_logicaldev_input_1 removed and there is no change in the headphone/state file - it's always disconnected, so assume that's for the wired headset only. I ran a diff of lshal and the only bits that change when connected and disconnected is this line; udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_1' udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_0' First is connected, second is disconnected - so a simple sanity check for input_1 would suffice for NOT enabling the loudspeaker when the keyboard is slid open. |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
hi
no - one type only - bh-208 ciao Quote:
|
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
+1 for a configurable delay on switching. For me a second or so would probably suffice.
+1 for recognizing the usage of bluetooth headset as well. Good job and good suggestions. |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Quote:
Also, I hope one means 500 ms delay in popping speaker, not 50. And finally, I think that popping keys shouldn't exclude proximity - if keyboard is open, I want speaker to work regardless, when closed, proximity. Keyboard should override sensor, not replace it, IMO. |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Pretty hard to use the keyboard when it's stuck to your cheek, though (even if you do manage to pop it) so proximity alone would still give the desired result?
EDIT - unless you accidently cover the proximity sensor when using the keyboard I suppose :-) |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
That's the one, with the finger over the sensor. Happens by mistake, happens in car, etc. Popping the kbd ensures it doesn't blink on and off as I drive.
Also, the sensor isn't idiotproof. E.g., gets crazy from direct sunlight. Or rotating the phone with steering wheel. Or hair, if one has long hair and hols phone not at ear but not on table either, which is common in high-noise environment and if you are a girlfriend of a N900 owner :) Also, my said gf also has small ears, and refuses to smoosh the phone against the face until red (which I do because I am willing to suffer for hi-tech stuff), so it goes speaker-phone-speaker as the hair moves by or she moves. I vote for kbd override. |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
i like this project just the way it is pretty much, except when i use it in my car. my garmin gps and the n900 automatically connect when i get in the car, and the gps will answer a phone call automatically, but it seems as soon as the phone answers it switches the blue tooth feed to the n900 speakers and microphone. i can also dial a call from the garmin but as soon as the phone starts ringing it drops the garmin connection.
if the program would recognize the blue tooth connection as a top priority and not start the phone speakers i would be pretty happy. (of course holding the phone up to my head turns on the garmin again. so much for hands free.) |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Quote:
|
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Does this conflict with shortcutd for anyone? Seems it doesn't work reliable when I use proximity sensor in this app.
Edit: hmm shortcutd works randomly. |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Quote:
|
All times are GMT. The time now is 07:22. |
vBulletin® Version 3.8.8