[Gta04-owner] Bluetooth default speed?

NeilBrown neilb at suse.de
Mon Apr 2 23:17:06 CEST 2012


On Mon, 2 Apr 2012 10:03:42 +0200 Radek Polak <psonek2 at seznam.cz> wrote:

> Hi,
> i have now working bluetooth in debian userspace. You just need to tell 
> bluetooth init script to launch hciattach:
> 
> 	echo "-s 115200 /dev/ttyO0 any 115200 flow" > /etc/bluetooth/uart
> 
> But the problem is that e.g. for A2DP audio the default speed (115200) is 
> unusable.
> 
> I can solve this easily for myself. Increase the speed, store it permanently 
> as documented here [1] and do:
> 
> 	echo "-s 3000000 /dev/ttyO0 any 3000000 flow" > /etc/bluetooth/uart
> 
> But from the distribution maker point of view, this is problem. I cant know 
> which speed to use. Either i can assume that everyone has slow speed, but then 
> the user experience will be bad. Or i can assume that everyone has configured 
> bluetooth for high speed.
> 
> What is best solution?

Can't you just do:

   echo "-s 115200 /dev/ttyO0 any 3000000 flow" > /etc/bluetooth/uart

and I think "-s 115200" is the default so you don't need that....

I confess I haven't seriously tried this but from my brief reading it seems
to make sense.

NeilBrown


> 
> To me it looks like best solution to set up high speed for all new devices 
> (group tour) and let all existing users set high speed themselves. I can 
> supply  /etc/bluetooth/uart with the high speed then...
> 
> Regards
> 
> Radek
> 
> 
> [1] http://projects.goldelico.com/p/gta04-kernel/page/Wireless/
> _______________________________________________
> Gta04-owner mailing list
> Gta04-owner at goldelico.com
> http://lists.goldelico.com/mailman/listinfo/gta04-owner

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20120403/e48a9d9e/attachment-0001.bin>


More information about the Gta04-owner mailing list