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
Line showing "Prolific Technology, Inc. PL2303 Serial Port" confirm everything is Ok to proceed with next steps.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
(3) Install LCD manager package:
(4) Install serial managers:Code:ipkg install lcd4linux
(5) Create configuration file for LCD manager:Code:insmod usbserial insmod pl2303
(6) Paste the following text:Code:nano /opt/etc/lcd4linux.conf
(7) Change access rights to the configuration file: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 }
(8) Start deamon:Code:chmod 600 /opt/etc/lcd4linux.conf
Code:lcd4linux -f /opt/etc/lcd4linux.conf




Reply With Quote
