![]() |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Uh I see. Thanks, I'll give it a shot :)
|
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
It it just my version, it it doesn't switch unless call is in progress (connected)? Switching when a call is outgoing but not connected is a good idea, otherwise once connected it takes a full two seconds to switch as needed, especially with keyboard switch.
|
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Ok now as it seems PR1.2 is yet not around the corner :( and despite suffering the dependency problems due to the excitement that dragged me to update scratchbox, I've still uploaded the latest version 0.1-8 in my #1 post here. Please find the changelog and the installation info under the UPDATES as always. It can't be installed via Application Manager so x-term is your only friend I guess. So:
1) Open xterm 2) sudo gainroot (Assuming you have rootsh installed) 3) cd to where you downloaded the file 3) dpkg -i --force-depends psswitcher_0.1-8_armel.deb Due to these limitation, I'ven't yet uploaded to devel but will do as soon as PR1.2 hits public. Hence, for now you can only download the file from my #1 post. And as always, 'll look forward for the feedback. Thanks |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Quote:
|
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Sweeeet!
I'll be testing on it soon. Thanks for all your hard work on this! EDIT: Newest update works great for bluetooth. |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
jaeezzy,
Any updates planned for this? I have a strange issue with bluetooth. Before making a call I switch on my bluetooth headset and my N900 pairs with the device just fine. I then attempt to make a call, The call screen comes up with the "Headset" option enabled, or Blue. Then as soon as the call starts (I hear the ringing sound), the headset option turns to grey and I get that popup that says it is handing over to handset. If I press the grey headset option it then works with bluetooth. Any ideas?? For the record I have my phone in a cradle in landscape orientation - I have tried both with keyboard open and closed and get the same results both times. Oh also I am doing all my testing making skype calls to the skype echo service, but I doubt that is causing the problem. |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Doesn't sound like an issue caused by pss. As far as I know, pss doesn't make any changes - it simply reads the value for attached devices and decides based on that.
I've been using it since we added the bluetooth detection, and have never encountered this. Ever. Uninstall and see if the problem persists. Jay, can you either provide the source for 1-8 or increase the delay selection from topping out at 4, to 10? Also, 1-8 is ready to be pushed to devel for PR1.2 :D |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Ok as suggested I uninstalled PSS - tried to use my headset and it worked flawlessly. Reinstalled PSS 1.8 and as soon as I make the connection it switches me from headset to speakers.
Jaezzy - is there any log that I can provide? |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
@atunguyd: Which version are you using? 0.1-7 in devel doesn't support bluetooth headset. You have to manually download 0.1-8 from the #1 post of this thread which supports bluetooth headsets. It was coz of PR1.2 thing :(. Sorry it doesn't log anything :D.
@hawaii: I'm working on it. Hopefully, I'll release 0.1-9 soon and push it to testing. NWZ, thanks for the feedback guys. |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Jaeezzy,
Definitly using 0.8 that I installed via the #1 post. As I said before too I removed it and reinstalled it. While it was removed bluetooth headset calls worked fine, but as soon as I add pss then it switches to speakers every time I try to make a call and my headset is paired. I have tried every setting in the PSS application but cant seem to get it to work. I will try my wife's headset and see if it is in some way related to my headset. Otherwise I can provide any debug you might want from me. |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Can confirm this partly. If i switch off the proximity sensor in settings when using bluetooth headset everything is fine.
So until this is fixed, i cannot use pss with proximity sensor. What a pity. Regards, davall |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Oddly enough, I don't encounter this issue. It works as it should for me. When I have my headset / A2DP paired, sliding out the keyboard or covering/uncovering the proximity sensor doesn't activate the loud speaker.
I've tested every possible way I can think of, pairing before a call, pairing and transferring audio during a call, dropping bluetooth off, turning off the headset without disconnecting. No idea why this would be. |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Quote:
|
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Same values here as last time. Can we just confirm what type of hardware everybody is using? I'm not sure if BT profiles are being set differently. I'm using headphones and A2DP at all times during my testing.
|
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Quote:
In xterm i only get battery status info with lshal -m On the desktop i get the yellow notice that it is connected with the BMW bluetooth car kit. Any clue? |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Quote:
If you've decided to go ahead :D here's what you can do in x-term in N900: lshal >> ~/before_conn (before connecting to BT) lshal >> ~/after_conn (after connecting to BT) gdiff before_conn after_conn and let me know the output. |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
So this isn't a headset you're using? Can the other poster confirm what hardware they are using so we can track this issue down?
|
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Quote:
--------------snip 40,41c40,41 < battery.charge_level.percentage = 100 (0x64) (int) < battery.charge_level.rate = 0 (0x0) (int) --- > battery.charge_level.percentage = 99 (0x63) (int) > battery.charge_level.rate = 1 (0x1) (int) 43c43 < battery.reporting.rate = 0 (0x0) (int) --- > battery.reporting.rate = 1 (0x1) (int) 98c98 < battery.voltage.current = 4141 (0x102d) (int) --- > battery.voltage.current = 4111 (0x100f) (int) --------------snip end Regards davall PS: I'm using the n900 in a BMW car with integrated bluetooth headset/car kit |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Quote:
|
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Hi, the package 0.1-9 is in testing now.. Infos are listed in my #1 post as usual under "Updates" :) thanks
|
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
For the record my bluetooth headset is a motorolla HS850. No matter what settings I have in PSS it always switches to the speakers when I have my headset active.
|
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Quote:
|
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
The new versions is flawless over here so far (no BT headset here). Thank you!
|
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Hi there,
Frst of all thanks for such a goood utility... a v good one.. But..i have the same problem. with bluetooth headset. I use Nextlink's G5 headset. if i use lshal -m, it says Start monitoring devicelist: 20:29:39.222 property battery.voltage.current = 4066 (0fe2) (NB: my settings DONT disable proximity even when keyboard slided) and similar voltage current readings- probably becos i was charging my mobile as well. do i expect my bluetooth device to be listed here? Except for this issue, i find this app extremely useful. Please help to fix this. Thanks. |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Quote:
1) run lshal -m in xterm 2) then connect your bluetooth headset(xterm should register sth at this point) 3)then again disconnect(optional) EDIT: about proximity not deactivating, can you plz tell me more whats exactly is happenin: When proximity and keyboard is checked in the settings, then only sliding out keyboard disables proximity. |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Thanks for the reply matey...
I did the following 1) run lshal -m in xterm 2) then connect your bluetooth headset(xterm should register sth at this point) 3)then again disconnect(optional) nothing other than battery voltage,battery reporting current and remaining time. However, I do see the yellow bar msg on the top of the screen "Connected to Invisio G5". The headset works, no doubt :D Regd. the proximity, I guess i wasnt clear.. What i meant is that my settings is set such that proximity sensors wont be deactivated, sliding out keyboard. I mean this is an additional info, if it helps debugging the above mentioned issue. Also to add, i tried enabling and disabling visibility. No luck, the same battery stuff. pleasz help!! |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Quote:
Are you saying that you have unchecked "Use Keyboard Slides" so that proximity wont be deactivated even when you slide out keyboard? If so then it should coz I just checked mine and no problem(unchecking keyboard option doesn't deactivates proximity while keyboard's slided out) and btw it shouldn't be connected to the bt headset issue. |
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Ok, I guess i need to wait then, right??. Anyways, regd that proximity thing, I guess we have confused over that. basically forget that. It was never a issue. I just gave u the complete scenario. as u pointed out it doesnt really matter. Btw, show i manually install any dependencies?
|
Re: [ANNOUNCE] Phone Speaker Switcher - turns speakers on/off during call
Quote:
Quote:
NOTE: For until its fixed, when using proximity, if you are using BT headset and its not working the way it should, you can use your phone normally, i.e while making/answering call, by half-pressing camkey(half-press camkey and click button to call/answer). This will disable proximity for that conversation. However, proximity can be enabled by camkey button again during the same conversation. |
Re: [ANNOUNCE] Phone Speakers Switcher - turns speakers on/off during call
Hi jaeezzy,
Any update on the bluetooth headset issue. I am still battling with this. If I answer or make a call with my bluetooth headset on the call immediatly gets re-directed to speakers. If I press the headset button on the screen it goes back to the headset, but that is a real pain and really defeats the whole reason for the bluetooth headset. So far I have tested this on my motorolla headset, my wifes nokia headset and also my cars built in bluetooth abd all three do the same thing. Let again state that this application of yours is in my opinion 100% the best application so far for the N900 and I love flaunting it infront of the iPhone users who are trying to press the loudspeaker button and listen to the phones at the same time. I think the only thing outstanding is the bluetooth issue. If you are happy to release the source I am happy to help work on the issue too. |
Re: [ANNOUNCE] Phone Speakers Switcher - turns speakers on/off during call
Quote:
EDIT: I've added the source files as .tar in #1 post. Thanks |
Re: [ANNOUNCE] Phone Speakers Switcher - turns speakers on/off during call
sorry for I forgot if I've already asked this question but guys having problem with BT headset, are youse using stock or titan's enhanced kernel?
EDIT: My bad, I completely missed out stock kernel :D as it's working on titan's kernel but having problem in stock kernel. |
Re: [ANNOUNCE] Phone Speakers Switcher - turns speakers on/off during call
1 Attachment(s)
Here's the new version of psswitcher-0.2. I've added feature to answer call as well like ending call - long pressing camera button. NOTE: you have to give at least couple seconds before you can either answer/end calls. I've not yet added it to devel for I want to see how it goes otherwise its useless. About the bluetooth headset issues, when I first switched to stock kernel from titan's one, I'd bt issue as well, but now its gone and hopefully it does for others having problem with it as well :D. Anyway, if the problem still persists, can youse please run it as /usr/sbin/PSSwitcher from xterm and let me know the output while connecting/disconnecting bt headset. Note, you have to first run it then only add/remove bt headset or make/answer calls. Thanks
EDIT: This package is updated though not the version. So, plz reinstall coz it fixes one silly error addresed in bugs report :) |
Re: [ANNOUNCE] Phone Speakers Switcher - turns speakers on/off during call
Just to let know of the updated .deb file in my prev post. I've not updated the verson number but now it fixes the keyboard opend issues when connected via bt or headphone.
Notes: 1) if the package is installed with the device already connected to bt headset, it won't recognize bt headset. You have to disconnect and reconnect it. 2) Answering call by long pressing the camera button doesn't work sometimes as expected if its done immediately when the connection is established. Plz give at least 2 - 3 sec before doing so. 3) Similar while ending call, if the call is answered by answering machine, you have to give it do its talking for a while before you can actually end the call long pressing the camera button. 4) If you are still having problem with bluetooth headset, plz run the program in xterm with /usr/sbin/PSSwitcher and disconnect and reconnect bt headset and it should print its UDI if registered at all. thanks |
Re: [ANNOUNCE] Phone Speakers Switcher - turns speakers on/off during call
This for me is one of the most useful apps for the N900, but... if I could request a few enhancements:
(I only use the proximity sensor setting, all other settings are switched off and I don’t have blue tooth) 1. The app's functionality miss behaves for me, bit of a iPhone4 problem as I obviously hold it incorrectly, because I press the camera key by mistake and the proximity sensor gets switched off. This probably happens because the camera key only requires the slightest pressure to operate it and been right handed my thumb sits between the power and camera buttons. To prevent this could you add another setting that becomes available when the "Use Proximity Sensor" setting is selected, that allows controlling of the proximity sensor, with the camera button, to be switched off. 2. Another option that would be nice to have when using the proximity sensor to control the speakers would be, when making/answering a call (perhaps making/answering controlled separately) to have the speaker activate immediately on dialing/answering. This would be useful when making a call as you wouldn't have to hold the phone to your ear to listen for the call to be answered, this would be similar (ish) to http://talk.maemo.org/showthread.php?t=55886 Then again perhaps you could add a vibration setting for when the call is answered as this little app is rapidly becoming a complete call controller app, hmmm… maybe call ID screening as well… ;) |
Re: [ANNOUNCE] Phone Speakers Switcher - turns speakers on/off during call
jaeezzy,
I installed the new version and still have the bluetooth headset issue. I ran PSSwitcher from xterm and there was nothing reported when I connected my bluetooth headset. You mentioned kernels earlier. I think am using titan's kernel. The output from a uname -r is: 2.6.28.10power37 |
Re: [ANNOUNCE] Phone Speakers Switcher - turns speakers on/off during call
Quote:
|
Re: [ANNOUNCE] Phone Speakers Switcher - turns speakers on/off during call
Quote:
About switching to speakers, it switches to speakers immediately as soon as the ringtone starts if delay is set to "None" and accordingly for others. |
Re: [ANNOUNCE] Phone Speakers Switcher - turns speakers on/off during call
jaeezzy,
One suggestion - untill the bluetooth issue is fixed can there be a menu option that auto switching is disabled when either the keyboard is open or prehaps the camera cover is open. This way when I get into the car all I need to do is open the keyboard and I know that I can use my bluetooth without the phone automatically switching to the speakers. I will try help and see if I can figure out how to detect the bluetooth - I have 12 years writing embedded software for set top boxes (including linux one) so I probably have the skills I just need to get the time together to work out how to install the SDK and get the build environment up and running. Just too busy at the moment with a project that we are working one. Maybe HAL is not what you should be monitoring - have you looked into dbus? I ran dbus-monitor from the command line today and saw the following: Connect to my motorolla headset: Code:
signal sender=:1.2 -> dest=(null destination) serial=148 path=/org/maemo/Playback/Manager; interface=org.maemo.Playback.Manager; member=BluetoothOverride Code:
signal sender=:1.2 -> dest=(null destination) serial=149 path=/org/maemo/Playback/Manager; interface=org.maemo.Playback.Manager; member=BluetoothOverride Code:
signal sender=:1.2 -> dest=(null destination) serial=146 path=/org/maemo/Playback/Manager; interface=org.maemo.Playback.Manager; member=BluetoothOverride Code:
signal sender=:1.2 -> dest=(null destination) serial=147 path=/org/maemo/Playback/Manager; interface=org.maemo.Playback.Manager; member=BluetoothOverride |
Re: [ANNOUNCE] Phone Speakers Switcher - turns speakers on/off during call
2 Attachment(s)
Jaeezzy:
More info - the last dump i got was from using dbus-monitor which by default only logs the user session dbus messages. Logging the system messages with dbus-monitor --system is far more revealing and is in the attached files. As you can see there are definitly messages being sent to the bluez bluetooth stack telling it that the headset is being connected and disconnected - i think if you can get this stack to send you a message via dbus you will be good to know when any sort of bluetooth device has connected or disconnected. |
All times are GMT. The time now is 05:47. |
vBulletin® Version 3.8.8