[maemo-developers] Bluetooth Headset: first steps
Hi, I've summarized some steps I took to get my bluetooth headset working with my 770 on this wiki page: http://maemo.org/maemowiki/BluetoothHeadsetHacking Thanks to the help of Johan and Ville who provided a new bluetooth firmware blob, it is possible to record audio using a bluetooth headset. So far, I didn't manage to playback audio via the headset, but maybe somebody else succeeds. Also, there's currently no application (I know of) that uses ALSA devices on the 770, so besides the sheer joy of having something on the 770 you don't have on the 800, it doesn't add much value. regards -- jochen ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth Headset Support - Status update?
Hi, Johan Hedberg wrote: AFAIK, the procedure of changing the SCO routing on the TI chip requires a proprietary TI HCI command. I'm not sure we can publish it since it's documented in TI docs which have quite strict publication restrictions. I had a closer look at the driver for the chipset. The firmware appears to be just a sequence of TI HCI commands which is dumped to the chip. Could you please release a modified firmware image that changes the SCO routing? The additional commands wouldn't be any more public like the rest of the hci commands in the firmware file, so I guess that should be ok with legal. btw, there's a nice collection of commands used in such bluetooth-scripts available at: http://wiki.xda-developers.com/index.php?pagename=UniversalBluetooth regards -- jochen ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth Headset Support - Status update?
Hi Brad, On Sat, Jan 13, 2007 at 08:21:12PM -0700, Brad Midgley wrote: * resulting audio is not very loud and occasionally makes a pop sound on high-volume input. 64-bit version runs without these problems. This are the problems I also noticed with libsbc from sf.net. Where can I find the 64-bit Version? bye MM -- Computer games don't affect kids. I mean if Pacman affected us as kids, we'd all run around in a darkened room munching pills and listening to repetitive music. -- Steven Poole ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth Headset Support - Status update?
Hi, Johan Hedberg wrote: AFAIK, the procedure of changing the SCO routing on the TI chip requires a proprietary TI HCI command. I'm not sure we can publish it since it's documented in TI docs which have quite strict publication restrictions. afaik there's a bluetooth script for some embedded devices using the same chip (bfr6150) which does something with the audio routing. these scripts are available online, and openembedded has a parser for it. probably these proprietary commands are available already, and we just have to try it out :) regards -- jochen ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth Headset Support - Status update?
Martin * resulting audio is not very loud and occasionally makes a pop sound on high-volume input. 64-bit version runs without these problems. This are the problems I also noticed with libsbc from sf.net. Where can I find the 64-bit Version? I have actually been tinkering again with the 32-bit version--I think dynamic compression could mostly work around the problems. In any case I will create a separate sbc64 cvs module and announce it on the lists. Brad ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Bluetooth Headset Support - Status update?
Referring back to this thread: http://www.gossamer-threads.com/lists/maemo/developers/12526?nohighlight=1#12526 Tommi asked that this subject be brought up again after the next release (which I presume to have been OS2007) so it isn't forgotten. Is it possible to get an updated position on Bluetooth Headset support on both 770 and N800? It's crazy that after all this time with VoIP support that these devices still don't have Bluetooth Headset and A2DP support. The 770 and N800 are crying out for BT headset support! :) Neil ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth Headset Support - Status update?
On Jan 13, 2007, at 2:18 PM, Neil MacLeod wrote: Is it possible to get an updated position on Bluetooth Headset support on both 770 and N800? It's crazy that after all this time with VoIP support that these devices still don't have Bluetooth Headset and A2DP support. The 770 and N800 are crying out for BT headset support! :) I'm pretty sure that you could write an A2DP music player that worked on the 770 without any help from Nokia. It wouldn't be nicely integrated, but it should work. I tested an app awhile ago, and got music coming out of my headset, it was just not real time - a second of music, 5 seconds silence, etc. The reason for this is that it needed to transcode the music into a different CODEC, for which there was no integer version available. If you were to, say, just store all your music in that format, transcoding as you uploaded to the 770, then no problem. Headset / handfree support requires SCO sockets, which are a deeper, driver level thing. Many Bluetooth chipsets handle SCO connections in special ways - they do things like feed the audio out a separate interface so you can hook up a microphone and speaker directly, rather than pushing the audio through the CPU. Thus, there's often more config and poking needed to get the chipset into the right mode. Does anybody know if the N800 uses the same Bluetooth chipset as the 770? Thanks, gopi. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth Headset Support - Status update?
Hi, On Sat, Jan 13, 2007, Gopi Flaherty wrote: Does anybody know if the N800 uses the same Bluetooth chipset as the 770? 770 has a TI chip while the N800 uses a CSR chip (BlueCore4). To use SCO audio using existing bluez software you need to get the chip into SCO over HCI mode (I think both devices are by default in SCO over PCM mode, i.e. try to transfer audio over a direct HW link between the bluetooth controller and the DSP). You'll probably find the procedure for manipulating the SCO routing on the CSR chip somewhere on bluez related web pages (maybe the available SW even does it automatically) since CSR dongles are quite popular. I don't know the exact procedure my self. AFAIK, the procedure of changing the SCO routing on the TI chip requires a proprietary TI HCI command. I'm not sure we can publish it since it's documented in TI docs which have quite strict publication restrictions. I.e. this still needs some internal investigation. However, even with the command, neither the chip firmware nor the driver have been tested with SCO so there is guarantee that it'd work. We are currently working on integrating SCO support (Headset Profile to be exact) nicely with the new and still experimental D-Bus based service infrastructure of bluez and the rest of the internet tablet software. The plan is to use the DSP routing instead of the HCI routing, which should improve latencies. So, you should see support for this in some SW update in the future. Unfortunately I can't give any exact schedule currently, but you can follow the progress quite well simply by looking at what's going on with bluez (i.e. CVS commits mailing list discussions). You'll probably see some preliminary support in the next release of bluez-utils (version 3.9). Oh, and it's possible that A2DP support will come along at some point too since from the bluez side the plan is to integrate it to the same audio daemon as HSP/HFP. However, from our (Nokia) perspective it hasn't been given the same priority as HSP so in the short term support for it will be very unofficial if it exists at all. Some ideas (a very early draft) for the planed architecture can be found at the bluetooth-alsa pages: http://bluetooth-alsa.sourceforge.net/future.html Johan ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth Headset Support - Status update?
Gopi I'm pretty sure that you could write an A2DP music player that worked on the 770 without any help from Nokia. It wouldn't be nicely integrated, but it should work. I tested an app awhile ago, and got music coming out of my headset, it was just not real time - a second of music, 5 seconds silence, etc. The reason for this is that it needed to transcode the music into a different CODEC, for which there was no integer version available. you must have tried our sbc encoder before any optimization. we have a version that runs ok* in 32 bits that should execute in realtime without burning up too much battery life. you were to, say, just store all your music in that format, transcoding as you uploaded to the 770, then no problem. sbc typically takes twice the space of mp3 and then you'd need to build an sbc decoder into gstreamer to play your files through wired audio. fyi, there are headsets out there that have an mp3 decoder. our a2play test app at least recognizes when the mp3 decoder is present even though it doesn't try to use it. Thus, there's often more config and poking needed to get the chipset into the right mode. Does anybody know if the N800 uses the same Bluetooth chipset as the 770? it's a bluecore4. you could use bccmd to route its audio to hci. if you do mess around with bccmd, i'd recommend you make all changes to ram and just don't even bother with the permanent settings. it would be so sad to brick the bluetooth adapter in a new n800. brad * resulting audio is not very loud and occasionally makes a pop sound on high-volume input. 64-bit version runs without these problems. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth Headset Support - Status update?
Hi Brad, Thus, there's often more config and poking needed to get the chipset into the right mode. Does anybody know if the N800 uses the same Bluetooth chipset as the 770? it's a bluecore4. you could use bccmd to route its audio to hci. if you do mess around with bccmd, i'd recommend you make all changes to ram and just don't even bother with the permanent settings. it would be so sad to brick the bluetooth adapter in a new n800. actually it is a ROM chip and so you can't brick it in any way. A reboot will fully restore it. Regards Marcel ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth Headset Support - Status update?
Johan Hedberg [EMAIL PROTECTED] writes: AFAIK, the procedure of changing the SCO routing on the TI chip requires a proprietary TI HCI command. I'm not sure we can publish it since it's documented in TI docs which have quite strict publication restrictions. I.e. this still needs some internal investigation. I know that at least *I* would appreciate even the most minimal information about how this works. That way, even if Nokia never gets around to it, someone else would have the info needed to do so themselves. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset? (was: Unresolved issues (Week 46))
On Thu, 2006-11-23 at 11:05 -0800, ext George Farris wrote: On Thu, 2006-23-11 at 17:55 +0200, Tommi Komulainen wrote: On Mon, 2006-11-20 at 15:13 +0200, ext Tommi Komulainen wrote: * http://maemo.org/pipermail/maemo-developers/2006-November/006248.html Bluetooth headset? What are [we] doing to enable support for bluetooth headsets? We don't have concrete plans at the moment. Please bring this up after next release, in case we forget it. There have already been requests for the last three releases. Is there no way to push this forward a step so we can get this support in for the NEXT release? We discussed the question and above is the answer we have at the moment. What I meant with the next release is that I'm going to consider the issue as resolved as it got an answer. Granted, the answer is not too helpful in practical terms, but better than complete silence. Which is the purpose of this exercise. Good time to bring up the question again is when we have updated our plans, but given that we're not too forthcoming with such things proactively I'd suggest taking the opportunity after new software releases. In case we don't address the issues otherwise. -- Tommi Komulainen[EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset?
Hi George, George Farris wrote: On Thu, 2006-23-11 at 20:31 +0200, Stefan Kost wrote: Hi George, George Farris wrote: On Tue, 2006-14-11 at 18:42 +0200, Tommi Komulainen wrote: On Mon, 2006-11-13 at 09:50 -0800, ext George Farris wrote: On Mon, 2006-13-11 at 11:47 +0200, Tommi Komulainen wrote: Here is a list of issues raised on this list I think have not been concluded so far, in no particular order. The easiest way to get off the list is to provide answers, but you can also try convincing me other ways. Please also include working Bluetooth headset support or lack there of. http://maemo.org/maemowiki/BluetoothHeadset Please try to phrase it as a question, the more specific the better (I don't really have any clue about Bluetooth and related issues.) To me it seems somewhat like an advertisement for a howto or something, which I don't believe is what you mean. Well from the web page in the link: Note: It appears that, due to limitations in Nokia's current Bluetooth driver on the 770, you can not actually use a bluetooth headset. Everything will appear to work, except that you won't get any audio out: [WWW]http://maemo.org/pipermail/maemo-developers/2005-December/002191.html Please provide a working driver for bluetooth audio, both in and out. Please consider that we are not stupid. If it would be that easy we would have done it. Having working bluetooth headset support is so dead obviously useful, that it is impossible that we have overlooked it. Have you ever tried to get it running under linux? Yes it needs work. So please be patient, its done when its done. If you want to speed it up, join the bluez guys and help them out. I'm sorry, did I insult someone here? I didn't think so. I merely provided data and a link reference. I at no time suggested or made any personal or derogatory comments. You, said you didn't have any clue about bluetooth and I merely pointed you to the information, which is what I thought you wanted. In fact I treated you with competence and intelligence to read the information and go from there. Then I am sorry. The Please provide a working driver for bluetooth audio, both in and out. phrase is a bit demanding and I thought ti can from you. Stefan ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset?
Hi George, On Thu, 2006-23-11 at 17:55 +0200, Tommi Komulainen wrote: On Mon, 2006-11-20 at 15:13 +0200, ext Tommi Komulainen wrote: * http://maemo.org/pipermail/maemo-developers/2006-November/006248.html Bluetooth headset? What are [we] doing to enable support for bluetooth headsets? We don't have concrete plans at the moment. Please bring this up after next release, in case we forget it. There have already been requests for the last three releases. Is there no way to push this forward a step so we can get this support in for the NEXT release? To make it a bit more clear: If there are plans, we would not be allowed to talk about it :(. So you'll have to wait. But be assured it if is technically doable its quite likly that we are going to support it. Now please let it rest. Stefan ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset?
On Sat, 2006-25-11 at 18:31 +0200, Stefan Kost wrote: Hi George, Then I am sorry. The Please provide a working driver for bluetooth audio, both in and out. phrase is a bit demanding and I thought ti can from you. Hi Stefan, Yes, in fact that was me but I thought that was what you wanted. It was a statement of requirements and in no way was meant to be demanding. Language is great isn't it, wonder how many wars centuries ago were started because of it:-) I think I was a bit confused about what you actually were after, once I sent you the link. Ah well, it's the weekend here and we're off for a hike, first nice weather for over a two weeks, been raining like there is no tomorrow. Cheers -- George Farris [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset?
On Sat, 2006-25-11 at 18:34 +0200, Stefan Kost wrote: Hi George, To make it a bit more clear: If there are plans, we would not be allowed to talk about it :(. So you'll have to wait. But be assured it if is technically doable its quite likly that we are going to support it. Now please let it rest. Interesting, this suggests you are somehow or other connected with Nokia, I wasn't aware of that. Cheers -- George Farris [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset?
On Saturday 25 November 2006 19:05, George Farris wrote: On Sat, 2006-25-11 at 18:34 +0200, Stefan Kost wrote: Hi George, To make it a bit more clear: If there are plans, we would not be allowed to talk about it :(. So you'll have to wait. But be assured it if is technically doable its quite likly that we are going to support it. Now please let it rest. Interesting, this suggests you are somehow or other connected with Nokia, I wasn't aware of that. Yes, I also noticed that only recently as there's Stefan's name in the copyright statements from the now available sources of Nokia 770 gstreamer plugins. Now the previous Stefan's posts look in a bit different light to me and that's a good thing. I guess, we are just spoiled by the fact that many (almost all?) Nokia developers here have '@nokia.com' in their e-mail address :) ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Bluetooth headset? (was: Unresolved issues (Week 46))
On Mon, 2006-11-20 at 15:13 +0200, ext Tommi Komulainen wrote: * http://maemo.org/pipermail/maemo-developers/2006-November/006248.html Bluetooth headset? What are [we] doing to enable support for bluetooth headsets? We don't have concrete plans at the moment. Please bring this up after next release, in case we forget it. -- Tommi Komulainen[EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset?
Hi George, George Farris wrote: On Tue, 2006-14-11 at 18:42 +0200, Tommi Komulainen wrote: On Mon, 2006-11-13 at 09:50 -0800, ext George Farris wrote: On Mon, 2006-13-11 at 11:47 +0200, Tommi Komulainen wrote: Here is a list of issues raised on this list I think have not been concluded so far, in no particular order. The easiest way to get off the list is to provide answers, but you can also try convincing me other ways. Please also include working Bluetooth headset support or lack there of. http://maemo.org/maemowiki/BluetoothHeadset Please try to phrase it as a question, the more specific the better (I don't really have any clue about Bluetooth and related issues.) To me it seems somewhat like an advertisement for a howto or something, which I don't believe is what you mean. Well from the web page in the link: Note: It appears that, due to limitations in Nokia's current Bluetooth driver on the 770, you can not actually use a bluetooth headset. Everything will appear to work, except that you won't get any audio out: [WWW]http://maemo.org/pipermail/maemo-developers/2005-December/002191.html Please provide a working driver for bluetooth audio, both in and out. Please consider that we are not stupid. If it would be that easy we would have done it. Having working bluetooth headset support is so dead obviously useful, that it is impossible that we have overlooked it. Have you ever tried to get it running under linux? Yes it needs work. So please be patient, its done when its done. If you want to speed it up, join the bluez guys and help them out. Stefan ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset? (was: Unresolved issues (Week 46))
On Thu, 2006-23-11 at 17:55 +0200, Tommi Komulainen wrote: On Mon, 2006-11-20 at 15:13 +0200, ext Tommi Komulainen wrote: * http://maemo.org/pipermail/maemo-developers/2006-November/006248.html Bluetooth headset? What are [we] doing to enable support for bluetooth headsets? We don't have concrete plans at the moment. Please bring this up after next release, in case we forget it. There have already been requests for the last three releases. Is there no way to push this forward a step so we can get this support in for the NEXT release? Thanks ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset?
On Thu, 2006-23-11 at 20:31 +0200, Stefan Kost wrote: Hi George, George Farris wrote: On Tue, 2006-14-11 at 18:42 +0200, Tommi Komulainen wrote: On Mon, 2006-11-13 at 09:50 -0800, ext George Farris wrote: On Mon, 2006-13-11 at 11:47 +0200, Tommi Komulainen wrote: Here is a list of issues raised on this list I think have not been concluded so far, in no particular order. The easiest way to get off the list is to provide answers, but you can also try convincing me other ways. Please also include working Bluetooth headset support or lack there of. http://maemo.org/maemowiki/BluetoothHeadset Please try to phrase it as a question, the more specific the better (I don't really have any clue about Bluetooth and related issues.) To me it seems somewhat like an advertisement for a howto or something, which I don't believe is what you mean. Well from the web page in the link: Note: It appears that, due to limitations in Nokia's current Bluetooth driver on the 770, you can not actually use a bluetooth headset. Everything will appear to work, except that you won't get any audio out: [WWW]http://maemo.org/pipermail/maemo-developers/2005-December/002191.html Please provide a working driver for bluetooth audio, both in and out. Please consider that we are not stupid. If it would be that easy we would have done it. Having working bluetooth headset support is so dead obviously useful, that it is impossible that we have overlooked it. Have you ever tried to get it running under linux? Yes it needs work. So please be patient, its done when its done. If you want to speed it up, join the bluez guys and help them out. I'm sorry, did I insult someone here? I didn't think so. I merely provided data and a link reference. I at no time suggested or made any personal or derogatory comments. You, said you didn't have any clue about bluetooth and I merely pointed you to the information, which is what I thought you wanted. In fact I treated you with competence and intelligence to read the information and go from there. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset? (was: Unresolved issues (Week 45))
On Tue, 2006-11-14 at 09:29 -0800, ext George Farris wrote: Well from the web page in the link: Note: It appears that, due to limitations in Nokia's current Bluetooth driver on the 770, you can not actually use a bluetooth headset. Everything will appear to work, except that you won't get any audio out: [WWW]http://maemo.org/pipermail/maemo-developers/2005-December/002191.html Please provide a working driver for bluetooth audio, both in and out. I'm probably just thick, but are you asking * (when) are we going to ship a product (device and/or firmware) with bluetooth audio working out of the box? * (when) are we going to ship a product (device and/or firmware) with the necessary drivers for someone else to implement bluetooth headset support? * (when) are we going to document how someone else could implement some driver? * something else? It would be much more clear and easy to pass around a mail stating something like I want to do $this, and the easiest way to do that would be $x. But I can not do that because the 770 does not support $y and Nokia being the only one with the sources/documentation/whatnot is the only one in position to implement it. Another option would be to $z (rewriting the kernel) but that would be just too much for me. So is Nokia going to do something about $y? Or something like that. I hope you get the idea. -- Tommi Komulainen[EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Bluetooth headset? (was: Unresolved issues (Week 45))
On Mon, 2006-11-13 at 09:50 -0800, ext George Farris wrote: On Mon, 2006-13-11 at 11:47 +0200, Tommi Komulainen wrote: Here is a list of issues raised on this list I think have not been concluded so far, in no particular order. The easiest way to get off the list is to provide answers, but you can also try convincing me other ways. Please also include working Bluetooth headset support or lack there of. http://maemo.org/maemowiki/BluetoothHeadset Please try to phrase it as a question, the more specific the better (I don't really have any clue about Bluetooth and related issues.) To me it seems somewhat like an advertisement for a howto or something, which I don't believe is what you mean. -- Tommi Komulainen[EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset? (was: Unresolved issues (Week 45))
On Tue, 2006-14-11 at 18:42 +0200, Tommi Komulainen wrote: On Mon, 2006-11-13 at 09:50 -0800, ext George Farris wrote: On Mon, 2006-13-11 at 11:47 +0200, Tommi Komulainen wrote: Here is a list of issues raised on this list I think have not been concluded so far, in no particular order. The easiest way to get off the list is to provide answers, but you can also try convincing me other ways. Please also include working Bluetooth headset support or lack there of. http://maemo.org/maemowiki/BluetoothHeadset Please try to phrase it as a question, the more specific the better (I don't really have any clue about Bluetooth and related issues.) To me it seems somewhat like an advertisement for a howto or something, which I don't believe is what you mean. Well from the web page in the link: Note: It appears that, due to limitations in Nokia's current Bluetooth driver on the 770, you can not actually use a bluetooth headset. Everything will appear to work, except that you won't get any audio out: [WWW]http://maemo.org/pipermail/maemo-developers/2005-December/002191.html Please provide a working driver for bluetooth audio, both in and out. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Bluetooth headset status on OS2006
gizmo developers claims on: http://support.gizmoproject.com/FAQs/nokia770.php That you can use a bluetooth headset on the 770, but various other sources tells that it cant: http://www.gossamer-threads.com/lists/maemo/developers/3167?search_string=bluetooth%20headset;#3167 http://linuxdevices.com/news/NS9255811301.html http://www.maemo.org/maemowiki/BluetoothHeadset So are the last links outdated or are gizmo guys doiing disinformation? -- Pierre Tardy ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset status on OS2006
Pierre gizmo developers claims on: http://support.gizmoproject.com/FAQs/nokia770.php That you can use a bluetooth headset on the 770, but various other sources tells that it cant: http://www.gossamer-threads.com/lists/maemo/developers/3167?search_string=bluetooth%20headset;#3167 http://linuxdevices.com/news/NS9255811301.html http://www.maemo.org/maemowiki/BluetoothHeadset So are the last links outdated or are gizmo guys doiing disinformation? gizmo seems to be assuming it'll be in there just like it is for every other nokia device. I haven't heard from Marcel on this but you could pose the question on bluez-devel to see if anyone got him a dev kit for the TI adapter. Brad ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Bluetooth headset news?
http://maemo.org/pipermail/maemo-developers/2005-December/002191.html Brad Midgley wrote two monthes ago: I'm overseeing the bluetooth audio on linux project... Linux only supports SCO transfers for CSR chips. To use the current btsco stuff, Nokia is going to have to contribute a SCO driver to the kernel for whatever bluetooth chip they put in the 770. It's possible that they will route SCO to PCM hardware (direct to audio hardware or even the dsp) rather than HCI (to the cpu). If this is the case, btsco etc will need a little hacking to work that way. (Or even better, to be rewritten) Any news on this? I've been unable to locate any information using google. I've seen some nice Nokia Bluetooth Headsets while shopping this afternoon, would be great if Nokia Headsets worked with Nokia 770 :). Thanks in advance, Laurent ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset - not really working?
Ralph Is there a bandwidth problem, or just people being silly with the design? There is a bandwidth problem. High-quality audio is compressed on the fly before transmission. We will probably be able to build in the delay to the video player so it slips the video stream a bit. gstreamer may even have a way to specify in the codec plugin how much latency it introduces. Some of these problems could be fixed if a new audio spec was written that required the extended data rate of bluetooth 2.0 and left out compression. The a2dp spec says nothing about duplex high-quality audio, but there's no reason a headset couldn't try to connect back to the source node on an independent connection when it starts receiving audio. That's basically how the AVRCP connection works. Brad ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset - not really working?
BTW, did anyone notice the following lines in the dmesg output on the 770 in the 51-13 firmware? [4.037261] Bluetooth: L2CAP ver 2.7 [4.041015] Bluetooth: L2CAP socket layer initialized [4.046356] Bluetooth: SCO (Voice Link) ver 0.4 [4.051147] Bluetooth: SCO socket layer initialized [4.056365] Bluetooth: RFCOMM ver 1.5 [4.060272] Bluetooth: RFCOMM socket layer initialized [4.065704] Bluetooth: RFCOMM TTY layer initialized [4.070861] Bluetooth: BNEP (Ethernet Emulation) ver 1.2 [4.076477] Bluetooth: HIDP (Human Interface Emulation) ver 1.1 It mentions SCO. I'm not sure if that means anything or if this was present in the older versions of the firmware, I just thought it was interesting. Also, a few lines above the Bluetooth stuff, you can find: [3.814697] Advanced Linux Sound Architecture Driver Version 1.0.9rc2 (Thu Mar 24 10:33:39 2005 UTC). [3.828033] usbcore: registered new driver snd-usb-audio [3.833709] ALSA device list: [3.836822] #0: Dummy 1 USB Audio? Anyway, I sort of get the feeling that Nokia is keeping so quiet about this mostly because this is something they want to release in the 2006 firmware and they most probably don't want anyone stealing their thunder and releasing a fully-working VoIP package for the 770 before that. With Asterisk and chan_bluetooth ported to the device, the 770 could become the ultimate VoIP phone. Any clues yet from Nokia? :). Razvan -- Razvan Dragomirescu Chief Technology Officer Cayenne Graphics SRL On 1/10/06, Johannes Eickhold [EMAIL PROTECTED] wrote: On Tue, 2005-12-20 at 10:16 -0700, Brad Midgley wrote: I'm overseeing the bluetooth audio on linux project... Linux only supports SCO transfers for CSR chips. To use the current btsco stuff, Nokia is going to have to contribute a SCO driver to the kernel for whatever bluetooth chip they put in the 770. I found some further info at: http://thread.gmane.org/gmane.linux.bluez.devel/6713 Can anyone of the Nokia developers give us some more hints on the head set topic please? Can we only expect that to work when the 2006 software edition will be released or will the head set support be included in an earlier firmware update? This missing feature is very much appreciated! Greets, Jonek. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset - not really working?
Razvan Dragomirescu wrote: BTW, did anyone notice the following lines in the dmesg output on the 770 in the 51-13 firmware? [4.037261] Bluetooth: L2CAP ver 2.7 [4.041015] Bluetooth: L2CAP socket layer initialized [4.046356] Bluetooth: SCO (Voice Link) ver 0.4 [4.051147] Bluetooth: SCO socket layer initialized [4.056365] Bluetooth: RFCOMM ver 1.5 [4.060272] Bluetooth: RFCOMM socket layer initialized [4.065704] Bluetooth: RFCOMM TTY layer initialized [4.070861] Bluetooth: BNEP (Ethernet Emulation) ver 1.2 [4.076477] Bluetooth: HIDP (Human Interface Emulation) ver 1.1 It mentions SCO. I'm not sure if that means anything or if this was present in the older versions of the firmware, I just thought it was interesting. Also, a few lines above the Bluetooth stuff, you can find: [3.814697] Advanced Linux Sound Architecture Driver Version 1.0.9rc2 (Thu Mar 24 10:33:39 2005 UTC). [3.828033] usbcore: registered new driver snd-usb-audio [3.833709] ALSA device list: [3.836822] #0: Dummy 1 USB Audio? Hmmh, interesting... may be anyone out there who has a usb headset can check if it is possible to use it. BTW: The same output already appears on .45-8 Anyway, I sort of get the feeling that Nokia is keeping so quiet about this mostly because this is something they want to release in the 2006 firmware and they most probably don't want anyone stealing their thunder and releasing a fully-working VoIP package for the 770 before that. With Asterisk and chan_bluetooth ported to the device, the 770 could become the ultimate VoIP phone. full ACK! Any clues yet from Nokia? :). I suppose: no! :-( Cheers, Timo ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset - not really working?
On Mon, 2006-01-09 at 20:04 -0700, Brad Midgley wrote: Johannes The two types of bluetooth audio are very different. You linked to a discussion about the other type. Sorry, I didn't made that clear enough. I was refering to the following said in http://article.gmane.org/gmane.linux.bluez.devel/6729 by Marcel Holtmann: The Nokia 770 is using a TI chip and basically nobody of us has real experiences with these chips. I have seen them in an iPAQ and now the 770, but that's it. Do you think Nokia is willing to donate some of the TI development kits to BlueZ? Especially the SCO and eSCO stuff needs a lot of testing and I would prefer to do it with an i386 or x86_86 based system. And the answer to that in http://article.gmane.org/gmane.linux.bluez.devel/6748 by Ville Tervo from Nokia: I'll try to arrange something. low-latency voice-quality mono audio uses a special transport (SCO) and is delivered from the bluetooth chip either over the regular data connection to the cpu (HCI) or it is connected to dedicated audio/analog hardware (PCM). The HCI formatting and negotiation differs from chip to chip and the linux driver is only complete for CSR chipsets. Thanks for the explanation - SCO is exectly what I need then. a2dp specifies one-way high-quality, traditionally stereo, audio. It is delivered over an L2CAP socket so linux can send and receive this audio with any bluetooth chip that has even the most basic support. So that is used for bluetooth stereo earphones to listen to e.g. CD music? We know what has to be done for a2dp. The SCO stuff is what I would like to see help from Nokia on. I would hope they can help us with the HCI interaction with the SCO transport since that gives us the most generic control over the audio stream. Thanks for that details! Jonek ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset - not really working?
Razvan [4.046356] Bluetooth: SCO (Voice Link) ver 0.4 [4.051147] Bluetooth: SCO socket layer initialized this will be printed both for adapters with and without sco support. The driver does not detect and disable the interface on unsupported hardware. (Although it should--we get questions all the time about everything working right up to the point that they get silence on the connection instead of audio) Brad ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset - not really working?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brad Midgley schrieb: Razvan [4.046356] Bluetooth: SCO (Voice Link) ver 0.4 [4.051147] Bluetooth: SCO socket layer initialized this will be printed both for adapters with and without sco support. The driver does not detect and disable the interface on unsupported hardware. (Although it should--we get questions all the time about everything working right up to the point that they get silence on the connection instead of audio) Umm... to be more precise this is just the output from the SCO kernel driver not from the HCI driver. So the Bluetooth stack, according to this message, now supports handling of SCO traffic (kernel modules sco.ko). But this does not mean that the HCI driver for the specific Bluetooth module in use can handle it (kernel modules hci_* and friends). Those are two distinct things... Brad Cheers nils faerber - -- kernel concepts Tel: +49-271-771091-12 Dreisbachstr. 24 Fax: +49-271-771091-19 D-57250 Netphen Mob: +49-176-21024535 - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDw+nrJXeIURG1qHgRAvEOAJ92LOph0Rm6YjwPtgROcFCC6SW9GwCgvKeK mKcAe1fz3cWaWYiNw46IvnA= =gEpd -END PGP SIGNATURE- ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset - not really working?
On Tue, 2005-12-20 at 10:16 -0700, Brad Midgley wrote: I'm overseeing the bluetooth audio on linux project... Linux only supports SCO transfers for CSR chips. To use the current btsco stuff, Nokia is going to have to contribute a SCO driver to the kernel for whatever bluetooth chip they put in the 770. I found some further info at: http://thread.gmane.org/gmane.linux.bluez.devel/6713 Can anyone of the Nokia developers give us some more hints on the head set topic please? Can we only expect that to work when the 2006 software edition will be released or will the head set support be included in an earlier firmware update? This missing feature is very much appreciated! Greets, Jonek. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset - not really working?
Johannes The two types of bluetooth audio are very different. You linked to a discussion about the other type. low-latency voice-quality mono audio uses a special transport (SCO) and is delivered from the bluetooth chip either over the regular data connection to the cpu (HCI) or it is connected to dedicated audio/analog hardware (PCM). The HCI formatting and negotiation differs from chip to chip and the linux driver is only complete for CSR chipsets. a2dp specifies one-way high-quality, traditionally stereo, audio. It is delivered over an L2CAP socket so linux can send and receive this audio with any bluetooth chip that has even the most basic support. We know what has to be done for a2dp. The SCO stuff is what I would like to see help from Nokia on. I would hope they can help us with the HCI interaction with the SCO transport since that gives us the most generic control over the audio stream. Brad On Tue, 2005-12-20 at 10:16 -0700, Brad Midgley wrote: I'm overseeing the bluetooth audio on linux project... Linux only supports SCO transfers for CSR chips. To use the current btsco stuff, Nokia is going to have to contribute a SCO driver to the kernel for whatever bluetooth chip they put in the 770. I found some further info at: http://thread.gmane.org/gmane.linux.bluez.devel/6713 Can anyone of the Nokia developers give us some more hints on the head set topic please? Can we only expect that to work when the 2006 software edition will be released or will the head set support be included in an earlier firmware update? This missing feature is very much appreciated! Greets, Jonek. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset - not really working?
On Mon, Jan 09, 2006 at 08:04:35PM -0700, Brad Midgley wrote: low-latency voice-quality mono audio uses a special transport (SCO) and is delivered from the bluetooth chip either over the regular data connection to the cpu (HCI) or it is connected to dedicated audio/analog hardware (PCM). The HCI formatting and negotiation differs from chip to chip and the linux driver is only complete for CSR chipsets. Hmm. Linux support aside, does this mean I'm never going to find a bt headset with both a mic for voice and high quality stereo playback for music in the same device? More or less what all the game consoles use, for example? -r ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset - not really working?
Ralph Hmm. Linux support aside, does this mean I'm never going to find a bt headset with both a mic for voice and high quality stereo playback for music in the same device? More or less what all the game consoles use, for example? I assumed you're aware that a lot of the stereo sets will switch into low-quality 2-way mode. It's the simultaneous stereo/mic that no one can do now. Brad ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Bluetooth headset - not really working?
On Mon, Jan 09, 2006 at 08:29:38PM -0700, Brad Midgley wrote: The latency for every stereo set out there is so bad (500ms!) that you'd lose every game or just throw yourself out the nearest window. Oh dear. And I thought USB audio was bad... I wasn't actually aware that there were dual mode stereo/interactive headsets, but I see plantronics is selling one now. Clever how it's spun as a feature (Switch seamlessly between your phone and music from your stereo!) and not a bug. Is there a bandwidth problem, or just people being silly with the design? -r ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Bluetooth headset - not really working?
Hello everyone, This is a resend, I am not sure the message ever made it to the list. If it did, please disregard it. The error I received from the Postfix server at the previous send attempt is at the bottom of this email. -- I have spent the past 2 days trying to get a JABRA 250 Bluetooth headset to work with my Nokia 770.I followedthe instructions at http://maemo.org/maemowiki/BluetoothHeadset and everything went fine, up to the point described in the Wiki. I have also compiled the alsa-utils package to get the aplay utility and tried to play some sound. Nokia770-45:~# ./aplay -D plughw:Headset /media/mmc1/xp.wav Playing WAVE '/media/mmc1/xp.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Stereo This command never returns unless I press ctrl-c and kill it. There seems to be some sort of connection established, but all I hear in the headset is some hissing and popping, I have no idea how to describe it. It's definitely not silence, but it has no connection to the content of the WAV being played either. Here's what btsco says during all this: Nokia770-45:~# btsco -v 00:07:A4:03:33:33 1btsco v0.4cDevice is 1:0Voice setting: 0x0060RFCOMM channel 1 connectedNokia770-45:~# btsco -v 00:07:A4:03:33:33 1btsco v0.4cDevice is 1:0Voice setting: 0x0060 RFCOMM channel 1 connectedspeaker volume: 0 mic volume: 0i/o needed: connecting sco...connected SCO channelDone setting sco fdrecieved AT+VGS=11Sending up speaker change 11speaker volume: 11 mic volume: 1 driver is not in usedisconnected SCO channel The last 2 lines appear after I press CTRL-C to kill aplay and then CTRL-C to kill btsco. The same hissing/popping sounds are heard when using the hstest tool from bluez-utils (this one plays the sound directly over Bluetooth as far as I can tell). And also the same type of sound is heard when using chan_bluetooth ( http://www.crazygreek.co.uk/content/chan_bluetooth) with the ported version of Asterisk on the Nokia 770. This seems to have been reported before (not for the 770): http://sourceforge.net/tracker/index.php?func=detailaid=1273754group_id=116589atid=678258 . However, the solution pskey mapsco 0 only seems to work with CSR Bluetooth chips, and the 770 has a TI chip. If anyone's interested, I'm attaching the output of a hcidump during all this. Has anyone been successful in establishing SCO connections between a Nokia 770 and a Bluetooth headset? According to this: http://article.gmane.org/gmane.linux.bluez.devel/6728 , Nokia is working on Bluetooth headset support. Could anyone at Nokia give us an update? Thank you, Razvan -- Razvan DragomirescuChief Technology OfficerCayenne Graphics SRL -- Error message received on previous send: This is the Postfix program at host maemo.org.I'm sorry to have to inform you that your message could not be be delivered to one or more recipients. It's attached below.For further assistance, please send mail to postmasterIf you do so, please include this problem report. You candelete your own text from the attached returned message. The Postfix programmaemo-developers@ maemo.org: mail forwarding loop for maemo-developers@maemo.orgFinal-Recipient: rfc822; maemo-developers@maemo.orgAction: failedStatus: 5.0.0Diagnostic-Code: X-Postfix; mail forwarding loop for maemo-developers@maemo .org HCI sniffer - Bluetooth packet analyzer ver 1.28 HCI Command: Read Voice Setting (0x03|0x0025) plen 0 HCI Event: Command Complete (0x0e) plen 6 Read Voice Setting (0x03|0x0025) ncmd 1 status 0x00 voice setting 0x0060 HCI Command: Create Connection (0x01|0x0005) plen 13 bdaddr 00:07:A4:03:33:33 ptype 0xcc18 rswitch 0x01 clkoffset 0x Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HCI Event: Command Status (0x0f) plen 4 Create Connection (0x01|0x0005) status 0x00 ncmd 1 HCI Event: Link Key Request (0x17) plen 6 bdaddr 00:07:A4:03:33:33 HCI Command: Link Key Request Reply (0x01|0x000b) plen 22 bdaddr 00:07:A4:03:33:33 key 8F9AB53B0E669C0F7E324AA14A8DB535 HCI Event: Command Complete (0x0e) plen 10 Link Key Request Reply (0x01|0x000b) ncmd 1 status 0x00 bdaddr 00:07:A4:03:33:33 HCI Event: Connect Complete (0x03) plen 11 status 0x00 handle 1 bdaddr 00:07:A4:03:33:33 type ACL encrypt 0x01 ACL data: handle 1 flags 0x02 dlen 12 L2CAP(s): Connect req: psm 3 scid 0x0040 HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4 handle 1 policy 0x0f Link policy: RSWITCH HOLD SNIFF PARK HCI Event: Command Complete (0x0e) plen 6 Write Link Policy Settings (0x02|0x000d) ncmd 1 status 0x00 handle 1 HCI Event: Number of Completed Packets (0x13) plen 5 handle 1 packets 1 ACL data: handle 1 flags 0x02 dlen 16 L2CAP(s): Connect rsp: dcid 0x0048 scid 0x0040 result 1 status 2 Connection pending - Authorization pending ACL data: handle 1
Re: [maemo-developers] Bluetooth headset - not really working?
Razvan This seems to have been reported before (not for the 770): http://sourceforge.net/tracker/index.php?func=detailaid=1273754group_id=116589atid=678258 http://sourceforge.net/tracker/index.php?func=detailaid=1273754group_id=116589atid=678258 . However, the solution pskey mapsco 0 only seems to work with CSR Bluetooth chips, and the 770 has a TI chip. I'm overseeing the bluetooth audio on linux project... Linux only supports SCO transfers for CSR chips. To use the current btsco stuff, Nokia is going to have to contribute a SCO driver to the kernel for whatever bluetooth chip they put in the 770. It's possible that they will route SCO to PCM hardware (direct to audio hardware or even the dsp) rather than HCI (to the cpu). If this is the case, btsco etc will need a little hacking to work that way. (Or even better, to be rewritten) Brad ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers