Results 1 to 1 of 1

Thread: HowTo: Use Palm as 500gP LCD

  1. #1
    Join Date
    Nov 2004
    Location
    Sweden
    Posts
    259

    HowTo: Use Palm as 500gP LCD

    SOURCE/MERITS
    AVEN: (http://aven138.blogspot.com/2008/11/...x-palmorb.html)

    ASUMPTIONS
    .- Oleg firmware 1.9.2.7-10
    .- Serial to USB adapter with chipset Prolific 2303
    .- Palm Pilot IIIxe
    .- usbutils ipkg package installed

    HOW-TO

    (1) Install PalmOrb (http://palmorb.sourceforge.net/) on your Palm Pilot

    (2) Plug the serial-to-usb adapter directly to a USB port on the router. (NOT to an external USB Hub connected to the router!)

    (3) Run the following command to confirm the router detects the usb-serial adapter

    Code:
    $ lsusb
    Bus 003 Device 001: ID 0000:0000
    Bus 002 Device 001: ID 0000:0000
    Bus 002 Device 002: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
    Bus 001 Device 001: ID 0000:0000
    Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
    Bus 001 Device 003: ID 1970:0000
    Bus 001 Device 004: ID 04b4:6830 Cypress Semiconductor Corp. USB-2.0 IDE Adapter
    Line showing "Prolific Technology, Inc. PL2303 Serial Port" confirm everything is Ok to proceed with next steps.

    (3) Install LCD manager package:
    Code:
    ipkg install lcd4linux
    (4) Install serial managers:
    Code:
    insmod usbserial
    insmod pl2303
    (5) Create configuration file for LCD manager:
    Code:
    nano /opt/etc/lcd4linux.conf
    (6) Paste the following text:
    Code:
    Display PalmOrb {
    Driver 'MatrixOrbital'
    Model 'LK204-25'
    Port '/dev/usb/tts/0'
    Speed 19200
    Icons 1
    }
    
    Widget OS {
    class 'Text'
    expression '*** '.uname('sysname').' '.uname('release').' ***'
    width 20
    align 'M'
    speed 100
    update tick
    }
    
    Widget CPU {
    class 'Text'
    expression uname('machine')
    prefix 'CPU '
    width 9
    align 'L'
    update tick
    }
    
    
    Widget RAM {
    class 'Text'
    expression meminfo('MemTotal')/1024
    postfix ' MB RAM'
    width 11
    precision 0
    align 'R'
    update tick
    }
    
    Widget Busy {
    class 'Text'
    expression proc_stat::cpu('busy', 500)
    prefix 'Busy'
    postfix '%'
    width 10
    precision 1
    align 'R'Widget Eth0 {
    class 'Text'
    expression (netdev('eth0', 'Rx_bytes', 500)+netdev('eth0', 'Tx_bytes', 500))/1024
    prefix 'eth0'
    postfix ' '
    width 10
    precision 0
    align 'R'
    update tick
    }
    
    Widget Eth0Bar {
    class 'Bar'
    expression netdev('eth0', 'Rx_bytes', 500)
    expression2 netdev('eth0', 'Tx_bytes', 500)
    length 14
    direction 'E'
    update tack
    }
    
    Layout Default {
    Row1 {
    Col1 'OS'
    }
    Row2 {
    Col1 'CPU'
    Col10 'RAM'
    }
    Row3 {
    Col1 'Busy'
    Col11 'BusyBar'
    }
    Row4 {
    Col1 'Eth0'
    Col11 'Eth0Bar'
    }
    }
    
    Display 'PalmOrb'
    
    Layout 'Default'
    
    Variables {
    tick 500
    tack 100
    }
    
    update tick
    }
    
    Widget BusyBar {
    class 'Bar'
    expression proc_stat::cpu('busy', 500)
    expression2 proc_stat::cpu('system', 500)
    length 10
    direction 'E'
    update tack
    }
    (7) Change access rights to the configuration file:
    Code:
    chmod 600 /opt/etc/lcd4linux.conf
    (8) Start deamon:
    Code:
    lcd4linux -f /opt/etc/lcd4linux.conf
    Attached Images Attached Images  

Similar Threads

  1. Asus 500gp + USB LCD fragen fьr lcd4linux
    By thejew in forum German Discussion - Deutsch (DE)
    Replies: 35
    Last Post: 26-02-2011, 13:58
  2. объединение asus 500gp и asus 520gc
    By shi in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 56
    Last Post: 12-04-2009, 12:17
  3. New challenge - lcd diagnostic panel for router
    By darius in forum WL-500gP Pics & Specs
    Replies: 10
    Last Post: 07-02-2009, 22:00

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •