Nightfall Wiki

BlueFRITZ! USB

aus Online Brain, der freien Wissensdatenbank

Softwareanforderungen

  • gentoo-sources
  • bluez-utils
  • bluez-libs
  • BlueFRITZ! USB Firmware

Konfiguration

Zuerst muss der Kernel für USB bzw. Bluetooth konfiguriert werden.

Kernel Konfiguration: Kernelkonfiguration für Bluetooth
 Device Drivers -> USB Support
 <*> Support for Host-side USB
 --- Miscellaneous USB options 
 [*]   USB device filesystem
 --- USB Host Controller Drivers
 <*> EHCI HCD (USB 2.0) support
 <*> OHCI HCD support
 < > UHCI HCD (most Intel and VIA) support
 --- USB Input Devices
 <*> USB Human Interface Device (full HID) support
 [*]   HID input layer support

 --- Networking support
 <*>   Bluetooth subsystem support  --->
  --- Bluetooth subsystem support
  <*>   L2CAP protocol support
  <*>   SCO links support
  <*>   RFCOMM protocol support
  [*]     RFCOMM TTY support
  <*>   BNEP protocol support
  [*]     Multicast filter support
  < >   HIDP protocol support
   Bluetooth device drivers  --->
     <*> HCI USB driver
     [*]   SCO (voice) support
     <*> HCI UART driver
     [*]   UART (H4) protocol support
     [*]   BCSP protocol support
     [*]     Transmit CRC with every BCSP packet
     <*> HCI BlueFRITZ! USB driver

Für Bluetooth brauchen wir zunächst die Firmware für den BlueFRITZ! USB. Dazu erstellen wir ein neues Verzeichnis und laden die aktuelle Firmware herunter:

# mkdir -p /lib/firmware
# cd /lib/firmware
# wget ftp://ftp.in-berlin.de/pub/capi4linux/firmware/bluefusb/3-18-39/bfubase.frm

Als nächstes installieren wir die benötigten bluez-Pakete net-wireless/bluez-libs und net-wireless/bluez-utils und fügen bluetooth zum default-Runlevel hinzu.

# emerge bluez-libs
# emerge bluez-utils
# rc-update add bluetooth default

Den Bluetooth PIN kann man in der pin Konfigurationsdatei anpassen:

File: nano -w /etc/bluetooth/pin
1234

Standardeinstellung

Um ein rfcomm Device anzulegen, welches z.B. von kmobiletools benutzt wird muss die /etc/bluetooth/rfcomm.conf geändert werden.

File: nano -w /etc/bluetooth/rfcomm.conf
# Automatically bind the device at startup
bind yes;

# Bluetooth address of the device
device 00:0e:07:a6:e8:cd;

# RFCOMM channel for the connection
channel 2;

# Description of the connection
comment "Bluetooth K700i";

'bind' sorgt dafür, dass das Gerät beim Bootvorgang "erstellt" wird.
Die 'device address' finden wir heraus indem wir ein # hcitools scan ausführen, oder später mit kdebluetooth.
channel ist der Kanal welcher für die serielle Verbindung benutzt wird, das können wir auch später mit kdebluetooth herausfinden. Ansonsten sind das beim K700i die Kanäle 2 oder 3 und beim T610 die Kanäle 4 und 5.

Jetzt brauchen wir nur noch Programme welche die nötigen Funktionen bieten, zum einen wäre da net-wireless/kdebluetooth welches Dienste wie OBEX usw. anbietet oder app-mobilephone/kmobiletools um SMS zu lesen und das Adressbuch zu synchronisieren.

Erklärung zur Einrichtung der 2 Programme gibt es hier:

kdebluetooth - Einrichtung des KDE Bluetooth Framework.
kmobiletools - Einrichtung von KMobileTools.

'Persönliche Werkzeuge
MediaWiki