Portál AbcLinuxu, 12. května 2025 09:30

Dotaz: Bluetooth Discovery Service

15.7.2006 11:58 Mayo | skóre: 1
Bluetooth Discovery Service
Přečteno: 463×
Odpovědět | Admin
Používam SUSE 10.1, KDE 3.5.3, kdebluetooth-0.99.0svn555671-2, bluez-libs-3.1.2, bluez-utils-3.1.2 a EPOX USB Bluetooth dongle.

Pred upgradom z KDE 3.5.1 a staršími verziami kdebluetooth, bluez-libs a utils fungoval bluetooth skvelo. Potom v KDE 3.5.3 nefungoval v Konquerori zapis: bluetooth:/ (Vyhadzovalo to malformed url). Pomohol práve upgrade kdebluetooth, bluez-libs a utils z SUSE Factory.

Teraz mi však pre zmenu nefunguje discovery service. Teda viem vyhľadať bluetooth zariadenia z PC ale žiadne zariadenie nevie nájsť PC. Nastavenia v yaste pritom vyzerajú OK.

Akurát pri restate bluetooth daemona som si všimol:

# rcbluetooth restart

Starting bluetooth: hcid sdpd hidd hid2hci opdsyntax error line 14 rfcomm pand dund

Vie niekto poradiť, kde môže byť problém?
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

15.7.2006 12:07 Petr Šobáň | skóre: 80 | blog: soban | Olomouc
Rozbalit Rozbalit vše Re: Bluetooth Discovery Service
Odpovědět | | Sbalit | Link | Blokovat | Admin
Že by se podívat do toho skriptu no a hledat co se z něho spouští a podívat se s jakýmy parametry asi je tam někde zapsaná špatná syntaxe nějakého konfiguráku.
Akurát pri restate bluetooth daemona som si všimol:

# rcbluetooth restart

Starting bluetooth: hcid sdpd hidd hid2hci opdsyntax error line 14 rfcomm pand dund

Případně konfiguráky smazat a skusit vše nakonfigurovat znovu.
21.7.2006 11:45 Mayo | skóre: 1
Rozbalit Rozbalit vše Re: Bluetooth Discovery Service
Problém s chybou na riadku 14 bol v /etc/bluetooth/rccomm.conf. Ale riešenie môjho problému nachádzalo priamo na hardisku:
These latest packages are updates to version 3.1, which brings some different configuration options.

WARNING: the YaST2 bluetooth module will not function correctly with these packages, especially the PIN and the security settings will not work out of the box.

You have to either: - set your pin in /etc/bluetooth/hcid.conf: security auto; passkey "your_PIN"; - set security to "user" in hcid.conf: security user; and then start passkey-agent before trying to pair your device: passkey-agent --default your_PIN

Passkey-agent won't exit once the device is paired, you have to abort it with CTRL-C.

This is a temporary solution, until kbluetoothd has support for DBUS and the YaST2 bluetooth module has been updated.

If you used the YaST2 bluetooth module or updated from an older version, you have to remove the "auth" and "encrypt" lines from hcid.conf, otherwise it probably won't work.

There are probably some more hidden problems in this new release. If you find some of them, don't hesitate to report a bug on http://bugzilla.novell.com.

Have a lot of fun...
21.7.2006 11:49 Mayo | skóre: 1
Rozbalit Rozbalit vše Re: Bluetooth Discovery Service
ešte dodám, že je treba po zmene v hcid.conf zmazať adresár: /var/lib/bluetooth/00:11:67:1C:DE:0D (nahradit adresou vasho bt zariadenia) a zrestartovat daemona: /etc/init.d/bluetooth restart

potom pouzit ten passkey-agent

a

a možme parovat zariadenie (mobil).

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.