[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[coldsync-hackers] Re: Can't open USB device with Palm Zire
- To: coldsync-hackers at lusars dot net
- Subject: [coldsync-hackers] Re: Can't open USB device with Palm Zire
- From: Marc Tardif <marc at interunion dot ca>
- Date: Sat, 11 Feb 2006 00:28:27 -0500
- Reply-to: coldsync-hackers at lusars dot net
- Sender: owner-coldsync-hackers at lusars dot net
- User-agent: Mutt/1.5.9i
* Christophe Beauregard <christophe.beauregard@sympatico.ca> [2006-02-10 21:01 -0500]:
> On Friday 10 February 2006 12:16, Marc Tardif wrote:
>
> > So, I tried specifying the port ttyUSB0 and then I tried ttyUSB1. In
> > both cases, I always get the same results as before:
> >
> > 1. When specifying "-t libusb", I get: Can't open connection.
>
> What if you start the hotsync before starting coldsync?
Same result as if I start coldsync before hotsync.
> > Please let me know how I can diagnose this problem further. For example,
> > would it be helpful to run something like strace?
>
> coldsync has a whole pile of tracing built into it. See the description of
> the -d option in the man pages. -d IO:5 might be a good starting point.
I set that debug option as well as a few others and copied the output at
the end of this message. I noticed a couple odd things. First, I don't have
a configuration file: ~/.coldsyncrc
Second, /dev/ttyUSB1 doesn't seem to be readable. However, these are the
ownerships and permissions:
# ls -l /dev/ttyUSB1
crw-rw---- 1 root dialout 188, 1 2006-02-11 00:22 /dev/ttyUSB1
# groups
marc disk dialout cdrom floppy audio src video plugdev staff dev
Finally, here is the output from coldsync with debug options:
# coldsync -p /dev/ttyUSB1 -t libusb -d IO:5 -d sync:5 -d misc:5 -d net:5 -v -v -v -mI
Allocated sync_config 0x80a3858
UID: 1000, euid 1000
HOME: "/home/marc"
Summary of sync configuration:
Listen:
Name:
Type: 4
Device: [/dev/ttyUSB1]
Speed: 0
Protocol: 0
Flags: PROMPT
Known PDAs:
The queue of conduits:
Conduit:
flavors: 0x0004 SYNC
Creator/Types:
[
Path: [[generic]]
DEFAULT
Headers:
Preferences:
My hostname is "jrrr"
My addresses:
0:
IP 0a 09 c9 04 | ....
My hostid is 0x0a09c904
coldsync version 3.0-pre4.
ColdSync homepage at http://www.coldsync.org
Compile-type options:
WITH_LIBUSB: USB (libusb) support.
HAVE_STRCASECMP, HAVE_STRNCASECMP: strings are compared without regard
to case, whenever possible.
Default global configuration file: /etc/coldsync/coldsync.conf
Options:
Mode: Init
conf_fname: "/home/marc/.coldsyncrc"
conf_fname_given: False
devname: /dev/ttyUSB1
devtype: 4
protocol: 0
force_slow: False
force_fast: False
check_ROM: False
install_first: True
force_install: False
autoinit: False
use_syslog: False
log_fname: "(null)"
hostid == 0x0a09c904 (10.09.201.04)
Debugging levels:
NET: 5
SLP: 0
CMP: 0
PADP: 0
DLP: 0
DLPC: 0
PDB: 0
SYNC: 5
PARSE: 0
IO: 5
MISC: 5
CONDUIT: 0
Opening device [/dev/ttyUSB1]
Please press the HotSync button.
pconn_libusb_open: Can't open USB device.
Error: Can't open connection.
Freeing sync_config 0x80a3858
ColdSync terminating normally
--
Marc Tardif