LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-04-2013, 09:05 AM   #1
dominik232
LQ Newbie
 
Registered: Dec 2012
Posts: 16

Rep: Reputation: Disabled
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.

Last edited by dominik232; 07-04-2013 at 09:14 AM.
 
Old 07-04-2013, 10:36 AM   #2
alfredo10
Member
 
Registered: Sep 2010
Location: Algarve
Distribution: Linux Multiboot
Posts: 295

Rep: Reputation: 15
Hi!
Having a similar problem with MATE, see:
http://www.linuxquestions.org/questi...pt-4175468483/
KDE/ bluedevil should work.
 
Old 07-04-2013, 12:27 PM   #3
dominik232
LQ Newbie
 
Registered: Dec 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Thank you, but this script don't do nothing more than I have already tried:
Code:
obexfs -b "$1" -B $channel "$mp" &>> $log
 
Old 07-04-2013, 01:02 PM   #4
alfredo10
Member
 
Registered: Sep 2010
Location: Algarve
Distribution: Linux Multiboot
Posts: 295

Rep: Reputation: 15
Hi!
But it would be important to know your DE.
I had no success with MATE 1.2, 1.4 and 1.6.
 
Old 07-04-2013, 04:13 PM   #5
dominik232
LQ Newbie
 
Registered: Dec 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
You mean Desktop Enviornment? Gnome. I wrote that in first post.
 
Old 07-05-2013, 03:44 AM   #6
alfredo10
Member
 
Registered: Sep 2010
Location: Algarve
Distribution: Linux Multiboot
Posts: 295

Rep: Reputation: 15
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

Last edited by alfredo10; 07-05-2013 at 04:10 AM. Reason: Addition
 
Old 07-05-2013, 06:37 AM   #7
dominik232
LQ Newbie
 
Registered: Dec 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
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).
 
Old 07-06-2013, 12:24 PM   #8
alfredo10
Member
 
Registered: Sep 2010
Location: Algarve
Distribution: Linux Multiboot
Posts: 295

Rep: Reputation: 15
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.
 
Old 07-07-2013, 06:15 PM   #9
dominik232
LQ Newbie
 
Registered: Dec 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
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.
 
Old 07-08-2013, 05:11 AM   #10
alfredo10
Member
 
Registered: Sep 2010
Location: Algarve
Distribution: Linux Multiboot
Posts: 295

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

Last edited by alfredo10; 07-09-2013 at 05:02 AM.
 
Old 08-06-2013, 08:20 AM   #11
alfredo10
Member
 
Registered: Sep 2010
Location: Algarve
Distribution: Linux Multiboot
Posts: 295

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Nokia 5230 as web cam in RHEL6 kcbtux Linux - Newbie 5 09-15-2011 08:03 PM
Best Operating System for Acer 5230 JOSEPH_ Linux - Newbie 8 10-27-2009 10:07 PM
gnome-obex bluetooth to nokia N73 file transfer error maheshadadrsh Linux - Software 0 09-14-2007 08:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration