WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: pilot-link build, debug scripts  (Read 3269 times)

Offline dentonlt

  • Sr. Member
  • ****
  • Posts: 318
    • the trombone analog
pilot-link build, debug scripts
« on: January 04, 2010, 05:30:05 PM »
Recently did some work on Pilot-Link 0.12.4 ... the pilot-link site is up and down right now, though, and there probably won't be another official release. Love my palm, but Palm OS is disappearing.

In short:
  • build script attached for plain-jane 0.12.4, generates pilot-link-base.tcz and pilot-link-dev.tcz. Based on bmarkus's library build script. To add the libusb-1.0 updates to pilot-link, copy libusb.c from the extension to the source /src directory.
  • debug script attached

build script:
Log in to see the build script - it's fairly long to post.

debug script: after build, run this from source /src directory. The script turns on debugging comments and requests a file listing from a usb-connected handheld.
Code: [Select]
#!/bin/sh

. /etc/init.d/tc-functions

echo "Backing up libusb.c"

backup-pilot-libusb

export LIBUSB_DEBUG=3
export PILOT_DEBUG_LEVEL="DEBUG"
export PILOT_DEBUG="DEV CMD SLP SOCK NET PADP"

echo "${BLUE}Calling for list:${NORMAL}"

./pilot-xfer -p usb: -t 5 -l
« Last Edit: January 04, 2010, 05:31:49 PM by dentonlt »