OpenWrt Forum Archive

Topic: cheap color display

The content of this topic has been archived on 4 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

if you want to add a cheap (€20) color display (127x127 pixel) to your router check out http://picframe.spritesserver.nl/wiki/i … /Main_Page. There is a nice hack, how to use a digital mini photoframe as external display. there is also lcd4linux support for those foto frames!

cheers

(Last edited by michu on 2 Mar 2008, 14:33)

I did see that wiki, got a device - the shift³ - hacked it and updated the wiki.  I got it running under Ubuntu no problem.

I installed Kamikaze 8.09.1 on my Asus WL-520gU, along with usb related packages (kmod-usb-core, kmod-usb-storage, kmod-usb-uhci, kmod-usb-ohci, kmod-usb-uhci-iv) as well as display related package (st2205tool).

I can't get the picframe to work with OpenWrt.
When I connect it I get the following (dmesg | tail):
--------------------------------------------------------------------------
hub.c: new USB device 00:03.0-1, assigned address 2
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: SITRONIX  Model: MULTIMEDIA        Rev: 0.09
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 4096 512-byte hdwr sectors (2 MB)
sda: Write Protect is off
Partition check:
/dev/scsi/host0/bus0/target0/lun0: unknown partition table
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
--------------------------------------------------------------------------

It talks about device sda but there is no /dev/sda.

There is /dev/discs/disc0 that is a link to /dev/scsi/host0/bus0/target0/lun0.
There is a block device called disc in there.

I tried running phack -m with various combinations of the above devices and even tried creating symlinks such as /dev/sda so that I could use that on the commandline.  Nothing worked so far.

All I get is "No photoframe found there".

Any ideas?

hey paulie

i did the original makefile for the st2205 tool for owrt. the best would be to update the package to the latest stable version (v1.4.3), which contains quite a lot of bugfixes, check http://www.neophob.com/serendipity/inde … t2205.html.

the rebuild the package.

the other issue may be the automounter script, look out for a blacklist of device id, because the photogframe can not be mountet like a regular disk...

hope this help, cheers

Thanks.  I'll give it a try after I figure out how to set up the environment for cross-compiling this stuff.

PaulieG wrote:

Thanks.  I'll give it a try after I figure out how to set up the environment for cross-compiling this stuff.

did you make any progress?

I have one that I'm working on....an old sentronix st2205 christmas ornament working on Ubuntu.

Playing with owrt now.

-john

i don't know if anyone is tracking this but I have got my "Christmas Ornament"  SITRONIX MULTIMEDIA 1.5 inch LCD working on ATTITUDE ADJUSTMENT (bleeding edge, r26316).

The basic steps are:

1. I followed these steps as a guide.
http://forum.doozan.com/read.php?2,2435

2. I used the Oracle VM on a Widows 7 machine with current version of UBUNTU LTS.  I chose lcd4linux making sure I selected the st2205 driver to be compiled.

3. I selected the st2205tool.

4. After completed  I installed the new build.
I found this sites helpfull; http://wiki.fon.com/wiki/F2_picturefram … e_Fonera_2, http://picframe.spritesserver.nl/wiki/i … frame_Wiki.

5. I used this lcd4linux.conf for the initial run. Note it needs a lot more work.  Use with caution.
I give full credit to all contributors as I am still learning.

   GNU nano 2.2.6                        File: /etc/lcd4linux.conf

#  $Id: lcd4linux.conf.sample 759 2007-02-04 05:55:58Z michael $
#  $URL: https://ssl.bulix.org/svn/lcd4linux/tru … onf.sample $
#   openwrt bleeding edge 1.5inch color lcd screen lcd4linux rev1.0jti

Display st2205u {
    Driver     'st2205'
    Port       '/dev/sdc'
    Font       '6x8'
    Foreground '00ff00'
    Background '000000'
    Basecolor  '0000ff'
}

#Display png {
#    Driver     'Image'
#    Format     'PNG'
#    Size       '128x128'
#    Font       '6x8'
#    Pixel      '1+0'
#    Gap        '0x0'
#    Foreground '0000ff'
#    Background 'ffffff'
#    Basecolor  'ffffff'
#}

Widget Uname {
    class 'Text'
    width 21
    align 'C'
    style 'bold'
    Background '00ff00'
    Foreground '000000'
    expression uname('nodename') . ' ' . uname('release')
}

Widget IPaddress {
    class  'Text'
    prefix 'IP: '
    width  21
#    length 21
    align  'L'
    expression netinfo::ipaddr('eth0')
    Background '000000'
    Foreground 'ffff00'
    update 1000
}

Widget Uptime {
    class 'Text'
    width 21
#    length 21
    align 'R'
    expression uptime('%d days %H:%M:%S')
    prefix 'Up: '
    update 1000
}

Widget Busy {
    class 'Text'
    width 5
    align 'L'
        precision 1
    expression  proc_stat::cpu('busy',500)
    update 1000
}

Widget BusyBar {
    class 'Bar'
    expression  proc_stat::cpu('busy',500)
    length 16
        min 0
        max 100
    direction 'E'
        style 'H'
    update 1000
}

Widget FreeRAM {
    class  'Text'
    expression (meminfo('MemFree')+meminfo('Cached'))/1024
    prefix 'FreeRAM '
    postfix ' '
    width 13
    height 8
    precision 0
    align  'R'
    update 1000
}

Widget TotalRAM {
    class  'Text'
    expression meminfo('MemTotal')/1024
    prefix 'of '
    postfix 'MB'
    width 8
    height 8
    precision 0
    align  'R'
    update 1000
}

Widget Disk {
    class 'Text'
    expression proc_stat::disk('.*','rblk',1000)+proc_stat::disk('.*','wblk',1000)
    prefix 'I/O'
    postfix 'tps'
    width 21
    height 8
#    length 21
    precision 0
    align 'L'
    update 1000
}

Widget Eth0Stats {
   class 'Text'
    expression floor((netdev('eth0','Rx_bytes',1000)+netdev('eth0','Tx_bytes',1000))/1024)
    prefix 'eth0 '
    postfix ' k/sec'
    width 21
#    length 21
    align 'R'
    update 1000
}

Widget Time {
    class 'Text'
    expression strftime('%a,%d/%m %H:%M:%S',time())
    width 21
    height 8
#    length 21
    align 'C'
    update 1000
}

Layout mylayout {
        Row01.Col01 'Uname'
        Row02.Col01 'IPaddress'
       Row03.Col01 'Time'
        Row04.Col01 'Uptime'
        Row05.Col01 'Busy'
        Row05.Col06 'BusyBar'
        Row06.Col01 'FreeRAM'
        Row06.Col14 'TotalRAM'
        Row08.Col01 'Eth0Stats'

        Row10.Col01 'Disk'
}

Display 'st2205u'
#Display 'png'
Layout 'mylayout'

6. This is all working on a DVA-G3810BN with a DSL-2740B squash profile.

Hope the info helps someone.

~john

Yeah, I had no time.  It's in my pile of half-started projects, right next to the pile of half-finished projects.
Thanks for the info though.

Sounds like how I do things.

~john

can some one explain this to me in layman's terms I installed lcd4linux but I didn't see the driver for  st2205
thanx

The discussion might have continued from here.