Setting up my first Raspberry Pi and want to use it with a Bluetooth keyboard using a BLUETOOTH 4.0 USB MODULE https://www.adafruit.com/product/1327.
On the product page for that, near the bottom it says, "For Linux, use Bluez which works great, our Pi tutorial will be similar to your favorite distro."
I'm attempting to install Bluez via the tutorial shown here, https://learn.adafruit.com/pibeacon-ibe ... -up-the-pi, however I can't get past the very first step; it aborts.
I'm using the operating system that came with this, https://www.adafruit.com/product/1121. It boots up fine (obviously, since I'm showing a screen shot).
I'm wondering, however, if there's something that has changed between the tutorial being written and now that's causing step 1 to abort.
Any ideas?
Bluetooth via piBeacon Tutorial
Moderators: adafruit_support_bill, adafruit
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Bluetooth via piBeacon Tutorial
I've notified the tutorial author, and he is looking into this problem.
- ktownsend
- Posts: 1447
- Joined: Thu Nov 05, 2009 2:18 am
Re: Bluetooth via piBeacon Tutorial
Sorry for the delay ... I'm just waiting for an order with the same SD card to arrive.
Have you perhaps tried 'sudo apt-get update' before installing the other packages though?
Kevin
Have you perhaps tried 'sudo apt-get update' before installing the other packages though?
Kevin
- quade
- Posts: 61
- Joined: Sat Dec 14, 2013 5:03 pm
Re: Bluetooth via piBeacon Tutorial
Yep. I've fooled around trying a few different things. I've gotten another SD card and did a fresh install of Raspian too. I've installed a couple of other things to get screen sharing on a Mac to work, and it does. So, I think my being able to install things is at least semi-valid. I just can't get Bluez to install. Maybe it's Bluez itself.
- a_greg
- Posts: 67
- Joined: Fri Aug 02, 2013 2:48 pm
Re: Bluetooth via piBeacon Tutorial
I get the same result when I perform this step, and answer yes to continue:
sudo unxz bluez-5.11.tar.xz
sudo unxz bluez-5.11.tar.xz
- a_greg
- Posts: 67
- Joined: Fri Aug 02, 2013 2:48 pm
Re: Bluetooth via piBeacon Tutorial
I need to make a correction:
I got the "abort" result when I didn't have the "Install Required Libraries" performed correctly, in step 1 of "Setting up the Pi" in the Tutorial.
I found that in my case, I could not just copy the code in step 1, I had to manually type it in, and only then, did the libraries appear to install correctly.
However, everything worked OK until I got to step 3. When typing in:
sudo unxz bluez-5.11.tar.xz
I get the following:
unxz: bluez-5.11.tar.xz: No such file or directory
Looking in the bluez directory I see the following:
bluez-5.11.tar.gz
I'm wondering if I missed something.
I got the "abort" result when I didn't have the "Install Required Libraries" performed correctly, in step 1 of "Setting up the Pi" in the Tutorial.
I found that in my case, I could not just copy the code in step 1, I had to manually type it in, and only then, did the libraries appear to install correctly.
However, everything worked OK until I got to step 3. When typing in:
sudo unxz bluez-5.11.tar.xz
I get the following:
unxz: bluez-5.11.tar.xz: No such file or directory
Looking in the bluez directory I see the following:
bluez-5.11.tar.gz
I'm wondering if I missed something.
- ktownsend
- Posts: 1447
- Joined: Thu Nov 05, 2009 2:18 am
Re: Bluetooth via piBeacon Tutorial
Sorry, there was a typo in there ... you should have run the following in step 2:
Code: Select all
sudo wget www.kernel.org/pub/linux/bluetooth/bluez-5.11.tar.xz
- quade
- Posts: 61
- Joined: Sat Dec 14, 2013 5:03 pm
Re: Bluetooth via piBeacon Tutorial
Ah, I now see the problem in the Step 1 copy and paste.
If you simply copy and past the code, then a superfluious carriage return gets inserted.
If you simply copy and past the code, then a superfluious carriage return gets inserted.
- ktownsend
- Posts: 1447
- Joined: Thu Nov 05, 2009 2:18 am
Re: Bluetooth via piBeacon Tutorial
Thanks for the heads up. I just added a short note about this for future users.
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/