1) Should be in a config file, not source file. 2) You can autodetect this using hcitool...