Skip to contentSkip to conversation

Buetooth and SAMSUNG SGH-E340

Bluez-users Philippe Berini 4 participants 12 messages Oct 20, 2005 – Nov 12, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi all,

I have a new phone (SAMSUNG SGH-E340) and I am trying to send photos from the phone to my PC. I am a complete newbie to bluetooth.

My configuration:
- Debian Sid, kernel 2.6.12.
- USB dongle: D-Link DBT-122 (checked with Windows, it is working)

My phone is seen:

# hcitool scan
Scanning ...
        00:12:47:AB:AF:46       SAMSUNG SGH-E340

and the phone sees the PC.

I can connect to the mobile:

# hcitool cc 00:12:47:AB:AF:46
# hcitool con          
Connections:
        < ACL 00:12:47:AB:AF:46 handle 6 state 1 lm MASTER 

I can connect with obexftp:

# obexftp -b
Scanning ...
Using   00:12:47:AB:AF:46       SAMSUNG SGH-E340
Browsing 00:12:47:AB:AF:46 ...
Channel: 7
Nothing to do. Use --help for help.

I add Channel 7:

# sdptool add --channel=7 OPUSH
OBEX Object Push service registered

But I don't know what to do then. If I try to list the folders on the mobile, I get:

# obexftp -b -l
Scanning ...
Using   00:12:47:AB:AF:46       SAMSUNG SGH-E340
Browsing 00:12:47:AB:AF:46 ...
Channel: 7
No custom transport
Connecting...bt: -1
failed: connect
Still trying to connect
Connecting...bt: -1
failed: connect

I must have forgotten something or done something wrong. Any idea or pointer ?

Signature · 12 lines
Philippe Berini                



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
#1 lore raw
Quoted 1 line · Philippe Berini

Any idea or pointer ?

If you can't get obexftp to work, you could try gnome-obex-send or kde-bluetooth.

Regards...
Michael

-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw
Quoted 2 lines · Michael Mauch

If you can't get obexftp to work, you could try gnome-obex-send or kde-bluetooth.

Thanks for your answer. I do not want to use Gnome or KDE, but I'll give it a try on another machine. It'll be interesting anyway to see if that works.

I would have liked however to understand why it's not working in command line.

Signature · 12 lines
Philippe Berini                


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
#3 lore raw

El dom, 23-10-2005 a las 17:12 +0200, Philippe Berini escribi=F3:
Hi Michel

You can see this page [1], ok it's in spanish but you can read the config files and comands [1]http://el-directorio.org/index.php/Bluetooth_Linux_y_Telefonos_Moviles

Quoted 1 line

* Michael Mauch <[email protected]> [Sun, Oct 23, 2005 at 02:38:08PM +=

0200]:

Quoted 6 lines

=20

Quoted 2 lines

If you can't get obexftp to work, you could try gnome-obex-send or kde-bluetooth.

=20
Thanks for your answer. I do not want to use Gnome or KDE, but I'll give it a try on another machine. It'll be interesting anyway to see if that w=

orks.

Quoted 4 lines

=20
I would have liked however to understand why it's not working in command line.
=20

-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#4 lore raw
In reply to Philippe Berini

El dom, 23-10-2005 a las 17:12 +0200, Philippe Berini escribi=F3:
umm now think to i know what is your prloblem, you can't paring the devices because the pin helper by default is for X, for fix the problem you need change the /usr/local/bin/bluez-localpin, see [1], again is in spanish but you can read the config files and comands.
[1] http://el-directorio.org/index.php/Bluetooth_en_debian

Quoted 1 line

* Michael Mauch <[email protected]> [Sun, Oct 23, 2005 at 02:38:08PM +=

0200]:

Quoted 6 lines

=20

Quoted 2 lines

If you can't get obexftp to work, you could try gnome-obex-send or kde-bluetooth.

=20
Thanks for your answer. I do not want to use Gnome or KDE, but I'll give it a try on another machine. It'll be interesting anyway to see if that w=

orks.

Quoted 4 lines

=20
I would have liked however to understand why it's not working in command line.
=20

-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#5 lore raw
Quoted 6 lines · Fredy P

El dom, 23-10-2005 a las 17:12 +0200, Philippe Berini escribió:
umm now think to i know what is your prloblem, you can't paring the devices because the pin helper by default is for X, for fix the problem you need change the /usr/local/bin/bluez-localpin, see [1], again is in spanish but you can read the config files and comands.
[1] http://el-directorio.org/index.php/Bluetooth_en_debian

I can read Spanish, no problem about that :-)

I can pair my devices, the mobile says it is paired. Obexftp still complains it can't connect (following the instructions given on both the web sites).

# obexftp -b 00:12:47:AB:AF:46 -B 7 -l
Browsing 00:12:47:AB:AF:46 ...
Channel: 7
No custom transport
Connecting...bt: -1
failed: connect

I am wondering if the problem does not lie there:

# /etc/init.d/bluez-utils restart
Restarting bluez-utils: hcid sdpdsyntax error line 25
 rfcomm.

and the line 25 is as follows:

vi /etc/init.d/bluez-utils
[snip]
SDPD=/usr/sbin/sdpd

I can't see a syntax error...

Signature · 12 lines
Philippe Berini                


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
#6 lore raw

El mar, 25-10-2005 a las 18:31 +0200, Philippe Berini escribió:
i attached my /etc/init.d/bluez-utils but i'm using sarge, and if you can write in the wiki (in spanish) how to config your movile phone (down t610)

Quoted 37 lines · Fredy P
Quoted 7 lines · Philippe Berini

umm now think to i know what is your prloblem, you can't paring the devices because the pin helper by default is for X, for fix the problem you need change the /usr/local/bin/bluez-localpin, see [1], again is in spanish but you can read the config files and comands.
[1] http://el-directorio.org/index.php/Bluetooth_en_debian

I can read Spanish, no problem about that :-)

I can pair my devices, the mobile says it is paired. Obexftp still complains it can't connect (following the instructions given on both the web sites).

# obexftp -b 00:12:47:AB:AF:46 -B 7 -l
Browsing 00:12:47:AB:AF:46 ...
Channel: 7
No custom transport
Connecting...bt: -1
failed: connect

I am wondering if the problem does not lie there:

# /etc/init.d/bluez-utils restart
Restarting bluez-utils: hcid sdpdsyntax error line 25
 rfcomm.

and the line 25 is as follows:

vi /etc/init.d/bluez-utils
[snip]
SDPD=/usr/sbin/sdpd

I can't see a syntax error...

#7 lore raw
Quoted 1 line · Fredy P

i attached my /etc/init.d/bluez-utils but i'm using sarge,

Thanks, but I tried your file, and got the same error.

And I forgot to say that the mobile says it is paired, which is good, and then that it can't find the services.

Quoted 2 lines

and if you can write in the wiki (in spanish) how to config your movile phone (down t610)

It would be my pleasure to do that, if my connection was working... As soon as I get it work, I'll add it to the wiki.

Thanks anyway,

Signature · 12 lines
Philippe Berini                


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
#8 lore raw

El mi=E9, 26-10-2005 a las 21:59 +0200, Philippe Berini escribi=F3:

Quoted 1 line

* Fredy P <[email protected]> [Wed, Oct 26, 2005 at 11:09:2=

8AM -0500]:

Quoted 4 lines

=20

Quoted 1 line

i attached my /etc/init.d/bluez-utils but i'm using sarge,

=20
Thanks, but I tried your file, and got the same error.

if you can made l2ping to your movil try with the obexftp version from testing or sarge

Quoted 11 lines

=20
And I forgot to say that the mobile says it is paired, which is good, and then that it can't find the services.
=20

Quoted 2 lines

and if you can write in the wiki (in spanish) how to config your movile phone (down t610)=20

=20
It would be my pleasure to do that, if my connection was working... As soon as I get it work, I'll add it to the wiki.
=20
Thanks anyway,

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#9 lore raw
Quoted 2 lines · Fredy Pulido López

if you can made l2ping to your movil try with the obexftp version from testing or sarge

Yes, I can l2ping my mobile; I tried the obexftp versions from both unstable and testing, but they fail miserably.
Never mind, one day I'll get it work by some magic :-) Thanks.

Signature · 12 lines
Philippe Berini                


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
#10 lore raw

El mi=E9, 09-11-2005 a las 17:18 +0100, Philippe Berini escribi=F3:
Try it:
1)see your movile services (use your phone MAC) - are chanel 7 OBEX File Transfer?

$ sdptool  browse AA:0A:D9:78:ED:AA=20
2) remove the pc in your movil btdevices
3) restart bluez -if get error send my your init.d/bluez-utils file for
test it in my system
4) use obexftp

TIP: for use obexftp you not need /etc/bluetooth/rfcomm.conf

Quoted 1 line

* Fredy Pulido L=F3pez <[email protected]> [Thu, Nov 03, 20=

05 at 03:52:11AM -0500]:

Quoted 9 lines

=20

Quoted 2 lines

if you can made l2ping to your movil try with the obexftp version from testing or sarge

=20
Yes, I can l2ping my mobile; I tried the obexftp versions from both unstable and testing, but they fail miserably.
Never mind, one day I'll get it work by some magic :-)=20 Thanks.
=20

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#11 lore raw
Quoted 3 lines · Fredy Pulido López

Try it:
1)see your movile services (use your phone MAC) - are chanel 7 OBEX File Transfer?

Yes:

# obexftp -b -l
Scanning ...
Using   00:12:47:AB:AF:46       SAMSUNG SGH-E340
Browsing 00:12:47:AB:AF:46 ...
Channel: 7
No custom transport
Connecting...failed: connect
Quoted 1 line
$ sdptool  browse AA:0A:D9:78:ED:AA 

Nothing happens:

# sdptool browse 00:12:47:AB:AF:46
Browsing 00:12:47:AB:AF:46 ...
Quoted 3 lines

2) remove the pc in your movil btdevices
3) restart bluez -if get error send my your init.d/bluez-utils file for test it in my system

There is no error:

# /etc/init.d/bluez-utils restart 
Restarting bluez-utils: hidd hcid sdpd hidd rfcomm

I believe we'd better forget it for now.

Signature · 12 lines
Philippe Berini                


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users