USB Palmpilot or Handspring Visor working with Linpus

How to Guides for Linux, Linpus etc..

Moderator: Davidcowling

USB Palmpilot or Handspring Visor working with Linpus

Postby mattytee » Sun Dec 14, 2008 1:25 pm

OK, I have read every bugzilla entry and problem concerning this, and finally managed to get this working. It's surprisingly easy. It wasn't a Linpus problem, it was a Fedora and misinforation problem. So without further ado, the how-to.

GETTING YOUR USB PALMPILOT OR HANDSPRING VISOR WORKING IN LINPUS, FEDORA, ETC.

1. Install pilot-link

Code: Select all
sudo yum install pilot-link


2. Copy 60-libpisock.rules from /usr/share/pilot-link/udev/ to /etc/udev/rules.d/

Code: Select all
sudo cp /usr/share/pilot-link/udev/60-libpisock.rules /etc/udev/rules.d/


3. Fix the libpisock rules for fedora/linpus

Code: Select all
sudo mousepad /etc/udev/rules.d/60-libpisock.rules


Use the "replace" command in the search menu to change all instances of "dialout" to "wheel"

4. Restart udevd (I just rebooted)

5. Test for pilot-xfer success

Code: Select all
pilot-xfer -p usb: -l


If you get a deedle-dee from the Palm and a list of databases, you're golden. If it just sits there, use CTRL-C to kill it and try the same command with sudo. If that works, you're going to need to dig for a permissions problem. If your user is in the wheel group, you should be good to go. Some Palms, for example the m130 and z22, may NEVER work. Sorry.

7. install j-pilot (or not, you can just use pilot-xfer for backup/restore)

backing up without j-pilot:
Code: Select all
pilot-xfer -p usb: -b /path/to/backup/dir


restoring without j-pilot:
Code: Select all
pilot-xfer -p usb: -r /path/to/backup/dir


OR

Code: Select all
sudo yum install jpilot


If it fails, you may need fedora-release, so if you get errors, try:

Code: Select all
sudo yum install fedora-release


8. Set j-pilot to use "usb:" (no quotes) in the program preferences.

Hotsync should be 200%-600% faster than the kludgy old /dev/pilot method.
mattytee
 
Posts: 112
Joined: Sun Nov 30, 2008 8:15 am

Re: USB Palmpilot or Handspring Visor working with Linpus

Postby nateda » Wed Dec 17, 2008 2:17 am

Thanks a lot for the help! :)

So ends around 4 months of intermittently trying to get my Treo to work.

By the way, can this method be used for Dial-Up-Networking through a Treo? Does anyone know of a way? I've tried using Gnome-PPP with device USB:, but it just says device not found.
nateda
 
Posts: 6
Joined: Mon Oct 06, 2008 12:30 pm

Re: USB Palmpilot or Handspring Visor working with Linpus

Postby mattytee » Wed Dec 17, 2008 4:39 pm

That reminds me -- if anyone is coming to this after trying the "/dev/pilot" method, which does not work in Linpus, you need to do a few things before you follow the guide above:

1. Remove the visor module.

Code: Select all
rmmod visor


2. Blacklist the visor module to keep it from loading again. (You will know if you need to do this, because you would have had to edit or delete this file to get the visor module to load)

Code: Select all
sudo echo 'blacklist visor' > /etc/modprobe.d/blacklist-visor


Glad to help. I haven't delved into using a Treo as a modem, but I'm guessing the thread(s) on getting a USB modem to work might be applicable. I'm not sure if someone has them working or not. I believe the Treo responds to regular AT commands once you have the USB communication part working. This guide strictly changes ownership of the device that is created when you hotsync. I don't think it could be used to do the modem thing as it is not persistent; the device disappears at the end of a hotsync.

Another place to search would be the Fedora forums and/or bugzilla.
mattytee
 
Posts: 112
Joined: Sun Nov 30, 2008 8:15 am

Re: USB Palmpilot or Handspring Visor working with Linpus

Postby ice_snow » Mon Dec 22, 2008 3:05 am

How do you set J-Pilot to accept USB connections? I know you said in the prefrances, but I could not find it anywhere. I don't know if this effects it, but I'm using a Palm Tungsten E.
Proud owner of a Acer Aspire One Saphire Blue, Limpus Linux, 8GB SSD, 512MB RAM, and an 8GB SDHC.
ice_snow
 
Posts: 27
Joined: Fri Aug 22, 2008 9:15 pm

Re: USB Palmpilot or Handspring Visor working with Linpus

Postby nateda » Mon Dec 22, 2008 10:56 pm

Its in the Settings Tab of File>Preferences. Set "Serial Port" to "usb:"
nateda
 
Posts: 6
Joined: Mon Oct 06, 2008 12:30 pm

Re: USB Palmpilot or Handspring Visor working with Linpus

Postby rand mcnally » Mon Dec 29, 2008 1:33 am

I followed the directions above. I never tried the dev/pilot method. I tried pilot-xfer -p usb: -l and got a list of files on the palm. So far so good. J-pilot installs fine, I changed the serial port to usb. When I try to sync I get the following error.

pi_bind error: usb No such file or directory
Check your serial port and settings
Exiting with status SYNC_ERROR_BIND
Finished

Anyone have any ideas. I there a trick or sequence I need to follow.

If it helps I am using a Palm Tungsten E.

Thanks
rand mcnally
 
Posts: 6
Joined: Sat Sep 13, 2008 2:23 pm

Re: USB Palmpilot or Handspring Visor working with Linpus

Postby ice_snow » Mon Dec 29, 2008 4:35 am

nateda wrote:Its in the Settings Tab of File>Preferences. Set "Serial Port" to "usb:"

I can't see where to do that. There is a box that says "Serial Port (/dev/ttySO, /dev/pilot)" and it has a text box where I can input a location, I placed "/dev/usb" and that did not work. Can you be a little more specific (or send a picture).

Thanks,

And I'm sorry for my lack of knowledge about this, I'm usually pretty good with this kind of stuff.
Proud owner of a Acer Aspire One Saphire Blue, Limpus Linux, 8GB SSD, 512MB RAM, and an 8GB SDHC.
ice_snow
 
Posts: 27
Joined: Fri Aug 22, 2008 9:15 pm

Re: USB Palmpilot or Handspring Visor working with Linpus

Postby nateda » Tue Dec 30, 2008 6:53 am

ice_snow wrote:
nateda wrote:Its in the Settings Tab of File>Preferences. Set "Serial Port" to "usb:"

I can't see where to do that. There is a box that says "Serial Port (/dev/ttySO, /dev/pilot)" and it has a text box where I can input a location, I placed "/dev/usb" and that did not work. Can you be a little more specific (or send a picture).

Thanks,

And I'm sorry for my lack of knowledge about this, I'm usually pretty good with this kind of stuff.


Nah, it's cool dude :)

Unfortanately, I'm not on my Aspire right now, but if you enter "usb:" into the text box, you should be good to go.
nateda
 
Posts: 6
Joined: Mon Oct 06, 2008 12:30 pm

Re: USB Palmpilot or Handspring Visor working with Linpus

Postby ice_snow » Wed Dec 31, 2008 1:36 am

I'm quite sure that I tried that, but it did not work.
Proud owner of a Acer Aspire One Saphire Blue, Limpus Linux, 8GB SSD, 512MB RAM, and an 8GB SDHC.
ice_snow
 
Posts: 27
Joined: Fri Aug 22, 2008 9:15 pm

Re: USB Palmpilot or Handspring Visor working with Linpus

Postby mattytee » Wed Dec 31, 2008 4:08 am

ice_snow,

You're looking at the right spot. In the text field you describe, enter the text "usb:" WITHOUT quotes, lowercase letters, no / or /dev/ or anything in front. Just as below:

Code: Select all
usb:


If that's not working, are you able to view the databases with the command below?

Code: Select all
pilot-xfer -p usb: -l


Also, you might check whether Tungsten E is one of the Palms that don't work at all for whatever reason. I definitely saw the Zire 22 and m130. The bugzilla number is 280251.
mattytee
 
Posts: 112
Joined: Sun Nov 30, 2008 8:15 am

Next

Return to How to Guides - Linux

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests