gnome-pilot doesn't work on openSUSE 11 (jpilot, pilot-link both work)



Hi,

After many days search on google and tries, I'm about to conclude that gnome-pilot is not operational on openSUSE 11.

jpilot works great at the first try. I could stay on it but I've two Treo (650 and 680) that I synced together through Outlook on Windows, and I want to be able to do the same with Evolution. jpilot can't do that. jpilot can sync with two PDAs, but in different folders, so the contain of the two PDAs are not synced together.

It seems that gnome-pilot, since it manage different PDAs, can sync my two Treos.

I've created a rule file for udev:
/etc/udev/rules.d/10-custom.rules :
BUS=="usb",SYSFS{product}=="Palm Handheld*",KERNEL=="ttyUSB[13579]",NAME="%k",SYMLINK+="pilot",GROUP="uucp",MODE="0666",OPTIONS+="last_rule"

I've added in  /usr/share/gnome-pilot/devices.xml:
 
 

Remark: /var/log/message indicates that both Treo 650 and 680 are detected with the same vendor_id and product-id:
Aug 14 13:12:51 linux-zxw kernel: hub 2-0:1.0: unable to enumerate USB device on port 4
Aug 14 13:12:51 linux-zxw kernel: usb 6-2: new full speed USB device using uhci_hcd and address 32
Aug 14 13:12:51 linux-zxw kernel: usb 6-2: configuration #1 chosen from 1 choice
Aug 14 13:12:51 linux-zxw kernel: visor 6-2:1.0: Handspring Visor / Palm OS converter detected
Aug 14 13:12:51 linux-zxw kernel: usb 6-2: Handspring Visor / Palm OS converter now attached to ttyUSB0
Aug 14 13:12:51 linux-zxw kernel: usb 6-2: Handspring Visor / Palm OS converter now attached to ttyUSB1
Aug 14 13:12:51 linux-zxw kernel: usb 6-2: New USB device found, idVendor=0830, idProduct=0061
Aug 14 13:12:51 linux-zxw kernel: usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
Aug 14 13:12:51 linux-zxw kernel: usb 6-2: Product: Palm Handheld
Aug 14 13:12:51 linux-zxw kernel: usb 6-2: Manufacturer: Palm, Inc.
Aug 14 13:12:51 linux-zxw kernel: usb 6-2: SerialNumber: PalmSN12345678
Aug 14 13:12:53 linux-zxw kernel: usb 6-2: USB disconnect, address 32
Aug 14 13:12:53 linux-zxw kernel: visor ttyUSB0: Handspring Visor / Palm OS converter now disconnected from ttyUSB0
Aug 14 13:12:53 linux-zxw kernel: visor ttyUSB1: Handspring Visor / Palm OS converter now disconnected from ttyUSB1
Aug 14 13:12:53 linux-zxw kernel: visor 6-2:1.0: device disconnected
Aug 14 13:12:54 linux-zxw kernel: hub 2-0:1.0: unable to enumerate USB device on port 4
Aug 14 13:12:54 linux-zxw kernel: usb 6-2: new full speed USB device using uhci_hcd and address 33
Aug 14 13:12:54 linux-zxw kernel: usb 6-2: configuration #1 chosen from 1 choice
Aug 14 13:12:54 linux-zxw kernel: visor 6-2:1.0: Handspring Visor / Palm OS converter detected
Aug 14 13:12:54 linux-zxw kernel: usb 6-2: Handspring Visor / Palm OS converter now attached to ttyUSB0
Aug 14 13:12:54 linux-zxw kernel: usb 6-2: Handspring Visor / Palm OS converter now attached to ttyUSB1
Aug 14 13:12:54 linux-zxw kernel: usb 6-2: New USB device found, idVendor=0830, idProduct=0061
Aug 14 13:12:54 linux-zxw kernel: usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
Aug 14 13:12:54 linux-zxw kernel: usb 6-2: Product: Palm Handheld
Aug 14 13:12:54 linux-zxw kernel: usb 6-2: Manufacturer: Palm, Inc.
Aug 14 13:12:54 linux-zxw kernel: usb 6-2: SerialNumber: PalmSN12345678

When I press the hotsync button on the Treo, the udev rule is applied so /dev/pilot is created.
lrwxrwxrwx 1 root root 7 Aug 14 13:12 /dev/pilot -> ttyUSB1
Notice that in the rule, I've specified GROUP=uucp, but /dev/pilot is still in the "root" group.

pilot-xfer works great both on /dev/ttyUSB1 and /dev/pilot. So it seems to me that the udev rule is not really necessary.
pilot-install-user can also retrieve my Treo's user name and use id.

I've configured gnome-pilot-applet so my gpilotd's config is:
more .gnome2/gnome-pilot.d/gpilotd 

[General]
sync_PC_Id=-171687487
progress_stepping=1
num_devices=1
num_pilots=2

[Device0]
type=1
name=Cradle
device=/dev/pilot
speed=9600
timeout=100

[Pilot0]
name=Treo650_fr
pilotid=1392
creation=0
romversion=0
pilotusername=wzx1
basedir=/home/wzx/Palm/Treo650
charset=CP1252

[Pilot1]
name=Treo680_cn
pilotid=7195
creation=0
romversion=0
pilotusername=wzx2
basedir=/home/wzx/Palm/Treo680
charset=CP1252

For the two PDAs, user name and pilotid are values given by pilot-install-user command.
I've tried timeout with different values: 0, 2, 15, 100.

All these settings don't work, so I run gpilotd on command line for seeing what's happening:
/usr/lib/gnome-pilot/gpilotd --oaf-activate-iid=OAFIID:GNOME_Pilot_Daemon --oaf-ior-fd=26
gpilotd-Message: gnome-pilot 2.0.16 starting...
gpilotd-Message: compiled for pilot-link version 0.12.2
gpilotd-Message: compiled with [VFS] [USB] [IrDA] [Network] [Bluetooth] 
gpilotd-Message: Activating CORBA server
IOR:0119c5bf1b00000049444c3a474e4f4d452f50696c6f742f4461656d6f6e3a312e300096030000000054424f580000000101026905000000554e49580066756c0a0000006c6f63616c686f73740000002d0000002f746d702f6f726269742d7a6978696f6e672f6c696e632d323264362d302d323863623239346361363064340000000000000000caaedfba580000000101022f2d0000002f746d702f6f726269742d7a6978696f6e672f6c696e632d323264362d302d32386362323934636136306434006800001c00000000000000390868a8fe0a2828c02b2828282828286770696c6f74640001000000480000000163623202000000050000001c00000000000000390868a8fe0a2828c02b2828282828286770696c6f746400010000001400000001672f6c01000105000000000901010000000000
gpilotd-Message: bonobo_activation_active_server_register = 0
gpilotd-Message: Watching Cradle (/dev/pilot)
gpilotd-Message: Found 4766, 0001
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0502, 0736
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 091e, 0004
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 115e, f100
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 082d, 0100
gpilotd-Message: Using net FALSE
gpilotd-Message: Found 082d, 0200
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 082d, 0300
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0061
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0c88, 0021
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0001
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0002
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0003
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0020
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0031
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0040
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0050
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0060
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0061
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0070
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 0830, 0080
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 04e8, 8001
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 04e8, 6601
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 0038
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 0066
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 0095
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 009a
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 00c9
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 00da
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 00e9
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 0144
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 054c, 0169
gpilotd-Message: Using net TRUE
gpilotd-Message: Found 12ef, 0100
gpilotd-Message: Using net TRUE

Then nothing.

When I killed the existing gpilotd, it's reloaded at once (by bonobo, I suppose), so I had to be fast enough to launch my command line gpilotd just after killing the running one.
 
In gnome-pilot setting, I've never been able to get user name and id from Pilot.

I've also tried to run the whole thing as root, same result. 

Here is my env:
rpm -qa pilot* gnome-pilot* kernel* evolution*
evolution-data-server-2.22.1.1-11.1
evolution-2.22.1.1-15.1
kernel-default-2.6.25.11-0.1
gnome-pilot-lang-2.0.16-29.1
kernel-pae-2.6.25.11-0.1
kernel-source-2.6.25.11-0.1
pilot-link-0.12.2-112.1
gnome-pilot-2.0.16-29.1
gnome-pilot-conduits-lang-2.0.16-27.1
evolution-sharp-0.16.1.1-15.1
evolution-pilot-2.22.1.1-15.1
gnome-pilot-conduits-2.0.16-27.1

It's strange that openSUSE 11 has a gnome-pilot 2.0.16, whereas on the gnome-pilot web site, the latest version is 2.0.15.
Should I try the 2.0.15 ?

I've also tried to boot with kernel-default and kernel-pae, I don't know if this has any influence.

Do you have any idea ?

Thanks in advance.

wzx

_________________________________________________________________
Lancez des recherches en toute sécurité depuis n'importe quelle page Web. Téléchargez GRATUITEMENT Windows Live Toolbar aujourd'hui !
http://toolbar.live.com


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