02-03-2011
2,
0
Join Date: Feb 2011
Last Activity: 5 February 2011, 3:58 AM EST
Posts: 2
Thanks Given: 0
Thanked 0 Times in 0 Posts
Restarting USB Bluetooth Dongles immediately
Hi @all,
i am currently having a Problem:
I want to restart 2 USB Bluetooth Dongles from the shell at the same time. It is very important that they are restarted nearly simultaneously, so that their clocks are starting to run at the same time.
At the moment i am using a command called "bccmd -d hci0 coldreset" to restart the hci0 device and afterwards i am restarting the hci1 device with the same command. The problem here is, that as it seems, there is a very short random timedifference between these restarts and thus the clocks of the Bluetooth USB Dongle are not started at the same time.
I ve already tried to use "nice" to increase the commands priority but that did not help.
So does anybody have an idea how this simultaneous restart can be achieved...i would be really thankful for any help.
Thanks in advance for your help