PDA

View Full Version : [ubuntu] Make hciconfig changes permanent.



eldaria
October 6th, 2011, 12:28 PM
Hello.

I have installed Hands Free Console to enable me to use my computer as a bluetooth headset for my mobilephone.
http://nohands.sourceforge.net/

However every time I start hfconsole after a reboot it gives me an error:


net.sf.nohands.hfpd.Error.BtScoConfigError: Unsuitable SCO MTU values 64:0 detected
To fix this, run, as superuser, "hciconfig hci0 scomtu 64:8"


I'm trying to make this change permanent so I can have the program autostart.
But where do I make this modification, is there a configuration file or do I need to add it to a startup script?

chili555
October 6th, 2011, 04:02 PM
I think all this is telling you is to open a terminal and run:
sudo su
hciconfig hci0 scomtu 64:8
exitDISCLAIMER: I know nothing about hci and little about bluetooth. I only know how to abuse the terminal!

eldaria
October 6th, 2011, 06:17 PM
Oh, my appologies, I guess I did not make it clear.
I already do the command every time I reboot, what I need is a permanent solution. :-)

I guess I will end up putting it in one of the startup scripts, I was just hoping there was a config file somewhere. :-)

chili555
October 6th, 2011, 07:56 PM
There may be a config file somewhere; I don't know. You might drop it into /etc/rc.local above exit 0.