On 16/11/10 16:41, Hendrik Sattler wrote:
> Am Dienstag 16 November 2010, 03:52:30 schrieb Russell Shaw:
>> On 13/11/10 03:48, Christian Zuckschwerdt wrote:
>>> Russell,
>>>
>>> you need openobex-dev (or install openobex from source) when compiling
>>> obexftp. Also you need to check that bluetooth is enabled during openobex
>>> configuration.
>>>
>>> ObexFTP has a very limited pseudo xml-parser for the directory listings.
>>> I guess the xml from the phone is somewhat non-standard. I'd be great if
>>> you could capture the output -- compile ObexFTP with debug enabled and
>>> just list/get some directories.
>>>
>>> Am 12.11.2010 um 17:26 schrieb Russell Shaw:
>>>> When i mount the 6120 (not 2162), i get a heap of question-marks:
>>>>
>>>> sudo obexfs -t /dev/Nokia -u 1 /phone russ...@main~: ls -l / ls: cannot
>>>> access /phone: Permission denied total 116 drwxr-xr-x   2 root root
>>>> 4096 Nov  3 23:05 bin drwxr-xr-x   3 root root   4096 Nov 12 18:26 boot
>>>> ... d?????????   ? ?    ?         ?            ? phone
>>>>
>>>> I try to compile obexftp-0.22 but get: obexftpd.c:891: warning: implicit
>>>> declaration of function 'BtOBEX_ServerRegister'
>>
>> Hi,
>> I used obexftp from http://www.gitorious.org/obexftp/mainline/
>>
>> obexftp -t /dev/ttyACM1 -v -l
>
> What are the permission of /dev/ttyACM1? Maybe you must be root? Is /dev/Nokia
> == /dev/ttyACM1?
> BTW: -t and -u are mutually exclusive (different transports). If you want a
> plain USB connection, use your "-u 1" but you probably must be root to do so:
>    obexftp -u
> to find the right index (it might have changed), then
>    obexftp -u 0 -l
> (if index==0).

Ok, i tried:

obexftp -u -v

If USB doesn't work setup permissions in udev or run as superuser.
Found 2 USB OBEX interfaces

0 (Manufacturer: Nokia Product: Nokia 6120 classic Serial: (null) Interface 
description: SYNCML-SYNC)
1 (Manufacturer: Nokia Product: Nokia 6120 classic Serial: (null) Interface 
description: PC Suite Services)


sudo obexftp -u 0 -v -l

obexftp_open()
obexftp_connect_src()
Connecting...obexftp_connect_src()
obexftp_connect_src() USB 1
cli_sync_request()
\obexftp_sync()
obexftp_sync() OBEX_HandleInput = 0
obexftp_sync() OBEX_HandleInput error: 11
failed: send UUID
Tried to connect for 31ms
unknown error on connect
Still trying to connect
obexftp_connect_src()
Connecting...obexftp_connect_src()
obexftp_connect_src() USB -16
failed: connect
Tried to connect for 4ms
unknown error on connect
Still trying to connect
obexftp_connect_src()
Connecting...obexftp_connect_src()
obexftp_connect_src() USB -16
failed: connect
Tried to connect for 3ms
unknown error on connect
Still trying to connect
obexftp_close()


sudo obexftp -u 1 -v -l

obexftp_open()
obexftp_connect_src()
Connecting...obexftp_connect_src()
obexftp_connect_src() USB 1
cli_sync_request()
\obexftp_sync()
obexftp_sync() OBEX_HandleInput = 0
obexftp_sync() OBEX_HandleInput error: 11
failed: send UUID
Tried to connect for 34ms
unknown error on connect
Still trying to connect
obexftp_connect_src()
Connecting...obexftp_connect_src()
obexftp_connect_src() USB -16
failed: connect
Tried to connect for 3ms
unknown error on connect
Still trying to connect
obexftp_connect_src()
Connecting...obexftp_connect_src()
obexftp_connect_src() USB -16
failed: connect
Tried to connect for 3ms
unknown error on connect
Still trying to connect
obexftp_close()

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Openobex-users mailing list
Openobex-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to