Jump to content

Trying to install BlueZ (Bluetooth protocol) on Mark IV


headros

Recommended Posts

I have myself an AIRcable Host XR3 Bluetooth plugged into the Mark IV Pineapple, drivers are loading fine. Now I am trying to get bluetooth protocol support by installing BlueZ like this

 opkg install kmod-bluetooth bluez-utils

But I do not have enuf room to install it :-(

root@Pineapple:/# opkg install kmod-bluetooth bluez-utils
Unknown package 'kmod-bluetooth'.
Installing bluez-utils (3.36-12) to root...
Downloading http://cloud.wifipineapple.com/packages/bluez-utils_3.36-12_ar71xx.ipk.
Installing bluez-libs (3.36-3) to root...
Downloading http://cloud.wifipineapple.com/packages/bluez-libs_3.36-3_ar71xx.ipk.
Installing dbus (1.4.14-2) to root...
Downloading http://cloud.wifipineapple.com/packages/dbus_1.4.14-2_ar71xx.ipk.
Installing libexpat (2.0.1-1) to root...
Downloading http://cloud.wifipineapple.com/packages/libexpat_2.0.1-1_ar71xx.ipk.
Installing libdbus (1.4.14-2) to root...
Downloading http://cloud.wifipineapple.com/packages/libdbus_1.4.14-2_ar71xx.ipk.
Configuring libdbus.
Configuring bluez-libs.
Configuring libexpat.
Configuring dbus.
Collected errors:
 * opkg_install_cmd: Cannot install package kmod-bluetooth.
 * wfopen: /usr/bin/ciptool: No space left on device.
 * wfopen: /usr/bin/l2ping: No space left on device.
 * wfopen: /usr/bin/dund: No space left on device.
 * wfopen: /usr/bin/pand: No space left on device.
 * wfopen: /usr/bin/rfcomm: No space left on device.
 * wfopen: /usr/sbin/hciconfig: No space left on device.
 * wfopen: /usr/sbin/hciattach: No space left on device.
 * wfopen: /usr/sbin/hcid: No space left on device.
 * extract_archive: Cannot make dir /etc/bluetooth/: No space left on device.
 * wfopen: /etc/bluetooth/hcid.conf: No such file or directory.
 * wfopen: /etc/bluetooth/rfcomm.conf: No such file or directory.
 * wfopen: /etc/dbus-1/system.d/bluetooth.conf: No space left on device.
 * wfopen: /etc/config/bluetooth: No space left on device.
 * wfopen: /etc/init.d/bluez-utils: No space left on device.
 * pkg_write_filelist: Failed to open //usr/lib/opkg/info/bluez-utils.list: No space left on device.
 * opkg_install_pkg: Failed to extract data files for bluez-utils. Package debris may remain!
 * opkg_install_cmd: Cannot install package bluez-utils.
 * opkg_conf_write_status_files: Can't open status file //usr/lib/opkg/status: No space left on device.
 * opkg_conf_write_status_files: Can't open status file /home//usr/lib/opkg/status: No space left on device.


root@Pineapple:/# df
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                     960       904        56  94% /
/dev/root                 5376      5376         0 100% /rom
tmpfs                    14740      1992     12748  14% /tmp
tmpfs                      512         0       512   0% /dev
/dev/mtdblock3             960       904        56  94% /overlay
overlayfs:/overlay         960       904        56  94% /
/dev/sda1              3465277     70406   3210091   2% /usb

My question is there anyway to clean up space on the pineapple, or some way of installing BlueZ to USB drive?

I am also curious if the libraries (like dbus and libexpat) that did get installed (see screenshot) will crash the box once I reboot.

post-42764-0-96707100-1365296152_thumb.j

Link to comment
Share on other sites

of course after fiddling with it i got BlueZ to install on usb. I added a -d usb switch to opkg command

also had to do one of these numbers to map

root@Pineapple:/# export USB=/usb
root@Pineapple:/# export PATH=$PATH:$USB/usr/bin:$USB/usr/sbin
root@Pineapple:/# export LD_LIBRARY_PATH=$USB/lib:$USB/usr/lib
Link to comment
Share on other sites

Hey headros, you shouldn't need to execute those export commands - we have already included the /usb/ into the path as long as it is present.

In general, you should always install bigger programs to USB as you will quickly run out of space on the Pineapple itself!

Best,

Sebkinne

Link to comment
Share on other sites

Oh ok. For some odd reason, I got xxxxxx.so not found errors unless I manually execute those commands before installation. Maybe needed a reboot?

It sure is nice to free root space and add move the bulky stuff to usb. thanks for the tips man.

Link to comment
Share on other sites

  • 3 weeks later...

Update- I was able to get bluez-utils & dbus installed, but I am running into kernel issues installing kmod-bluetooth on Mark iV (2.7)

root@Pineapple:/# opkg -d usb install kmod-bluetooth
Installing kmod-bluetooth (3.8.9-1) to usb...
Downloading http://cloud.wifipineapple.com/packages/kmod-bluetooth_3.8.9-1_ar71xx.ipk.
Multiple packages (kmod-usb-core and kmod-usb-core) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kmod-lib-crc16 and kmod-lib-crc16) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kmod-input-core and kmod-input-core) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kmod-input-core and kmod-input-core) providing same name marked HOLD or PREFER. Using latest.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-bluetooth:
 *      kernel (= 3.8.9-1-769be9c0f3dd4a7cdc9bcb693011cf6c) *   kernel (= 3.8.9-1-769be9c0f3dd4a7cdc9bcb693011cf6c) *   kernel (= 3.8.9-1-769be9c0f3dd4a7cdc9bcb693011cf6c) *   kernel (= 3.8.9-1-769be9c0f3dd4a7cdc9bcb693011cf6c) *
 * opkg_install_cmd: Cannot install package kmod-bluetooth.

My kernel version is:

root@Pineapple:/# opkg info kernel
Package: kernel
Version: 3.3.8-1-8ab9a6db2e1833b8d7baa15c9b126684
Depends: libc
Provides:
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1350224199

Any suggestions? Would updating to Firmware 2.8 help?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...