Re: Bluetooth headsets to the resque (was: Re: Buzz Issues - Last Questions, I promise)
On Fri, 20 Mar 2009 18:18:42 +0300 Paul Fertser fercer...@gmail.com wrote: Sorry, i can't answer to any of these questions, but i want to notify you and other community members that support for bluetooth headsets in FSO is coming and it will have neither buzz nor echo issues. When testing my bluetooth headset in FSO, I had big problems with the sound quality. I'll quite my own mail from the thread Re: Problems with ASoC and Bluetooth routing: Another (I guess unrelated) problem I have is that the sound through the headset is quite bad. I hear a faint echo of myself and the sound has a sharp metallic tone to it. My girlfriend in the other end also complained that the sound was so low that it was difficult to hear the conversation. Perhaps it's possible to resolve these things with better ALSA state files, but at least when I tried it, the sound was actually better through the phone. Anyway, the A2DP sound is quite good, so I suppose there is hope :-) // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Bluetooth headsets to the rescue
On Sat, 21 Mar 2009 11:23:40 +0300 Paul Fertser fercer...@gmail.com wrote: Another (I guess unrelated) problem I have is that the sound through the headset is quite bad. I hear a faint echo of myself and the sound has a sharp metallic tone to it. My girlfriend in the other end also complained that the sound was so low that it was difficult to hear the conversation. Are you sure the echo of yourself is definetely bluetooth-related? Because there're quite some cases in gsm communications where one can hear echo of his voice, i had this myself numerous times using regular dumb cell phone. No, I'm not sure. It might not be bluetooth-related, but perhaps is caused by the mixer settings. I don't hear my own echo when talking without the bluetooth headset though. As to the low signal fed to calypso, well, just look at the sound routing diagram and tweak mixer settings, i guess that's an easy one to fix. Yes, and maybe the metallic sound is possible to fix with this as well. I've tried changing mixer settings in alsamixer somewhat at random (basically turning all knobs), but wihtout getting any real improvement. Anyway, I'm sure it's possible to get this working some way and at least for me it would be a huge usability improvement of the phone. // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Bluetooth headsets to the rescue
On Sat, 21 Mar 2009 15:13:07 +0300 Paul Fertser fercer...@gmail.com wrote: No, I'm not sure. It might not be bluetooth-related, but perhaps is caused by the mixer settings. I don't hear my own echo when talking without the bluetooth headset though. Is it statistically-proven? I don't claim to test these things statistically :-) It's just the feeling I get after having tested both methods in the same location. I'd just like to encourage other people to try it out and get their own feeling for how it works. Perhaps it's better elsewhere, I don't know, but I would guess that the ALSA state files need some work. If you don't believe me, just try it yourself. If you get better results, let the world know! Yes, and maybe the metallic sound is possible to fix with this as well. I've tried changing mixer settings in alsamixer somewhat at random (basically turning all knobs), Hm, you know about http://wiki.openmoko.org/wiki/Neo_1973_audio_subsystem routing diagram with alsa control names, don't you? Yes. I spent a lot of time trying to get this working as you can see from the previous mail threads. // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: GTA03 Touchscreen Capacitive (was Re: OT: iPhone howto)
On 2/27/09, Matthias Apitz g...@unixarea.de wrote: Ok, as I think that we have now exchanged enough good arguments to stay with resistive in GTA03 and I have not seen any strong argument to move to capacitive screen, I don't think we can draw this conclusion, it's your opinion. What we can say is this: - Capacitive touch screens have some advantages - Resistive touch screens have some advantages - They *both* have disadvantages Different features are more important to different people, so some will prefer resistive and some will prefer capacitive. It's up to openmoko to make their decision which way to go depending on what they think their device should do. What is clear from the discussion (and previous discussions about the same thing) is that the community is divided in this issue, we can't recommend either way just give our opinions. Some people will want built in rocket launchers in their phone, some will want a phone shaped as a flying pig. But not all. So as far as I'm concerned: Please make the decision, dear Openmoko, and be sure that the community will be happy and disappointed whatever way you decide to go. And I think further discussion of this topic is meaningless now. // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: GTA03 Touchscreen Capacitive (was Re: OT: iPhone howto)
While I'd like a capacitive touch screen for GTA03, I'm pretty sure that Openmoko has already made up its mind for one of the solutions and I don't think we can change it here. I'm fine with that. On Thu, 26 Feb 2009 17:45:10 + Rui Miguel Silva Seabra r...@1407.org wrote: However the following are what makes a resistive screen clearly better, for me and my usage: FEATURECAPACITIVE RESISTIVE -- CAN use stylus NO(1) YES CAN use finger YES YES Stylus is OPTIONAL N/A(1) YES Has PRECISION NO YES There are other features which other people will value more. For me, scratch-resistance is important for example - which is easier to get with capacitive touch screens. // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: GTA03 Touchscreen Capacitive (was Re: OT: iPhone howto)
On Thu, 26 Feb 2009 19:38:03 +0100 Bernd (Jesus McCloud) PrĂ¼nster bernd.pruens...@gmail.com wrote: a little OT, but... why have you folks been waitong for so long to discuss/complain about that it's been in the wiki for weeks(months?)? It has been discussed on this list since at least last summer, MANY times. People disagree on this issue and it tends to end up in close-to-flamewars. // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [FSO] Any luck with bluetooth headsets?
On Sat, 21 Feb 2009 19:47:37 -0800 (PST) c_c cchan...@yahoo.com wrote: I've tried both a Nokia BH-604 and a SonyEricsson HBH-PV700, both work for outgoing audio but not incoming. There's been some discussion about the voice-recording.state on the ML. Seems like the DAI mode 1 has implementation problems. Maybe we need to try voip-headset.state. Just a thought - haven't gotten around to doing that yet. Tried that, but that one with BH-604 is simply quiet in both ends. I also saw the DAI discussion, but I don't understand the issue well enough to know what to do. It feels like we are very close but not quite there yet. // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [FSO] Any luck with bluetooth headsets?
On Sun, 22 Feb 2009 16:54:58 +0800 Andy Green a...@openmoko.com wrote: | I also saw the DAI discussion, but I don't understand the issue well | enough to know what to do. It feels like we are very close but not | quite there yet. As I understand it, the problem with CPU digital audio on BT is that there is no routing path in the WM8753 hardware between the two digital audio interfaces (CPU and BT). As in literally it's not there in the chip. Maybe there's some way to meddle it through the ADC and DAC but other than that it doesn't work IIUI. Hmm... What does this mean then? Is this to say that streaming voice from the GSM directly to BT isn't possible as described on http://wiki.openmoko.org/wiki/Neo1973_Audio_Subsystem ? I'm not actually sure what I'm really using, but I suppose that would be done through the CPU anyway? What could be the reason that outgoing audio works but not incoming? IIUI - If I understand it? I'm too old for internet vernacular :-) // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [FSO] Any luck with bluetooth headsets?
On Sun, 22 Feb 2009 12:36:30 +0300 Paul Fertser fercer...@gmail.com wrote: Routing audio between SoC and Bluetooth should be possible through HCI (that is, BT is connected via USB to SoC). The chips shipped in the Freerunners have default eeprom setting (they call it ps keys) to route SCO audio (i think that doesn't affect A2DP) over PCM interface. As I described on http://wiki.openmoko.org/wiki/Bluetooth_headset I set the bluetooth configuration up to use PCM HCI routing since org.bluez.audio.Headset.Connect does not work for otherwise. Maybe this isn't needed though if you use HCI routing? [Caveat: I don't really know what I'm talking about here!] // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [FSO] Any luck with bluetooth headsets?
On Sun, 22 Feb 2009 17:23:10 +0530 Carl Lobo carll...@gmail.com wrote: Using SCORouting=HCI is what you would do on a standard laptop to get the headset working. After setting up using ~/.asoundrc using bluetooth as the name for the headset config I can use the headset on my laptop with something like arecord -D bluetooth -f S16_LE | aplay -D bluetooth -f S16_LE works - as in I could hear my own voice through the earplug of the bluetooth headset (I had tried this a long while back with bluez 3.3[63] I think). The same thing did not work on the FR. I tried this now as well, but it fails with ALSA lib pcm_bluetooth.c:1593:(bluetooth_init) BT_GETCAPABILITIES failed : Unknown error 240(240) aplay: main:546: audio open error: Unknown error 240 Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono Warning: rate is not accurate (requested = 8000Hz, got = 16000Hz) please, try the plug plugin (-Dplug:bluetooth) (although I hear that the headset does something). It also fails with -Dplug:bluetooth. However, this way, I'm able to play back oggs with mplayer (choppy), so it's doing something right at least. After that mdbus -s org.bluez /org/bluez/1387/hci0/dev_00_21_3C_07_5E_8E org.bluez.Headset.Connect I didn't get this working though, I get Connect failed: org.freedesktop.DBus.Error.UnknownMethod when trying various combinations of paths there. // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [FSO] Any luck with bluetooth headsets?
On Sun, 22 Feb 2009 17:43:20 +0300 Paul Fertser fercer...@gmail.com wrote: With SCORouting=PCM I did get static and some sought of noise once the control connection was established... Probably you'd get sound if you routed any source inside WM8753 to the bluetooth DAI. [...] Please see the new routing diagrams of the wiki, they make routing and DAI modes more clear. I'm trying to follow these diagrams - I assume you mean the diagrams under ALSA Channels on the wiki page [1]? For GSM-BT, DAI mode 0 should be used, which I guess corresponds to this switch in the alsa state file: control.50 { comment.access 'read write' comment.type ENUMERATED comment.count 1 comment.item.0 'DAI 0' comment.item.1 'DAI 1' comment.item.2 'DAI 2' comment.item.3 'DAI 3' iface MIXER name 'DAI Mode' value 'DAI 0' } Since the mic on the bluetooth headset works, I presume that the basic setup should be OK, but that the controls are somehow wrong. The configuration file I use is [2], which the author states has worked before two-way. I've tried to follow the diagrams, and to me it seems like the setup shown in the diagram under Using Bluetooth headset with GSM should be valid. As far as I can tell, the state file also sets this up (knobs 54,57,58,64,65,62). Could the Digital filters block can be setup wrong and effectively mute outgoing sound? // Simon [1] http://wiki.openmoko.org/wiki/Neo1973_Audio_Subsystem#using_Bluetooth_headset_with_GSM [2] http://www.robsims.com/GSMBLUETOOTH.txt ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [FSO] Any luck with bluetooth headsets?
On Sun, 22 Feb 2009 19:48:33 +0100 Simon Kagstrom simon.kagst...@gmail.com wrote: Since the mic on the bluetooth headset works, I presume that the basic setup should be OK, but that the controls are somehow wrong. [...] Could the Digital filters block can be setup wrong and effectively mute outgoing sound? One more datapoint: /sys/devices/platform/soc-audio/dapm_widget contains the values below, and the difference compared to gsmhandset.state is only these: --- /tmp/standard Sun Feb 22 20:31:29 2009 +++ /tmp/bt Sun Feb 22 20:39:53 2009 @@ -1,9 +1,9 @@ Handset Spk: Off Handset Mic: Off Headset Mic: Off -GSM Line In: Off -GSM Line Out: Off -Stereo Out: On +GSM Line In: On +GSM Line Out: On +Stereo Out: Off Mic 2 Volume: Off Mic 1 Volume: Off ALC Mixer: Off which seems a bit *too* small to me. In particular, I'd like Right Capture Volume and/or Left Capture Volume to be set to on instead. From looking at the diagram, I think that would make sense at least. I haven't figured out how to affect these still from looking in the state file and in the driver though. // Simon Handset Spk: Off Handset Mic: Off Headset Mic: Off GSM Line In: On GSM Line Out: On Stereo Out: Off Mic 2 Volume: Off Mic 1 Volume: Off ALC Mixer: Off Right Capture Volume: Off Left Capture Volume: Off Right ADC: Off Left ADC: Off Playback Mixer: Off Out 4: Off Out 3: Off Out3 Left + Right: Off Voice DAC: Off Mono Out 2: Off Mono Out 1: Off Mono Mixer: Off Right DAC: Off Right Out 2: Off Right Out 1: Off Right Mixer: Off Left DAC: Off Left Out 2: Off Left Out 1: Off Left Mixer: Off Mic Bias: Off PM State: Standby ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
[FSO] Any luck with bluetooth headsets?
Hi! I'm trying to get my bluetooth headset to work for calls on the freerunner. I have mixed results so far, literally - the other end can hear my voice but I hear nothing. I've created a Wiki page with a howto on http://wiki.openmoko.org/wiki/Bluetooth_headset which will give you a headset with static noise (good start, right!). After that I've tried to follow these pages http://wiki.openmoko.org/wiki/Neo1973_Audio_Subsystem http://wiki.openmoko.org/wiki/Neo_Freerunner_audio_subsystem and have most luck with GSMBLUETOOTH.txt, which gives me good outgoing sound. After the steps on my wiki page I do this to setup the bluetooth connection after the call has been answered: alsactl restore 0 -f GSMBLUETOOTH.txt ./bluetooth_pcm but from here I'm lost. I'm running FSO milestone 5 - have anyone else got this working and if so, what did you do? // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [FSO] Any luck with bluetooth headsets?
On Sat, 21 Feb 2009 21:02:22 +0200 Timo Juhani Lindfors timo.lindf...@iki.fi wrote: Simon Kagstrom simon.kagst...@gmail.com writes: I'm trying to get my bluetooth headset to work for calls on the What's the model? I've tried both a Nokia BH-604 and a SonyEricsson HBH-PV700, both work for outgoing audio but not incoming. // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Questions about the usability of GTA02
On Tue, 10 Feb 2009 11:25:25 + Al Johnson openm...@mazikeen.demon.co.uk wrote: I think the only way around this is to use a Bluetooth headset, but I don't think the Bluetooth headset profile works in the version of the bluetooth stack (bluez-3) that's on the Freerunner now. I'm sure Angus Ainslie reported he had it working some time ago with bluez-3. I thought it was just the A2DP part that may require bluez-4. It might be the other way around :-) I have A2DP working with bluez-3, as described on the A2DP page on the wiki. Probably it will work with bluez-4 as well, but I've so far not had any luck with FSO (perhaps due to some package mixup). I really wish bluetooth would be less hassle to setup - it's not exactly rocket science after all. I guess the headset profile should work fine as well, but I've not tried that so far. // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: A2DP success with Nokia BH-604
On Sun, 08 Feb 2009 21:36:03 +0100 arne anka openm...@ginguppin.de wrote: I just wanted to mention that after following Lothar Behrens and Steven Kings instructions for Jabra BT3030 I've got A2DP working for my Nokia BH-604 headset as well. could you put that together and make it into a wiki page? resp update the relevent wiki page? I added this page which now mostly just contains a HOWTO: http://wiki.openmoko.org/wiki/A2DP I've removed most of the A2DP stuff from http://wiki.openmoko.org/wiki/Manually_using_Bluetooth#Advanced_Audio_Distribution_Profile_.28A2DP.29 (I don't believe it was working anyway). // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
A2DP success with Nokia BH-604
Hi! I just wanted to mention that after following Lothar Behrens and Steven Kings instructions for Jabra BT3030 I've got A2DP working for my Nokia BH-604 headset as well. The result is good (at least with Patti Smith/Easter and Leonard Cohen/Songs from a room!): sound is crisp and without buzz as far as I can hear. Maybe a bit more bass would be nice, but I think that's a headset problem. I can walk around in the apartment without skips, which is actually much better than on my laptop where that never really worked. The problems I had was first that my FDOM install had some older bluetooth packages. Check your versions against those in Lothars mail and see to it that they match. The other issue I had was this message: Error org.freedesktop.DBus.Error.UnknownMethod: Method Connect with signature on interface org.bluez.audio.Sink doesn't exist when running dbus-send --system --type=method_call --print-reply --dest=org.bluez /org/bluez/audio/device0 org.bluez.audio.Sink.Connect If you get this, check what device name you got in the step before. I had device4, so replace device0 with that in the dbus-send. Now I just need to get the phone calls routed this way as well. // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: A2DP success with Nokia BH-604
On Sun, 8 Feb 2009 21:40:01 +0100 Yorick Moko yorickm...@gmail.com wrote: On Sun, Feb 8, 2009 at 9:36 PM, arne anka openm...@ginguppin.de wrote: I just wanted to mention that after following Lothar Behrens and Steven Kings instructions for Jabra BT3030 I've got A2DP working for my Nokia BH-604 headset as well. could you put that together and make it into a wiki page? resp update the relevent wiki page? that would be greatly appreciated, When my bt receiver arrives I will also give it a try :) I'll put something together tomorrow, but for now the best way is to read the Jabra BT3030 thread. // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Jabra BT3030 experience anywhere ?
Hi! (Awakening this old thread again) On Mon, 19 Jan 2009 10:33:25 +0100 Lothar Behrens lothar.behr...@lollisoft.de wrote: I have no success on FDOM at the stage: ~#dbus-send --system --type=method_call --print-reply -- dest=org.bluez /org/bluez/audio org.bluez.audio.Manager.CreateDevice string:XX:XX:XX:XX:XX:XX Error org.freedesktop.DBus.Error.UnknownMethod: Method CreateDevice with signature s on interface org.bluez.audio.Manager doesn't exist I saw you fixed this later by installing some package. I'm trying to do the same thing with the latest FSO, milestone 5, but have no luck - I get the same message as you. I've tried looking for bluetooth packages, but I've now installed everything I can find. It looks like a Dbus issue, someone knows how to solve these things? // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Accelerometers in Kernel 2.6.28-rc4
On Tue, 3 Feb 2009 11:53:15 +0100 Michael Tansella michael-tanse...@gmx.de wrote: There is a quick workaround for this that can be done I believe. Any hint where I can find this workaround, then I'll post it to the wiki? The fix should now be in the latest andy-tracking kernel: http://git.openmoko.org/?p=kernel.git;a=shortlog;h=andy-tracking It has been discussed on the kernel list as well, and for at least one of the patches I'm not sure if it's the right way to go. Anyway: For your purposes I think the current andy-tracking branch will work very well. // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Accelerometers in Kernel 2.6.28-rc4
On Sat, 24 Jan 2009 10:35:14 +0100 Michael Tansella michael-tanse...@gmx.de wrote: When I read out the Acc values I get strange values. I set the device to 100 Hz that means I should get one (3D) value every 10 ms but I get two even with a different time stamp whitch differs round about 0.4 ms. Because of the axis orientation it cannot be from the second Accelerometer. So where does this additional (3D)value come from? Two at the price of one :-) Could you test to set the threshold value to something low, e.g., 18 or so? Also check the threshold file afterward you've set it so that it's not zero, values which are too low to be represented by the threshold code get rounded down. This log I recorded from the first accelerometer with 100 Hz. (If set to 400 Hz I get two values every 2.5 milliseconds, the same problem) Do you have this test program to share? Thanks, // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Accelerometers in Kernel 2.6.28-rc4
On Sat, 24 Jan 2009 17:21:09 +0100 Michael Tansella michael-tanse...@gmx.de wrote: I made a mistake. I do not really get two different values I get twice the same (3D) value but a different timestamp (see below). But anyway this is not correct. I don't want to set a threshold, because I need every value with an equidistant timestamp. Well, it was more to see if the behavior changes with the threshold, but anyway: Any idea what's going wrong? Looking at http://wiki.openmoko.org/wiki/Accelerometer_data_retrieval#Data_acquisition are you sure this isn't just the synchronization events? |- time --| |type| |code| |-value-| 8c66 4819 721c 0006 0002 0002 03a8 8c66 4819 7222 0006 --- Time looks quite close to the last non-sync events 8c66 4819 99e6 0006 0002 0048 --- Larger time distance and real data 8c66 4819 9a36 0006 0002 0001 0024 8c66 4819 9a50 0006 0002 0002 0396 8c66 4819 9a57 0006 --- Another sync message, small time distance I'm no expert on the data format though. // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: 2008.12 and USB network Ubuntu Intrepid
On Mon, 22 Dec 2008 23:11:00 +0100 Pander pan...@users.sourceforge.net wrote: What complete set of configuration changes and shell scripts are you using? Please update the Wiki if it is out of date because once I got it running and now (because I'm not a networking/iptables crack) it is not anymore. Thanks. Probably the wiki instructions work for some/most distributions, I was just unable to get it working for Ubuntu (Hardy heron). What I do is just iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 sysctl -w net.ipv4.ip_forward=1 and then run the script I pasted. The above stuff is from the Wiki. There is probably some proper fix for the problem, but I don't know how it's supposed to work (editing /etc/network/interafces doesn't work for me at least). // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: 2008.12 and USB network Ubuntu Intrepid
On Mon, 22 Dec 2008 02:51:35 -0800 (PST) Bernt be...@trash-mail.com wrote: On FR I've installed 2008.12 and on my laptop Ubuntu Interpid with wicd. I have to use `sudo ifdown usb0` and `sudo ifup usb0` every time I reboot or unplugged the usb cable from my freerunner. It's not so nice, but you can give it a try until there is a solution again for automatic reconnect. Probably there is some proper fix to get this running cleanly, but I resorted to a simple script that simply configures the interface when I plug in the freerunner. It's found below and I just start it manually once after logging in. // Simon #!/bin/sh echo Starting ifcfg daemon while [ 1 ]; do tail -F /var/log/kern.log | grep -lq usb0: register 'cdc_ether' if [ $? -eq 0 ]; then echo Setting up usb0 /sbin/ifconfig usb0 192.168.0.200 else sleep 1 fi done ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Bluetooth headset GUI configuration
On Sun, 21 Dec 2008 17:29:07 +0530 Carl Lobo carll...@gmail.com wrote: dbus-send --system --type=method_call --print-reply --dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.CreateBonding string:mac but all I get is Error org.bluez.Error.AuthenticationRejected: Authentication Rejected You can try to run the command passkey-agent --default pin in another ssh console before the dbus-send command. I managed to create a bonding but no sound on my Jawbone 2 with either the Btcpu or gsm_headset.txt files found in the wiki. It shows me that it's playing in the logs. Sounds promising! What distribution are you running? What steps did you take after the bonding? // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Bluetooth headset GUI configuration
On Fri, 19 Dec 2008 21:46:48 -0700 Angus Ainslie angus.ains...@gmail.com wrote: On Fri, Dec 19, 2008 at 12:52 PM, Denis Shulyaka shuly...@gmail.com wrote: 2008/12/19 Simon Kagstrom simon.kagst...@gmail.com: I've tried these instructions on both FSO and SHR now, and it works on neither of them. BtConfigure.py never finishes after having entered the PIN. Same here on FDOM. I get DBus error in console, I didn't dig any further. Which DBus error ? It hangs for a long time and then the last messages are Name : Nokia BH-604 Address : 00:0D:3C:B0:38:8D Not Bonded Signal: RemoteDeviceFound(00:0E:9B:DE:7E:F2, 0x8010C, -55) Signal: RemoteDeviceFound(00:0E:9B:DE:7E:F2, 0x8010C, -52) Signal: RemoteDeviceFound(00:0E:9B:DE:7E:F2, 0x8010C, -50) Signal: RemoteDeviceFound(00:0E:9B:DE:7E:F2, 0x8010C, -51) Signal: RemoteNameUpdated(00:0E:9B:DE:7E:F2, lska2-0) Signal: DiscoveryCompleted() Restart Discover : False Signal: DiscoveryStarted() Traceback (most recent call last): File ./BtConfigure.py, line 229, in connect sec.RegisterPasskeyAgent( self.PATH, address ) File /usr/lib/python2.5/site-packages/dbus/proxies.py, line 140, in __call__ **keywords) File /usr/lib/python2.5/site-packages/dbus/connection.py, line 622, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. (again this is FSO) // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Bluetooth headset GUI configuration
On Fri, 19 Dec 2008 20:54:36 + Al Johnson openm...@mazikeen.demon.co.uk wrote: r...@om-gta02:~# dbus-send --system --print-reply --dest=org.bluez /org/bluez org.bluez.Manager.ActivateService string:audio Error org.bluez.Error.NoSuchService: No such service it seems like bluez-utils have been compiled without --enable-audio. Could this be the problem? Do you have bluez-audio or bluez-utils-alsa installed? They aren't in FSO by default. Right, that's it. I did opkg install bluez-audio opkg install bluez-utils /etc/init.d/bluetooth stop /etc/init.d/bluetooth start and now the audio service is there. However, I still can't get the connection to actually work. I've tried to pair with my computer: dbus-send --system --type=method_call --print-reply --dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.CreateBonding string:mac but all I get is Error org.bluez.Error.AuthenticationRejected: Authentication Rejected With FSO I also get some kernel problems (2.6.24) when releasing the reset: usb 1-1: new full speed USB device using s3c2410-ohci and address 3 usb 1-1: configuration #1 chosen from 1 choice sysfs: duplicate filename 'hci_usb' can not be created WARNING: at fs/sysfs/dir.c:424 sysfs_add_one() [c002ebec] (dump_stack+0x0/0x14) from [c00d7abc] (sysfs_add_one+0x50/0xfc) [c00d7a6c] (sysfs_add_one+0x0/0xfc) from [c00d81b8] (create_dir+0x58/0xa8) r6:fff4 r5:c7085e48 r4:c7f1cab4 [c00d8160] (create_dir+0x0/0xa8) from [c00d8248] (sysfs_create_dir+0x40/0x60) r8:0008 r7:bf001e6c r6:bf003568 r5:bf003520 r4:bf003568 [c00d8208] (sysfs_create_dir+0x0/0x60) from [c0165aec] (kobject_add+0xf4/0x1d0) r4:bf003568 [c01659f8] (kobject_add+0x0/0x1d0) from [c00697e4] (mod_sysfs_setup+0x28/0xb4) [c00697bc] (mod_sysfs_setup+0x0/0xb4) from [c006aa04] (sys_init_module+0xf90/0x14bc) r8:c886ca04 r7:c886cbbc r6:bf003520 r5: r4:bf001e6c [c0069a74] (sys_init_module+0x0/0x14bc) from [c0029f40] (ret_fast_syscall+0x0/0x2c) kobject_add failed for hci_usb with -EEXIST, don't try to register things with the same name in the same directory. [c002ebec] (dump_stack+0x0/0x14) from [c0165b7c] (kobject_add+0x184/0x1d0) [c01659f8] (kobject_add+0x0/0x1d0) from [c00697e4] (mod_sysfs_setup+0x28/0xb4) [c00697bc] (mod_sysfs_setup+0x0/0xb4) from [c006aa04] (sys_init_module+0xf90/0x14bc) r8:c886ca04 r7:c886cbbc r6:bf003520 r5: r4:bf001e6c [c0069a74] (sys_init_module+0x0/0x14bc) from [c0029f40] (ret_fast_syscall+0x0/0x2c) sysfs: duplicate filename 'hci_usb' can not be created WARNING: at fs/sysfs/dir.c:424 sysfs_add_one() [c002ebec] (dump_stack+0x0/0x14) from [c00d7abc] (sysfs_add_one+0x50/0xfc) [c00d7a6c] (sysfs_add_one+0x0/0xfc) from [c00d81b8] (create_dir+0x58/0xa8) r6:fff4 r5:c7e9fe48 r4:c7f1cab4 [c00d8160] so no luck so far. // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Bluetooth headset GUI configuration
On Thu, 18 Dec 2008 13:52:20 -0700 Angus Ainslie angus.ains...@gmail.com wrote: So: Do any of the distributions allow easy use of bluetooth headsets? A search of the wiki brings up this http://wiki.openmoko.org/wiki/Manually_using_Bluetooth#Bluetooth_Headset_on_Freerunner I've tried these instructions on both FSO and SHR now, and it works on neither of them. BtConfigure.py never finishes after having entered the PIN. I also tried the A2DP instructions, with similar results. After having installed bluez-utils-alsa I get r...@om-gta02 ~ $ aplay bark.wav bt_audio_service_open: connect() failed: Connection refused (111) aplay: main:546: audio open error: Connection refused If anyone has this working, how did you do it? What distribution are you running? // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Bluetooth headset GUI configuration
On Fri, 19 Dec 2008 22:52:08 +0300 Denis Shulyaka shuly...@gmail.com wrote: 2008/12/19 Simon Kagstrom simon.kagst...@gmail.com: I've tried these instructions on both FSO and SHR now, and it works on neither of them. BtConfigure.py never finishes after having entered the PIN. Same here on FDOM. I get DBus error in console, I didn't dig any further. I'm reading the bluez howto: http://wiki.bluez.org/wiki/HOWTO/AudioDevices to get some further hints. The dbus stuff there also doesn't seem to work: r...@om-gta02:~# dbus-send --system --print-reply --dest=org.bluez /org/bluez org.bluez.Manager.ActivateService string:audio Error org.bluez.Error.NoSuchService: No such service (SHR this time). Reading this: http://article.gmane.org/gmane.linux.bluez.user/13108 it seems like bluez-utils have been compiled without --enable-audio. Could this be the problem? // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Bluetooth headset GUI configuration
Hi! Everybody has their own reasons for using or not using the Freerunner as their daily phone. I've so far used it mostly as a toy (fun one at that) because I miss one feature: An easy GUI setup method for bluetooth headsets (A2DP would be quite nice too). I've simply grown used to being able to walk around and do things like cleaning the apartment while talking. I realise this is probably possible in Qt Extended, but I'd really like to have it in FSO, SHR, 2008.x or perhaps Debian. So: Do any of the distributions allow easy use of bluetooth headsets? Are there active projects working on this? // Simon ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community