Support this site
Home
Broadband
ISPs
Tech
Routers
Wiki
Forum
Rate your ISP
Glossary
May 04, 2024, 05:00:27 PM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
Kitz Forum
>
Computer Software
>
Linux
>
Bluetooth and New version of raspbian
« previous
next »
Pages: [
1
]
Print
Author
Topic: Bluetooth and New version of raspbian (Read 3548 times)
NewtronStar
Kitizen
Posts: 4898
Bluetooth and New version of raspbian
«
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
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.
Logged
NewtronStar
Kitizen
Posts: 4898
Re: Bluetooth and New version of raspbian
«
Reply #1 on:
April 14, 2015, 12:31:20 AM »
found it by doing some seaching on google it turns out to be
sudo leafpad /location
Logged
roseway
Administrator
Senior Kitizen
Posts: 43640
Penguins CAN fly
Re: Bluetooth and New version of raspbian
«
Reply #2 on:
April 14, 2015, 07:18:28 AM »
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:
Code:
[Select]
sudo chmod +x /full/path/to/script
Logged
Eric
NewtronStar
Kitizen
Posts: 4898
Re: Bluetooth and New version of raspbian
«
Reply #3 on:
April 14, 2015, 05:19:20 PM »
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.
Logged
roseway
Administrator
Senior Kitizen
Posts: 43640
Penguins CAN fly
Re: Bluetooth and New version of raspbian
«
Reply #4 on:
April 14, 2015, 06:31:41 PM »
I'm glad you've got it working anyway.
Logged
Eric
NewtronStar
Kitizen
Posts: 4898
Re: Bluetooth and New version of raspbian
«
Reply #5 on:
April 14, 2015, 09:08:19 PM »
Not bad for a single core processor runing at 700 Mhz with 512 MB of Ram for £39
Logged
Print
Pages: [
1
]
« previous
next »
Kitz Forum
>
Computer Software
>
Linux
>
Bluetooth and New version of raspbian
anything