Wird mein Bluetooth Stick nicht unterstützt ?

Nordmende

Semiprofi
Thread Starter
Mitglied seit
03.05.2006
Beiträge
2.054
Ort
Terra Incognita
Hallo !

Ich habe einen Bluetooth USB-Stick geschenkt bekommen.
Natürlich wollte ich ihn gleich in Betrieb nehmen.
Doch bislang hatte ich wenig erfolg...

Nachdem ich den Stick angeschlossen habe, zeigt mit "dmesg" folgendes:

Code:
usb 1-7: new full speed USB device using ohci_hcd and address 6
usb 1-7: configuration #1 chosen from 1 choice

Weiter ist dieser Eintrag vorhanden:

Code:
Bluetooth: Core ver 2.11
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: HCI USB driver ver 2.9
usbcore: registered new interface driver hci_usb

"hciconfig" zeigt leider folgendes: :(

Code:
hci0:	Type: USB
	BD Address: [B]00:00:00:00:00:00[/B] 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

Geladen für bluetooth sind folgende Module:

Code:
[B]l2cap                  20608  0 [/B]
ipv6                  248388  8 
nvidia               7813728  24 
agpgart                27352  1 nvidia
isofs                  31268  0 
zlib_inflate           16768  1 isofs
ppdev                   7556  0 
lp                      9220  0 
[B]hci_usb                13596  0 [/B]
[B]bluetooth              50916  2 l2cap,hci_usb[/B]
parport_pc             35172  1 
parport                31432  3 ppdev,lp,parport_pc
rtc_cmos                7584  0 
rtc_core               15496  1 rtc_cmos
rtc_lib                 2944  1 rtc_core
ppp_generic            23828  0 
emu10k1_gp              3200  0 
pcspkr                  2944  0 
k8temp                  4736  0 
i2c_nforce2             6016  0 
i2c_core               19328  2 nvidia,i2c_nforce2
sg                     26640  0 
evdev                   9344  3 
thermal                13084  0 
processor              29400  1 thermal
fan                     3844  0 
button                  6544  0 
battery                10756  0 
ac                      4612  0 
fuse                   42260  0 
snd_cmipci             31872  0 
snd_opl3_lib            8704  1 snd_cmipci
snd_mpu401_uart         7040  1 snd_cmipci
slhc                    5632  1 ppp_generic
snd_emu10k1           132928  2 
snd_util_mem            3840  1 snd_emu10k1
snd_hwdep               7300  2 snd_opl3_lib,snd_emu10k1
snd_seq_oss            29440  0 
snd_seq_midi_event      6528  1 snd_seq_oss
snd_seq                47056  4 snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            37024  0 
snd_mixer_oss          14464  1 snd_pcm_oss
forcedeth              45196  0 
snd_ens1371            21152  0 
gameport               11272  4 emu10k1_gp,snd_cmipci,snd_ens1371
snd_rawmidi            19104  3 snd_mpu401_uart,snd_emu10k1,snd_ens1371
snd_seq_device          6924  5 snd_opl3_lib,snd_emu10k1,snd_seq_oss,snd_seq,snd_rawmidi
snd_ac97_codec         95268  2 snd_emu10k1,snd_ens1371
ac97_bus                2176  1 snd_ac97_codec
snd_pcm                68996  5 snd_cmipci,snd_emu10k1,snd_pcm_oss,snd_ens1371,snd_ac97_codec
snd_timer              19204  4 snd_opl3_lib,snd_emu10k1,snd_seq,snd_pcm
snd                    44772  19 snd_cmipci,snd_opl3_lib,snd_mpu401_uart,snd_emu10k1,snd_hwdep,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_ens1371,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer
soundcore               6368  1 snd
snd_page_alloc          8072  2 snd_emu10k1,snd_pcm
[B]usbhid                 40896  0 
hid                    33920  1 usbhid
ff_memless              5128  1 usbhid[/B]
ext3                  121992  2 
jbd                    43412  1 ext3
mbcache                 6912  1 ext3
dm_crypt               11908  0 
dm_mod                 51652  1 dm_crypt
sd_mod                 22656  4 
sr_mod                 14884  0 
cdrom                  33824  1 sr_mod
ohci1394               28848  0 
ieee1394               79800  1 ohci1394
ehci_hcd               32524  0 
ohci_hcd               21380  0 
pata_acpi               5248  0 
[B]usbcore               125292  5 hci_usb,usbhid,ehci_hcd,ohci_hcd[/B]
sata_nv                22152  3 
ata_generic             5252  0 
pata_amd               10500  0 
libata                137712  4 pata_acpi,sata_nv,ata_generic,pata_amd

Code:
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 005: ID 1131:1001 [B]Integrated System Solution Corp. KY-BT100 Bluetooth Adapter[/B]
Bus 001 Device 003: ID 046d:c03e Logitech, Inc. Premium Optical Wheel Mouse
Bus 001 Device 002: ID 046d:c50e Logitech, Inc. MX-1000 Cordless Mouse Receiver
Bus 001 Device 001: ID 0000:0000

€ Laut dieser und dieser Seite geht der Adapter problemlos unter Linux

Gibt es noch Hoffnung das der Stick mit Linux zum laufen bringen kann ?
Kann ja nicht sein, das die BD-Adresse nur aus 0en besteht :(

Werden noch mehr Infos benötigt ?

MFG Nordmende :)
 
Zuletzt bearbeitet:
Wenn Du diese Anzeige nicht sehen willst, registriere Dich und/oder logge Dich ein.
Was für ein Linux hast du denn? Wenn due Ubuntu hast, gib mal "/etc/init.d/bluetooth" ein.
Falls du kein Ubuntu hast, start mal "hcid" und "sdpd"
 
Hab ArchLinux

"hci" und "sdpd" hab ich gestartet.
Doch die Ausgaben von hciconfig bleibt immer noch dieselbe.

"hcitool scan" ergibt folgendes:

Code:
[ich@Ich ~]$ hcitool scan
Device is not available: No such device
 
Bin dank des Befehls

Code:
hciconfig hci0 up

weiter gekommen !

Jetzt spucken folgende Befehle folgendes aus:

Code:
[ich@Ich ~]$ hcitool scan
Scanning ...
	00:1D:28:79:D8:A4	K810i

Code:
[ich@Ich ~]$ hciconfig -a
hci0:	Type: USB
	BD Address: [B]00:11:67:1B:F4:7E[/B] ACL MTU: 678:8 SCO MTU: 48:10
	UP RUNNING PSCAN ISCAN 
	RX bytes:4105 acl:9 sco:0 events:78 errors:0
	TX bytes:950 acl:8 sco:0 commands:50 errors:0
	Features: 0xbf 0xfe 0x8d 0x78 0x08 0x18 0x00 0x00
	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
	Link policy: RSWITCH HOLD SNIFF PARK 
	Link mode: SLAVE ACCEPT 
	Name: 'K810i (0)'
	Class: 0x000100
	Service Classes: Unspecified
	Device Class: Computer, Uncategorized
	HCI Ver: 1.2 (0x2) HCI Rev: 0x1f4 LMP Ver: 1.2 (0x2) LMP Subver: 0x1f4
	Manufacturer: Integrated System Solution Corp. (57)

Versuche mit dieser Anleitung mein Handy jetzt mit dem PC zu verbinden.
Mein PC will ich dann mit anyRemote fernsteuern (anyRemote und anyRemote2html sind installiert)
Doch es funktioniert nicht :(

Die Kommandos

Code:
$ /etc/init.d/hcid start
$ /etc/init.d/bluez-utils start

gibt es bei mir nicht....(nutze ArchLinux)

Hier mal meine confi-Dateien aus /etc/bluetooth

hcid.conf

Code:
#
# HCI daemon configuration file.
#

# HCId options
options {
	# Automatically initialize new devices
	autoinit yes;

	# Security Manager mode
	#   none - Security manager disabled
	#   auto - Use local PIN for incoming connections
	#   user - Always ask user for a PIN
	#
	security none;

	# Pairing mode
	#   none  - Pairing disabled
	#   multi - Allow pairing with already paired devices
	#   once  - Pair once and deny successive attempts
	pairing multi;

	# Default PIN code for incoming connections
	passkey "1234";
}

# Default settings for HCI devices
device {
	# Local device name
	#   %d - device id
	#   %h - host name
	name "K810i (%d)";

	# Local device class
	class 0x000100;

	# Default packet type
	#pkt_type DH1,DM1,HV1;

	# Inquiry and Page scan
	iscan enable; pscan enable;

	# Default link mode
	#   none   - no specific policy 
	#   accept - always accept incoming connections
	#   master - become master on incoming connections,
	#            deny role switch on outgoing connections
	lm accept;

	# Default link policy
	#   none    - no specific policy
	#   rswitch - allow role switch
	#   hold    - allow hold mode
	#   sniff   - allow sniff mode
	#   park    - allow park mode
	lp rswitch,hold,sniff,park;
}

rfcomm.conf

Code:
#
# RFCOMM configuration file.
#

rfcomm0 {
#	# Automatically bind the device at startup
	bind yes;
#
#	# Bluetooth address of the device
#	device 11:22:33:44:55:66;
device 00:11:67:1B:F4:7E;
#
#	# RFCOMM channel for the connection
	channel	2;
#
#	# Description of the connection
	comment "blablabla";
}

in dem Ordner /etc/rd.d gibt es bei mir ein Bluetooth Script mit folgendem Inhalt:

Code:
#!/bin/sh
#
# Start/stop the Bluetooth daemons
#

. /etc/rc.conf
. /etc/rc.d/functions

DAEMON_NAME="hcid"
HID2HCI_NAME="hid2hci"
SDPD_NAME="sdpd"
HIDD_NAME="hidd"
RFCOMM_NAME="rfcomm"
PAND_NAME="pand"
DUND_NAME="dund"

DAEMON_EXEC="/usr/sbin/hcid"
HID2HCI_EXEC="/usr/sbin/hid2hci"
SDPD_EXEC="/usr/sbin/sdpd"
HIDD_EXEC="/usr/bin/hidd"
RFCOMM_EXEC="/usr/bin/rfcomm"
PAND_EXEC="/usr/bin/pand"
DUND_EXEC="/usr/bin/dund"

DAEMON_ENABLE="true"
HID2HCI_ENABLE="true"
SDPD_ENABLE="true"
HIDD_ENABLE="true"
RFCOMM_ENABLE="false"
DUND_ENABLE="false"
PAND_ENABLE="false"

DAEMON_CONFIG="/etc/bluetooth/hcid.conf"
RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf"

HIDD_OPTIONS=""
DUND_OPTIONS=""
PAND_OPTIONS=""

[ -f /etc/conf.d/bluetooth ] && . /etc/conf.d/bluetooth

case "$1" in
  start)
    stat_busy "Starting bluetooth subsystem:"
    if [ "$DAEMON_ENABLE" = "true" -a -x "$DAEMON_EXEC" -a -f "$DAEMON_CONFIG" ] ; then
      stat_append " $DAEMON_NAME"
      if [ "$SDPD_ENABLE" = "true" ]; then
        $DAEMON_EXEC -f $DAEMON_CONFIG
      else
        $DAEMON_EXEC -s -f $DAEMON_CONFIG
      fi
    fi
    if [ "$HID2HCI_ENABLE" = "true" -a -x "$HID2HCI_EXEC" ] ; then
      stat_append " $HID2HCI_NAME"
      $HID2HCI_EXEC --tohci > /dev/null 2>&1 || true
    fi
    if [ "$SDPD_ENABLE" = "true" -a -x "$SDPD_EXEC" ] ; then
      stat_append " $SDPD_NAME"
      $SDPD_EXEC
    fi
    if [ "$HIDD_ENABLE" = "true" -a -x "$HIDD_EXEC" ]; then
      stat_append " $HIDD_NAME"
      $HIDD_EXEC $HIDD_OPTIONS --server
    fi
    if [ "$RFCOMM_ENABLE" = "true" -a -x "$RFCOMM_EXEC" -a -f "$RFCOMM_CONFIG" ]; then
      stat_append " $RFCOMM_NAME"
      $RFCOMM_EXEC -f $RFCOMM_CONFIG bind all
    fi
    if [ "$DUND_ENABLE" = "true" -a -x "$DUND_EXEC" -a -n "$DUND_OPTIONS" ]; then
      stat_append " $DUND_NAME"
      $DUND_EXEC $DUND_OPTIONS
    fi
    if [ "$PAND_ENABLE" = "true" -a -x "$PAND_EXEC" -a -n "$PAND_OPTIONS" ]; then
      stat_append " $PAND_NAME"
      $PAND_EXEC $PAND_OPTIONS
    fi
    add_daemon bluetooth
    stat_done
    ;;
  stop)
    stat_busy "Stopping bluetooth subsystem:"

    stat_append " $PAND_NAME"
    killall $PAND_NAME >/dev/null 2>&1

    stat_append " $DUND_NAME"
    killall $DUND_NAME >/dev/null 2>&1

    if [ -x "$RFCOMM_EXEC" ]; then
      stat_append " $RFCOMM_NAME"
      $RFCOMM_EXEC release all >/dev/null 2>&1
    fi

    stat_append " $HIDD_NAME"
    killall $HIDD_NAME >/dev/null 2>&1

    stat_append " $SDPD_NAME"
    killall $SDPD_NAME >/dev/null 2>&1

    stat_append " $DAEMON_NAME"
    killall $DAEMON_NAME >/dev/null 2>&1

    rm_daemon bluetooth
    stat_done
    ;;
  restart)
    $0 stop
    sleep 1
    $0 start
    ;;
  *)
    echo "usage: $0 {start|stop|restart}"  
esac
exit 0

Wie schaffe ich es jetzt, meinen PC mit dem Handy zu koppeln ?
 
bluez ist aber schon installiert?
Mit openobex solltest du ganz einfach verbinden können. Das lief schon vor Jahren super einfach.
 
Hardwareluxx setzt keine externen Werbe- und Tracking-Cookies ein. Auf unserer Webseite finden Sie nur noch Cookies nach berechtigtem Interesse (Art. 6 Abs. 1 Satz 1 lit. f DSGVO) oder eigene funktionelle Cookies. Durch die Nutzung unserer Webseite erklären Sie sich damit einverstanden, dass wir diese Cookies setzen. Mehr Informationen und Möglichkeiten zur Einstellung unserer Cookies finden Sie in unserer Datenschutzerklärung.


Zurück
Oben Unten refresh