[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldsync-hackers] Garmin iQue 3600 (PalmOS 5) and FreeBSD



I enabled USB_DEBUG in my kernel.  I changed
work/coldsync-2.2.5/libpconn/PConnection_usb.c to set the debug level
to 5 in the ioctl to ugen.
	IO_TRACE(1)
		i = 5;
	else
		i = 0;
	(void) ioctl(usb_ep0, USB_SETDEBUG, &i);

Then I tried coldsync,

/dev/ugen0: Device not configured << pressed hot sync
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

In the system log, I have

Jun 21 09:35:15 asus /kernel: ugen0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 3
Jun 21 09:35:15 asus /kernel: ugen_set_config: ugen0 to configno 1, sc=0xc16f0000
Jun 21 09:35:15 asus /kernel: ugen_set_config: ifaceno 0
Jun 21 09:35:15 asus /kernel: ugen_set_config: endptno 0, endpt=0x01(1,0), sce=0xc16f01a0
Jun 21 09:35:15 asus /kernel: ugen_set_config: endptno 1, endpt=0x82(2,128), sce=0xc16f03ec
Jun 21 09:35:15 asus /kernel: ugen_set_config: endptno 2, endpt=0x03(3,0), sce=0xc16f04b0
Jun 21 09:35:15 asus /kernel: ugen_set_config: endptno 3, endpt=0x84(4,128), sce=0xc16f06fc
Jun 21 09:35:15 asus /kernel: ugen_set_config: endptno 4, endpt=0x05(5,0), sce=0xc16f07c0
Jun 21 09:36:20 asus /kernel: ugen0: at uhub0 port 2 (addr 3) disconnected
Jun 21 09:36:20 asus /kernel: ugen_detach: sc=0xc16f0000
Jun 21 09:36:20 asus /kernel: ugen0: detached

I don't see a call to ugenopen()...

I saw a reference to usbd in the archives.  Killing usbd only results
in the parts from ifaceno..endptno 4 being duplicated.

tomdean
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.