Difference between revisions of "USB Palm OS Device as an LCD Display"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
Line 1: Line 1:
 
http://palmorb.sourceforge.net/imgs/palmorb4.gif
 
http://palmorb.sourceforge.net/imgs/palmorb4.gif
 
+
<i><red><small>This article based on work done by Ramuk on Linkstationwiki.org</small></red></i>
 
'''How to use a USB cabled Palm-OS device as an external (20x4) character LCD display for your Linkstation using the [http://palmorb.sourceforge.net PalmOrb] emulator'''
 
'''How to use a USB cabled Palm-OS device as an external (20x4) character LCD display for your Linkstation using the [http://palmorb.sourceforge.net PalmOrb] emulator'''
  

Revision as of 18:00, 29 June 2006

<red>This article based on work done by Ramuk on Linkstationwiki.org</red> How to use a USB cabled Palm-OS device as an external (20x4) character LCD display for your Linkstation using the PalmOrb emulator

USB LCD : These instructions are essentially for a USB LCD Display, a USB docking Palm-OS device can emulate a USB LCD interface so that no external adapter is needed. The same instructions could be used with some modification to add an LCD with the Articles/PPCSerialHeader

Contents

Abstract

This article is for people that want to add an LCD display to their Linkstation, but don't want to crack it open, and happen to have a USB cabled Palm OS device lying around.


Prerequisites

This article assumes that you have installed Projects/FreeLink. A 2.6 Kernel Articles/GeneralUpgradeTo26-Kernel has better USB support, but a 2.4 Kernel would probably work as well. For these instructions you will need a USB cabled Palm-OS Device.


Method

  • Install PalmOrb on your USB cabled Palm-OS Device. The v1.1a4 version has the most font options for a (20x4) emulated LCD, there are several other versions available on the sourceforge site. It emulates a Matrix Orbital LK204-25 LCD.
Configure the PalmOrb app to use the USB Port Menu -> Options -> Serial:Device:USB

  • Install and remove LCDProc using apt-get (this should take care of any dependencies) The Debian Stable Version only has the LCDd Daemon program but not the lcdproc client, so you'll have to install lcdproc from a tarball. Kind of an ugly solution to get the dependencies resolved, but it works:
apt-get install lcdproc
apt-get remove lcdproc
  • Get the LCD Proc tarball and compile/install it.
wget http://lcdproc.omnipotent.net/download/lcdproc-0.4.5.tar.gz
tar -xvzf lcdproc-0.4.5.tar.gz
cd lcdproc-0.4.5
./configure
make
make install
........
[MtxOrb]
# Matrix Orbital driver

# Select the output device to use [/dev/lcd]
device=/dev/ttyUSB0
#device=/dev/usb/tts/1
#device=/dev/ttyS1

# Set the display size [20x4]
size=20x4 
........


  • Attach the USB enabled Palm-OS device and start the PalmOrb app. Do a dmesg of your linkstation; if things went well you should see lines like this at the end:
usb 3-1: Handspring Visor / Palm OS converter now attached to ttyUSB0
usb 3-1: Handspring Visor / Palm OS converter now attached to ttyUSB1 
  • Run the LCDd (LCDproc Daemon) and LCDproc client with some options to see if it works.
LCDd &
lcdproc C M X
  • Hopefully you got some output on the Palm-OS device as an LCD. For other clients Google:lcdproc to see what other LCDProc clients you can find. Or just go here: LCDProc Site:Clients

What's the point?

PALM AS A TERMINAL untested: Enable terminal access with this command: getty -h -L ttyUSB0 9600 vt100, and use a terminal program like ptelnet

Well if you happen to have a USB enabled older Palm OS PDA lying around and want an external LCD display for the price of nothing, now you have it!

Shell Scripts

#!/bin/sh
# lcdmon.sh
# Kill any LCDd that are running first,  Start the Daemon and 
# fork it to the background.  Then run LCDProc with the Time option and 
# fork it to the background.  
# You can run lcdproc -? alone to see what options there are.  
# Run another client: netlcdclient which gives U/Dl speed
# You could run this script at startup.

killall LCDd
LCDd &
lcdproc T &
netlcdclient -i eth0 -a LinkSTN -d


References
{"cc_re__cc_re__cc_by_sa_3_0": ["</li>\n\t\t\t\t<li id=\"t-permalink\"><a href=\"/w/index.php?title=USB_Palm_OS_Device_as_an_LCD_Display&amp;oldid=2803\" title=\"Permanent link to this revision of the page\">Permanent link</a></li>\n\t\t\t\t<li id=\"t-info\"><a href=\"/w/index.php?title=USB_Palm_OS_Device_as_an_LCD_Display&amp;action=info\">Page information</a></li>\n\t\t\t</ul>\n\t\t</div>\n\t</div>\n</div><!-- end of the left (by default at least) column -->\n<div class=\"visualClear\"></div>\n<div id=\"footer\" role=\"contentinfo\">\n\t<div id=\"f-copyrightico\">\n\t\t<a href=\"http://creativecommons.org/licenses/by-sa/3.0/\"><img src=\"http://i.creativecommons.org/l/by-sa/3.0/88x31.png\" alt=\"Attribution-Share Alike 3.0 Unported\" width=\"88\" height=\"31\" /></a>\n\t</div>\n\t<div id=\"f-poweredbyico\">\n\t\t<a href=\"//www.mediawiki.org/\"><img src=\"/w/skins/common/images/poweredby_mediawiki_88x31.png\" alt=\"Powered by MediaWiki\" width=\"88\" height=\"31\" /></a>\n\t</div>\n\t<ul id=\"f-list\">\n\t\t<li id=\"copyright\">Content is available under <a class=\"external\" rel=\"nofollow\" href=\"http://creativecommons.org/licenses/by-sa/3.0/\">Attribution-S", "=\"contentinfo\">\n\t<div id=\"f-copyrightico\">\n\t\t<a href=\"http://creativecommons.org/licenses/by-sa/3.0/\"><img src=\"http://i.creativecommons.org/l/by-sa/3.0/88x31.png\" alt=\"Attribution-Share Alike 3.0 Unported\" width=\"88\" height=\"31\" /></a>\n\t</div>\n\t<div id=\"f-poweredbyico\">\n\t\t<a href=\"//www.mediawiki.org/\"><img src=\"/w/skins/common/images/poweredby_mediawiki_88x31.png\" alt=\"Powered by MediaWiki\" width=\"88\" height=\"31\" /></a>\n\t</div>\n\t<ul id=\"f-list\">\n\t\t<li id=\"copyright\">Content is available under <a class=\"external\" rel=\"nofollow\" href=\"http://creativecommons.org/licenses/by-sa/3.0/\">Attribution-Share Alike 3.0 Unported</a> unless otherwise noted.</li>\n\t\t<li id=\"privacy\"><a href=\"/wiki/Http://www.nas-central.org/privacy-policy\" title=\"Http://www.nas-central.org/privacy-policy\">Privacy policy</a></li>\n\t\t<li id=\"about\"><a href=\"/wiki/NAS-Central_Buffalo_-_The_Linkstation_Wiki:About\" title=\"NAS-Central Buffalo - The Linkstation Wiki:About\">About NAS-Central Buffalo - The Linkstation Wiki</a></li>\n\t\t<li id=\"disclaimer\"><a href=\"http://www.nas-central.org/index.php/NAS-Central_Ma"], "copyright__copyright__copyright": ["", "D display for the price of nothing, now you have it!\n\nShell Scripts\n\n#!/bin/sh\n# lcdmon.sh\n# Kill any LCDd that are running first,  Start the Daemon and \n# fork it to the background.  Then run LCDProc with the Time option and \n# fork it to the background.  \n# You can run lcdproc -? alone to see what options there are.  \n# Run another client: netlcdclient which gives U/Dl speed\n# You could run this script at startup.\n\nkillall LCDd\nLCDd &\nlcdproc T &\nnetlcdclient -i eth0 -a LinkSTN -d\n\n\nReferences", "D display for the price of nothing, now you have it!\n\nShell Scripts\n\n#!/bin/sh\n# lcdmon.sh\n# Kill any LCDd that are running first,  Start the Daemon and \n# fork it to the background.  Then run LCDProc with the Time option and \n# fork it to the background.  \n# You can run lcdproc -? alone to see what options there are.  \n# Run another client: netlcdclient which gives U/Dl speed\n# You could run this script at startup.\n\nkillall LCDd\nLCDd &\nlcdproc T &\nnetlcdclient -i eth0 -a LinkSTN -d\n\n\nReferences"]}