[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] Re: USB m50x under FreeBSD
On Sun, 29 Jul 2001 02:47:18 EDT, Andrew Arensburger <arensb+CShackers@ooblick.com> wrote:
>
> Well, yes. Just as you currently need to know the protocol
>type to know whether to use "serial" or "usb_m50x". My point is that
>the "hardware" (serial, usb) protocols and the "software" (SLP+PADP,
>netsync) protocols are nearly orthogonal.
> For all I know, it might even be desirable to use SLP+PADP
>over TCP. It might be useful if ColdSync is on the server end of a PPP
>connection that the Palm has dialed in to. Or some other unforeseen
>situation.
I completely agree with you. That's what I was trying to do with
the patch that keeps bouncing. I was trying to separate the
details of interfacing to a USB byte stream from the palm protocol(s).
> Using the newly-added "-P <protocol>" option, you'd set up one
>entry in /etc/usbd.conf that runs
> coldsync -t usb -P default
>(or just 'coldsync -t usb') and another that runs
> coldsync -t usb -P m50x
That's good. I think I misread what you said before. I thought it
was an option that would only be available in the .coldsyncrc file,
not from the command line as well.
> This might be nice, but it seems like chrome. It seems that
>this feature would be most useful in two situations: a) new users, and
>b) situations where the protocol stack changes from moment to moment.
>For (a), an FAQ or README seems like a more appropriate solution. For
>(b), I'm proceeding under the assumption that the protocol stack is
>tied to the cradle, not the Palm model; if this assumption proves
>incorrect, then autoconfiguration might become necessary.
I don't think it's quite like chrome. The application needs to
know the protocol whether it is supplied by the user or automatically
determined at run time. I'd argue that if the application can
determine the protocol itself automatically, and if it cannot
run without that information, why burdeon the user with supplying it?
mike
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.