• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Bluetooth funktioniert wieder mal nicht

MiPl

Hacker
Hallo,

langsam kriege ich hier die Krise mit den ewigen Bluetoothproblemen. Da mein alter Bluetoothstick den Löffel abgegeben hat, habe ich mir einen angeblich zu Linux kompatiblen Stick (lsusb: Integrated System Solution Corp. Bluetooth Device) zugelegt.

Kbluetooth erkennt den Stick auch, doch alle Versuche, eine Verbindung bzw. ein Pairing hinzubekommen klappen (mal wieder) nicht.
Wenn ich z. B. mein Mobile auf sichtbar stelle und mit Kbluetooth ein Fenster mit der Adresse bluetooth:/ öffne, findet der Rechner zwar das Telefon, aber weiter komme ich dann nicht mehr.

Mit rcbluetooth status habe ich dann noch festgestellt, das opd nicht läuft. Leider habe ich keine Ahnung, wie man es starten kann, um Dateien auszutauschen.

Was fehlt Euch noch an weiteren Infos? Vielleicht noch /var/log/messages:

Jul 27 13:12:57 linux-3k0h kernel: usb 1-1.1: new full speed USB device using uhci_hcd and address 5
Jul 27 13:12:57 linux-3k0h kernel: usb 1-1.1: configuration #1 chosen from 1 choice
Jul 27 13:12:57 linux-3k0h kernel: usb 1-1.1: New USB device found, idVendor=1131, idProduct=1004
Jul 27 13:12:57 linux-3k0h kernel: usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jul 27 13:12:57 linux-3k0h kernel: usb 1-1.1: Product: ISSCEDRBTA
Jul 27 13:12:57 linux-3k0h kernel: usb 1-1.1: Manufacturer: ISSC
Jul 27 13:12:57 linux-3k0h hcid[1235]: HCI dev 0 registered
Jul 27 13:12:57 linux-3k0h hcid[1235]: HCI dev 0 up
Jul 27 13:12:57 linux-3k0h hcid[1235]: Device hci0 has been added
Jul 27 13:12:57 linux-3k0h hcid[1235]: Starting security manager 0
Jul 27 13:12:57 linux-3k0h hcid[1235]: Device hci0 has been activated
 
OP
M

MiPl

Hacker
Ich habe dann noch festgestellt, dass weder obex noch rfcomm läuft - siehe Ausgabe von rcbluetooth status:

rcbluetooth status
Checking service bluetooth (enabled) :
hcid (activated) running
hid2hci (activated)
opd unused
rfcomm (activated)
pand unused
dund unused

wie kann ich opd und/oder rfcomm starten?
 
OP
M

MiPl

Hacker
Dann habe ich noch festgestellt, dass scheinbar bluez nicht installiert ist:

zypper se bluez
Daten des Repositorys laden...
Installierte Pakete lesen...

S | Name | Zusammenfassung | Typ
--+----------------------------+--------------------------------------------------+-----------
| bluez | Bluetooth Stack for Linux | Paket
| bluez | Bluetooth Stack for Linux | Quellpaket
| bluez-alsa | Bluetooth Sound Support | Paket
| bluez-audio | Bluetooth Sound Support | Paket
| bluez-compat | Bluetooth Stack for Linux | Paket
| bluez-cups | CUPS Driver for Bluetooth Printers | Paket
| bluez-devel | Files needed for BlueZ development | Paket
| bluez-firmware | Bluetooth(TM) Firmware | Paket
| bluez-gnome | Bluetooth helpers for GNOME | Paket
| bluez-gnome | Bluetooth helpers for GNOME | Quellpaket
| bluez-gnome-debuginfo | Debug information for package bluez-gnome | Paket
| bluez-gnome-debugsource | Debug sources for package bluez-gnome | Paket
| bluez-gnome-lang | Languages for package bluez-gnome | Paket
| bluez-gstreamer | Bluetooth Sound Support | Paket
| bluez-gstreamer | Bluetooth Sound Support | Quellpaket
| bluez-hcidump | HCI Dumper for Debugging Bluetooth Connections | Paket
| bluez-hcidump | HCI Dumper for Debugging Bluetooth Connections | Quellpaket
| bluez-hcidump-debuginfo | Debug information for package bluez-hcidump | Paket
| bluez-hcidump-debugsource | Debug sources for package bluez-hcidump | Paket
| bluez-hidd | Only hidd | Paket
| bluez-test | Tools for testing of various Bluetooth-functions | Paket
i | bluez-utils | Bluetooth Daemons and Utilities | Paket
| bluez-utils | Bluetooth Daemons and Utilities | Quellpaket
| bluez-utils-debuginfo | Debug information for package bluez-utils | Paket
| bluez-utils-debugsource | Debug sources for package bluez-utils | Paket
i | python-pybluez | A Python Bluetooth wrapper | Paket
| python-pybluez | A Python Bluetooth wrapper | Quellpaket
| python-pybluez-debuginfo | Debug information for package python-pybluez | Paket
| python-pybluez-debugsource | Debug sources for package python-pybluez | Paket

Bei der Installation sagt mir zypper aber:

zypper in bluez
Daten des Repositorys laden...
Installierte Pakete lesen...
Paketabhängigkeiten auflösen...
Keine auszuführenden Aktionen.

Wieso das? Benötige ich bluez nun doch nicht?
 
OP
M

MiPl

Hacker
rpm -qa|grep blue sagt:

bluez-utils-3.36-7.2
kdebluetooth-lang-1.0_beta8-171.51
libbluetooth-devel-3.36-4.1
python-pybluez-0.15-4.2
libbluetooth2-3.36-4.1
kdebluetooth-1.0_beta8-173.2
libbluetooth3-4.45-19.1
 
OP
M

MiPl

Hacker
Habe dann noch folgendes festgestellt:

rfcomm liefert:
rfcomm0: 00:12:37:A9:54:9D channel 3 clean

und wenn ich (nur als su)
hcitool cc <adresse> eingebe wird eine Verbindung zum Telefon aufgebaut (kleines Fenster erscheint auf dem Desktop bei kbluetooth). Die Verbindung hält aber nur Sekunden. Will ich danach eine Verbindung aufbauen kommt:

Can't create connection: Input/output error

Als normaler User kann ich keine Verbindung aufbauen.
 

whois

Ultimate Guru
Du hast da ein Beta Paket mit drin vielleicht liegt es auch daran.

Code:
kdebluetooth-1.0_beta8-173.2
 
OP
M

MiPl

Hacker
In zypper und YaSt sehe ich aber nur diese Version. Wie müsste ich denn ein (wahrscheinlich) downgrade machen?
 

lOtz1009

Moderator
Teammitglied
Soweit ich weiß gibt es in den offiziellen Repos nur diese Version. Evtl. funktioniert kdebluetooth4
 
OP
M

MiPl

Hacker
Zypper schlägt mir bei zypper lu folgendes vor:

zypper lu
Daten des Repositorys laden...
Installierte Pakete lesen...
S | Repository | Name | Version | Arch
--+-----------------------------------------------------------+--------------------------+-----------------------+-------
v | testing (openSUSE_11.1) | bluez | 4.45-19.1 | i586
v | Downgrade to bluez 3.36 for openSUSE 11.1 (openSUSE_11.1) | gvfs | 1.0.2-3.2 | i586
v | Downgrade to bluez 3.36 for openSUSE 11.1 (openSUSE_11.1) | gvfs-fuse | 1.0.2-3.2 | i586
v | Downgrade to bluez 3.36 for openSUSE 11.1 (openSUSE_11.1) | hal-palm | 0.12.3-6.2 | i586
v | anyremote's Home Project (openSUSE_11.1) | kanyremote | 5.10-2.1 | noarch
v | Downgrade to bluez 3.36 for openSUSE 11.1 (openSUSE_11.1) | kdebluetooth-lang | 1.0_beta8-173.2 | i586
v | Downgrade to bluez 3.36 for openSUSE 11.1 (openSUSE_11.1) | libgvfscommon0 | 1.0.2-3.2 | i586
v | Downgrade to bluez 3.36 for openSUSE 11.1 (openSUSE_11.1) | libpulse0 | 0.9.14-2.2.1 | i586
v | Packman repository (openSUSE_11.1) | libx264-67 | 0.0svn20090627-0.pm.0 | i686
v | Downgrade to bluez 3.36 for openSUSE 11.1 (openSUSE_11.1) | openobex | 1.3-158.2 | i586
v | Downgrade to bluez 3.36 for openSUSE 11.1 (openSUSE_11.1) | openobex-devel | 1.3-158.2 | i586
v | Downgrade to bluez 3.36 for openSUSE 11.1 (openSUSE_11.1) | pulseaudio | 0.9.14-2.2.1 | i586
v | Downgrade to bluez 3.36 for openSUSE 11.1 (openSUSE_11.1) | pulseaudio-esound-compat | 0.9.14-2.2.1 | i586
v | Downgrade to bluez 3.36 for openSUSE 11.1 (openSUSE_11.1) | pulseaudio-lang | 0.9.14-2.2.1 | i586
v | openSUSE111 | python-kde4 | 4.1.3-1.22 | i586
 

whois

Ultimate Guru
Hmm Du hast Recht ich finde neben der KDE4 Version nur die Betas.

http://packages.opensuse-community.org/index.jsp?searchTerm=bluetooth&distro=openSUSE_111

Ich habe selber hier Suse 11 am laufen und kein 11.1 deshalb kann ich da nur wenig zu beitragen.
 

lOtz1009

Moderator
Teammitglied
Naja, wart mal mit dem Downgrade. Aber was ist dein "testing"-Repo?
Code:
zypper lr -up
Und bitte die Ausgaben nicht in Quote- sondern in Code Tags, dann wirds besser formatiert ;)
 
OP
M

MiPl

Hacker
Das liefert:

Code:
# | Alias                | Name                                                      | Aktiviert | Aktualisieren | Priorität | URI
--+----------------------+-----------------------------------------------------------+-----------+---------------+-----------+--------------------------------------------------------------------------------
1 | Packman              | Packman repository (openSUSE_11.1)                        | Ja        | Nein          | 99        | http://packman.mirrors.skynet.be/pub/packman/suse/11.1/
2 | home_anyremote       | anyremote's Home Project (openSUSE_11.1)                  | Ja        | Nein          | 99        | http://download.opensuse.org/repositories/home:/anyremote/openSUSE_11.1/
3 | home_enzokiel_bluez3 | Downgrade to bluez 3.36 for openSUSE 11.1 (openSUSE_11.1) | Ja        | Nein          | 99        | http://download.opensuse.org/repositories/home:/enzokiel:/bluez3/openSUSE_11.1/
4 | home_seife_testing   | testing (openSUSE_11.1)                                   | Ja        | Nein          | 99        | http://download.opensuse.org/repositories/home:/seife:/testing/openSUSE_11.1/
5 | openSUSE111          | openSUSE111                                               | Ja        | Nein          | 99        | http://download.opensuse.org/distribution/11.1/repo/oss
6 | openSUSE111_NonOss   | openSUSE111_NonOss                                        | Ja        | Nein          | 99        | http://download.opensuse.org/distribution/11.1/repo/non-oss
 
OP
M

MiPl

Hacker
Stimmt, ist mir auch gerade aufgefallen. Werde das ändern und dann mal sehen, ob es Updates etc. gibt, oder?
 
OP
M

MiPl

Hacker
Hmm, bringt aber nichts, da nach

zypper mr -r -a und
zypper ref folgendes kommt:

Code:
zypper ref
Repository 'Packman repository (openSUSE_11.1)' ist aktuell.
Repository 'anyremote's Home Project (openSUSE_11.1)' ist aktuell.
Repository 'Downgrade to bluez 3.36 for openSUSE 11.1 (openSUSE_11.1)' ist aktuell.
Repository 'testing (openSUSE_11.1)' ist aktuell.
Repository 'openSUSE111' ist aktuell.
Repository 'openSUSE111_NonOss' ist aktuell.
Alle Repositories wurden aktualisiert.
 

lOtz1009

Moderator
Teammitglied
Naja die Prioritäten sind ja auch nicht ganz klar bei den Repos. Vielleicht beißt sich da was aus dem "testing" mit dem "downgrade"-repo. Leg da die Prioritäten mal sinnvoll fest (in wie weit genau kann ich dir leider nicht sagen, da ich den Inhalt der Repos nicht kenne und auch gerade nicht an einer Testmaschine sitze, könnte da frühestens Donnerstag Abend was zu sagen). Oder mach das ganze per Yast und schau dass die Bluetooth-Pakete alle aus dem gleichen Repo kommen. Vielleicht hilft das schon.

OT: wie sieht's eigentlich mit dem Repo für KDE3 bzw. KDE3-Community, sind die absichtlich nicht drin?
 
OP
M

MiPl

Hacker
ok, die Euch unbekannten Repos habe ich stillgelegt und die 2 fehlenden hinzugefügt. Dann habe ich alles was mit blue* bzw. kdeblue* zu tun hatte deinstalliert und dann via YaSt kdebluetooth inkl. Abhängigkeiten und bluez installiert.

Dummerweise erkennt nun KBluetooth nicht mal mehr den Bluetoothstick: "No Bluetooht Adapter"

Nun bin ich leider noch weiter von einer Lösung entfernt, oder?
 
Oben