Kitz Forum
Computer Software => Linux => Topic started by: NewtronStar on April 13, 2015, 09:32:44 PM
-
I neesd some help as the bluetooth mouse and keyboard was working before update it's all gone upside down, so doing some seaching this seems a fix https://www.raspberrypi.org/forums/viewtopic.php?f=37&t=33429&p=285970 (https://www.raspberrypi.org/forums/viewtopic.php?f=37&t=33429&p=285970)
There is a serious bug with the current version of Raspbian and Bluetooth.
If you boot the Pi from cold with the dongle attached it doesn't get initialised, however it does when you insert it into the USB ports after boot up.
There is obviously a script missing some calling, I don’t know where but in the meantime I’ve written a script myself to inialise the dongle (called from /etc/rc.local).
#!/bin/bash
hciconfig device up
hciconfig set name raspberrypi-0
hciconfig set class 0x4e2100
hciconfig enable iscan
hciconfig enable pscan
If your device name is different then feel free to edit "hciconfig set name".
I have used most of those commands in the LXterminal and it's working but if i reboot the RPI these changes will not be saved so i'll need to use this script I did try it but the txt.editor file cannot be saved as i need elevataion of privilege :(
can any one help.
-
found it by doing some seaching on google it turns out to be sudo leafpad /location
-
Sorry, I only just saw this, but yes, that's what you need to do. Afterwards, to make it work as a script, you have to mark the file as executable:
sudo chmod +x /full/path/to/script
-
That's ok roseway it's a quiet topic in the forums, anyway the script is working and so are the bluetooth mouse and keyboard, TBH i thought the dongle or RPi hardware was the issue but no it turns out to be the OS Release date: 2015-02-15 Raspbian Kernel version: 3.18 or the Bluez software thats the cause.
-
I'm glad you've got it working anyway.
-
Not bad for a single core processor runing at 700 Mhz with 512 MB of Ram for £39 :cool: