Re: syncing first time with zire 31 on FC2



On Wed, 2004-07-28 at 17:13, Maarten Vergauwen wrote:
> Hello,
> 
> Until a couple of weeks I was a happy user of gpilot and evolution, syncing 
> it with
> my palm Zire 31.
> 
> note: I did have to run gpilot as follows for the thing to work:
> 
> /usr/bin/gpilotd-control-applet --id=1
> 
> 
> Anyway, FC2 was installed on my machine. I tried to sync again
> but I couldn't get gpilot to detect my palm. 

I believe that the Zire 31 (and Zire 72?) have USB product IDs of
0x0061, which are not supported by default with the visor module shipped
with FC2.  If you say that pilot-xfer and jpilot are working, then I
guess you are supplying this ID to the visor module with:

 modprobe visor vendor=0x0830 product=0x61

somewhere in your startup scripts.

Anyway, gnome-pilot does not recognise the Zire 31 by default, so I
don't know how it worked for you before.  Were you running a patched
version on gnome-pilot that got clobbered by your fc2 installation?

The quick and rather dirty fix, which I haven't tried but may well work,
is to use a binary editor to insert the correct ID into the gpilotd
binary.  If you want to give this a try, follow these steps:

1. take a backup copy of /usr/libexec/gpilotd
2. convert gpilotd to a hexdump:
	xxd < /usr/libexec/gpilotd > /tmp/gpilotd.dump
3. edit gpilotd.dump with a plain text editor and insert the id:
	search for the string "ProdID=0070" and change it to
	"ProdID=0061".  You will also have to change the corresponding
	hex character on the left from "3630" to "3631".  In my
	version of gpilotd I changed:

0014dc0: 3030 3530 0056 656e 646f 723d 3038 3330  0050.Vendor=0830
0014dd0: 2050 726f 6449 443d 3030 3630 0056 656e   ProdID=0060.Ven

to

0014dc0: 3030 3530 0056 656e 646f 723d 3038 3330  0050.Vendor=0830
0014dd0: 2050 726f 6449 443d 3030 3631 0056 656e   ProdID=0061.Ven

(actually, changing the plain text portion is cosmetic, what really
matters is that '3630' --> '3631'.)

4. now convert back again:
	xxd < /tmp/gpilotd.dump > /usr/libexec/gpilotd

Let us know if this works.  Note that this removes support for the
original Zire.  If by any chance you need that one, then change
another of the 'Vendor=0830 ProdID=XXXX' definitions.

Matt
-- 
Matt Davey	         "Madam, I had a wonderful evening, but this 
mcdavey mrao cam ac uk           wasn't it."  --  Groucho Marx.



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