Welcome! Log In Create A New Profile

Advanced

LCD screen for your dockstar (cheap! <$5)

Posted by petergunn 
Re: LCD screen for your dockstar (cheap! <$5)
October 02, 2012 01:55AM
@dms
Good news! So I will mark this dpf as 'supported'.
And I will have a cute new display for my collection in a few weeks. :-)

@All
New revision 0.320 with contrast support, better type detection, etc. is almost ready. Only a couple of days now...

superelchi
Re: LCD screen for your dockstar (cheap! <$5)
October 02, 2012 02:14AM
@dms, @superelchi

I'm interested in this 240x320 DPF! A few questions though:

  1. Can it be powed over USB (without batteries)?
  2. If the frame cannot be powered via USB, do you think it can run off 5v instead of 3v? Batteries aren't an option here
  3. Do you think it's possible to mod the firmware for landscape mode?

P.S. excited about the new dpf-ax version, will definitely flash and test!
dms
Re: LCD screen for your dockstar (cheap! <$5)
October 02, 2012 02:30PM
mrlinux Wrote:
-------------------------------------------------------
> @dms, @superelchi
>
> I'm interested in this 240x320 DPF! A few
> questions though:
>
>
    >
  1. Can it be powed over USB (without batteries)?
    >
  2. If the frame cannot be powered via USB, do you
    > think it can run off 5v instead of 3v? Batteries
    > aren't an option here
    >
  3. Do you think it's possible to mod the firmware
    > for landscape mode?
    >
>
> P.S. excited about the new dpf-ax version, will
> definitely flash and test!

Hello mrlinux,

Till now I was only using this frame without batteries. All the time (even for flashing) only powered by the usb cable.
I've tried the frame with fw_disp_pearl_landscape.bin works in landscape mode, but the menu and the splash is not visible/usable.

cheers
dms
Re: LCD screen for your dockstar (cheap! <$5)
October 02, 2012 02:49PM
An update and a good news, it actaully works nicely with fw_disp_pearl_landscape.bin. In the previous try I forgot to restore the original firmware first and went directly from fw_disp_delightdigi_black_portrait.bin.

Now I've tried once again wit the following steps:
- restore the original firmware (full.bin)
- apply the fw_disp_pearl_landscape.bin

The splashscreen, menu and the display are working.
Re: LCD screen for your dockstar (cheap! <$5)
October 02, 2012 03:03PM
@dms

Thanks (: I think I'll order one
Re: LCD screen for your dockstar (cheap! <$5)
October 10, 2012 06:38AM
@superelchi:

Could you take a look at this frame? This is a request from raspberry-pi forum user, Norefall.

Full.bin : http://db.tt/ZgX4NmQj

Here is the IDs from progSPI

    FLASH info is Cmd-9f: ID:0xc84014c8
    FLASH info is Cmd-ab: ID:0x13131313
    FLASH info is Cmd-90: ID:0xc813c813
    Can't find the flash info, please add its info to flash libary accordning to the flash ID.

Identify.py
Looking for firmware.............: Found (buildwin, 128x128 px).
Looking for known version info...: None.
Looking for Openwin..............: Found.
Looking for LcdIniTbl............: None.
WARNING: This is no "standard" buildwin software!
Looking for known signatures.....: None.

Sorry, no matching dpf found.
Re: LCD screen for your dockstar (cheap! <$5)
October 10, 2012 08:51AM
Please try this fw.
Do you have a manufacture/seller name and/or a link? If not, this one will stay "acme_2"...

superelchi
Attachments:
open | download - fw_disp_acme_2.zip (27.4 KB)
Re: LCD screen for your dockstar (cheap! <$5)
October 11, 2012 08:01AM
superelchi Wrote:
-------------------------------------------------------
> Please try this fw.
> Do you have a manufacture/seller name and/or a
> link? If not, this one will stay "acme_2"...
>
> superelchi

Thanks from Norefall. The frame is hacked. No link so name acme_2 it is :)
Re: LCD screen for your dockstar (cheap! <$5)
October 12, 2012 08:56PM
m_K_o from rpi forum bought his dpf from here

I have helped to patch the dpf. Original full.bin: here

identify.py
Looking for firmware.............: Found (coby, 320x240 px).
Looking for known version info...: None.
Looking for Openwin..............: Found.
Looking for LcdIniTbl............: Found.
Looking for known signatures.....: None.

Sorry, no matching dpf found.

@superelchi: Can you help to commit the code? I have no idea how to do the contrast adjustment though
Re: LCD screen for your dockstar (cheap! <$5)
October 14, 2012 12:13AM
Hello! I've got a DPF that identify.py can't match. Externally, it's very similar to the supported 240x320 ones. In fact, it's another LinkDelight, but from their North American counterpart: http://www.ebay.com/itm/260883908884

The firmware dump is here: http://shark.arktronic.com/picframe-full.bin and its MD5 hash should be d19a80d1eda22dad909b3a980b7008f9.

@superelchi ~ could you please compile a disp version for this?

Thank you
Re: LCD screen for your dockstar (cheap! <$5)
October 14, 2012 08:32AM
@ax206geek
Thanks for that. Will add the contrast setting and commit it with the 0.320 release. Code is ready so far and I will commit it as soon as I find the time...

@Arktronic
Your dpf is already supported in the newest (currently un-committed, see above) release. Please use attached fw.

superelchi
Attachments:
open | download - fw_disp_linkdelight_2.zip (38.7 KB)
Re: LCD screen for your dockstar (cheap! <$5)
October 14, 2012 09:26AM
Insta-eyes :)

Awesome, thanks!
xpto
Re: LCD screen for your dockstar (cheap! <$5)
October 15, 2012 02:59PM
Hi superelchi, can you help me.

When i flash, i got this :

FLASH info is Cmd-9f: ID:0xc84014c8
FLASH info is Cmd-ab: ID:0x13131313
FLASH info is Cmd-90: ID:0xc813c813
Can't find the flash info, please add its info to flash libary accordning to the flash ID.

Original firmware


Thank You
Re: LCD screen for your dockstar (cheap! <$5)
October 16, 2012 02:46AM
Please try attached FlashLib.ini.
Btw: your dpf is compatble with "abeyerr_black". Flashing "fw_disp_abeyerr_black.bin" should work.

superelchi
Attachments:
open | download - FlashLib.zip (2.8 KB)
xpto
Re: LCD screen for your dockstar (cheap! <$5)
October 16, 2012 06:24AM
Tk you superelchi, worked like a charm!


Can someone help me with lcd4linux.. i dont know how to get this working :(

Some infos:

Bus 006 Device 004: ID 1908:0102 GEMBIRD 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass       255 Vendor Specific Subclass
  bDeviceProtocol       255 Vendor Specific Protocol
  bMaxPacketSize0         8
  idVendor           0x1908 GEMBIRD
  idProduct          0x0102 
  bcdDevice            2.00
  iManufacturer           2 hackfin
  iProduct                3 USB-Display
  iSerial                 1 001
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              200mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              4 libusb
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Status:     0x000a
  (Bus Powered)
  Remote Wakeup Enabled


lcd4linux

security error: group or other have access to '/etc/lcd4linux.conf'
Error reading configuration. Exit!


dmesg

[ 3228.376047] usb 6-1: new full speed USB device number 5 using uhci_hcd


I am testing with Linux Mint 12. Thank You
Re: LCD screen for your dockstar (cheap! <$5)
October 16, 2012 06:52AM
@xpto

sudo chmod g-r-w-x,o-r-w-x /etc/lcd4linux.conf
Re: LCD screen for your dockstar (cheap! <$5)
October 16, 2012 07:50AM
FYI: new version is out. See here.

superelchi
xpto
Re: LCD screen for your dockstar (cheap! <$5)
October 16, 2012 09:37AM
@ax206geek

It worked, thank you!


But now i can't know what is needed to do..

I have this error (no driver):

sudo lcd4linux -Fvv


LCD4Linux 0.11.0-SVN-1092 starting
Dump of /etc/lcd4linux.conf:
  Display                  'dpf'
  Display:dpf.Background   '000000'
  Display:dpf.Backlight    5
  Display:dpf.Basecolor    '000000'
  Display:dpf.Driver       'DPF'
  Display:dpf.Font         '12x16'
  Display:dpf.Foreground   'ffffff'
  Display:dpf.Orientation  1
  Display:dpf.Port         'usb0'
  Layout                   'Default'
  Layout:Default.Row1.Col1 'CPU'
  Variables.tick           500
  Widget:CPU.align         'L'
  Widget:CPU.class         'Text'
  Widget:CPU.expression    uname('machine')
  Widget:CPU.prefix        'CPU '
  Widget:CPU.update        tick
  Widget:CPU.width         9
 
plugin_cfg.c: Variable tick = '500' (500)
lcd4linux.c: initializing driver DPF
drv_init(DPF) failed: no such driver
Error initializing driver DPF: Exit!




sudo python detect.py usb0

Found AX206 DPF
Got LCD dimensions: 128x128
Manufacturer: Apple
Size        : 1 MB
Traceback (most recent call last):
  File "detect.py", line 93, in <module>
    detect_lcd(d)
  File "detect.py", line 55, in detect_lcd
    d.writeMemory("app_detect.ihx")
TypeError: 281:File open error


Is my 1st time doing this.
dpflib
Re: LCD screen for your dockstar (cheap! <$5)
October 17, 2012 01:47AM
@xpto,

Try copying the libdpf.a from dpflib directory to /usr/lib. Don't think you need detect.py anymore if dpf is already hacked
xpto
Re: LCD screen for your dockstar (cheap! <$5)
October 17, 2012 07:57AM
Thank you, but i got the same error:

plugin_cfg.c: Variable tick = '500' (500)
lcd4linux.c: initializing driver DPF
drv_init(DPF) failed: no such driver
Error initializing driver DPF: Exit!

Re: LCD screen for your dockstar (cheap! <$5)
October 17, 2012 08:13AM
@xpto:

Did you use build-dpf-lcd4linux.sh? That will do all the work, including downloading svn 1142 of lcd4linux and patching it with lcd4linux-svn1142-dpf.patch, and configuring for driver DPF and invoking make.

0.11.0-SVN-1092 is the wrong version. You are using lcd4linux from your linux distro?



Edited 1 time(s). Last edit at 10/17/2012 08:13AM by ax206geek.
xpto
Re: LCD screen for your dockstar (cheap! <$5)
October 17, 2012 11:20AM
@ ax206geek

I was using two lcd4linux ... one i compile (1092 strange) and other from rep

Now i tried to compile but i got a error.

Can you point me a easy tutorial. Thanks


Gerado cópia de trabalho para revisão 1142.
patching file configure.in
patching file drivers.m4
patching file drv.c
patching file drv_dpf.c
patching file Makefile.am
./bootstrap:> aclocal
./bootstrap:> libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
./bootstrap:> autoheader
./bootstrap:> automake --add-missing --copy --foreign
./bootstrap:> autoconf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... configure: error: in `/home/beauty/Transferências/dpf/lcd4linux':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details
make: *** Nenhum alvo indicado e nenhum arquivo make encontrado.  Pare.


Re: LCD screen for your dockstar (cheap! <$5)
October 18, 2012 05:21AM
xpto
Re: LCD screen for your dockstar (cheap! <$5)
October 18, 2012 01:49PM
@ax206geek

I download again with that script, and it worked!

Thank you very much!
Re: LCD screen for your dockstar (cheap! <$5)
October 18, 2012 03:41PM
Hey guys I have been following the guides in this forum trying to hack a DPF.
I have downloaded dpf-ax (3.2) and following various problems finally managed to get everything compiled.
I eventually managed to get a firmware dump but identify.py fails to find a matching DPF.
The DPF i bought was from the same link as another forum member had had success with,
http://www.7dayshop.com/7dayshop-pebble-digital-photo-frame-1-5-tft-keyring-version-silver-irresistible-price?q=dpf&sl=sl
but when i tired the firmware that superelchi posted (fw_disp_27893) for him all i got was a corrupted image and pressing the buttons failed to bring up the menu.
I dug some more in this and the raspberrypi forums and got better results using fw_disp_blue, the image of the eyes appears to be wrong; they appear to be at a strange angle but the menu works.
I have managed to get a display using lcd4linux but it doesnt look right and there is a border on the top and left of the screen with random pixels.

I'm guessing this is a revised version of a compatible frame and isnt quite working as it should.

Anyone have any ideas?

output from identify.py
Looking for firmware.............: Found (buildwin, 128x128 px).
Looking for Openwin..............: Found.
Looking for LcdIniTbl............: None.
Looking for known signatures.....: None.
Looking for known version info...: None.

Sorry, no matching dpf found.

Re: LCD screen for your dockstar (cheap! <$5)
October 19, 2012 02:39AM
Please upload your firmware dump.

superelchi
Re: LCD screen for your dockstar (cheap! <$5)
October 19, 2012 08:23AM
@ superelchi

as requested please find enclosed the FW dump from my DPF, it's 2MB so I've had to compress it to be able to attach it to the post.
Also I attatched a photo of what happens when using the fw_disp_blue firmware.
Notice the border top and left and the crooked eyes.

cheers

dave
Attachments:
open | download - full.bin.tar.gz (457.3 KB)
open | download - DPF-eyes.jpg (22.5 KB)
Re: LCD screen for your dockstar (cheap! <$5)
October 19, 2012 10:05AM
@daveg
Please try attached fw.

superelchi
Attachments:
open | download - fw_disp_sevendayshop_pebble.zip (27.4 KB)
Re: LCD screen for your dockstar (cheap! <$5)
October 19, 2012 01:43PM
@superelchi

struggled to flash this firmware via linux so ended up using progspi on windows.
The eyes now appear correctly and the screen looks a lot better when running lcd4linux.
I just need to work out if i can connect it to my asus n16 router.

I cant thank you enough, but i'll try... thank you thank you thank you, thank you^infinity.

now i have the bug for these screens I'm gonna try and find a bigger one...lol
Re: LCD screen for your dockstar (cheap! <$5)
October 20, 2012 03:25AM
FYI: new model "sevendayshop_pebble" comitted.

superelchi
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: