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

Re: [coldsync-hackers] m500: cannot coldsync



On Thu, Sep 20, 2001 at 10:36:37AM +0200, Richard Körber wrote:
> Important data first: Kernel 2.4.9; usb-uhci, usbserial and
> visor compiled into the kernel. USB is working fine, e.g.
> with a Wacom Graphire tablet.

I use coldsync with m500 sucessfully.  Kernel 2.4.9 (Debian unstable),
usb-uhci, usbserial and visor compiled as modules.

BTW I have commented out lines 571-572 of
linux-2.4.9/drivers/usb/serial/visor.c so that my syslog wouldn't
overflow with debugging data, but that has nothing to do with coldsync
working or not.

> I cannot sync my m500 with coldsync. I press the Hotsync
> button on the cradle, and see how the Palm is recognized
> properly by the converter, and assigned to ttyUSB0 and ttyUSB1.
> Everything is fine so far.
> 
> When I start coldsync now, it asks me to press the Hotsync
> button again. But nothing happens when I press it. (The same
> with pilot-xfer.)

Same here, except that I don't even have to press the HotSync button --
coldsync starts working right after emmiting that message.

(Once you get coldsync working, you might want to install hotplug and
create /etc/hotplug/usb/visor -- a shell script doing something like

  #!/bin/sh
  su username -c "coldsync"

Then you only have to hit the hotplug button on the cradle and coldsync
will start and perform the hotsync automatically.)

> I found a m500 patch for coldsync 2.1.3, but I wasn't able to
> apply it, so I gave coldsync-2.2.0-20010905 a try (with usb_m50x
> option as stated), but it didn't work either.

I didn't try 2.1.3.  I use coldsync-2.2.0-20010905 succesfully (many
thanks for the developers!).  My ~/.coldsyncrc says

  listen usb_m50x {
    device: /dev/palm;
  }

and /dev/palm is

  $ ls -l /dev/palm /dev/ttyUSB1
  lrwxrwxrwx    1 root     root            7 Sep  9 19:26 /dev/palm -> ttyUSB1
  crw-rw-rw-    1 root     root     188,   1 Sep 20 20:15 /dev/ttyUSB1

(World-writable permissions aren't very nice, but I hope its safe enough
on a single-user desktop machine.)

> What am I doing wrong?

It's hard to say.  You can try to compare your setup with mine (e.g.
permissions on ttyUSB1, check that you are using ttyUSB1 and not
ttyUSB0, etc.)

Marius Gedminas
-- 
#define QUESTION ((bb) || !(bb)) /* Shakespeare */
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.