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

Re: [coldsync-hackers] Visor Edge USB cradle under FreeBSD 4.3



On Mon, 9 Jul 2001, Brian W. Buchanan wrote:
> Yeah, there is definitely a timing issue.  I found an earlier post to the
> mailing list describing how to launch coldsync from usbd.  That works like
> a charm every time.  I suspect that to do it reliably without using usbd a
> custom USB driver would have to be written.

	Hm. Then perhaps as a quick and dirty workaround, it might be
possible to insert a sleep(1) somewhere, probably after opening the
device, and before reading from it.
	Do you feel like playing around with this? IMHO this should go in
src/coldsync.c, in run_mode_Standalone().

> I added to usbd.conf (before the "device "USB device"" line):
>
> device "Handspring Visor"
> 	devname "ugen0"
> 	vendor  0x082d
> 	product 0x0100
> 	release 0x0100
> 	attach "su -l brian -c /usr/local/bin/coldsync"

	ICYC, ColdSync can handle multiple users, if you run it in daemon
mode. You just need to run it with "-md" and create a /usr/local/etc/palms
file. See
http://www.thedotin.net/maillists/coldsync-hackers/msg00391.html

	Of course, maybe you're just being cautious and don't feel
comfortable running ColdSync as root. That's cool, too.

-- 
Andrew Arensburger                      Actually, these _do_ represent the
arensb@ooblick.com                      opinions of ooblick.com!
                        Generic Tagline V 6.01

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.