[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[coldsync-hackers] Garmin iQue 3600 (PalmOS 5) and FreeBSD
- To: coldsync-hackers at lusars dot net
- Subject: [coldsync-hackers] Garmin iQue 3600 (PalmOS 5) and FreeBSD
- From: "Thomas D. Dean" <tomdean at speakeasy dot org>
- Date: Sun, 20 Jun 2004 18:02:39 -0700 (PDT)
- Reply-to: coldsync-hackers at lusars dot net
- Sender: owner-coldsync-hackers at lusars dot net
I am attempting to use coldsync 2.2.5 with FreeBSD-stable with a
Garmin iQue 3600, PalmOS 5.2.1r2, connected to a USB port. In dmesg,
I see the iQue when I press hotsync.
ugen0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 3
ugen0: at uhub0 port 2 (addr 3) disconnected
ugen0: detached
After some trials, I used
coldsync -p /dev/ugen0 -t usb -d PDB:5 -d SLP:5 -d CMP:5 -d PADP:5 \
-d DLP:5 -d DLPC:5 -d SYNC:5 -d PARSE:5 \
-d IO:5 -d MISC:5 -d NET:5
The first problem I saw was covered in the archives,
Unexpected USB vendor ID 0x91e.
I patched coldsync-2.2.5/libpconn/PConnection_usb.c to recognize the
vendor, see diff below.
Now, I see
pconn_usb_open: Can't open "/dev/ugen0.2".
open: Device not configured
/dev/ugen0* is mode 777 for this test, and, it does the same thing as
root.
The full text is at the bottom.
I believe I am skipping something in config, etc. What?
tomdean
==== diff ================================================================
# diff -c PConnection_usb.c.orig PConnection_usb.c
***************
*** 100,105 ****
--- 100,106 ----
*/
#define HANDSPRING_VENDOR_ID 0x082d
#define PALM_VENDOR_ID 0x0830
+ #define IQUE_VENDOR_ID 0x091e
static char *hs_usb_functions[] = {
"Generic",
***************
*** 537,543 ****
}
if ((udi.udi_vendorNo != HANDSPRING_VENDOR_ID) &&
! (udi.udi_vendorNo != PALM_VENDOR_ID))
{
fprintf(stderr,
_("%s: Warning: Unexpected USB vendor ID %#x.\n"),
--- 538,545 ----
}
if ((udi.udi_vendorNo != HANDSPRING_VENDOR_ID) &&
! (udi.udi_vendorNo != PALM_VENDOR_ID) &&
! (udi.udi_vendorNo != IQUE_VENDOR_ID))
{
fprintf(stderr,
_("%s: Warning: Unexpected USB vendor ID %#x.\n"),
===== coldsync output ======================================================
coldsync -t usb -d PDB:5 -d SLP:5 -d CMP:5 -d PADP:5 -d DLP:5 -d DLPC:5 -d SYNC:5 -d PARSE:5 -d IO:5 -d MISC:5 -d NET:5 -p /dev/ugen0
Allocated sync_config 0x80780c0
UID: 1001, euid 1001
HOME: "/usr/home/tomdean"
Device specified on command line: "/dev/ugen0"
Summary of sync configuration:
Listen:
Type: 2
Device: [/dev/ugen0]
Speed: 0
Protocol: 0
Flags:
Known PDAs:
The queue of conduits:
Conduit:
flavors: 0x0004 SYNC
Creator/Types:
[/] (0x00000000/0x00000000)
Path: [[generic]]
DEFAULT
Headers:
Preferences:
coldsync version 2.2.5.
ColdSync homepage at http://www.ooblick.com/software/coldsync/
Compile-type options:
WITH_USB: USB support.
HAVE_STRCASECMP, HAVE_STRNCASECMP: strings are compared without regard
to case, whenever possible.
Default global configuration file: /usr/local/etc/coldsync.conf
Options:
Mode: * NONE *
conf_fname: "/usr/home/tomdean/.coldsyncrc"
conf_fname_given: False
devname: /dev/ugen0
devtype: 2
protocol: 0
force_slow: False
force_fast: False
check_ROM: False
install_first: True
force_install: False
use_syslog: False
log_fname: ""
hostid == 0xc0a80102 (192.168.01.02)
Debugging levels:
SLP: 5
CMP: 5
PADP: 5
DLP: 5
DLPC: 5
PDB: 5
SYNC: 5
PARSE: 5
IO: 5
MISC: 5
Opening device [/dev/ugen0]
Please press the HotSync button.
/dev/ugen0: Device not configured
/dev/ugen0: Device not configured
/dev/ugen0: Device not configured
/dev/ugen0: Device not configured
/dev/ugen0: Device not configured
/dev/ugen0: Device not configured
Device information: /dev/ugen0 vendor 091e (Palm, Inc.) product 0004 (Palm Handheld) rev 1.00 addr 3
ConnectionInfo: entry 0 function Generic on port 1
ConnectionInfo: entry 1 function Hotsync on port 2
first setup 0x1 returns 2 bytes: 0x01 0x00
Hotsync endpoint name: "/dev/ugen0.2"
pconn_usb_open: Can't open "/dev/ugen0.2".
open: Device not configured
Error: Can't open connection.
Freeing sync_config 0x80780c0
ColdSync terminating normally
This message was sent through the coldsync-hackers mailing list. To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body. For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.