Welcome to PalmHeads HTML & the Palm Portal Page Cool Freeware (Mostly...)
Linux & the Palm My Meagre Hacks Tandy 102 "The Model T" Palm/Linux News

My Meagre Hacks

Over the last couple of years while using Linux, I've slowly become better at what could loosely be described as "hacking".

Now DON'T PANIC! - don't get me wrong - I'm not some Linux guru who can cut perl code with my toes blindfolded...just somebody who sometimes at a very low level likes taking someone else's code & modifying it for my own needs. Sometimes I might even improve on the original! *cough*.

I mainly focus on stuff that is Palm related, mainly trying to integrate some of the command line tools available for Linux->Palm connectivity with some well known Linux applications.

Here are my (meagre) hacks:

  1. Sticky Notes Gnome Applet -> Palm - Perl/Tk Script
  2. Modded X-Box, Xebian Linux, SMC Router & Ext 56K4 Serial Modem
  3. Christchurch Address/Map Search Perl Script
  4. Dilbert Perl Script
  5. Pilot-Link read-expenses -> CSV Perl Script
  6. Palm Tungsten W & T2, Palm Bluetooth card, Holux Bluetooth GPS & Handmap
  7. Casio Exilim EX-M20U 2MP Digital Camera and MP3 player with Linux
  8. Tribute to "Thrust" & "HHGTTG". The best computer games ever written!
  9. USB ProDrive with SD/MMC card with Linux
  10. pilot-doc.el - An Emacs LISP extension
  11. Nautilus Scripts
  12. DiddleBug Sketches
  13. Iverson-Gleeson Bent Middle Finger Grip (& other thoughts...)
  14. Happy Hacking Keyboard
  15. Christchurch Bus Timetables for the Palm
  16. Connecting Palm to Linux box with USB bluetooth dongle
  17. -> Connecting Sony Ericsson T610 via bluetooth to Linux box <-
  18. The ZX81 & Linux
  19. Gameboy & Doom for the Palm!
  20. Learning Harmonica using your Palm?
  21. gtd - desktop companion to mobileGTD
  22. All of them

HHGTTG & Douglas Adams at his best! Very sage advice!

Connecting Sony Ericsson T610 via bluetooth to Linux box

With my USB bluetooth dongle from Dick Smith I wanted to try & connect my Sony Ericsson T610 phone to grab piccies off it etc. It ended up being incredibly easy!

I'm using Ubuntu for this. Make sure that BlueZ is installed.

First of all you need to find the ID of your bluetooth enabled phone, and what channel it is on. Run this command:

    sdptool search OPUSH

This retrieves a bunch of information that looks remarkably similar to this:

    Inquiring ...
    Searching for OPUSH on 00:0A:D9:7A:2A:B8 ...
    Service Name: OBEX Object Push
    Service RecHandle: 0x10005
    Service Class ID List:
      "OBEX Object Push" (0x1105)
    Protocol Descriptor List:
      "L2CAP" (0x0100)
      "RFCOMM" (0x0003)
        Channel: 10
      "OBEX" (0x0008)
    Profile Descriptor List:
      "OBEX Object Push" (0x1105)
        Version: 0x0100

The only 2 things that should really interest you out of that bunch of gobbly-gook are the '00:0A:D9:7A:2A:B8' & the 'Channel: 10'.

To now query your phone with this information, run this command which lists out all the folders on your phone:

    obexftp -b 00:0A:D9:7A:2A:B8 -B 10 -l

The output of that might look (depending on the phone) something like this:

    Browsing 00:0A:D9:7A:2A:B8 ...
    Channel: 7
    Connecting...done
    Receiving "(null)"...
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE folder-listing SYSTEM "obex-folder-listing.dtd">
    <!-- 
    Generated by XML Coder.
    xml_coder.c (Jun 27 2003 21:12:09)
    (C) 2001 Sony Ericsson Mobile Communications AB, Lund, Sweden
    -->
    <folder-listing version="1.0">
    <folder name="Pictures"/>
    <folder name="Sounds"/>
    <folder name="Themes"/>
    </folder-listing>
    done
    Disconnecting...done

You see from one of the folders is called "Pictures". If I had a piccie on it called "me.jpg", I could grab it & copy it to my Linux box by typing:

    obexftp -b 00:0A:D9:7A:2A:B8 -B 10 -g Pictures/me.jpg

Viola! You will have "me.jpg" on your desktop! At some stage you have to "pair" the devices up. I found it useful to be logged in Gnome at this point as it has a graphical bluetooth keyring tool.

Have fun!

| Back |


Thats all folks at the moment! If I come up with anything else I'II post it here.

Hosted on Apache Powered by MySQL Running PHP & Perl Programmed using Vim & Bluefish Graphics by The GIMP Ubuntu Linux is my Linux distribution Best viewed in Firefox
Hosted by planetNZ.com