View previous topic :: View next topic |
Author |
Message |
dapanasewicz n00b
Joined: 25 Jan 2004 Posts: 5 Location: Akron, OH
|
Posted: Sun Jan 25, 2004 5:52 am Post subject: handspring Treo 600 and evolution...? |
|
|
basically my problem is that i can't get my Treo to sync with evolution. i've tried just about everything that i can think of; kernel patches, re-emerging older/newer versions of gnome-pilot, etc...
i have gotten as far as being able to see the device in /dev/usbTTY(0-1) and /dev/usb/tts/(0-1). i can even sync with kpilot and jpilot, unfortunately they don't have conduits to connect to evolution. older versions of gpilot got a response when i pressed the hotsync button, but all of the conduits are for the most recent version (2.0.10). i did find a patch that seems to b promising in fixing my problem.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=106731
unfortunately, i'm not sure about how to go about patching the source for gpilot under gentoo. i'm guessing the most efficient way would be to change the .ebuild to incorporate the patch through portage, though i wouldn't know where to start. i would think that this would be the overall best method to patch it since it would still be built with all of the portage dependencies and flags...but i s'pose i could be wrong.
i've been looking through some .ebuild files that i know fetch/apply patches before compiling and i "kind of" understand how it's done, the only thing is that the patches are downloaded...so i suppose that i would have to go about putting the patch file on another computer with a web server (not a problem)
any help on this would be greatly appreciated...
thanks in advance,
-Dan- |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Sun Jan 25, 2004 7:45 am Post subject: |
|
|
You could
* download the source
* just add the required code by hand
* re-package it, and copy it to /usr/portage/distfiles
* edit the ebuild to use your modified source package.
I use a Palm m130 with Evolution, and while I didn't have to patch gnome-pilot, I did have to add some lines to the kernel. _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
dapanasewicz n00b
Joined: 25 Jan 2004 Posts: 5 Location: Akron, OH
|
Posted: Sun Jan 25, 2004 10:05 pm Post subject: |
|
|
ok... i was able to apply the patch, repackage, then emerge (after changing the md5 checksum for the ebuild)...
i can get the treo to talk to pilot-link (sync, backup, list, etc... through 'pilot-xfer') using /dev/ttyUSB1 and /dev/pilot, but i still can't get gpilotd to talk to the treo. am i doing something wrong here?
i also tried to autoload the modules at boot (usbserial, visor) and also blacklist them in hotplug. i still get the same results, pilot-link works and gpilot doesnt.
the patch i have in my kernel is this:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=106654
do i need more than that? i feel like i'm getting so close! |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Mon Jan 26, 2004 2:08 am Post subject: |
|
|
Hmmm ... if you run gpilotd from a terminal, what do you see (if anything)? Make sure to kill any instances that might be running already ... _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
dapanasewicz n00b
Joined: 25 Jan 2004 Posts: 5 Location: Akron, OH
|
Posted: Mon Jan 26, 2004 2:45 am Post subject: |
|
|
here's what it says:
Code: | $ /usr/libexec/gpilotd
gpilotd-Message: gnome-pilot 2.0.10 starting...
gpilotd-Message: compiled for pilot-link version 0.11.8
gpilotd-Message: compiled with [VFS] [USB] [IrDA] [Network]
gpilotd-Message: Activating CORBA server
gpilotd-Message: bonobo_activation_active_server_register = 0
gpilotd-Message: Watching Cradle (/dev/pilot) |
it looks totally normal...and it just sits there
here's the output for /var/log/messages when i hit the hotsync button
Code: | Jan 25 21:31:02 GentooP3 hub.c: new USB device 00:1f.2-2, assigned address 12
Jan 25 21:31:02 GentooP3 usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clie 4.x converter detected
Jan 25 21:31:02 GentooP3 usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clie 4.x converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
Jan 25 21:31:02 GentooP3 usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clie 4.x converter now attached to ttyUSB1 (or usb/tts/1 for devfs)
Jan 25 21:32:16 GentooP3 usb.c: USB disconnect on device 00:1f.2-2 address 12
Jan 25 21:32:16 GentooP3 usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clie 4.x converter now disconnected from ttyUSB0
Jan 25 21:32:16 GentooP3 usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clie 4.x converter now disconnected from ttyUSB1 |
and everything looks normal here too from what i see
(the disconnect happens when the treo times out after a minute or so) |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Mon Jan 26, 2004 3:00 am Post subject: |
|
|
Some things to try:
1. Make sure that /dev/pilot is linked to the correct USB TTY device; this is adjusted through /etc/devfsd.conf.
2. Run "gpilotd-control-applet" (or do the same through the menus), and make sure that gpilotd will be watching /dev/pilot. Other settings concerning conduits are also available, obviously.
3. Start up gpilotd _after_ you punch sync on the Treo. This way, you can be certain that if gpilotd doesn't do anything, it's actively ignoring /dev/pilot. _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
dapanasewicz n00b
Joined: 25 Jan 2004 Posts: 5 Location: Akron, OH
|
Posted: Mon Jan 26, 2004 3:39 am Post subject: |
|
|
does this look right for devfsd.conf?
Code: |
LOOKUP ^pilot$ CFUNCTION GLOBAL mksymlink ttyUSB1 pilot
REGISTER ^ttyUSB$ CFUNCTION GLOBAL mksymlink $devname pilot
UNREGISTER ^ttyUSB$ CFUNCTION GLOBAL unlink pilot
|
btw, i have /dev/pilot linked to /dev/ttyUSB1 ...this gets the job done in pilot-link.
i tried pressing hotsync before starting gpilotd...no dice |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Mon Jan 26, 2004 4:30 am Post subject: |
|
|
dapanasewicz wrote: | does this look right for devfsd.conf?
Code: |
LOOKUP ^pilot$ CFUNCTION GLOBAL mksymlink ttyUSB1 pilot
REGISTER ^ttyUSB$ CFUNCTION GLOBAL mksymlink $devname pilot
UNREGISTER ^ttyUSB$ CFUNCTION GLOBAL unlink pilot
|
btw, i have /dev/pilot linked to /dev/ttyUSB1 ...this gets the job done in pilot-link.
i tried pressing hotsync before starting gpilotd...no dice |
I guess that's right -- are you using kernel 2.6? FYI under 2.4.18, my config is:
Code: |
# Create /dev/pilot
REGISTER ^usb/tts/0$ CFUNCTION GLOBAL mksymlink $devname pilot
REGISTER ^usb/tts/0$ PERMISSIONS root.pilot 660
UNREGISTER ^usb/tts/0$ CFUNCTION GLOBAL unlink pilot
|
I'm out of ideas
Under the gnome-pilot settings, you need to have at least one pilot and one device defined, and then at least one conduit enabled. For example, all of my Evolution conduits are enabled. _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
dapanasewicz n00b
Joined: 25 Jan 2004 Posts: 5 Location: Akron, OH
|
Posted: Mon Jan 26, 2004 5:46 am Post subject: |
|
|
it still doesn't see it... it's just so frustrating...especially when every other app will sync, except the one i want!
Quote: | I'm out of ideas
Under the gnome-pilot settings, you need to have at least one pilot and one device defined, and then at least one conduit enabled. For example, all of my Evolution conduits are enabled. |
me too...for now...i'm gong to have to keep digging.
i think that gnome-pilot must have something against me...maybe i killed its parents in a past life ...it's probably something so trivial that i'll kick myself when i figure it out. ANYHOO, i really appreciate your assistance/patience with this.
btw: i'm using vanilla-sources-2.4.24 ...on an inspiron 8000 notebook.
i've gotten everything else to work great except this... |
|
Back to top |
|
|
Cotton Tux's lil' helper
Joined: 09 Aug 2004 Posts: 85 Location: Murray, UT
|
Posted: Sun Sep 26, 2004 6:33 am Post subject: |
|
|
did you ever figure this out? _________________ Ajax DNS tools at ajaxdns.com | get your DNS on |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Sun Sep 26, 2004 9:53 am Post subject: |
|
|
Another user had a similar problem, and just switching USB ports did it for him _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
|