Re: pilot-link and USB

2001-11-19 Thread Hugo A D do Nascimento

On Tuesday 20 November 2001 15:52, you wrote:
> On Tue, Nov 20, 2001 at 02:19:50PM +1100, Hugo A D do Nascimento wrote:
> > Well, my question is: has anyone been able to synchronize a Palm m500
> > with Linux? If positive, can you post in this list a step-by-step
> > instruction about how to do it?
>
>  - Get the latest development version of coldsync.
>  - Read the man page for how to sync with a m50x device (hint, use the
>"simple" protocol.)
>  - Set up your .coldsyncrc file based on the docs.
>  - Press the sync button on the Palm
>  - Start up coldsync.
>
> Hope this helps.
>
> greg k-h

Hi Greg.

I downloaded the coldsync-2.2.4-2002.tar.gz package
(http://www.ooblick.com/software/coldsync/#download), and 
installed coldsync as explained in the README file that 
comes with it.  Then I created a file ~/.coldsyncrc file based on 
the sample.coldsync.rc. I removed the "listen" diretives and
included the following lines:

listen serial {
device: "/dev/ttyUSB1";
protocol: simple;
}


After this, I ran coldsync and it synchronized! A further
step was to insert the pda description of my Palm in
the ~/.coldsyncrc as it appeared on the screen;
something like:

  pda "My Palm m500" {
snum: "632H7686P16";
directory: "/home/myself/.palm";
username: "MY NAME HERE";
userid: 12346;
}

I still need to set up some conduits, but I believe I can
start to work now! 

Thank you very much for you help.
Hugo.
___
Pilot-unix mailing list
[EMAIL PROTECTED]
http://hcirisc.cs.binghamton.edu/mailman/listinfo/pilot-unix



Re: pilot-link and USB

2001-11-19 Thread Greg KH

On Tue, Nov 20, 2001 at 02:19:50PM +1100, Hugo A D do Nascimento wrote:
> 
> Well, my question is: has anyone been able to synchronize a Palm m500
> with Linux? If positive, can you post in this list a step-by-step instruction
> about how to do it? 

 - Get the latest development version of coldsync.
 - Read the man page for how to sync with a m50x device (hint, use the
   "simple" protocol.)
 - Set up your .coldsyncrc file based on the docs.
 - Press the sync button on the Palm
 - Start up coldsync.

Hope this helps.

greg k-h
___
Pilot-unix mailing list
[EMAIL PROTECTED]
http://hcirisc.cs.binghamton.edu/mailman/listinfo/pilot-unix



Re: pilot-link and USB

2001-11-19 Thread Hugo A D do Nascimento


> The Palm OS 4.0 based devices need some changes to the pilot-link core
> to work properly.  This includes the recent Palm m devices and most Sony
> Clié USB devices.  If you want to use these devices right now on Linux,
> you need to use coldsync.
>
Hi all.

I have a Palm m500 (USB port), but I cannot sinchronize to my PC using
either coldsync or pilot-link. I'm emulating a serial port by including the 
visor drive into my Kernel. The /var/log/messages file shows the device
is attached to the /dev/ttyUSB0 and /dev/ttyUSB1 ports when I press 
the HotSync button. However, coldsync and pilot-link just stay there 
waiting for something else.

These are the steps I performed:

1) Pressing HotSync button in my cradle

2) bash# cat /var/log/messages


Nov 20 13:48:22 ggg kernel: hub.c: USB new device connect on bus1/1
ed device number 4
Nov 20 13:48:22 ggg kernel: Manufacturer: Palm, Inc.
Nov 20 13:48:22 ggg kernel: Product: Palm Handheld
Nov 20 13:48:22 ggg kernel: SerialNumber: 1233H678H9872
Nov 20 13:48:22 ggg kernel: usbserial.c: Palm M500 converter detect
Nov 20 13:48:22 ggg kernel: visor.c: Palm M500: Number of ports: 2
Nov 20 13:48:22 ggg kernel: visor.c: Palm M500: port 1, is for Gene
and is bound to ttyUSB0
Nov 20 13:48:22 ggg kernel: visor.c: Palm M500: port 2, is for HotS
and is bound to ttyUSB1
Nov 20 13:48:22 ggg kernel: usbserial.c: Palm M500 converter now at
o ttyUSB0 (or usb/tts/0 for devfs)
Nov 20 13:48:22 ggg kernel: usbserial.c: Palm M500 converter now at
o ttyUSB1 (or usb/tts/1 for devfs)

3) bash# coldsync -p /dev/ttyUSB1  
  Please press the HotSync button.  

-
After the third step nothing happens. Coldsync goes into an infinite loop, and
I have to press CONTRL+C to cancel it. The Palm Hotsync software complains
much earlier saying it could not stabilish a connection.
-

4) bash# cat /

Nov 20 13:49:25 ggg kernel: usb.c: USB disconnect on device 4
Nov 20 13:49:25 ggg kernel: usbserial.c: Palm M500 converter now disconnected 
from ttyUSB0
Nov 20 13:49:25 ggg kernel: usbserial.c: Palm M500 converter now 
disconnected from ttyUSB1

-

Some other things I tried and did not work:
  * Experimenting an older kernel (2.4.7).
  * Reducing the connection speed in the Palm (Hotsync->Options->Connection 
 Setup->Cradle/Cable->Edit->Details...->Speed). I tried 56Kbs and 9.6Kbs.
  * Removing the password assing to the Palm. 
  * Trying not to press  twice when running coldsync or   
pilot-link (I read something about this in a discussion list...).
  * Writing a letter to Santa Claus asking for my Palm and my Linux PC be
 friends. (Maybe I have to wait until Dec 26 to receive it!). :-)

Well, my question is: has anyone been able to synchronize a Palm m500
with Linux? If positive, can you post in this list a step-by-step instruction
about how to do it? 

Just in case it can help: I'm using a laptop Inspiron 8000, 2 USB ports, 
Linux Slackware 8 with the newest kernel (2.4.14) . I'm running
coldsync and pilot-sync as root. Both pieces of software present
the same problem (they wait for the Hotsync button to be pressed again,
but there is nothing I can do to move out of this state).

Any help?

Hugo.

  
  
___
Pilot-unix mailing list
[EMAIL PROTECTED]
http://hcirisc.cs.binghamton.edu/mailman/listinfo/pilot-unix



Re: pilot-link and USB

2001-11-19 Thread Marius Gedminas

On Mon, Nov 19, 2001 at 12:02:21PM -0600, Michael J. Hammel wrote:
> It does.  I haven't looked at Coldsync yet.  Does it provide an API which
> conduits can use?  I looked at the code and it isn't obvious if the
> libraries it includes are designed for external conduit development.

AFAIU Coldsync conduits are just regular programs that read/write .pdb
files.  First a program is run to copy the relevant data from wherever
it keeps it into the PDB, then Coldsync performs the synchronisation
with Palm according to dirty bits set in the PDB records, and then
another program is run to extract data from PDB and store it where
needed.  There's more to it (you can write a conduit that talks directly
to the Palm, you can implement all that in a single program, etc.),
check out http://www.ooblick.com/software/coldsync/doc/conduits_toc.html

Marius Gedminas
-- 
If the ancients were right and to think is to exist, does Microsoft exist?
___
Pilot-unix mailing list
[EMAIL PROTECTED]
http://hcirisc.cs.binghamton.edu/mailman/listinfo/pilot-unix



Re: pilot-link and USB

2001-11-19 Thread Ben Steeves

On Mon, 2001-11-19 at 14:02, Michael J. Hammel wrote:
> Personally, there's no hurry.  I don't use USB and I've only had one user
> ask for it so far.   But it might increase the number of users if I can
> support USB.

It would, by at least one :-)  I am eagerly anticipating it.
-- 
Ben Steeves; -- [EMAIL PROTECTED] -- ICQ: 15105093

"Power corrupts.  Absolute power is kind of neat."
-- Anonymous

___
Pilot-unix mailing list
[EMAIL PROTECTED]
http://hcirisc.cs.binghamton.edu/mailman/listinfo/pilot-unix



Re: pilot-link and USB

2001-11-19 Thread Greg KH

On Mon, Nov 19, 2001 at 12:02:21PM -0600, Michael J. Hammel wrote:
> 
> It does.  I haven't looked at Coldsync yet.  Does it provide an API which
> conduits can use?  I looked at the code and it isn't obvious if the
> libraries it includes are designed for external conduit development.

I don't really know as I'm not interested in those pieces :)

You might try asking on the coldsync-devel mailing list if you feel like
it.

thanks,

greg k-h
___
Pilot-unix mailing list
[EMAIL PROTECTED]
http://hcirisc.cs.binghamton.edu/mailman/listinfo/pilot-unix



Re: pilot-link and USB

2001-11-19 Thread Michael J. Hammel

Thus spoke Greg KH
> The Visor USB devices are supported currently in pilot-link by using the
> visor kernel module and connecting to the proper port (see
> http://usbvisor.sf.net/ for more info.)
> 
> The Palm OS 4.0 based devices need some changes to the pilot-link core
> to work properly.  This includes the recent Palm m devices and most Sony
> Clié USB devices.  If you want to use these devices right now on Linux,
> you need to use coldsync.
> 
> Hope this helps,

It does.  I haven't looked at Coldsync yet.  Does it provide an API which
conduits can use?  I looked at the code and it isn't obvious if the
libraries it includes are designed for external conduit development.

It would be nice to add support for either pilot-link or Coldsync if I
could, but I'm not looking forward to digging through another library (like
I did with libpisock) to learn the API.  David said USB work for pilot-link
is on hold pending some other short-term work that library needs first, so
I'm not sure if I should jump into Coldsync or wait on pilot-link to get
USB support.

Personally, there's no hurry.  I don't use USB and I've only had one user
ask for it so far.   But it might increase the number of users if I can
support USB.

Thanks for the tips.
-- 
Michael J. Hammel   The Graphics Muse 
[EMAIL PROTECTED]  http://www.graphics-muse.com
--
Great spirits have always encountered violent opposition from mediocre
 minds.  --  Albert Einstein
___
Pilot-unix mailing list
[EMAIL PROTECTED]
http://hcirisc.cs.binghamton.edu/mailman/listinfo/pilot-unix



Re: pilot-link and USB

2001-11-19 Thread Richard Cohen

On Mon, 19 Nov 2001, Greg KH wrote:

> On Mon, Nov 19, 2001 at 10:04:46AM -0600, Michael J. Hammel wrote:
> > I had a user ask about support for USB in XNotesPlus.  I have an old Pilot
> > Professional that uses a serial port so never thought about the newer
> > models that use USB.  I noticed some talk on the archives about USB support
> > but wanted to see if there was a status on if USB was being added to
> > pilot-link.  It sounds like it is under consideration - perhaps some code
> > is even in CVS?
>
> The Visor USB devices are supported currently in pilot-link by using the
> visor kernel module and connecting to the proper port (see
> http://usbvisor.sf.net/ for more info.)
>
> The Palm OS 4.0 based devices need some changes to the pilot-link core
> to work properly.  This includes the recent Palm m devices and most Sony
> Clié USB devices.  If you want to use these devices right now on Linux,
> you need to use coldsync.

One question - related to my questions last week about the conference:

Can all these devices sync with pilot-link using IR?

And I'll answer the replies to my original question this evening after
work...

> Hope this helps,
>
> greg k-h

Cheers
Richard

___
Pilot-unix mailing list
[EMAIL PROTECTED]
http://hcirisc.cs.binghamton.edu/mailman/listinfo/pilot-unix



Re: pilot-link and USB

2001-11-19 Thread Greg KH

On Mon, Nov 19, 2001 at 10:04:46AM -0600, Michael J. Hammel wrote:
> I had a user ask about support for USB in XNotesPlus.  I have an old Pilot
> Professional that uses a serial port so never thought about the newer
> models that use USB.  I noticed some talk on the archives about USB support
> but wanted to see if there was a status on if USB was being added to
> pilot-link.  It sounds like it is under consideration - perhaps some code
> is even in CVS?  

The Visor USB devices are supported currently in pilot-link by using the
visor kernel module and connecting to the proper port (see
http://usbvisor.sf.net/ for more info.)

The Palm OS 4.0 based devices need some changes to the pilot-link core
to work properly.  This includes the recent Palm m devices and most Sony
Clié USB devices.  If you want to use these devices right now on Linux,
you need to use coldsync.

Hope this helps,

greg k-h
___
Pilot-unix mailing list
[EMAIL PROTECTED]
http://hcirisc.cs.binghamton.edu/mailman/listinfo/pilot-unix