Archiv:Bluetooth Treiber: Unterschied zwischen den Versionen
Aus Synology Wiki
imported>Janus Die Seite wurde neu angelegt: „* install compiler from ipkg ipkg install gcc * Setup Kernel Sourcen und bauen der bluetooth treiber Toolchain besorgen: synogpl-2198-x64.tbz auspacken tar…“ |
(kein Unterschied)
|
Version vom 10. Juni 2012, 15:00 Uhr
- install compiler from ipkg
ipkg install gcc
- Setup Kernel Sourcen und bauen der bluetooth treiber
Toolchain besorgen: synogpl-2198-x64.tbz auspacken tar -xpvjf synogpl-2198-x64.tbz
cd source/linux-2.6.32/ cp synoconfigs/x86_64 .config # Kernel Sourcen vorbereiten
make config # Erforderliche bluetooth Treiber auswählen
- bluez utils mittels ipkg installieren
DiskStation2> ipkg list_installed|grep bluez bluez-hcidump - 1.42-1 - bluez-libs - 3.36-1 - Bluetooth libraries. bluez-utils - 3.36-3 -
- bluetooth kernel modul laden
modprobe bluetooth modprobe btusb
- bluetooth stack mittels hcitool testen
hciconfig hci0 up hcitool scan
- Startup Script bluetooth /opt/etc/init.d/S30bluetooth
#!/bin/sh
start() {
/sbin/modprobe btusb
/opt/sbin/hciconfig hci0 up
/opt/sbin/hciconfig hci0 reset
}
stop() {
/opt/sbin/hciconfig hci0 down
/sbin/rmmod btusb
/sbin/rmmod bluetooth
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
sleep 1
start
;;
*)
echo "Usage: $0 (start|stop|restart)"
exit 1
;;
esac
# End