Difference between revisions of "USB Palm OS Device as an LCD Display"
(remove link spam) |
|||
(41 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | '' | + | {{Template:Articles|USB|Hardware|LS1|HG|Howto}} |
− | + | ''<font color=red><small>This article based on work done by Ramuk at Linkstationwiki.org</small></font>''<br> | |
− | + | <table align=right><tr><td> | |
− | + | http://palmorb.sourceforge.net/imgs/experimentA.gif | |
− | + | </td></tr> | |
− | + | </table> | |
− | + | ||
− | http://palmorb.sourceforge.net/imgs/ | + | |
− | + | ||
− | + | ||
− | + | ||
== Abstract == | == Abstract == | ||
− | + | {{Postit|USB LCD|These instructions are essentially for a USB LCD Display<ref> www.crystalfontz.com [http://www.crystalfontz.com/products/635/index.html CFA-635 USB LCD]</ref>, 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: [[Add a Serial port to the PowerPC Linkstation]] as a matter of fact someone on the kurobox wiki has done just that<ref>[[LCDKuro|LCDKuro - Add a Display and Keyboard to your Kurobox ]]</ref>}} | |
− | + | This article is for people that want to add an [[w:LCD|LCD]] display to their Linkstation but don't want to crack it open<ref>The NSLU2-Linux project where this idea was hijacked from: [http://www.nslu2-linux.org/wiki/Peripherals/Palm Palm as LCD-Display or terminal] | |
− | This article is for people that want to add an LCD display to their Linkstation | + | </ref>, and happen to have a USB cabled [[w:Palm_OS_devices|Palm OS ]]<ref>The Wikipedia: [[w:Palm OS devices|Palm OS devices]]</ref> device lying around. Using [[w:PalmOrb|PalmOrb]] <ref>The PalmOrb Page: [http://palmorb.sourceforge.net SourceForge:PalmOrb]</ref> you can emulate an external (20x4),(40x4) or (26x16) character LCD display. |
− | + | ||
== Prerequisites == | == Prerequisites == | ||
− | + | This article assumes that you have installed [[FreeLink]]. A 2.6 Kernel [[Upgrade to the 2.6-kernel (ppc only)]] | |
− | + | 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. | |
− | This article assumes that you have installed [[ | + | |
− | 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 == | == Method == | ||
− | + | * Install PalmOrb on your USB cabled Palm-OS Device. The v1.1a4<ref>Sourceforge.net: [http://sourceforge.net/project/showfiles.php?group_id=2987&package_id=2968 palmorb - alpha/beta releases Latest v1.1a4]</ref> version has the most font options for a (20x4) emulated LCD, there are several other versions available on Sourceforge<ref>Sourceforge.net: [http://sourceforge.net/project/showfiles.php?group_id=2987 PalmOrb]</ref>. It emulates a Matrix Orbital LK204-25 LCD. | |
− | + | <table width=160 style="border: 1px dotted" align="right"> | |
− | * Install | + | <tr><td> |
− | + | ||
− | + | ||
− | + | ||
http://palmorb.sourceforge.net/imgs/menu-options-serial.gif | http://palmorb.sourceforge.net/imgs/menu-options-serial.gif | ||
− | + | </td></tr> | |
− | * Install and remove | + | <tr><td> |
+ | <small>''Configure the PalmOrb app to use the USB Port:'' '''Menu -> Options -> Serial:Device:USB'''</small> | ||
+ | </td></tr> | ||
+ | </table> | ||
+ | * Install and remove [[w:LCDproc|LCDproc]] using [[w:apt-get|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 [[w:tarball|tarball]]. Kind of an ugly solution to get the dependencies resolved, but it works: | ||
apt-get install lcdproc | apt-get install lcdproc | ||
apt-get remove lcdproc | apt-get remove lcdproc | ||
− | * Get the | + | * Get the LCDProc<ref>The LCDproc home: [http://lcdproc.omnipotent.net/ LCDproc]</ref> tarball and compile/install it. Make sure you have installed the [[Precompiled C development environment, running on the LS]] first. |
wget http://lcdproc.omnipotent.net/download/lcdproc-0.4.5.tar.gz | wget http://lcdproc.omnipotent.net/download/lcdproc-0.4.5.tar.gz | ||
Line 47: | Line 38: | ||
make install | make install | ||
− | * Use these instructions to configure LCDProc to run with PalmOrb properly | + | * Use these instructions to configure LCDProc to run with PalmOrb properly<ref> [http://palmorb.sourceforge.net/faq.html#ConfigLCDproc How do I configure LCDproc for PalmOrb?]</ref> make sure that the <tt>MtxOrb</tt> part of <tt>/etc/LCDd.conf</tt> looks at least a little something like this: |
........ | ........ | ||
Line 62: | Line 53: | ||
........ | ........ | ||
− | + | * You may have to initiate the appropriate module for the palm<ref> [http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/pdf/Handspring-Visor.pdf Handspring−Visor with Linux mini−HOWTO by Ryan VanderBijl]</ref> | |
+ | modprobe visor | ||
* 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: | * 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 ttyUSB0 | ||
usb 3-1: Handspring Visor / Palm OS converter now attached to ttyUSB1 | 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. | * Run the LCDd (LCDproc Daemon) and LCDproc client with some options to see if it works. | ||
− | |||
LCDd & | LCDd & | ||
lcdproc C M X | 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<ref> [http://lcdproc.omnipotent.net/clients.php3 LCDProc Site:Clients]</ref> | ||
− | + | == What's the point? == | |
− | |||
− | Palm as | + | {{Postit|Palm as Terminal (untested)|Enable terminal access with this command: ''getty -h -L ttyUSB0 9600 vt100'', and use a terminal program like ptelnet<ref>[http://netpage.em.com.br/mmand/ptelnet.htm ptelnet] - a powerful communication software for the Palm Computing platform</ref>}} |
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! | 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! | ||
Line 100: | Line 89: | ||
+ | ==Related Links:== | ||
− | |||
− | + | == References == | |
− | + | <references/> | |
− | + | ||
− | + | == Alternatives == | |
+ | If you happen to own a dbox2, you can [http://hvkls.dyndns.org/downloads/documentation/README-log2lcd.html display a log file on the dbox's LCD] -andre |
Latest revision as of 03:27, 26 December 2010
This article based on work done by Ramuk at Linkstationwiki.org
|
Contents
Abstract
USB LCD |
![]() |
These instructions are essentially for a USB LCD Display[1], 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: Add a Serial port to the PowerPC Linkstation as a matter of fact someone on the kurobox wiki has done just that[2] |
This article is for people that want to add an LCD display to their Linkstation but don't want to crack it open[3], and happen to have a USB cabled Palm OS [4] device lying around. Using PalmOrb [5] you can emulate an external (20x4),(40x4) or (26x16) character LCD display.
Prerequisites
This article assumes that you have installed FreeLink. A 2.6 Kernel Upgrade to the 2.6-kernel (ppc only) 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[6] version has the most font options for a (20x4) emulated LCD, there are several other versions available on Sourceforge[7]. 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 LCDProc[8] tarball and compile/install it. Make sure you have installed the Precompiled C development environment, running on the LS first.
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
- Use these instructions to configure LCDProc to run with PalmOrb properly[9] make sure that the MtxOrb part of /etc/LCDd.conf looks at least a little something like this:
........ [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 ........
- You may have to initiate the appropriate module for the palm[10]
modprobe visor
- 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[11]
What's the point?
Palm as Terminal (untested) |
![]() |
Enable terminal access with this command: getty -h -L ttyUSB0 9600 vt100, and use a terminal program like ptelnet[12] |
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
Related Links:
References
- ↑ www.crystalfontz.com CFA-635 USB LCD
- ↑ LCDKuro - Add a Display and Keyboard to your Kurobox
- ↑ The NSLU2-Linux project where this idea was hijacked from: Palm as LCD-Display or terminal
- ↑ The Wikipedia: Palm OS devices
- ↑ The PalmOrb Page: SourceForge:PalmOrb
- ↑ Sourceforge.net: palmorb - alpha/beta releases Latest v1.1a4
- ↑ Sourceforge.net: PalmOrb
- ↑ The LCDproc home: LCDproc
- ↑ How do I configure LCDproc for PalmOrb?
- ↑ Handspring−Visor with Linux mini−HOWTO by Ryan VanderBijl
- ↑ LCDProc Site:Clients
- ↑ ptelnet - a powerful communication software for the Palm Computing platform
Alternatives
If you happen to own a dbox2, you can display a log file on the dbox's LCD -andre