Skocz do zawartości

Bluetooth+gprs+ Komórka


markusmarecki

Rekomendowane odpowiedzi

Witam

Niedawno zainstalowałem Fedorę Core 5. Firewall jest wyłączony. Uruchomiłem usługę bluetooth. Adapter USB wykrywa telefon oraz podaje jego adres mac.

Problem powstaje gdy chce połączyć telefon w parę z adapterem. Sygnał jest wysyłany do telefonu, na telefonie pojawia się okienko do wpisania pinu wpisuję pin i nic. Nie następuje powiązanie urządzeń w parę .

Czytałem wiele opracowań w sieci:

http://gentoo-wiki.com/HOWTO_mobile_phone,...tooth_and_GNOME

http://www.internecik.com/?pg=howto&pg2=bluetoothgprs

http://www.gentoo.org/doc/pl/bluetooth-guide.xml

Poniżej wstawiam log z połączenia:

Dec 31 19:26:45 localhost kernel: usb 4-2: USB disconnect, address 6

Dec 31 19:26:49 localhost kernel: usb 1-2: new full speed USB device using uhci_hcd and address 6

Dec 31 19:26:59 localhost kernel: usb 1-2: configuration #1 chosen from 1 choice

Dec 31 19:28:35 localhost hcid[4680]: Bluetooth HCI daemon

Dec 31 19:28:35 localhost sdpd[4683]: init_server: binding L2CAP socket: Address already in use

Dec 31 19:28:35 localhost sdpd[4683]: main: Server initialization failed

Dec 31 19:28:35 localhost hcid[4680]: syntax error line 28

Dec 31 19:28:35 localhost hcid[4680]: Can't get system message bus name: Connection ":1.36" is not allowed to own the service "org.bluez" due to SELinux policy

Dec 31 19:28:35 localhost hcid[4680]: Starting security manager 0

Dec 31 19:30:43 localhost hcid[4680]: pin_code_request (sba=00:11:67:23:DA:BC, dba=00:11:9F:07:01:31)

Dec 31 19:30:43 localhost hcid[4706]: Can't exec PIN helper /etc/bluetooth/pin: Permission denied (13)

Dec 31 19:30:57 localhost hcid[4680]: pin_code_request (sba=00:11:67:23:DA:BC, dba=00:11:9F:07:01:31)

Dec 31 19:30:57 localhost hcid[4709]: Can't exec PIN helper /etc/bluetooth/pin: Permission denied (13)

Dec 31 19:31:35 localhost sdpd[4075]: terminating...

Dec 31 19:31:35 localhost hcid[4680]: Exit.

Dec 31 19:31:40 localhost hcid[4760]: Bluetooth HCI daemon

Dec 31 19:31:40 localhost sdpd[4763]: Bluetooth SDP daemon

Dec 31 19:31:40 localhost hcid[4760]: syntax error line 27

Dec 31 19:31:40 localhost hcid[4760]: Can't get system message bus name: Connection ":1.37" is not allowed to own the service "org.bluez" due to SELinux policy

Dec 31 19:31:40 localhost hcid[4760]: Starting security manager 0

Dec 31 19:31:54 localhost hcid[4760]: pin_code_request (sba=00:11:67:23:DA:BC, dba=00:11:9F:07:01:31)

Dec 31 19:31:54 localhost hcid[4771]: Can't exec PIN helper /etc/bluetooth/pin: Permission denied (13)

Dec 31 19:32:04 localhost hcid[4760]: pin_code_request (sba=00:11:67:23:DA:BC, dba=00:11:9F:07:01:31)

Dec 31 19:32:04 localhost hcid[4774]: Can't exec PIN helper /etc/bluetooth/pin: Permission denied (13)

Dec 31 19:33:18 localhost sdpd[4763]: terminating...

Dec 31 19:33:18 localhost hcid[4760]: Exit.

Dec 31 19:33:23 localhost hcid[4827]: Bluetooth HCI daemon

Dec 31 19:33:23 localhost sdpd[4830]: Bluetooth SDP daemon

Dec 31 19:33:23 localhost hcid[4827]: syntax error line 27

Dec 31 19:33:23 localhost hcid[4827]: Can't get system message bus name: Connection ":1.38" is not allowed to own the service "org.bluez" due to SELinux policy

Dec 31 19:33:23 localhost hcid[4827]: Starting security manager 0

Dec 31 19:33:40 localhost hcid[4827]: pin_code_request (sba=00:11:67:23:DA:BC, dba=00:11:9F:07:01:31)

Dec 31 19:33:40 localhost hcid[4839]: Can't exec PIN helper /etc/bluetooth/pin: Permission denied (13)

Dec 31 19:33:49 localhost hcid[4827]: pin_code_request (sba=00:11:67:23:DA:BC, dba=00:11:9F:07:01:31)

Dec 31 19:33:49 localhost hcid[4842]: Can't exec PIN helper /etc/bluetooth/pin: Permission denied (13)

Dec 31 19:34:17 localhost sdpd[4830]: terminating...

Dec 31 19:34:17 localhost hcid[4827]: Exit.

Dec 31 19:34:21 localhost hcid[4890]: Bluetooth HCI daemon

Dec 31 19:34:21 localhost sdpd[4893]: Bluetooth SDP daemon

Dec 31 19:34:21 localhost hcid[4890]: Can't get system message bus name: Connection ":1.39" is not allowed to own the service "org.bluez" due to SELinux policy

Dec 31 19:34:21 localhost hcid[4890]: Unable to get on D-BUS

Dec 31 19:46:32 localhost kernel: usb 1-2: USB disconnect, address 6

Dec 31 19:46:38 localhost kernel: usb 4-2: new high speed USB device using ehci_hcd and address 8

Dec 31 19:46:38 localhost kernel: usb 4-2: configuration #1 chosen from 1 choice

Dec 31 19:46:38 localhost kernel: scsi1 : SCSI emulation for USB Mass Storage devices

Dec 31 19:46:43 localhost kernel: Vendor: Kingston Model: DataTraveler 2.0 Rev: PMAP

Dec 31 19:46:43 localhost kernel: Type: Direct-Access ANSI SCSI revision: 00

Dec 31 19:46:45 localhost kernel: SCSI device sda: 2015232 512-byte hdwr sectors (1032 MB)

Dec 31 19:46:45 localhost kernel: sda: Write Protect is off

Dec 31 19:46:45 localhost kernel: sda: assuming drive cache: write through

Dec 31 19:46:45 localhost kernel: SCSI device sda: 2015232 512-byte hdwr sectors (1032 MB)

Dec 31 19:46:45 localhost kernel: sda: Write Protect is off

Dec 31 19:46:45 localhost kernel: sda: assuming drive cache: write through

Dec 31 19:46:45 localhost kernel: sda: sda1

Dec 31 19:46:45 localhost kernel: sd 1:0:0:0: Attached scsi removable disk sda

Dec 31 19:46:45 localhost kernel: sd 1:0:0:0: Attached scsi generic sg0 type 0

Dec 31 19:48:15 localhost kernel: SELinux: initialized (dev sda1, type vfat), uses genfs_contexts

 

 

 

 

 

 

 

 

 

 

Pozdrawia

Odnośnik do komentarza
Udostępnij na innych stronach

  • 8 months later...

Witam,

 

Trzeba doinsatlować jakieś zewnętrze aplikacje dzięki którym zostaje zapewniona autoryzacja typu Kbluetooth lub coś podobnego pod gnome,

z tego względu że autoryzacja została przeniesiona do warstwy HCI z warstwy RFCOMM i żadne skrypty typu pin_helper nie podziałają.

 

pz

Odnośnik do komentarza
Udostępnij na innych stronach

  • 2 weeks later...
  • 8 months later...

A na F9 co trzeba dograc pod gnome zeby pliki z telefonu byly zapisywane na kompie?

Z kompa n phona leci bez prolemu ale nie w druga strone. Na FC5 cos dogrywalem ale nie pamietam co :(

 

Znalazlem takie cos

10.3. Bluetooth

 

Funkcja Bluetooth w Fedorze 9 (http://fedoraproject.org/wiki/Features/BluetoothFedora9) posiada w tym wydaniu kilka ulepszeń. Przyszłe wydania są bardzo szczegółowo opisane na:

 

http://fedoraproject.org/wiki/Releases/FeatureBluetooth

 

Wysyłanie plików do urządzenia Bluetooth jest teraz obsługiwane przez program bluetooth-sendto z pakietu bluez-gnome, który zastępuje gnome-obex-sen. Wyślij plik w Nautilusie za pomocą funkcji Wyślij do... z menu kontekstowego (prawy klawisz).

 

Odbieranie plików z urządzenia Bluetooth jest teraz obsługiwane przez gnome-user-share, które ma wbudowaną obsługę ObexFTP i ObexPush. Współdziel pliki przez SystemPreferencjeInternet i siećOsobiste współdzielenie plikówWspółdziel pliki publiczne przez Bluetooth (obsługa ObexFTP) lub odbierz pliki używając ObexPush z pomocą OsobisteWspółdzielenie plikówPobierz pliki z folderu Pobrane przez Bluetooth.

 

Pliki na zdalnym urządzeniu Bluetooth mogą być przeglądane bezpośrednio w Nautilusie przez GVFS, który obsługuje urządzenia Bluetooth. Synchronizowanie urządzenia Bluetooth z urządzeniem osobistego menedżera informacji (PIM) jest wykonywane używając gnome-pilot

 

Przeglądanie urządzeń Bluetooth jest wykonywane przez menu kontekstowe (prawe kliknięcie) ikony Bluetooth na panelu pulpitu.

 

pakiety zwiazane z gnome mam poinstalowane, ale nie rozumiem tego calego obex :?:

Gdzie to sie wlacza, jak tego uzywa - bardziej lopatologicznie poprosze :)

Odnośnik do komentarza
Udostępnij na innych stronach

A na F9 co trzeba dograc pod gnome zeby pliki z telefonu byly zapisywane na kompie?
Zawsze się zastanawiam o co chodzi z tymi telefonami? Ja po prostu podłączam telefon jako zewnętrzne urządzenie (przez USB) i zwyczajnie działam na nim. Tak samo jak na np.pendrive. Prosto i skutecznie.

 

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...