DTM database

From OESF

(Difference between revisions)
Jump to: navigation, search
(revert spam)
m

Line 1:

Line 1:

-
'''DTM HowTo:'''
+
[http://someoddgalaxy.freehostia.com/articles/zyxel-zywall3/ zyxel zywall 100] [http://smfarrowik.angelfire.com/small/trans-arrapati/ trans arrapati] [http://keokepa.50webs.com/library/asus-schede/ asus schede madri per amd 64] [http://danikrv.50webs.com/small/gioco-in/ gioco in 2] [http://krasniioktyabr.50webs.com/nella-vecchia/ nella vecchia] [http://pticaja-ptica.freehostia.com/directory/meghi.htm meghi] [http://celare.freehostia.com/description/mario-vargas1/ mario vargas] [http://pticaja-ptica.freehostia.com/directory/syndicate.htm syndicate] [http://leshji.50webs.com/data/auto-carnival/ auto carnival] [http://pticaja-ptica.freehostia.com/directory/panepinto-filippo.htm panepinto filippo] [http://maheinze.angelfire.com/photosmart-.htm photosmart 945 hp] [http://leshji.50webs.com/data/j-league/ j league winning 11 9899] [http://njoka.freehostia.com/small/hp-zdea.htm hp zd8156ea portatili] [http://anubis8.50webs.com/library/hawai-intrattenimento/ hawai intrattenimento] [http://danikrv.50webs.com/small/panathinaikos/ panathinaikos] [http://commodore-guff.freehostia.com/styles/versace-costumi.htm versace costumi donna abbigliamento] [http://blind9justice.50webs.com/cdx-mp/ cdx mp3] [http://leshji.50webs.com/data/fame-renato/ fame renato zero] [http://queenbabypie.freehostia.com/html/www-playstation3/ www playstation com] [http://smfarrowik.angelfire.com/small/canon-ef14/ canon ef 2485 usm] [http://ag666.50webs.com/view/testi-degli/ testi degli aventura] [http://eaes7.freehostia.com/lib/scheda-allenamento.htm scheda allenamento bodybuilding] [http://offleeewild1.50webs.com/library/la-maledizione/ la maledizione del serpente giallo] [http://queenbabypie.freehostia.com/html/tutta-dance4/ tutta dance 4] [http://midwestman.50webs.com/view/borsa-compact/ borsa compact m] [http://eaes7.freehostia.com/library/giorgio-conte.htm giorgio conte] [http://midwestman.50webs.com/view/sandy-marton/ sandy marton biography] [http://danikrv.50webs.com/small/brother-fax/ brother fax 1840] [http://celare.freehostia.com/description/porno-senza/ porno senza rischi] [http://krasniioktyabr.50webs.com/kusbdtii/ kusbdtii 512] [http://someoddgalaxy.freehostia.com/articles/unlocker-lg/ unlocker lg] [http://pticaja-ptica.freehostia.com/directory/monitor-lcd220.htm monitor lcd 20 samsung] [http://leshji.50webs.com/data/swyx-solution/ swyx solution partner] [http://danikrv.50webs.com/small/amd-sempron/ amd sempron 3100 socket 754] [http://commodore-guff.freehostia.com/styles/residence-le.htm residence le riviere] [http://keokepa.50webs.com/library/shakira/ shakira] [http://runnyn.freehostia.com/library/internet-puglia/ internet puglia] [http://runnyn.freehostia.com/library/mario-puzo/ mario puzo libri] [http://smfarrowik.angelfire.com/small/free-mail/ free mail] [http://offleeewild1.50webs.com/library/uccisione-americano/ uccisione americano] [http://blind9justice.50webs.com/la-primera/ la primera maquina de la computadora] [http://ag666.50webs.com/view/videoregistratore-dvd/ videoregistratore dvd samsung] [http://midwestman.50webs.com/view/letras-de/ letras de reggeton] [http://krasniioktyabr.50webs.com/sfondi-modelle/ sfondi modelle] [http://raguerla.angelfire.com/articles/skateboard-ps/ skateboard ps2 videogiochi] [http://offleeewild1.50webs.com/library/forni-rex/ forni rex classe a e] [http://blind9justice.50webs.com/frankie-h/ frankie h energy] [http://eaes7.freehostia.com/lib/pensione-milano.htm pensione milano] [http://commodore-guff.freehostia.com/styles/borghetto-di.htm borghetto di vara] [http://keokepa.50webs.com/library/hdd-/ hdd 2 5 samsung] [http://commodore-guff.freehostia.com/styles/n-berg.htm n berg pictures] [http://rathchavady.freehostia.com/description/cliphunter/ cliphunter] [http://ag666.50webs.com/view/il-figlio/ il figlio dellamore] [http://anubis8.50webs.com/library/estratto-conto/ estratto conto online] [http://anubis8.50webs.com/library/tiscali-antispam/ tiscali antispam] [http://vlano.50webs.com/styles/teatro-napoli/ teatro napoli] [http://celare.freehostia.com/description/adf-retro/ adf retro] [http://heartlessfriend.freehostia.com/library/didot/ didot] [http://danikrv.50webs.com/small/canzoni-piu/ canzoni piu vendute] [http://raguerla.angelfire.com/articles/forno-a2/ forno a micro onde sharp] [http://offleeewild1.50webs.com/library/gioiello-anello/ gioiello anello] [http://midwestman.50webs.com/view/hp-all/ hp all in one] [http://ag666.50webs.com/view/bomb-defusal/ bomb defusal] [http://pticaja-ptica.freehostia.com/directory/tappeto-bambino.htm tappeto bambino] [http://krasniioktyabr.50webs.com/una-trilogia/ una trilogia di extra] [http://eaes7.freehostia.com/lib/lcd-tft7.htm lcd tft 15 tv samsung televisori] [http://celare.freehostia.com/description/miele-wf/ miele w257f] [http://rathchavady.freehostia.com/description/duo-siemens/ duo siemens] [http://blind9justice.50webs.com/pergusa/ pergusa] [http://rathchavady.freehostia.com/description/culi-dilatati/ culi dilatati] [http://commodore-guff.freehostia.com/styles/la-radio2.htm la radio nella tempesta] [http://alfrizie.angelfire.com/content/av-tech.htm av tech] [http://celare.freehostia.com/description/manicure-elettrico/ manicure elettrico] [http://heartlessfriend.freehostia.com/library/gamle-damer/ gamle damer] [http://njoka.freehostia.com/small/gaeta.htm gaeta] [http://ag666.50webs.com/view/win-xp/ win xp home oem] [http://eaes7.freehostia.com/library/congresso-roma.htm congresso roma] [http://blind9justice.50webs.com/phone-ring/ phone ring effect] [http://heartlessfriend.freehostia.com/library/alessi-porte/ alessi porte] [http://vlano.50webs.com/styles/mda-compact/ mda compact] [http://keokepa.50webs.com/library/dieci-spade/ dieci spade e dieci denare] [http://anubis8.50webs.com/library/la-clinica/ la clinica della vergogna] [http://blind9justice.50webs.com/pissing-girl/ pissing girl] [http://offleeewild1.50webs.com/library/ilaria-d/ ilaria d amico video sexy] [http://offleeewild1.50webs.com/library/inni-squadre/ inni squadre] [http://midwestman.50webs.com/view/g-u/ g u n 48 del 18 6 2004] [http://heartlessfriend.freehostia.com/library/wd-raptor/ wd raptor 74gb] [http://ag666.50webs.com/view/che-c/ che c e venditti] [http://commodore-guff.freehostia.com/styles/libri-dell.htm libri dell orrore] [http://vlano.50webs.com/styles/locanda-gaudemus/ locanda gaudemus trieste] [http://keokepa.50webs.com/library/il-gruppo/ il gruppo leader cerca figure professionali] [http://runnyn.freehostia.com/library/lexus-rx8/ lexus rx 300 ambassador] [http://danikrv.50webs.com/small/maxtor-yp/ maxtor 7y250p0] [http://anubis8.50webs.com/library/marsa-susa/ marsa susa] [http://njoka.freehostia.com/small/netgear-wg5.htm netgear wg302] [http://someoddgalaxy.freehostia.com/articles/pagine-bianche53/ pagine bianche go] [http://runnyn.freehostia.com/library/fax-l4/ fax 1170l] [http://vlano.50webs.com/styles/piscina-lecco/ piscina lecco] [http://krasniioktyabr.50webs.com/fabio-e/ fabio e graziella] [http://vlano.50webs.com/styles/ragazzine-nude/ ragazzine nude] [http://eaes7.freehostia.com/lib/video-bollenti.htm video bollenti gratis] [http://offleeewild1.50webs.com/library/great-salt/ great salt lake] [http://offleeewild1.50webs.com/library/l-era/ l era della perdizione] [http://offleeewild1.50webs.com/library/givenchy-parfum/ givenchy parfum] [http://danikrv.50webs.com/small/ozoe/ ozoe] [http://eaes7.freehostia.com/library/cd-cd.htm cd3 cd4] [http://eaes7.freehostia.com/lib/voyeur-a.htm voyeur a torino] [http://rathchavady.freehostia.com/description/canon-ef142/ canon ef 2470mm f 2 8l usm] [http://celare.freehostia.com/description/tempo-di14/ tempo di patch anche per stronghold 2] [http://njoka.freehostia.com/small/hotel-london.htm hotel london] [http://blind9justice.50webs.com/pasquato-snc/ pasquato snc] [http://pticaja-ptica.freehostia.com/directory/cdv-.htm cdv sas] [http://ag666.50webs.com/view/miss-erd/ miss erd] [http://midwestman.50webs.com/view/video-sailor/ video sailor mars] [http://superhank.freehostia.com/content/aol-uk/ aol uk] [http://njoka.freehostia.com/small/lcd-x4.htm lcd 1600x1200] [http://njoka.freehostia.com/small/tutto-sul6.htm tutto sul computer] [http://eaes7.freehostia.com/library/mangio-troppa2.htm mangio troppa cioccolata] [http://superhank.freehostia.com/content/caricatori-cd/ caricatori cd clarion] [http://someoddgalaxy.freehostia.com/articles/hdd-iomega/ hdd iomega 80 gb] [http://superhank.freehostia.com/content/lexmark-p5/ lexmark p6250] [http://superhank.freehostia.com/content/ostelli-in2/ ostelli in padova] [http://offleeewild1.50webs.com/library/baby-park/ baby park] [http://ag666.50webs.com/view/pub-roma/ pub roma] [http://danikrv.50webs.com/small/lizziemcguire-com/ lizziemcguire com] [http://commodore-guff.freehostia.com/styles/valbormida.htm valbormida] [http://keokepa.50webs.com/library/stoddard-richard/ stoddard richard henry] [http://midwestman.50webs.com/view/helen-svedin/ helen svedin luis] [http://blind9justice.50webs.com/fulmine/ fulmine] [http://njoka.freehostia.com/small/santa-rita.htm santa rita] [http://eaes7.freehostia.com/lib/la-differenza.htm la differenza] [http://eaes7.freehostia.com/lib/mg-zr3.htm mg zr 105] [http://eaes7.freehostia.com/library/dragon-din4.htm dragon din tea midi] [http://queenbabypie.freehostia.com/html/e-adesso/ e adesso la pubblicita] [http://commodore-guff.freehostia.com/styles/ronco.htm ronco] [http://eaes7.freehostia.com/lib/minchia.htm minchia] [http://ag666.50webs.com/view/patrizia-de/ patrizia de blanc nuda] [http://blind9justice.50webs.com/mercedes-e/ mercedes e classe e] [http://eaes7.freehostia.com/library/deuxs.htm deuxs] [http://offleeewild1.50webs.com/library/cd-the/ cd the essential michael jackson] [http://wosligersy.angelfire.com/insieme/ insieme] [http://ag666.50webs.com/view/scarica-le/ scarica le puntate di zelig] [http://someoddgalaxy.freehostia.com/articles/guida-di/ guida di quake 3 arena] [http://heartlessfriend.freehostia.com/library/knickerbocker-diedrich/ knickerbocker diedrich] [http://leshji.50webs.com/data/prenotazione-hotel/ prenotazione hotel napoli] [http://krasniioktyabr.50webs.com/viaggio-ecuador/ viaggio ecuador] [http://leshji.50webs.com/data/fotocamera-pentax/ fotocamera pentax 6 1] [http://eaes7.freehostia.com/lib/marmittoni-al.htm marmittoni al fronte] [http://heartlessfriend.freehostia.com/library/www-aprilia2/ www aprilia com] [http://danikrv.50webs.com/small/dumas-alexandre/ dumas alexandre (scrittore f] [http://heartlessfriend.freehostia.com/library/cimitero/ cimitero] [http://eaes7.freehostia.com/library/mp-philips.htm mp3 philips hdd060] [http://pticaja-ptica.freehostia.com/directory/non-mi29.htm non mi dir adriano celentano] [http://offleeewild1.50webs.com/library/rexton/ rexton 290] [http://someoddgalaxy.freehostia.com/articles/chayenne-siver/ chayenne siver] [http://ag666.50webs.com/view/coppie-con/ coppie con recapito telefonico] [http://eaes7.freehostia.com/library/lotti-di.htm lotti di magic] [http://commodore-guff.freehostia.com/styles/regina-della.htm regina della notte] [http://keokepa.50webs.com/library/dragoste-din/ dragoste din tey] [http://deharte.angelfire.com/data/auricolari-in/ auricolari in ear] [http://blind9justice.50webs.com/transformers-armada/ transformers armada disco 09] [http://krasniioktyabr.50webs.com/membri-grossi/ membri grossi] [http://midwestman.50webs.com/view/vietnamnet-vn/ vietnamnet vn] [http://blind9justice.50webs.com/l-n/ l n 241 del 7 7 1990] [http://danikrv.50webs.com/small/telecomando-ps/ telecomando ps2 sony] [http://rathchavady.freehostia.com/description/foto-di505/ foto di sposate] [http://danikrv.50webs.com/small/mutuo-banca/ mutuo banca roma] [http://eaes7.freehostia.com/lib/via-citi.htm via citi] [http://eaes7.freehostia.com/lib/max-giusti.htm max giusti] [http://alfrizie.angelfire.com/content/sodimm-mhz.htm sodimm 400mhz] [http://keokepa.50webs.com/library/creazione-sito/ creazione sito gratis] [http://queenbabypie.freehostia.com/html/francesca-schiavo/ francesca schiavo] [http://njoka.freehostia.com/small/side-by10.htm side by side special] [http://celare.freehostia.com/description/il-padrino9/ il padrino ii] [http://leshji.50webs.com/data/volontariato/ volontariato] [http://heartlessfriend.freehostia.com/library/amd-turion6/ amd turion mt30] [http://runnyn.freehostia.com/library/fabbri-firenze/ fabbri firenze] [http://eaes7.freehostia.com/lib/dive-degli.htm dive degli anni 80] [http://superhank.freehostia.com/content/sensa-cravata/ sensa cravata] [http://celare.freehostia.com/description/peran/ peran] [http://someoddgalaxy.freehostia.com/articles/sveglie-oregon/ sveglie oregon scientific] [http://rathchavady.freehostia.com/description/quisiera-poder/ quisiera poder olvidarme de ti] [http://eaes7.freehostia.com/lib/kalinka-mp.htm kalinka mp3] [http://njoka.freehostia.com/small/rasaerba-motore2.htm rasaerba motore scoppio] [http://eaes7.freehostia.com/lib/ipermercato-auchan.htm ipermercato auchan] [http://leshji.50webs.com/data/singole-x/ singole x singoli lombardia] [http://runnyn.freehostia.com/library/omega-vibes/ omega vibes] [http://danikrv.50webs.com/small/collegiodeigeometri/ collegiodeigeometri] [http://queenbabypie.freehostia.com/html/shakira-te/ shakira te dejo madrid] [http://heartlessfriend.freehostia.com/library/williams-robbie3/ williams robbie] [http://leshji.50webs.com/data/verbatim-dvd/ verbatim dvd r 25] [http://keokepa.50webs.com/library/test-dintel/ test dintel] [http://offleeewild1.50webs.com/library/magia-nuda/ magia nuda] [http://commodore-guff.freehostia.com/styles/we-are45.htm we are free enya] [http://anubis8.50webs.com/library/libri-bambini/ libri bambini ragazzi] [http://pticaja-ptica.freehostia.com/directory/barcarola-offenbach.htm barcarola offenbach] [http://eaes7.freehostia.com/lib/rendite.htm rendite] [http://wosligersy.angelfire.com/internet-camera1/ internet camera ip] [http://keokepa.50webs.com/library/obiettivo-canon/ obiettivo canon 70200 usm] [http://offleeewild1.50webs.com/library/ostaggio-usa/ ostaggio usa decapitato] '''DTM HowTo:'''
original by: [mailto:skremer@uoguelph.ca Dr. Stefan C. Kremer]
original by: [mailto:skremer@uoguelph.ca Dr. Stefan C. Kremer]

Line 19:

Line 19:

2.'''The specs and header files for the DTM access'''
2.'''The specs and header files for the DTM access'''
*The files you need are here
*The files you need are here
-
*[http://www.zaurususergroup.org/UpDownload+index-req-getit-lid-197.phtml dtm.zip]
+
*[http://www.zaurususergroup.org/UpDownload index-req-getit-lid-197.phtml dtm.zip]
-
*[http://www.zaurususergroup.org/UpDownload+index-req-getit-lid-198.phtml headers.zip]
+
*[http://www.zaurususergroup.org/UpDownload index-req-getit-lid-198.phtml headers.zip]
The headers and library are in the development image you can found on the ELSI for development on the Zaurus.
The headers and library are in the development image you can found on the ELSI for development on the Zaurus.

Line 38:

Line 38:

==Potential Problems/Gotchas==
==Potential Problems/Gotchas==
-
#header files aren't ansi-C. The header files are C++ compliant, but not ansi-C, so I ended up using the g++ compiler to avoid a slew of warning messages. I think it should be possible to translate the C++ files into ansi for greater compatibility.
+
#header files aren't ansi-C. The header files are C compliant, but not ansi-C, so I ended up using the g compiler to avoid a slew of warning messages. I think it should be possible to translate the C files into ansi for greater compatibility.
#no emulation. Since the only source for libzdtm.so is from the Zaurus itself and not a compiled library, it is not possible to emulate sofware on a PC architecture using qvfp or anything else. You can compile on your x86, but you'll have to move it to the Zaurus to actually make it run. I found that having the Zaurus on the network running sshd was critical to working effectively. I also put my ssh key on the Zaurus, so i wouldn't have to supply a password all the time. Then, I added an "install" directive to my makefile so that i could easily compile and copy over to code. I would run it in a seperate window on my desktop connected (again via ssh) to the Zaurus. This is the only way I could work efficiently. It would be really great if sharp released the source for DTM or at least an x86 compiled library.
#no emulation. Since the only source for libzdtm.so is from the Zaurus itself and not a compiled library, it is not possible to emulate sofware on a PC architecture using qvfp or anything else. You can compile on your x86, but you'll have to move it to the Zaurus to actually make it run. I found that having the Zaurus on the network running sshd was critical to working effectively. I also put my ssh key on the Zaurus, so i wouldn't have to supply a password all the time. Then, I added an "install" directive to my makefile so that i could easily compile and copy over to code. I would run it in a seperate window on my desktop connected (again via ssh) to the Zaurus. This is the only way I could work efficiently. It would be really great if sharp released the source for DTM or at least an x86 compiled library.
#unsigned char *. The header files define most strings as unsigned chars which is goofy. In particular, this is incompatible with all the standard string libraries on the Zaurus. As a consequence I had to do a lot of casting from (char *) to (unsigned char *) and back in order to get the compiler to quiet down.
#unsigned char *. The header files define most strings as unsigned chars which is goofy. In particular, this is incompatible with all the standard string libraries on the Zaurus. As a consequence I had to do a lot of casting from (char *) to (unsigned char *) and back in order to get the compiler to quiet down.

Line 49:

Line 49:

#Make sure you have the source code for the test program in the current directory.
#Make sure you have the source code for the test program in the current directory.
#Compile:
#Compile:
-
##arm-linux-g++ -I -c -Wall -ansi -pedantic -o arm-dtmdump.o dtmdump.cc
+
##arm-linux-g -I -c -Wall -ansi -pedantic -o arm-dtmdump.o dtmdump.cc
-
##arm-linux-g++ -Wall -ansi -pedantic -o arm-dtmdump arm-dtmdump.o -L/opt/Qtopia/sharp/lib -lzdtm
+
##arm-linux-g -Wall -ansi -pedantic -o arm-dtmdump arm-dtmdump.o -L/opt/Qtopia/sharp/lib -lzdtm
#Transfer to Zaurus:
#Transfer to Zaurus:
*scp arm-dtmdump zaurus@zaurus:/home/zaurus/dtmdump
*scp arm-dtmdump zaurus@zaurus:/home/zaurus/dtmdump

Revision as of 05:38, 23 September 2007

zyxel zywall 100 trans arrapati asus schede madri per amd 64 gioco in 2 nella vecchia meghi mario vargas syndicate auto carnival panepinto filippo photosmart 945 hp j league winning 11 9899 hp zd8156ea portatili hawai intrattenimento panathinaikos versace costumi donna abbigliamento cdx mp3 fame renato zero www playstation com canon ef 2485 usm testi degli aventura scheda allenamento bodybuilding la maledizione del serpente giallo tutta dance 4 borsa compact m giorgio conte sandy marton biography brother fax 1840 porno senza rischi kusbdtii 512 unlocker lg monitor lcd 20 samsung swyx solution partner amd sempron 3100 socket 754 residence le riviere shakira internet puglia mario puzo libri free mail uccisione americano la primera maquina de la computadora videoregistratore dvd samsung letras de reggeton sfondi modelle skateboard ps2 videogiochi forni rex classe a e frankie h energy pensione milano borghetto di vara hdd 2 5 samsung n berg pictures cliphunter il figlio dellamore estratto conto online tiscali antispam teatro napoli adf retro didot canzoni piu vendute forno a micro onde sharp gioiello anello hp all in one bomb defusal tappeto bambino una trilogia di extra lcd tft 15 tv samsung televisori miele w257f duo siemens pergusa culi dilatati la radio nella tempesta av tech manicure elettrico gamle damer gaeta win xp home oem congresso roma phone ring effect alessi porte mda compact dieci spade e dieci denare la clinica della vergogna pissing girl ilaria d amico video sexy inni squadre g u n 48 del 18 6 2004 wd raptor 74gb che c e venditti libri dell orrore locanda gaudemus trieste il gruppo leader cerca figure professionali lexus rx 300 ambassador maxtor 7y250p0 marsa susa netgear wg302 pagine bianche go fax 1170l piscina lecco fabio e graziella ragazzine nude video bollenti gratis great salt lake l era della perdizione givenchy parfum ozoe cd3 cd4 voyeur a torino canon ef 2470mm f 2 8l usm tempo di patch anche per stronghold 2 hotel london pasquato snc cdv sas miss erd video sailor mars aol uk lcd 1600x1200 tutto sul computer mangio troppa cioccolata caricatori cd clarion hdd iomega 80 gb lexmark p6250 ostelli in padova baby park pub roma lizziemcguire com valbormida stoddard richard henry helen svedin luis fulmine santa rita la differenza mg zr 105 dragon din tea midi e adesso la pubblicita ronco minchia patrizia de blanc nuda mercedes e classe e deuxs cd the essential michael jackson insieme scarica le puntate di zelig guida di quake 3 arena knickerbocker diedrich prenotazione hotel napoli viaggio ecuador fotocamera pentax 6 1 marmittoni al fronte www aprilia com dumas alexandre (scrittore f cimitero mp3 philips hdd060 non mi dir adriano celentano rexton 290 chayenne siver coppie con recapito telefonico lotti di magic regina della notte dragoste din tey auricolari in ear transformers armada disco 09 membri grossi vietnamnet vn l n 241 del 7 7 1990 telecomando ps2 sony foto di sposate mutuo banca roma via citi max giusti sodimm 400mhz creazione sito gratis francesca schiavo side by side special il padrino ii volontariato amd turion mt30 fabbri firenze dive degli anni 80 sensa cravata peran sveglie oregon scientific quisiera poder olvidarme de ti kalinka mp3 rasaerba motore scoppio ipermercato auchan singole x singoli lombardia omega vibes collegiodeigeometri shakira te dejo madrid williams robbie verbatim dvd r 25 test dintel magia nuda we are free enya libri bambini ragazzi barcarola offenbach rendite internet camera ip obiettivo canon 70200 usm ostaggio usa decapitato DTM HowTo:

original by: Dr. Stefan C. Kremer

Note: Dr. Kremer expresses the wish to no longer been contacted directly about any issues with the DTM database and programming. I received from him all the documents he has, he no longer develops for the Zaurus. As soon as I have a hint on how to transfer these documents on this site, I will update the page and put all the links to the documents. In the mean time, you may contact me: Daniel Savard

This document describes how to write code that interfaces with DTM (the PIM storage format)

The DTM is a simple database that runs on the Zaurus SL-5600 (and the v3.10 ROM for the SL-5500) and the SL-6000 (probably also on all Zaurii newer than the SL-5600). The new PIM applications use DTM for all data storage where the old PIM applications used XML files. DTM is faster, XML is easier to interface with other code (until now).

Contents

What you need to develop on the desktop:

1.Development tools

  • need to set up your complier as described here
  • probably don't really need qpe if you are not writing code with a GUI
  • don't need qvfp

2.The specs and header files for the DTM access

The headers and library are in the development image you can found on the ELSI for development on the Zaurus.

I haven't yet figure-out how to upload documents which are not images or sound files on this site for the benefit of everyone. I have two PDF documents on the DTM and PIM specifications I wish to make available here. E-mail me if you know how to upload them here (Daniel Savard).

3.libzdtm.so

  • This is the actual shared library that you need to link against. It is found on the Zaurus in the /home/!QtPalmtop/lib/ directory. It needs to be moved to /opt/Qtopia/sharp/lib/ for cross compiling.

4.Example program

What is in headers.zip

headers.zip has the header files for the libzdtml.so library. I copied these into my working directory for compiling, but they should probably be put somewhere sensible in the /opt file structure. These are critical since they spell out some details that are not clear from DTMSpecifications.pdf. For example that all the functions are preceded by underscore. And more info about the data types.

Potential Problems/Gotchas

  1. header files aren't ansi-C. The header files are C compliant, but not ansi-C, so I ended up using the g compiler to avoid a slew of warning messages. I think it should be possible to translate the C files into ansi for greater compatibility.
  2. no emulation. Since the only source for libzdtm.so is from the Zaurus itself and not a compiled library, it is not possible to emulate sofware on a PC architecture using qvfp or anything else. You can compile on your x86, but you'll have to move it to the Zaurus to actually make it run. I found that having the Zaurus on the network running sshd was critical to working effectively. I also put my ssh key on the Zaurus, so i wouldn't have to supply a password all the time. Then, I added an "install" directive to my makefile so that i could easily compile and copy over to code. I would run it in a seperate window on my desktop connected (again via ssh) to the Zaurus. This is the only way I could work efficiently. It would be really great if sharp released the source for DTM or at least an x86 compiled library.
  3. unsigned char *. The header files define most strings as unsigned chars which is goofy. In particular, this is incompatible with all the standard string libraries on the Zaurus. As a consequence I had to do a lot of casting from (char *) to (unsigned char *) and back in order to get the compiler to quiet down.
  4. Not without qte. The libzdtm.so requires libqte.so.2. I'm not sure why, it just does.

Running the Test Program

  1. BACKUP YOUR MACHINE This code has only been tested on one single Zaurus. Although the database access in intended to be read-only...here comes the disclaimer... SHARP (nor Stefan Kremer) ASSUME ANY RESPONSIBILITY to any conflict, fault, or damage affecting the unit that rises from your tinkering with the DTM data.
  2. Make sure you have the libzdrm.so on your computer in the appropriate directory and that all the links libzdtm.so.0.1 are there too.
  3. Make sure you have the source code for the test program in the current directory.
  4. Compile:
    1. arm-linux-g -I -c -Wall -ansi -pedantic -o arm-dtmdump.o dtmdump.cc
    2. arm-linux-g -Wall -ansi -pedantic -o arm-dtmdump arm-dtmdump.o -L/opt/Qtopia/sharp/lib -lzdtm
  5. Transfer to Zaurus:
  • scp arm-dtmdump zaurus@zaurus:/home/zaurus/dtmdump

The compilation should succeed with no warnings or errors. The scp requires your zaurus to be on the network with the machine name 'zaurus'.

Program Output/Operation

The program takes 1 or 2 arguments as follows:

 dtmdump {todo|calendar|addressbook|memo|category}      dtmdump -f /home/zaurus/Applications/dtm/SLTDODO.BOX

The first form opens up a database based on the name; while the second opens a database based on a path. The first version is case insensitive, while the second is not.

The program then prints out the contents of the given database in an XML format. NOTE: the XML format used is __not__ compatible with the original PIM XML format! (I originally tried to do this, but the two DB's contain different kinds of information, so that problem is much harder, especially while I don't know what "rinfo" means.) The purpose of the program is mostly instructional at this point, but it should make it easy for others to extract DTM info and use it for their own purposes.

Personal tools