root@slitaz:/home/tux# bluetoothd
root@slitaz:/home/tux# modprobe btusb
root@slitaz:/home/tux# hcitool dev
Devices:
hci0 00:02:72:xx:xx:xx
root@slitaz:/home/tux# hciconfig hci0 piscan
root@slitaz:/home/tux# bluez-simple-agent
Agent registered
root@slitaz:/home/tux# tazpkg get-install pygobject
root@slitaz:/home/tux# tazpkg get-install dbus-python
root@slitaz:/home/tux# hciconfig hci0 pscan
root@slitaz:/home/tux# hcitool scan
Scanning ...
00:1F:DF:xx:xx:xx Nokia N78
root@slitaz:/home/tux# sdptool browse 00:1F:DF:xx:xx:xx
#
# RFCOMM configuration file.
#
rfcomm0 {
# # Automatically bind the device at startup
bind yes;
#
# # Bluetooth address of the device
device 00:1F:DF:xx:xx:xx;
#
# # RFCOMM channel for the connection
channel 1;
#
# # Description of the connection
# comment "Example Bluetooth device";
}
rfcomm -i hci0 -f /etc/bluetooth/rfcomm.conf bind all
root@slitaz:/home/tux# zcat /proc/config.gz | grep RFCOMM
CONFIG_BT_RFCOMM=m
# CONFIG_BT_RFCOMM_TTY is not set
root@slitaz:/home/tux#
make CONFIG_BT_RFCOMM=m CONFIG_BT_RFCOMM_TTY=y M=net/bluetooth/rfcomm.
rm /lib/modules/2.6.30.6-slitaz/kernel/net/bluetooth/rfcomm/rfcomm.ko.gz
cp /usr/src/linux-2.6.30.6-slitaz/net/bluetooth/rfcomm/rfcomm.ko /lib/modules/2.6.30.6-slitaz/kernel/net/bluetooth/rfcomm/
root@slitaz:/home/tux# tazpkg list-files hwsetup
Installed files with : hwsetup
================================================================================
/sbin/hwsetup
/sbin/tazhw
================================================================================
2 files installed with hwsetup.
root@slitaz:/home/tux# tazhw setup bluetooth
COMMAND OPTIONS: bluetooth
installing pkg: usbutils
usbutils-0.84
Connecting to mirror.slitaz.org (94.23.60.116:80)
usbutils-0.84.tazpkg 100% |*******************************************************************************************************************************************************************| 155k 00:00:00 ETA
Installation of : usbutils-0.84
================================================================================
Copying usbutils-0.84... [ OK ]
Extracting usbutils-0.84... 311 blocks
Extracting the pseudo fs... (lzma) 415 blocks
Installing usbutils... [ OK ]
Removing all tmp files... [ OK ]
================================================================================
usbutils (0.84) is installed.
installing pkg: hal-info
hal-info-20090414
Connecting to mirror.slitaz.org (94.23.60.116:80)
hal-info-20090414.ta 100% |*******************************************************************************************************************************************************************| 35256 00:00:00 ETA
Tracking dependencies for : hal-info-20090414
================================================================================
Missing : hal-extra
================================================================================
1 missing package(s) to install.
hal-extra-0.5.13
Connecting to mirror.slitaz.org (94.23.60.116:80)
hal-extra-0.5.13.taz 100% |*******************************************************************************************************************************************************************| 75252 --:--:-- ETA
Installation of : hal-extra-0.5.13
================================================================================
Copying hal-extra-0.5.13... [ OK ]
Extracting hal-extra-0.5.13... 147 blocks
Extracting the pseudo fs... (lzma) 553 blocks
Installing hal-extra... [ OK ]
Removing all tmp files... [ OK ]
================================================================================
hal-extra (0.5.13) is installed.
Installation of : hal-info-20090414
================================================================================
Copying hal-info-20090414... [ OK ]
Extracting hal-info-20090414... 69 blocks
Extracting the pseudo fs... (lzma) 552 blocks
Installing hal-info... [ OK ]
Removing all tmp files... [ OK ]
================================================================================
hal-info (20090414) is installed.
adding tux to lp
==========================================================
Due to a lack of compatible hardware for troubleshooting,
this bluetooth device has not been properly tested. Please
report any success, failure, bug to SliTaz Labs or Forums.
==========================================================
Detected PCI devices Kernel modules
================================================================================
> Module in use: nvidia
* Loaded module: snd_hda_intel
* Loaded module: k8temp
================================================================================
Detected USB devices Kernel modules
================================================================================
================================================================================
Do you want to see if the bluetooth is working (y/N) ? y
========================================
Bluetooth interfaces
Bus 002 Device 004: ID 0a5c:2101 Broadcom Corp. A-Link BlueUsbA2 Bluetooth
hci0: Type: BR/EDR Bus: USB
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:0 acl:0 sco:0 events:0 errors:0
TX bytes:0 acl:0 sco:0 commands:0 errors:0
Devices:
Device is not available: No such device
========================================
Following Bluetooth commands may be of help
modprobe btusb
/usr/sbin/bluetoothd -nd #for starting bluetooth daemon
hciconfig -a
"hcitool dev" : checking local bluetooth devices...
"hcitool scan" : scanning remote bluetooth devices...
You can manually edit the configuration files in /etc/bluetooth if need be
========================================
root@slitaz:/home/tux# hcitool dev
Devices:
root@slitaz:/home/tux#
su tux (or userid) -c tor
bluetooth)
#untested
load_modules
# sanity check: btusb is not loaded automagically for unknown reasons
# probably no mod and prod of device in /lib/modules/`uname -r`/modules.usbmap
# in tazhw detect_usb_devices()
if ! lsmod | grep -q btusb ; then
modprobe btusb
fi
# launch bluetoothd, not able to do it through udev, i did not find a udev rule about bluetooth
# could it be the problem?
bluetoothd
sleep 1
if hcitool dev | grep -q hci ; then
echo `hcitool dev`
echo ""
echo "========================================"
echo -e "Following \033[1m Bluetooth commands \033[0m may be of help "
echo ""
echo " hciconfig -a"
echo " \"hcitool dev\" : checking local bluetooth devices..."
echo " \"hcitool scan\" : scanning remote bluetooth devices..."
echo " \"bluez-simple-agent\" : pairing with remote bluetooth devices..."
echo -e " You can manually edit the configuration files in \033[1m /etc/bluetooth \033[0m if need be"
echo "========================================"
else
echo "========================================"
echo -e "Your device has not been detected, you should configure it by hands"
echo -e "Following \033[1m Bluetooth commands \033[0m may be of help "
echo ""
echo " modprobe the module required by your device"
echo " /usr/sbin/bluetoothd -nd #for starting bluetooth daemon"
echo " hciconfig -a"
echo " \"hcitool dev\" : checking local bluetooth devices..."
echo " \"hcitool scan\" : scanning remote bluetooth devices..."
echo " \"bluez-simple-agent\" : pairing with remote bluetooth devices..."
echo -e " You can manually edit the configuration files in \033[1m /etc/bluetooth \033[0m if need be"
echo "========================================"
fi
;;
It looks like you're new here. If you want to get involved, click one of these buttons!