ax206geek
Posts: 52
Joined: Sat Jun 16, 2012 2:55 pm

Re: Photo keyring as screen

Wed Jun 27, 2012 1:44 pm

@meltwater

ax206term is just a terminal console. The other ported programs can be found here. The dpf-ax SVN comes with a sample lcd4linux conf file and the build script should work too. I'll be trying lcd4linux out on my R-Pi soon. lcd4linux can certainly display images and pydpf would too.

User avatar
meltwater
Posts: 1014
Joined: Tue Oct 18, 2011 11:38 am

Re: Photo keyring as screen

Wed Jun 27, 2012 1:49 pm

ax206geek wrote:@meltwater

ax206term is just a terminal console. The other ported programs can be found here. The dpf-ax SVN comes with a sample lcd4linux conf file and the build script should work too. I'll be trying lcd4linux out on my R-Pi soon. lcd4linux can certainly display images and pydpf would too.
Thanks very much! I'll have a go and see how I get on.
______________
http://www.themagpi.com/
A Magazine for Raspberry Pi Users
Read Online or Download for Free.

My new book: goo.gl/dmVtsc

Meltwater's Pi Hardware - pihardware.com

Like the MagPi? @TheMagP1 @TheMagPiTeam

funny
Posts: 16
Joined: Mon Jan 16, 2012 11:14 am

Re: Photo keyring as screen

Wed Jun 27, 2012 3:46 pm

meltwater wrote:Thanks to some help from doozan.com I now have a hacked picture frame.

http://forum.doozan.com/read.php?2,2435 ... 9#msg-8330

Hopefully that will also help you out. Happy to give more details if needed.

Now comes the small task of trying to work out how to use lcd4linux... :shock:
cud u plz give that ebay link to buy these kinda frames!!

User avatar
meltwater
Posts: 1014
Joined: Tue Oct 18, 2011 11:38 am

Re: Photo keyring as screen

Wed Jun 27, 2012 10:35 pm

funny wrote:
meltwater wrote:Thanks to some help from doozan.com I now have a hacked picture frame.

http://forum.doozan.com/read.php?2,2435 ... 9#msg-8330

Hopefully that will also help you out. Happy to give more details if needed.

Now comes the small task of trying to work out how to use lcd4linux... :shock:
cud u plz give that ebay link to buy these kinda frames!!
It was posted above...
http://www.dealextreme.com/p/1-5-lcd-re ... rage-27893
Mine was from dealextreme.com, but be warned they can change stock. It works with Ax206term, yet to try the others though.
______________
http://www.themagpi.com/
A Magazine for Raspberry Pi Users
Read Online or Download for Free.

My new book: goo.gl/dmVtsc

Meltwater's Pi Hardware - pihardware.com

Like the MagPi? @TheMagP1 @TheMagPiTeam

ashbash
Posts: 50
Joined: Fri Jun 01, 2012 9:20 am

Re: Photo keyring as screen

Thu Jun 28, 2012 6:36 am

@ meltwater, ax206geek - Thanks, will check out dealextreme :)

User avatar
clickykbd
Posts: 117
Joined: Wed Jun 06, 2012 2:21 am
Location: Austin, Texas
Contact: Website

Re: Photo keyring as screen

Thu Jun 28, 2012 7:20 am

This is one neat little trick. Too bad the larger photo frames tend to run off memory cards instead of direct USB transfers to internal memory. *clicks the "watch thread" button*

ax206geek
Posts: 52
Joined: Sat Jun 16, 2012 2:55 pm

Re: Photo keyring as screen

Thu Jun 28, 2012 1:31 pm

clickykbd wrote:Too bad the larger photo frames tend to run off memory cards instead of direct USB transfers to internal memory.
Going slightly off-topic here, but some Samsung frames - the larger frames can do these:
http://web.media.mit.edu/%7Egracewoo/stuff/picframe/
http://pyframe.blogspot.sg/2011/12/usin ... or_16.html
http://www.puschmann.net/page/?page_id=62

kontextbewusst
Posts: 3
Joined: Mon Jun 18, 2012 1:06 pm

Re: Photo keyring as screen

Fri Jun 29, 2012 9:26 am

Nice work with the ax206term! Did anyone of you get the DPF working with lcd4linux on the RPi? I successfully flashed my DPF (it's the China Version, dx21334b). However, with the example config from dpf-ax, lcd4linux cannot find the DPF:

Code: Select all

$ ./lcd4linux -f ../dpf.conf -F
Found AX206 DPF
Got LCD dimensions: 0x0
dpf: cannot open dpf device usb0
Error initializing driver DPF: Exit!
My guess is that the port identifier is different on the RPi, i already tried usb, or usbdev1.4 (which is the the port reported by dmesg).

Can anyone help me? I'll try the st2205term/ax206term now, already compiling...

Best,

Max.

kontextbewusst
Posts: 3
Joined: Mon Jun 18, 2012 1:06 pm

Re: Photo keyring as screen

Fri Jun 29, 2012 10:59 am

Shame on me... of course lcd4linux needs to run with sudo. It's working now :)

Image

User avatar
clickykbd
Posts: 117
Joined: Wed Jun 06, 2012 2:21 am
Location: Austin, Texas
Contact: Website

Re: Photo keyring as screen

Fri Jun 29, 2012 11:31 am

wonder what it would take to get them to make a raspberry shaped one:
http://www.dealextreme.com/p/1-5-lcd-he ... 32?item=14
(edited to the 1.5" display heart shaped one, more raspberry approximate already)

That one is so close, a little sharpie details and some glued on leaves and you are there.
Last edited by clickykbd on Fri Jun 29, 2012 11:36 am, edited 2 times in total.

funny
Posts: 16
Joined: Mon Jan 16, 2012 11:14 am

Re: Photo keyring as screen

Fri Jun 29, 2012 11:35 am

clickykbd wrote:wonder what it would take to get them to make a raspberry shaped one:
http://www.dealextreme.com/p/1-1-inch-h ... 515?item=2
nice idea!

kontextbewusst
Posts: 3
Joined: Mon Jun 18, 2012 1:06 pm

Re: Photo keyring as screen

Fri Jun 29, 2012 11:40 am

funny, I cannot send PMs yet (started posting here today) -- I bought this display from eBay (Germany in my case, but it's an international seller):

http://www.ebay.de/itm/260978964426?ssP ... 1439.l2649

User avatar
clickykbd
Posts: 117
Joined: Wed Jun 06, 2012 2:21 am
Location: Austin, Texas
Contact: Website

Re: Photo keyring as screen

Fri Jun 29, 2012 11:49 am

funny wrote:nice idea!
Alas, too nice/tempting. Ordered one on the off chance it's a supported model.

gabychan
Posts: 8
Joined: Sat Jun 30, 2012 11:38 am

Re: Photo keyring as screen

Sat Jun 30, 2012 11:45 am

kontextbewusst wrote:Shame on me... of course lcd4linux needs to run with sudo. It's working now :)

Image
Hello, can explain how you installed the LCD in the RPI?

You can do a How to, what I have with the Firm_21334a of Superelchi, but when compiling in Raspberry does not work. I have the same error as above you.

regards

ax206geek
Posts: 52
Joined: Sat Jun 16, 2012 2:55 pm

Re: Photo keyring as screen

Sat Jun 30, 2012 2:27 pm

gabychan wrote: Hello, can explain how you installed the LCD in the RPI?

You can do a How to, what I have with the Firm_21334a of Superelchi, but when compiling in Raspberry does not work. I have the same error as above you.

regards
I can try to help. Do you have errors with compiling lcd4linux or with permissions

Code: Select all

dpf: cannot open dpf device usb0
Error initializing driver DPF: Exit!
If it is compiling errors, just make sure the dependencies are sorted out, this is IIRC

Code: Select all

sudo apt-get install autoconf libtool libusb-dev python2.6-dev 
then build-dpf-lcd4linux.sh should execute smoothly.

The permission error was solved with sudo but lcd4linux will also complain on the permissions of dpf.conf so if this is done from lcd4linux directory inside dpf-ax directory

Code: Select all

chmod g-r-x,o-r-x ../dpf.conf
should sort things out

gabychan
Posts: 8
Joined: Sat Jun 30, 2012 11:38 am

Re: Photo keyring as screen

Sat Jun 30, 2012 7:07 pm

Thank you so much

This is what I get on the console

Code: Select all

Which drivers to compile checking ... done
configure: WARNING: dpf.h not found: DPF driver disabled
configure: error: You should activate at least one driver ...
make: *** No no target specified and no makefile found any. Alto.
@ raspberrypi ~ pi / dpf-ax $

ax206geek
Posts: 52
Joined: Sat Jun 16, 2012 2:55 pm

Re: Photo keyring as screen

Sun Jul 01, 2012 1:27 am

gabychan wrote: This is what I get on the console
Try copying libdpf.so to /usr/local/lib. I've also uploaded my lcd4linux folder with compiled binary from my Pi to here

gabychan
Posts: 8
Joined: Sat Jun 30, 2012 11:38 am

Re: Photo keyring as screen

Sun Jul 01, 2012 1:51 pm

This is the error after installing the dependencies

Code: Select all

pi@raspberrypi:~/dpf-ax$
pi@raspberrypi:~/dpf-ax$./build-dpf-lcd4linux.sh

Code: Select all

/usr/bin/ld: cannot find -ldpf
collect2: ld returned 1 exit status
make[1]: *** [lcd4linux] Error 1
make[1]: se sale del directorio `/home/pi/dpf-ax/lcd4linux'
make: *** [all] Error 2
pi@raspberrypi:~/dpf-ax$

ax206geek
Posts: 52
Joined: Sat Jun 16, 2012 2:55 pm

Re: Photo keyring as screen

Mon Jul 02, 2012 12:12 pm

gabychan wrote:This is the error after installing the dependencies

Code: Select all

/usr/bin/ld: cannot find -ldpf
collect2: ld returned 1 exit status
Assuming libdpf.so is in /usr/local/lib, try this

Code: Select all

ldconfig /usr/local/lib

gabychan
Posts: 8
Joined: Sat Jun 30, 2012 11:38 am

Re: Photo keyring as screen

Mon Jul 02, 2012 2:13 pm

ax206geek wrote: Assuming libdpf.so is in /usr/local/lib, try this

Code: Select all

ldconfig /usr/local/lib
No I do not find on any side libdpf.so.

Sorry not to do more.
Thanks for your help

ax206geek
Posts: 52
Joined: Sat Jun 16, 2012 2:55 pm

Re: Photo keyring as screen

Mon Jul 02, 2012 2:25 pm

@gabychan

You were supposed to compile dpf-ax to obtain libdpf.so which is in the Debug folder of dpf-ax. Anyway here's my copy

gabychan
Posts: 8
Joined: Sat Jun 30, 2012 11:38 am

Re: Photo keyring as screen

Mon Jul 02, 2012 3:45 pm

Thanks,

My orders

Code: Select all

# sudo rm -rf dpf-ax
# sudo svn co https://dpf-ax.svn.sourceforge.net/svnroot/dpf-ax/trunk dpf-ax
# cd dpf-ax
# sudo cp your_libdpf.so /usr/local/lib
# sudo chmod 755 dpf.conf
# sudo ./build-dpf-lcd4linux.sh
# cd lcd4linux
# sudo make
#pi@raspberrypi:~/dpf-ax/lcd4linux$ sudo make
make  all-am
make[1]: se ingresa al directorio `/home/pi/dpf-ax/lcd4linux'
make[1]: se sale del directorio `/home/pi/dpf-ax/lcd4linux'
pi@raspberrypi:~/dpf-ax/lcd4linux$ sudo lcd4linux -l
lcd4linux: error while loading shared libraries: libdpf.so: cannot open shared object file: No such file or directory
pi@raspberrypi:~/dpf-ax/lcd4linux$ sudo lcd4linux -Fvv
lcd4linux: error while loading shared libraries: libdpf.so: cannot open shared object file: No such file or directory
pi@raspberrypi:~/dpf-ax/lcd4linux$

gabychan
Posts: 8
Joined: Sat Jun 30, 2012 11:38 am

Re: Photo keyring as screen

Mon Jul 02, 2012 5:58 pm

SOLVED
ax206geek wrote:@gabychan

You were supposed to compile dpf-ax to obtain libdpf.so which is in the Debug folder of dpf-ax. Anyway here's my copy

It seems that this fixed

Many thanks again

Code: Select all

^Clcd4linux.c: got signal 2
lcd4linux.c: leaving main loop
DPF: shutting down.
drv_dpf.c: closing connection
pi@raspberrypi:~$

basst85
Posts: 6
Joined: Sat Jun 02, 2012 9:57 pm

Re: Photo keyring as screen

Tue Jul 03, 2012 9:15 am

I have this photo keyring:
Image

And want to write a image to it every x seconds, but dont know how to write to te correct sector on the chip. And dont know where to start :)

dmesg give me this info:

Code: Select all

[  121.103956] usb 1-1.2: new full speed USB device number 5 using dwc_otg
[  121.363980] usb 1-1.2: new full speed USB device number 6 using dwc_otg
[  121.465356] usb 1-1.2: config 1 has an invalid descriptor of length 44, skipping remainder of the config
[  121.466350] usb 1-1.2: New USB device found, idVendor=18b6, idProduct=1201
[  121.466379] usb 1-1.2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[  121.466400] usb 1-1.2: Product: MOS003-USB ALBUM
[  121.482424] scsi0 : usb-storage 1-1.2:1.0
[  122.485637] scsi 0:0:0:0: CD-ROM            MKU007-  USB PHOTO ALBUM  1.00 PQ: 0 ANSI: 2
[  122.534992] sr0: scsi3-mmc drive: 0x/0x caddy
[  122.535027] cdrom: Uniform CD-ROM driver Revision: 3.20
[  122.539917] sr 0:0:0:0: Attached scsi CD-ROM sr0
[  122.574855] sr0: Hmm, seems the drive doesn't support multisession CD's
And lsusb:
Bus 001 Device 007: ID 18b6:1201 Mikkon Technology Limited

\dev\sr0 only contains a program for Windows.

User avatar
Gabriel
Posts: 73
Joined: Wed Aug 10, 2011 5:43 pm
Location: France

Re: Photo keyring as screen

Tue Jul 03, 2012 12:11 pm

Hello,
If it can help somebody, I already launched a subject about this in august (a long time ago ^^) :
http://www.raspberrypi.org/phpBB3/viewt ... f=46&t=428
Don't know if it may help but I had the hack working on a cheap asian NAS (so ARM hardware...).
In the last answers the subject was changing to "working lcd screens".
At least it will help google ;) .
Should I link this topic in a reply of the previous topic ? [which should be closed then]

Gabriel
ps : I'm going to use the screen of a "coby dp-152 keychain digital photo frame" in this project : http://www.raspberrypi.org/phpBB3/viewt ... =35&t=7739 and I will add pictures soon.
My home-made case : http://goo.gl/nprcI ; My presentation http://goo.gl/5hSar et en français : http://goo.gl/28Vif ; Please think to the FAQ and to the Wiki

Return to “Other projects”

Who is online

Users browsing this forum: No registered users and 6 guests