[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

kmobiletools will nicht mit meinem Sharp GX25



Hey Liste!

Vor kurzem gab es hier schonmal einen Thread zum Thema Kommunikation über bluetooth mit einem Handy.
Vor allen Dingen, die Möglichkeit sein Adressbuch mit diversen KDE-Programmen zu synchronisieren.

Mein USB-Bluetooth Dongle wird problemlos erkannt:

==> /var/log/messages <==
Nov 20 14:25:09 localhost kernel: usb 2-1: new full speed USB device using uhci_hcd and address 15
Nov 20 14:25:09 localhost kernel: usb 2-1: configuration #1 chosen from 1 choice

==> /var/log/syslog <==
Nov 20 14:25:09 localhost kernel: usb 2-1: new full speed USB device using uhci_hcd and address 15
Nov 20 14:25:09 localhost kernel: usb 2-1: configuration #1 chosen from 1 choice
Nov 20 14:25:09 localhost hcid[2773]: HCI dev 0 registered
Nov 20 14:25:09 localhost hcid[2773]: Register path:/org/bluez/hci0 fallback:0
Nov 20 14:25:09 localhost hcid[2773]: HCI dev 0 up
Nov 20 14:25:09 localhost hcid[2773]: Device hci0 has been added
Nov 20 14:25:09 localhost hcid[2773]: Starting security manager 0
Nov 20 14:25:09 localhost hcid[2773]: Device hci0 has been activated


Ich kann außerdem problemlos Dateien mit kdebluetooth empfangen und senden.


Nun habe ich mir die aktuellen 0.5.beta1 Sourcen von kmobiletools besorgt compiliert und installiert.

Wenn ich nun versuche eine Verbindung über das /dev/rfcomm0 Device aufzubauen, bekomme ich immer einen Verbindungsfehler.
Ich werde am Handy aufgefordert eine Pin einzugeben. Wieso eigentlich? Ich habe die Authentifizierung ausgeschalten.
Auf dem Rechner kommt die Frage nach einer pin jedoch nicht.

Die log-Files sagen:

Nov 20 14:36:47 localhost hcid[2773]: pin_code_request (sba=00:0A:3A:67:48:EB, dba=08:00:1F:18:93:F7)
Nov 20 14:36:47 localhost hcid[2773]: Calling PasskeyAgent.Request: name=:1.3, path=/org/bluez/passkey_agent_3001
Nov 20 14:36:47 localhost hcid[2773]: Passkey agent replied with an error: org.freedesktop.DBus.Error.UnknownMethod, Method "Request" with signature "ss" on interface "org.bluez.PasskeyAgent" doesn't exist



skummy:/home/sandro# passkey-agent --default /usr/lib/kdebluetooth/kbluepin
Can't register passkey agent
Passkey agent already exists
process 5285: Applications must not close shared connections - see dbus_connection_close() docs. This is a bug in the application.


Ich habe den passkey-agent auch schonmal mit dem kbluepin belegen können. Dann kommt auch auf dem Rechner die Aufforderung eine Pin einzugeben. Leider wird dann das hci0 Device ausgeschalten und wieder angeschalten, was dann natürlich zu einem Verbindungsfehler führt.
Griege im Moment nur nicht den passkey-agent wieder damit belegt, womit ich auch keine log-Files dahingehend bekomme.


kmobiletools von der Konsole ausgeführt meckert so:

sandro@skummy:~$ kmobiletools
kmobiletools: DCOPClient registration: kmobiletools
QObject::connect: No such slot kmobiletoolsMainPart::showPreference()
QObject::connect:  (sender name:   'options_configure')
QObject::connect:  (receiver name: 'kmobiletools_mainpart')
QObject::connect: No such signal kmobiletoolsDevicePart::setStatusBarText(const QString&)
QObject::connect:  (sender name:   'device-0')
QObject::connect:  (receiver name: 'kmobiletools_mainpart')
kmobiletools: Probing devices:(/dev/rfcomm0,/dev/rfcomm1,/dev/rfcomm2,/dev/rfcomm3,/dev/rfcomm4,/dev/rfcomm5,/dev/rfcomm6,/dev/rfcomm7,/dev/rfcomm8,/dev/rfcomm9)
kmobiletools: LockFileName==/var/lock/LCK..rfcomm1
kmobiletools: Correctly removed stale lock: /var/lock/LCK..rfcomm1
kmobiletools: LockFile created: true
kmobiletools: LockFileName==/var/lock/LCK..rfcomm0
kmobiletools: Correctly removed stale lock: /var/lock/LCK..rfcomm0
kmobiletools: LockFile created: true
kmobiletools: Trying to open /dev/rfcomm0 in mode 2..-1
Error while opening /dev/rfcomm0: : Ungültiger Austausch
kmobiletools: Trying to open /dev/rfcomm1 in mode 2..-1
Error while opening /dev/rfcomm1: : Ungültiger Austausch
kmobiletools: LockFileName==/var/lock/LCK..rfcomm0
kmobiletools: QSerial::lockFile(): is already locked by another application
kmobiletools: ERROR! Couldn't create lockfile for /dev/rfcomm0
kmobiletools: LockFileName==/var/lock/LCK..rfcomm1
kmobiletools: QSerial::lockFile(): is already locked by another application
kmobiletools: ERROR! Couldn't create lockfile for /dev/rfcomm1
kmobiletools: Was searching for imei=""; list of devices found::
kmobiletools: Device not found
Weaver dtor: destroying inventory.
Weaver dtor: done



Meine rfcomm.conf sieht so aus:

rfcomm0 {
        bind yes;
        device 08:00:1F:18:93:F7;
        channel 3;
        comment "Skummy";
}


kmobiletools sendet doch nur irgendwelche AT Modem Befehle auf das rfcomm Device, oder?


Vielen Danke für das Lesen bis hierher. Vielleicht hat ja irgendjemand paar Tipps für mich.
Ansonsten werde ich die Mail in Englisch an die Developer von kmobiletools schicken =)!


Danke und Tschau
Sandro

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer



Reply to: