PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Bluetooth will net so recht



IceBox
29.03.05, 01:46
Ich habe: Gentoo, kernel 2.6.11.4, nen no name bluetooth usb stick (10m reichweite) und nen Nokia 7650.

Habs soweit geschafft das das handy den pc findet, der pc findet das handy zwar auch aber bei kbluetooth wird mir nur angezeigt das es da ist aber keine dienste anbietet.
in der konsole wird das hany bei "hcitool scan" auch gefunden und alles koreckt angezeigt

eine kopplung beider geräte geht auch net

hab mal die 2 config datein hcid.conf und rfcomm.conf angehängt


#
# HCI daemon configuration file.
#
# $Id: hcid.conf,v 1.4 2004/04/29 20:14:21 holtmann Exp $
#

# 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 user;

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

# PIN helper
pin_helper /usr/bin/bluepin;

# D-Bus PIN helper
#dbus_pin_helper;
}

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

# Local device class
class 0x100;

# 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;
#
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 hold,sniff;
#
lp rswitch,hold,sniff,park;

# Authentication and Encryption
auth enable;
encrypt enable;
}


#
# RFCOMM configuration file.
#
# $Id: rfcomm.conf,v 1.1 2002/10/07 05:58:18 maxk Exp $
#

rfcomm0 {
# Automatically bind the device at startup
bind no;

# Bluetooth address of the device [hier gehört doch die bt adresse des sticks rein oder?]
device 00:09:DD:10:42:FE;

# RFCOMM channel for the connection
channel 1;

# Description of the connection
comment "Example Bluetooth device";
}

was habe ich da übersehen? die module werden auch koreckt geladen, zumindes wird mir kein fehler angezeigt

hmarburg
29.03.05, 22:14
Ich habe: Gentoo, kernel 2.6.11.4, nen no name bluetooth usb stick (10m reichweite) und nen Nokia 7650.

Habs soweit geschafft das das handy den pc findet, der pc findet das handy zwar auch aber bei kbluetooth wird mir nur angezeigt das es da ist aber keine dienste anbietet.
in der konsole wird das hany bei "hcitool scan" auch gefunden und alles koreckt angezeigt

eine kopplung beider geräte geht auch net

hab mal die 2 config datein hcid.conf und rfcomm.conf angehängt


#
# HCI daemon configuration file.
#
# $Id: hcid.conf,v 1.4 2004/04/29 20:14:21 holtmann Exp $
#

# 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 user;

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

# PIN helper
pin_helper /usr/bin/bluepin;

# D-Bus PIN helper
#dbus_pin_helper;
}

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

# Local device class
class 0x100;

# 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;
#
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 hold,sniff;
#
lp rswitch,hold,sniff,park;

# Authentication and Encryption
auth enable;
encrypt enable;
}


#
# RFCOMM configuration file.
#
# $Id: rfcomm.conf,v 1.1 2002/10/07 05:58:18 maxk Exp $
#

rfcomm0 {
# Automatically bind the device at startup
bind no;

# Bluetooth address of the device [hier gehört doch die bt adresse des sticks rein oder?]
device 00:09:DD:10:42:FE;

# RFCOMM channel for the connection
channel 1;

# Description of the connection
comment "Example Bluetooth device";
}

was habe ich da übersehen? die module werden auch koreckt geladen, zumindes wird mir kein fehler angezeigt

Stimmen die pins im Handy und am PC überein?

IceBox
30.03.05, 00:48
wenn ich die beiden geräte koppeln will, kommt an handy nur: kopplung mit icebox nicht möglich" kann auch keine files an den pc senden, kommt immer dieser fehler.
in die datei "pin" ( /etc/bluetooth/pin ) hab ich nen perönlichen 4 stelligen pin eingetrageb

hmarburg
30.03.05, 06:46
wenn ich die beiden geräte koppeln will, kommt an handy nur: kopplung mit icebox nicht möglich" kann auch keine files an den pc senden, kommt immer dieser fehler.
in die datei "pin" ( /etc/bluetooth/pin ) hab ich nen perönlichen 4 stelligen pin eingetrageb

Ist das der Pin aus dem Handbuch deines Handys für die Bluetooth-Verbindung?

IceBox
30.03.05, 22:52
äm nein, vor meiner neuinstalation hab ich mein handy einfach nach bluetooth geräten suchen lassen, mein pc wurde aufgelistet dann bin ich auf verbinden.
nach kurzer zeit wurde am handy nen fenster angezeigt wo ich nen belibigen pin eingeben konnte hab ich gemacht und auf ok
nach ca. 3 sec war am pc ein fenster zu sehen wo ich den selben pin wie am handy nochmal eingeben muste, danach waren die beiden geräte gekoppelt und ich konnte ohne bestätigung files austauschen.
im mom geht aber garnix, kann keine files tauschen (von beiden gerären) und auch nicht koppeln

hmarburg
30.03.05, 23:05
äm nein, vor meiner neuinstalation hab ich mein handy einfach nach bluetooth geräten suchen lassen, mein pc wurde aufgelistet dann bin ich auf verbinden.
nach kurzer zeit wurde am handy nen fenster angezeigt wo ich nen belibigen pin eingeben konnte hab ich gemacht und auf ok
nach ca. 3 sec war am pc ein fenster zu sehen wo ich den selben pin wie am handy nochmal eingeben muste, danach waren die beiden geräte gekoppelt und ich konnte ohne bestätigung files austauschen.
im mom geht aber garnix, kann keine files tauschen (von beiden gerären) und auch nicht koppeln

Siehe mal mit lsmod nach, ob deine Module (hci-usb und bluez) geladen sind?