Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - d.maddock1

Pages: [1]
1
For Sale / Wanted / C860 + Accessories For Sale
« on: January 18, 2006, 09:09:18 pm »
UPDATE: I'm lowering the price to $350.  


I'm selling my C860 because I just don't really use it.  I find that most of my time I have my powerbook with me.  Consequently, it looks nearly new.  I am including:

* C860 with all original packaging, manuals, etc. (US charger)
* 256MB SD card
* Sharp CE-AG06 digital camera card
* Senao SL 2011 WiFi card
* Sharp CE-RH1 remote & headphones
* pockettop keyboard
* retractable sync/charging cable
* additional small battery
* nylon case

It is flashed with the latest Cacko rom.

I am asking $400 for the whole lot, but will consider other offers.  If I don't sell the package, I will consider selling items separately.  The buyer pays actual shipping costs.

PM me or email d.maddock1@gmail.com if you are interested.

2
Mac Issues / Qtopia With Zaurus-x-gcc
« on: December 22, 2005, 11:43:56 am »
I've been trying to get the Zaurus-X-gcc cross-compiler to work with the Qtopia libs.  Has anyone successfully done this?

Zaurus-X-gcc was put together using these instructions:
http://www.lucid-cake.net/osx_qpe/index_en.html

But, this doesn't seem to be helping me.  I'd like to avoid the last resort of removing Zaurus-X-gcc and walking through the myriad of steps in the above link exactly as he does.  In particular, what <arc-dir>, <work-dir>, and <src-dir> were used to set up Zaurus-X-gcc?

Thanks.

Dave.

3
Mac Issues / Scripting
« on: December 22, 2005, 09:17:08 am »
While I use ZMacSync to get my PIM data on my Zaurus, I decided to write some scripts that automate some of my other common syncing tasks like copying plucker-ed news and other files, iTunes playlists, crossword puzzles, etc.  This is a work in progress, but it is already at a usable state for me; hopefully, this information will make it much easier for others to do the same.  Some of this can be used on linux as well.

First, I had to tackle the problem of automating ssh/scp actions because I have a password on my zaurus.  I use some expect scripts to copy to/from the zaurus:

Code: [Select]
zcopyto:

#!/usr/bin/expect -f
set user [lindex $argv 0]
set host [lindex $argv 1]
set pass [lindex $argv 2]
set source [lindex $argv 3]
set dest [lindex $argv 4]
spawn sh -c "scp '$source' $user@$host:$dest"
expect "assword:" {send $pass\r}
expect eof

This script takes command line arguments and feeds them to an scp command.  Note that you should escape spaces and wildcards in filenames, if used.

Code: [Select]
zcopyfrom:

#!/usr/bin/expect -f
set user [lindex $argv 0]
set host [lindex $argv 1]
set pass [lindex $argv 2]
set source [lindex $argv 3]
set dest [lindex $argv 4]
spawn sh -c "scp $user@$host:$source '$dest'"
expect "assword:" {send $pass\r}
expect eof

Likewise, this script copies from the zaurus to my computer.

Code: [Select]
zremovefrom:

#!/usr/bin/expect -f
set user [lindex $argv 0]
set host [lindex $argv 1]
set pass [lindex $argv 2]
set file [lindex $argv 3]
spawn ssh $user@$host
expect "assword:" {send $pass\r}
send "rm $file\r"
send "exit\r"
expect eof  

Deletes the given file from the zaurus.

Code: [Select]
zclearinbox:

#!/usr/bin/expect -f
set user [lindex $argv 0]
set host [lindex $argv 1]
set pass [lindex $argv 2]
spawn -noecho ssh $user@$host
expect "assword:" {send $pass\r}
send "cat /dev/null > /home/zaurus/Documents/Text_Files/inbox.txt\r"
send "exit\r"
expect eof

Finally, this expect script simply empties out a text file on the zaurus I use as an idea scratchpad.  I call this script after another script that imports the data into my todo list on my mac.


I use these scripts as glue in this large applescript that does all the syncing:

Code: [Select]
--
--
-- Settings
--
--
set the_user to "zaurus"
set the_pass to ""
set the_iP to ""

set toZDirectory to "Macintosh HD:Users:dave:Desktop:ToZ"



--
--
-- Process Zaurus Inbox File
--
--


-- Get the inbox file from the zaurus via Samba
set zInboxFile to quoted form of "/home/Main_Memory/Text_Files/inbox.txt"
set localInboxFile to "Macintosh HD:tmp:inbox.txt"


set cmd to ("cd /tmp; smbget -n -q -u " & the_user & " -p " & the_pass & " smb://" & the_iP & zInboxFile & "; echo 0" as Unicode text)
do shell script cmd

-- Read through the inbox file
tell application "Finder"
    set InboxFile to paragraphs of (read file localInboxFile)
    repeat with nextLine in InboxFile
 Â if length of nextLine is greater than 0 then
 Â     
 Â     -- Add the line to the KGTD inbox
 Â     tell application "OmniOutliner Professional"
 Â   set ThisDocument to first document
 Â   tell ThisDocument
 Â       set InboxSection to (first section whose note contains "meta_inbox")
 Â       make new row at beginning of rows of InboxSection with properties {topic:nextLine}
 Â   end tell
 Â     end tell
 Â     
 Â end if
    end repeat
    
    -- Erase temp file
    move file localInboxFile to trash
    
end tell

-- Clear the inbox on the Zaurus
set cmd to ("/Users/dave/bin/zclearinbox " & the_user & " " & the_iP & " " & the_pass)
do shell script (cmd)


--
--
-- Sync Crossword Puzzles
--
--

do shell script ("/Users/dave/bin/getpuz.sh")


--
--
-- Sync ToZ Directory
--
--

tell application "Finder"
    if (the file (toZDirectory & ":BBC News.pdb") exists) then
 Â set a to quoted form of POSIX path of (toZDirectory & ":BBC News.pdb")
 Â set cmd to ("/Users/dave/bin/zcopyto " & the_user & " " & the_iP & " " & the_pass & " " & a & " " & "/mnt/card/Documents")
 Â do shell script (cmd)
 Â 
 Â move file (toZDirectory & ":BBC News.pdb") to trash
    end if
    
    -- TODO: copy all files here into appropriate zaurus folders according to type
end tell


--
--
-- Sync iTunes Playlist
--
--

tell application "iTunes"
    set myPlaylist to playlist "ToZaurus"
    repeat with aTrack in (get every track of myPlaylist)
 Â set fileName to location of aTrack
 Â set a to quoted form of POSIX path of fileName
 Â set cmd to ("/Users/dave/bin/zcopyto " & the_user & " " & the_iP & " " & the_pass & " " & a & " " & "/mnt/card/Documents/Music_Files/")
 Â do shell script (cmd)
 Â 
 Â --TODO: remove track from the playlist
    end repeat
end tell


--
--
-- Done
--
--

display dialog ("Sync Done.")


The first section in the applescript is obvious settings.  The toZDirectory variable is a directory I use as a Mac->Zaurus outbox.  The idea is to move these files to the Zaurus; later, I intend to implement a Z->Mac one too.

The second section grabs the data from my Zaurus inbox.txt file and imports it into my task list system that uses OmniOutliner, called KGTD.  Each line in the inbox is an item in the outline.  Then, it clears out inbox.txt.

The next section runs a script that downloads Across Lite puzzles and copies them to the Z.  I haven't posted that one, but I can if anyone is interested.

The next section handles my Mac->Z outbox directory.  I haven't finished this section yet.  Right now, it only moves my daily BBC news file for Opie Reader.  This is generated every day via JPluck and a cron job.  If anyone is interested in a JPluck.app bundle, the data file for the BBC news, and details on setting this part up, let me know.  Ultimately, I want to move every file put in this directory to the Z, filtered into different places based on file type (Text_Files, Photo_Files, etc.).

The final section copies mp3s from an iTunes playlist to the Z.  Ultimately, it should then remove the file from the playlist.


Has anyone else attempted to put together a similar system?

Dave.

4
Accessories / Irk Customizations
« on: March 31, 2005, 03:25:03 pm »
aI've been playing around with IRK's fantastic customizability.  I'm curious about what changes people have made to the default configuration, handy macros, etc.

Here's what I've done with my pockettop:

Quick network disconnect:
    CMD+d -- :QPE/Network:disconnectRequest(int):1

Netwok connect:
    CMD+U -- :QPE/Network:connectRequest()

Emulate FN+n:
    CMD+n -- #8217
    A lot of apps use this combo as a shortcut for a new item, etc.  I might change this to CMD+a because this key has 'new' printed on it.

Also had to change CMD+ADDRESS to #4154 to get the menu button emulation to work.

5
Software / C3000 Apps For Cxxx
« on: March 12, 2005, 08:07:25 pm »
I've been playing around with the c3000 1.11 rom mentioned in this post:

https://www.oesf.org/forums/index.php?showtopic=10992

with the intent to see what newer software I can get running on my c860 with cacko.

So far, I've packaged the Netfront 3.1, 1.5.4 update, which you can download below if you're interested.

http://dave.maddockfamily.com/zaurus/netfr...-lite-2_arm.ipk

I've been working on the music player now.  I have it working, but the wma plugin doesn't want to load for some reason.

Anyway, I'm curious to know if anyone else was doing the same.  Also, what differences (if any) are there in some of the other software that might make this effort worthwhile.

Dave.

6
Accessories / C860 & Rh2 Remote
« on: March 10, 2005, 08:59:22 am »
I just bought an 860 with remote from pricejapan and they sent me the rh2 model remote.  It doesn't seem to work with either the sharp or kino2 players (I use cacko).

The rh2 box only lists the c3000 model.  Does anyone know if this is supported on the 860?

7
For Sale / Wanted / C760 For Sale
« on: March 01, 2005, 08:52:34 pm »
As I mention in this thread, my c760 no longer plays sound and I can't seem to find a way to get it fixed.  I'm bummed because otherwise the zaurus is fine, no other problems (it's been this way for awhile).

Anyway, I've decided to bite the bullet and just replace it, however I am determined to not let this great machine go to waste, so I'm looking to sell it to subsidize it's replacement.

As I mentioned, the audio doesn't play and there is a bit of wear on the front corners, but it is otherwise in great shape.  As I will be buying a new model, I am keeping all my accessories, but it will include the original box, manuals, and sync and charge cables.

I'm not really sure what a fair asking price would be.  If you are interested, you can message me or email d.maddock1 AT gmail DOT com.

8
Sharp ROMs / Cacko Help Documentation
« on: February 07, 2005, 10:52:28 am »
First, fantastic work with Cacko 1.22!  IMO, this is the best rom out there (at least for my C760).

In a quest to optimize my productivity, I've been trying to learn as many keyboard shortcuts as possible to minimize my stylus use (and just discovered the default keyhelper stuff!).  In so doing, I also noticed that the cacko-help ipk has no documentation for many apps that "come standard" in the rom (most notably for me: Netfront).

I thought that updating/writing some of the "missing" documentation (both in the ipk and as an html manual) would be a good way that I could contribute (my programming skills aren't ready for prime-time yet, I'm afraid).

Would this help out?  If so, would anyone like to join in?


Dave.

Pages: [1]