Bug 63623 (suse48623)

Summary: KPilot - digitiser settings broken after restore from backup
Product: [openSUSE] SUSE Linux 10.1 Reporter: Will Stephenson <wstephenson>
Component: KDEAssignee: Will Stephenson <wstephenson>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: forgotten_OS1JNCFbCX
Version: RC 1   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Will Stephenson 2004-11-29 17:39:08 UTC
Originally reported by rschiele@uni-mannheim.de in 47612: 
" 
A problem I still have is that after the sync there is a message on the Palm  
that says that the Palm has to be reinitialized by pressing a button on the  
screen. When I do this, the Digitizer is notoriously out of sync, that much  
that I even can't start the Digitizer calibration tool. But I fear, you cannot  
do anything about that. :-(  
" 
Robert, can you add the make and model of Palm you are experiencing this with, 
and the PalmOS version it runs?
Comment 1 Will Stephenson 2004-11-29 17:39:08 UTC
<!-- SBZ_reproduce  -->
Backup Palm  
Restore Palm 
Attempt to use digitiser 
 
(Not apparent with my Visor)
Comment 2 Forgotten User OS1JNCFbCX 2004-11-29 17:49:30 UTC
This is a 3Com Palm V running Palm OS v. 3.3. 
Comment 3 Will Stephenson 2004-12-07 17:11:08 UTC
Discussing a fix with the kpilot maintainer  
Comment 4 Will Stephenson 2006-04-18 11:41:06 UTC
Which didn't come to anything.  

Daniel, if you find anything out can you add it here?
Comment 5 Daniel Gollub 2006-04-18 13:25:20 UTC
I also have the Palm V and have often the problem that i have to hard rest the palm to recalibrate it. But i am no quite sure if it is a pilot-link problem. There are many disscusion on the internet about calibration problems of palms ... and there also exists many applications for the palm to run the digitizer also after a soft reset or to bind it on a non-digitizer button. For example Z-digitzer:
http://www.palmgear.com/index.cfm?fuseaction=software.showsoftware&prodID=9161

Also i found hints in discussion to check if there is enough space between the screen and the case.

For me it seems to be a general palm problem (at least for older models).
Comment 6 Forgotten User OS1JNCFbCX 2006-04-18 14:07:16 UTC
Daniel, I think that you didn't get the problem here:

If the Palm lost calibration by itself then this is a Palm problem.

But in this case the calibration is fine but after restoring data with the link utility the calibration gets destroyed by the software which is definitely something the software should not do.
Comment 7 Daniel Gollub 2006-04-18 14:50:47 UTC
I had a short discussion with a pilot-link developer which never had a problem like this. 

The data you restored are from the same palm - or from another palm?
Happens this only when you restore your data? Or also while HotSync or somehting else?
Can you reproduce this realible?
Comment 8 Forgotten User OS1JNCFbCX 2006-04-18 14:59:06 UTC
The data are from the same palm.

Happens only on restore.

I could reproduce this at the time I wrote this bug report. Currently I do no longer use the palm but if there is interest I could check again.
Comment 9 Daniel Gollub 2006-04-18 15:02:25 UTC
Please try to reproduce this.
Comment 10 David A. Desrosiers 2006-04-18 15:33:20 UTC
Let's try this: Hard-reset your Palm (back it up first, of course, using 'pilot-xfer -p /dev/ttySx -b /tmp/foobar' or some such, do not use -s to back it up, use -b. Make *SURE* kpilotDaemon is not running at this point. 

Press all 4 buttons on the Palm's front panel to initialize the application databases with default values. 

Calibrate the digitizer (Prefs -> Digitizer) AFTER doing the hard-reset and AFTER initializing your default application databases.

Back up the data at this point from the hard-reset Palm to another directory, /tmp/clean or some such, using pilot-xfer again. 

Hard-reset your Palm again, cd into /tmp/clean, and use restore using pilot-xfer's -r option ('pilot-xfer -p /dev/ttySx -r /tmp/clean'). 

Is the digitizer off at this point? Or does it work? 

Comment 11 Forgotten User OS1JNCFbCX 2006-04-18 17:45:03 UTC
My machines with 10.1 do not have serial ports thus I did rebuild the 10.1 package of pilot-link for 9.2 and tried there.

My Palm does not reinitialize the application databases when pressing all 4 buttons thus I did the following:

1. Backup everything as described above.

2. Hard-reset the Palm and calibrate.

3. Backup empty Palm as described above.

4. Hard-reset the Palm and calibrate.

5. Restore empty backup as described above. ==> No calibration problems.

6. Restore full backup. ==> No calibration problems.

Interesting part is that I don't see the message box described in the initial comment when restoring with the command line tool.

Another strange thing is that not all dates got restored after restoring from the full backup. Either my Palm or pilot-link is somehow horribly broken.

Due to the fact that I no longer use my Palm device I personally do no longer care very much about the data loss but if you want me to try something else I could do so.
Comment 12 Daniel Gollub 2006-04-18 17:52:24 UTC
Can you try the same testcase with kpilot instead of pilot-xfer - please.
To be sure that the also doesn't exist in kpilot.