LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Linux - Hardware (http://www.linuxquestions.org/questions/forumdisplay.php?f=18)
-   -   Nokia 5230 OBEX trouble (http://www.linuxquestions.org/questions/showthread.php?t=4175468473)

dominik232 07-04-2013 09:05 AM

Nokia 5230 OBEX trouble
 
Hi everyone.
I've lost my USB cable to connect Nokia, so I need quick use of OBEX Bluetooth to transfer files. I cannot insert files just by sending because mobile saves it on phone memory (which is too small) and there is no way to change it, anyway I also need to organise my direcories.

What I tried:
I can mount filesystem by Bluetooth with no any problem, using command
Code:

obexfs -b XX:XX:XX:XX:XX:XX Nokia_BT/
When I do it i can access to some files on mobile memory:
Code:

Nokia_BT/
`-- C:
    |-- Data
    |  |-- Attachments
    |  |-- Games
    |  |-- HXTNEngine_3_2.cfg
    |  |-- Images
    |  |  |-- Backgrounds
    |  |  |-- Pictures
    |  |  `-- _Ptp
    |  |-- MdfPluginArchive.txt
    |  |-- NimbuzzWDLog.txt
    |  |-- R1_Mobile_4_0.cfg
    |  `-- plugin_archive.txt
    |-- emTube_S60_3_0_v_1_0_10.sisx
    |-- preinstalledwidgets_driveC.iby
    `-- preinstalledwidgets_driveC_rsc.iby

but it's not even my entire content of phone memory.
There is no way to access to my memory card, what is the most important thing for me right now.
I cannot use it via gnome bluez, becouse there is not even option. I can send file, I cannot mount filesystem.
I tried use obexfs with parametr -B[PORT NUMBER] according to many ports that I can see here (7,8,9,10):
Code:

dominik@localhost:~$ sdptool browse XX:XX:XX:XX:XX:XX
Browsing XX:XX:XX:XX:XX:XX ...
Service Name: AVRCP Target
Service Description: Audio Video Remote Control
Service Provider: Symbian Software Ltd.
Service RecHandle: 0x10000
Service Class ID List:
  "AV Remote Target" (0x110c)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 23
  "AVCTP" (0x0017)
    uint16: 0x102
Profile Descriptor List:
  "AV Remote" (0x110e)
    Version: 0x0103

Service Name: Phonebook access PSE
Service Provider: Symbian Software Ltd
Service RecHandle: 0x1001f
Service Class ID List:
  "Phonebook Access - PSE" (0x112f)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 1
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Phonebook Access" (0x1130)
    Version: 0x0100

Service Name: Hands-Free Audio Gateway
Service RecHandle: 0x10020
Service Class ID List:
  "Handsfree Audio Gateway" (0x111f)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 2
Language Base Attr List:
  code_ISO639: 0x454e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Handsfree" (0x111e)
    Version: 0x0105

Service Name: Headset Audio Gateway
Service RecHandle: 0x10021
Service Class ID List:
  "Headset Audio Gateway" (0x1112)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 3
Language Base Attr List:
  code_ISO639: 0x454e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Headset" (0x1108)
    Version: 0x0100

Service Name: Audio Source
Service RecHandle: 0x10022
Service Class ID List:
  "Audio Source" (0x110a)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 25
  "AVDTP" (0x0019)
    uint16: 0x100
Language Base Attr List:
  code_ISO639: 0x454e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Advanced Audio" (0x110d)
    Version: 0x0100

Service Name: AVRCP Controller
Service Description: Audio Video Remote Control
Service Provider: Symbian Software Ltd.
Service RecHandle: 0x10023
Service Class ID List:
  "AV Remote" (0x110e)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 23
  "AVCTP" (0x0017)
    uint16: 0x102
Profile Descriptor List:
  "AV Remote" (0x110e)
    Version: 0x0103

Service Name: PnP Information
Service RecHandle: 0x10035
Service Class ID List:
  "PnP Information" (0x1200)
Language Base Attr List:
  code_ISO639: 0x454e
  encoding:    0x6a
  base_offset: 0x100

Browsing XX:XX:XX:XX:XX:XX...
Service Search failed: Invalid argument
Service RecHandle: 0x10037
Service Class ID List:
  UUID 128: 00005557-0000-1000-8000-0002ee000001
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 4

Service Name: OBEX Object Push
Service RecHandle: 0x10039
Service Class ID List:
  "OBEX Object Push" (0x1105)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 5
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x454e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "OBEX Object Push" (0x1105)
    Version: 0x0100

Service Name: Imaging
Service RecHandle: 0x1003a
Service Class ID List:
  "Imaging Responder" (0x111b)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 6
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x454e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Imaging" (0x111a)
    Version: 0x0100

Service Name: SyncMLClient
Service RecHandle: 0x1003b
Service Class ID List:
  UUID 128: 00000002-0000-1000-8000-0002ee000002
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 7
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x454e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "" (0x00000002-0000-1000-8000-0002ee000002)
    Version: 0x0100

Service Name: OBEX File Transfer
Service RecHandle: 0x1003c
Service Class ID List:
  "OBEX File Transfer" (0x1106)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 8
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x454e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "OBEX File Transfer" (0x1106)
    Version: 0x0100

Service Name: Nokia OBEX PC Suite Services
Service RecHandle: 0x1003d
Service Class ID List:
  UUID 128: 00005005-0000-1000-8000-0002ee000001
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 9
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x454e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "" (0x00005005-0000-1000-8000-0002ee000001)
    Version: 0x0100

Service Name: Nokia SyncML Server
Service RecHandle: 0x1003f
Service Class ID List:
  UUID 128: 00005601-0000-1000-8000-0002ee000001
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 10
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x454e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "" (0x00005601-0000-1000-8000-0002ee000001)
    Version: 0x0100

Service Name: SIM Access
Service RecHandle: 0x10041
Service Class ID List:
  "SIM Access" (0x112d)
  "Generic Telephony" (0x1204)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 21
Language Base Attr List:
  code_ISO639: 0x454e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "SIM Access" (0x112d)
    Version: 0x0101

I tried to do a few operations to filesystem that I mounted
Code:

dominik@localhost:~$ cd Nokia_BT/
dominik@localhost:~/Nokia_BT$ cd C\:/
dominik@localhost:~/Nokia_BT/C:$ touch file
touch: setting times of 'file': Function not implemented
dominik@localhost:~/Nokia_BT/C:$ mkdir dir
mkdir: cannot create directory 'dir': No such file or directory
dominik@localhost:~/Nokia_BT/C:$ cd ../..
dominik@localhost:~$ chmod 750 Nokia_BT/
chmod: changing permissions of 'Nokia_BT/': Function not implemented
dominik@localhost:~$

and some dmesg logs with bluetooth
Code:

[  657.910074] Bluetooth: Wrong link type (-71)
[  695.133212] Bluetooth: Wrong link type (-71)
[  723.959797] Bluetooth: Wrong link type (-71)
[  878.234371] Bluetooth: Wrong link type (-71)
[  934.578180] Bluetooth: Wrong link type (-71)
[  979.899053] Bluetooth: Wrong link type (-71)
[  996.464352] Bluetooth: Wrong link type (-71)
[ 1020.069369] Bluetooth: Wrong link type (-71)
[ 1076.924215] Bluetooth: Wrong link type (-71)
[ 1553.419012] Bluetooth: Wrong link type (-71)
[ 1557.682211] Bluetooth: TIOCGSERIAL is not supported

My OS is ArchLinux, with leatest updates.
Code:

dominik@localhost:~$ uname -a
Linux localhost 3.9.8-1-ARCH #1 SMP PREEMPT Thu Jun 27 21:37:31 CEST 2013 x86_64 GNU/Linux

My adapter is integrated in Dell Inspiron 7110 laptop:
Code:

Bus 004 Device 003: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth
I tried also using OBEX with old Nokia 6230 and I can access everything with this method.
Thank you in advice for some help.

alfredo10 07-04-2013 10:36 AM

Hi!
Having a similar problem with MATE, see:
http://www.linuxquestions.org/questi...pt-4175468483/
KDE/ bluedevil should work.

dominik232 07-04-2013 12:27 PM

Thank you, but this script don't do nothing more than I have already tried:
Code:

obexfs -b "$1" -B $channel "$mp" &>> $log

alfredo10 07-04-2013 01:02 PM

Hi!
But it would be important to know your DE.
I had no success with MATE 1.2, 1.4 and 1.6.

dominik232 07-04-2013 04:13 PM

You mean Desktop Enviornment? Gnome. I wrote that in first post.

alfredo10 07-05-2013 03:44 AM

Hi!
Overlooked!
I'm asking, because with Gnome 2 I never had a BT problem - on several distributions. Gnome 3 / BT did not work correctly on more than half a dozen distris.

Edit:
URLs - I found (one ARCH, one Gentoo):
http://https://bbs.archlinux.org/viewtopic.php?id=97454
http://forums.gentoo.org/viewtopic-t...+nautilus.html

dominik232 07-05-2013 06:37 AM

It's Gnome3, bluez4.
Problem is not like this. I can mount filesystem, but I cannot use it, and I have no access to entire content.
I tried with older phone and this worked perfectly (with access to SD memory card).

Some time ago, under diffrent distributions (OpenSuse, Ubuntu) i could mount it via gnome-bluetooth and I remember I could go through any files but while trying to copy something gvfs crashed (automatically unmounted device).

alfredo10 07-06-2013 12:24 PM

Hi!
URLs:
https://wiki.archlinux.org/index.php/Bluetooth
http://ap0calypse.agitatio.org/artic...bluetooth.html
http://kissmyarch.blogspot.pt/2011/0...th-tricks.html
http://www.osnews.com/story/9836
In GERMAN:
http://blog.toadie.de/?p=2838
Please let me know, if you need help to translate it.

dominik232 07-07-2013 06:15 PM

Thank you for links. Most of them I've already seen. Unfortunelly there is no answer to my problem, because problem is not in how to set device, but in that I cannot get full access in some reason.

alfredo10 07-08-2013 05:11 AM

Hi!
Last idea: Find out how to report a bug in an ArchLinux forum.

alfredo10 08-06-2013 08:20 AM

Hi!
Still searching for a solution I found:
http://budts.be/weblog/2011/07/xdf-open-vs-exo-open


All times are GMT -5. The time now is 02:25 PM.